Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: DELETE request to retire encounter

...

Shown below is an example of how an OpenMRS Encounter objects would map to FHIR Encounter resource, as proposed by Grahame Grieve.

The left side of the relationship indicates the OpenMRS attribute, while the right indicated the FHIR resource mapping.

...

Operations

/ws/fhir/Encounter/$everything

With body : <Parameters xmlns="http://hl7.org/fhir"/

This request will return bundle resource with resources that associate with encounter which associate with given encounter Id

DELETE Requests

Operations
/ws/fhir/Encounter/{id}This request will retire the Encounter with the given uuid. If the resource does not exist, a 404 is returned. If the OpenMRS API refuses to retire the encounter, the status code 405 is returned.