SSoma HealthFHIR API
API reference

GETLocation

The practice's offices, with address, phone, fax and place of service.

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

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

Search parameters

ParameterTypeDescription
_idtokenThe resource id. Comma-separate for several.
namestringAny part of the name (starts with, case-insensitive).
addressstringAny part of the address.
address-citystringCity.
address-statestringTwo-letter state.
address-postalcodestringZIP code.
identifiertokenAn identifier, as system|value or just value (MRN for Patient, NPI for Practitioner, Location and Organization).
_countnumberResults per page (default 50, at most 200). See paging.

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

Example

Search request
curl "https://qa3.somahealth.com/api/fhir/r4/your-practice/Location?address-city=springfield" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/fhir+json"
Location (an entry in the response Bundle)
{
  "resourceType": "Location",
  "id": "a7f3e210-6c4b-4d8e-9f15-2b0c8d7e6a53",
  "meta": { "profile": ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-location"] },
  "status": "active",
  "name": "Springfield Office",
  "type": [{ "coding": [{ "system": "https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set", "code": "11" }] }],
  "telecom": [{ "system": "phone", "value": "(555) 010-0300", "use": "work" }, { "system": "fax", "value": "(555) 010-0301", "use": "work" }],
  "address": { "use": "work", "line": ["200 Example Avenue", "Suite 3"], "city": "Springfield", "state": "NY", "postalCode": "10001", "country": "US" },
  "managingOrganization": { "reference": "Organization/0f4e2c19-5a7b-4c3d-8e21-6b9f0a1d2c34" }
}

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