API reference
GETRelatedPerson
The patient's emergency contact.
Conforms to US Core Relatedperson. Scope: system/RelatedPerson.rs (or system/RelatedPerson.read).
GET
[base]/RelatedPerson/{id}Read one RelatedPerson.GET
[base]/RelatedPerson?{parameters}Search RelatedPerson. Returns a Bundle.POST
[base]/RelatedPerson/_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}. |
name | string | Any part of the name (starts with, case-insensitive). |
_count | number | Results per page (default 50, at most 200). See paging. |
Repeat a parameter to AND its values; separate values with commas to OR them.
RelatedPerson must be searched by patient:
RelatedPerson?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
curl "https://dev3.somahealth.com/api/fhir/r4/your-practice/RelatedPerson?" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/fhir+json"{}Examples use made-up data. Elements appear only when the practice has recorded them.