SSoma HealthFHIR API
API reference

GETPatient

The practice's patients: names, MRN, birth date, sex, contact details, address and preferred language.

Conforms to US Core Patient. Scope: system/Patient.rs (or system/Patient.read).

GET[base]/Patient/{id}Read one Patient.
GET[base]/Patient?{parameters}Search Patient. Returns a Bundle.
POST[base]/Patient/_searchSearch with the parameters in a form body.

Search parameters

ParameterTypeDescription
_idtokenThe resource id. Comma-separate for several.
identifiertokenAn identifier, as system|value or just value (MRN for Patient, NPI for Practitioner, Location and Organization).
namestringAny part of the name (starts with, case-insensitive).
familystringFamily (last) name, starts with.
givenstringGiven (first) name, starts with.
birthdatedateBirth date (FHIR date, with prefixes).
gendertokenmale, female, other or unknown.
phonetokenA 10-digit US phone number (formatting is ignored).
telecomtokenA phone number or email address.
emailtokenEmail address.
activetokentrue or false.
_countnumberResults per page (default 50, at most 200). See paging.

Repeat a parameter to AND its values; separate values with commas to OR them.

What's included

  • The MRN as identifier (type MR).
  • The legal name (official) and the name the patient likes to be called (usual).
  • Mobile, home and work phones and email; home address; preferred language (BCP-47).
  • gender from the sex recorded in Soma; active is false for inactive or deceased patients.

The patient's clinical record is served as its own US Core resources, each searched by patient: see AllergyIntolerance, Condition, MedicationRequest, Encounter, Procedure, DocumentReference, CarePlan, CareTeam, Observation, ServiceRequest and RelatedPerson.

Example

Search request
curl "https://qa3.somahealth.com/api/fhir/r4/your-practice/Patient?family=sample&birthdate=1985-06-15" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/fhir+json"
Patient (an entry in the response Bundle)
{
  "resourceType": "Patient",
  "id": "2b6f0c3e-8d4a-4e8b-9a51-6d2f1c0b7e19",
  "meta": { "lastUpdated": "2026-12-01T14:22:05.000Z", "profile": ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"] },
  "identifier": [{ "use": "usual", "type": { "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "code": "MR", "display": "Medical record number" }] }, "value": "100245" }],
  "active": true,
  "name": [
    { "use": "official", "family": "Sample", "given": ["Alex", "J"] },
    { "use": "usual", "family": "Sample", "given": ["AJ"] }
  ],
  "telecom": [
    { "system": "phone", "value": "(555) 010-0100", "use": "mobile" },
    { "system": "email", "value": "alex.sample@example.com" }
  ],
  "gender": "male",
  "birthDate": "1985-06-15",
  "address": [{ "use": "home", "line": ["100 Sample Street"], "city": "Springfield", "state": "NY", "postalCode": "10001", "country": "US" }],
  "communication": [{ "language": { "coding": [{ "system": "urn:ietf:bcp:47", "code": "en", "display": "English" }], "text": "English" }, "preferred": true }]
}

Examples use made-up data. Elements appear only when the practice has recorded them.