SSoma HealthFHIR API
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

ParameterTypeDescription
_idtokenThe resource id. Comma-separate for several.
patientreferencePatient/{id}.
practitionerreferencePractitioner/{id}.
locationreferenceLocation/{id}.
actorreferencePatient/{id}, Practitioner/{id} or Location/{id}.
datedateDate (FHIR date, with prefixes; repeat for a range).
statustokenStatus code; comma-separate for several.
_countnumberResults per page (default 50, at most 200). See paging.
_includespecialAppointment: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

SomaFHIR `status`
Scheduled, confirmedbooked
Checked in, registrationchecked-in
In room, in progress, at checkoutarrived
Checked out, completedfulfilled
Cancelledcancelled
No-shownoshow

Each appointment's participant lists the patient, the provider and the location. start and end carry the practice's time zone offset.

Example

Search request
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"
Appointment (an entry in the response Bundle)
{
  "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.