Condition Resource
Condition is an FHIR resource used to record detailed information about the condition, problem, diagnosis, or other events, situation, issue, or clinical concept that has risen to the level of concern. FHIR conditions are mapped to OpenMrs Condition Objects.
Supported Elements
The following properties are supported by the OpenMrs FHIR Module:
Condition.id
Condition.clinicalStatus
Condition.verificationStatus
Condition.code
Condition.subject
Condition.onsetDateTime
Condition.recorder
Condition.recordedDate
OpenMRS ↔ FHIR Mapping
In Openmrs platform version 2.2.0, the condition data model was introduced into the core openmrs API. The table below shows the mapping for openmrs condition to FHIR condition resource.
OpenMrs Data Model | FHIR Resource Element |
---|---|
Condition.uuid | Condition.id |
Condition.conditionClinicalStatus | Condition.clinicalStatus |
Condition.conditionVerificationStatus | Condition.verificationStatus |
Condition.codedOrFreeText | Condition.code |
Condition.patient | Condition.subject |
Condition.onsetDate | Condition.onsetDateTime |
Condition.creator | Condition.recorder |
Condition.dateCreated | Condition.recordedDate |
For openmrs platform versions lower than 2.2.0, they are using EMRAPI Conditionlist condition data model, and below is its mapping to FHIR condition resource.
ConditionList Data Model | FHIR Resource Element |
---|---|
Condition.uuid | Condition.id |
Condition.status | Condition.clinicalStatus |
Condition.patient | Condition.subject |
Condition.concept | Condition.conditionNonCoded | Condition.code |
Condition.onsetDate | Condition.onsetDateTime |
Condition.creator | Condition.recorder |
Condition.dateCreated | Condition.recordedDate |
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 |
---|---|
/ws/fhir2/{release}/Condition/{uuid} | Gets a specific condition |