API reference
GETAppointment
Booked visits with their patient, provider, location, time and status.
Conforms to the FHIR R4 base Appointment resource. Scope: system/Appointment.rs (or system/Appointment.read).
GET
[base]/Appointment/{id}Read one Appointment.GET
[base]/Appointment?{parameters}Search Appointment. Returns a Bundle.POST
[base]/Appointment/_searchSearch with the parameters in a form body.Search parameters
| Parameter | Type | Description |
|---|---|---|
_id | token | The resource id. Comma-separate for several. |
patient | reference | Patient/{id}. |
practitioner | reference | Practitioner/{id}. |
location | reference | Location/{id}. |
actor | reference | Patient/{id}, Practitioner/{id} or Location/{id}. |
date | date | Date (FHIR date, with prefixes; repeat for a range). |
status | token | Status code; comma-separate for several. |
_count | number | Results per page (default 50, at most 200). See paging. |
_include | special | Appointment:patient, Appointment:practitioner, Appointment:location. Included resources must be readable by your app. |
Repeat a parameter to AND its values; separate values with commas to OR them.
Statuses
| Soma | FHIR `status` |
|---|---|
| Scheduled, confirmed | booked |
| Checked in, registration | checked-in |
| In room, in progress, at checkout | arrived |
| Checked out, completed | fulfilled |
| Cancelled | cancelled |
| No-show | noshow |
Each appointment's participant lists the patient, the provider and the location. start and end carry the practice's time zone offset.
Example
curl "https://qa3.somahealth.com/api/fhir/r4/your-practice/Appointment?date=2026-12-14&status=booked&_include=Appointment:patient" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/fhir+json"{
"resourceType": "Appointment",
"id": "8e2d4b71-3c0f-4a6e-b5d2-91f7c6a0e3b4",
"meta": { "lastUpdated": "2026-12-10T16:03:11.000Z" },
"status": "booked",
"appointmentType": { "text": "Follow-up" },
"reasonCode": [{ "text": "Lower back pain" }],
"start": "2026-12-14T09:30:00-05:00",
"end": "2026-12-14T09:45:00-05:00",
"minutesDuration": 15,
"created": "2026-12-10T16:03:11Z",
"participant": [
{ "actor": { "reference": "Patient/2b6f0c3e-8d4a-4e8b-9a51-6d2f1c0b7e19", "display": "Alex Sample" }, "required": "required", "status": "accepted" },
{ "actor": { "reference": "Practitioner/5c1a9e44-7b2d-4f30-8e6a-0d9b3f2c1a77", "display": "Dana Example, MD" }, "required": "required", "status": "accepted" },
{ "actor": { "reference": "Location/a7f3e210-6c4b-4d8e-9f15-2b0c8d7e6a53", "display": "Springfield Office" }, "required": "required", "status": "accepted" }
]
}Examples use made-up data. Elements appear only when the practice has recorded them.