SSoma HealthFHIR API
API reference

GETDocumentReference

Signed visit notes as clinical notes, with the note text attached.

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

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

Search parameters

ParameterTypeDescription
_idtokenThe resource id. Comma-separate for several.
patientreferencePatient/{id}.
categorytokenCategory code, as system|code or code.
datedateDate (FHIR date, with prefixes; repeat for a range).
typetokenprov (the practice) or pay (insurance payers).
statustokenStatus code; comma-separate for several.
perioddateNote period (FHIR date, with prefixes).
_countnumberResults per page (default 50, at most 200). See paging.

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

DocumentReference must be searched by patient: DocumentReference?patient=Patient/{id} (or by _id).

Ids start with the patient's key, so reads work directly. Add _revinclude=Provenance:target to get each resource's Provenance.

Example

Search request
curl "https://dev3.somahealth.com/api/fhir/r4/your-practice/DocumentReference?" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/fhir+json"
DocumentReference (an entry in the response Bundle)
{}

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