Person Resource
Person is a FHIR resource that is used to represent "demographics and administrative information about a person independent of a specific health-related context." FHIR Persons are mapped to OpenMRS Person objects.
Supported Elements
The following properties are supported by the OpenMRS FHIR Module:
Person.idPerson.namePerson.telecomPerson.genderPerson.birthDatePerson.addressPerson.link
OpenMRS ↔ FHIR Mapping
OpenMRS Data Model | FHIR Resource Element | Notes |
|---|---|---|
|
| |
|
| |
|
| The attribute used is determined by the |
|
| |
|
| Estimated birthdates report month and year for people 5 and under or only year for people older than 5 |
|
| |
|
|
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 persons |
| Gets a specific person |
| Searches for person matching the given criteria |
Supported Search Parameters
Parameter | Type | Description |
|---|---|---|
| Searches the full name of the person | |
| Searches based on the gender of the person. Note that this value must be from the AdministrativeGender valueset | |
| Searches based on the person's birthdate | |
| Searches based on the person's recorded city/village of address | |
| Searches based on the person's recorded state/province of address | |
| Searches based on the person's recorded postal code of address | |
| Searches based on the person's recorded country of address | |
| token | Searches based on the exact UUID of the person record |
| Searches based on the the dateCreated or dateUpdated field for the person record |
Supported _includes
Include | Description |
|---|---|
| Includes the patient record linked to this person if any |
| Includes the patient record linked to this person if any |
POST
URL | Description |
|---|---|
| Creates a new person |
PUT
URL | Description |
|---|---|
| Updates an existing person |
DELETE
URL | Description |
|---|---|
| Deletes (voids) an existing person |