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

...

  • Practitioner.id
  • Practitioner.identifier
  • Practitioner.active
  • Practitioner.name
  • Practitioner.telecom
  • Practitioner.address
  • Practitioner.gender
  • Practitioner.birthDate

OpenMRS ↔ FHIR Mapping

OpenMrs Provider Data ModelFHIR Resource Element
Provider.uuid
Practitioner.id
Provider.identifier
Practitioner.identifier
Provider.retired
Practitioner.active
Provider.providerAttribute (attribute type == user defined value)
Practitioner.telecom (system == phone)
Provider.person.address
Practitioner.address
Provider.person.name
Practitioner.name
Provider.person.gender
Practitioner.gender
Provider.person.birthDate
Practitioner.birthDate


OpenMrs User Data Model

FHIR Resource Element

User.uuid
Practitioner.id
User.userId
Practitioner.identifier
User.person.personAttribute (attribute type == user defined value)
Practitioner.telecom (system == phone)
User.person.gender
Practitioner.gender
User.person.name
Practitioner.name
User.person.address
Practitioner.address
User.person.birthDate
Practitioner.birthDate



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}/Practitioner/{uuid}
Gets a specific practitioner
/ws/fhir2/{release}/Practitioner?name={String}
searches for the practitioner by name
/ws/fhir2/{release}/Practitioner?identifier={String}
searches for the practitioner by identifier