Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HIEOS has a flexible storage backend and by default provides a MySQL storage implementation for storing documents. We plan however to store all documents in OpenMRS, and therefore will implement a custom HIEOS storage class that will forward/retrieve all documents to/from OpenMRS. The HIEOS storage class will use REST services using the SHR REST Interface module in order to communicate with OpenMRS.

Document Unique ID and OpenMRS encounterId

Documents are identified in HIEOS using an uniqueId field. It will be necessary to map this field to an encounter UUID in OpenMRS, especially since the encounter UUID will be transparent at an XDS level. Two possible options are:

  1. Add the association in HIEOS and query documents from OpenMRS using the encounter UUID
  2. Integrate the uniqueId into OpenMRS and expose a REST endpoint for retrieving documents using the uniqueId.