Skip to main content
Create a patient visit

Path Parameters

patient_id
integer<int64>
required

Patient ID

Body

application/json
visit_time
string
required

When the visit occurred. Use ISO 8601 date-time (e.g. 2025-02-09T14:00:00Z) or date only (YYYY-MM-DD).

Minimum string length: 1
visit_type
enum<string>
required

Therapy type: PT (Physical Therapy), OT (Occupational Therapy), or ST (Speech Therapy).

Available options:
PT,
OT,
ST
is_initial_visit
boolean

Whether this is the patient's initial visit. Defaults to false if omitted.

Response

OK

created_at
string<date-time>
required

When the visit record was created (ISO 8601).

id
integer<int64>
required

Unique visit identifier assigned by the API.

Required range: x >= 1
is_initial_visit
boolean
required

Whether this is the patient's initial visit.

patient_id
integer<int64>
required

ID of the patient this visit belongs to.

Required range: x >= 1
visit_time
string<date-time>
required

When the visit occurred (ISO 8601 date-time or date only).

visit_type
enum<string>
required

Therapy type: PT (Physical Therapy), OT (Occupational Therapy), or ST (Speech Therapy).

Available options:
PT,
OT,
ST
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.spikecare.com/public/v1/schemas/PatientVisit.json"