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

Encounter is  is an FHIR resource that is used to represent an Interaction between a patient and healthcare provider(s)  for the purpose of providing healthcare services or assessing the health status of a patient. Encounter FHIR resources are mapped to both OpenMrs Encounter and Visit Objects.

...

  • Encounter.id
  • Encounter.status
  • Encounter.subject
  • Encounter.participant
  • Encounter.location

OpenMRS ↔ FHIR Mapping

OpenMrs Data Model

FHIR Resource Element

Encounter.uuid
Encounter.id
Encounter.status
Always return Encounter.EncounterStatus.UNKNOWN
Encounter.patient
Encounter.subject
Encounter.participant
Encounter.encounterProvider
Encounter.location
Encounter.location

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}/Encounter/{uuid}
Gets a specific encounter
/ws/fhir2/{release}/Encounter?patient.identifier={string}
Gets encounters by patient identifier