Patient Resource
Patient is a FHIR resource that is used to represent a person "receiving care or other health-related services". FHIR Patients are mapped to OpenMRS Patient objects.
Supported Elements
The following properties are supported by the OpenMRS FHIR Module:
Patient.idPatient.identifierPatient.activePatient.namePatient.telecom (phone)Patient.genderPatient.birthDatePatient.deceased[x]Patient.address
OpenMRS ↔ FHIR Mapping
OpenMRS Data Model | FHIR Resource Element | Notes |
|---|---|---|
|
| |
|
| |
|
| |
|
| The attribute used is determined by the |
|
| |
|
| |
|
| |
|
| |
|
|
Available RESTful Endpoints
Note: placeholder "{release}" below must be replaced by the FHIR Release - currently "R3" and "R4" are implemented. See more on the FHIR Release support page.
GET
URL | Description |
|---|---|
| Gets all patients |
| Gets a specific patient |
| Searches for patients matching the provided criteria |
Supported Search Parameters
Parameter | Type | Description |
|---|---|---|
| Searches the full name of the patient | |
| Searches the given name(s) of the patient | |
| Searches the family name of the patient | |
| Searches based on the patients identifiers | |
| Searches based on the gender of the patient. Note that this value must be from the AdministrativeGender valueset | |
| Searches based on the patient's birthdate | |
| Searches based on the death date of the patient (if any) | |
| Searches based on whether a patient is marked as deceased. Acceptable values are | |
| Searches based on the patient's recorded city/village of address | |
| Searches based on the patient's recorded state/province of address | |
| Searches based on the patient's recorded postal code of address | |
| Searches based on the patient's recorded country of address | |
| Searches based on the exact UUID of the patient record | |
| Searches based on the the dateCreated or dateUpdated field for the patient record |
Supported _revincludes
Include | Description |
|---|---|
| Includes observations that are about this patient |
| Includes allergies of this patient |
| Includes any diagnostic reports about this patient |
| Includes any encounters involving this patient |
| Includes any drug orders involving this patient |
| Includes any test orders involving this patient |
POST
URL | Description |
|---|---|
| Creates a new patient |
PUT
URL | Description |
|---|---|
| Updates an existing patient |
DELETE
URL | Description |
|---|---|
| Deletes (voids) an existing patient |