Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edited the URLS to include the {release} part, and added a note explaining the values that can be used for {release}, i.e. R3 and R4

Condition is  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.

...

  • 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 ModelFHIR 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.
creator
dateCreated
Condition.recordedDate
Condition.dateCreated


  2. Mapping condition  resource to emrapi conditionListFor 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.recordercreator
Condition.creatorrecorder
Condition.recordedDatedateCreated
Condition.dateCreatedrecordedDate

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