Uploaded image for project: 'FHIR Module v2'
  1. FHIR Module v2
  2. FM2-373

Provide a way to set system field for specific OpenMRS Identifiers

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Must
    • Resolution: Fixed
    • None
    • FM2 1.2.0
    • None
    • None

    Description

      Currently, the module translates Identifiers to FHIR resources that do not have the system field set. 

      See https://www.hl7.org/fhir/datatypes-definitions.html#Identifier.system

      This makes searching by, filtering by, and distinguishing identifiers more difficult, as the type text field contains the only unique information. 

      For the client registry communication (openmrs-module-mpi-client) we ended up having to append a custom Identifier to Patient resources being sent to OpenCR to comply with what OpenCR expects: https://github.com/IsantePlus/openmrs-module-mpi-client/blob/d590233974cc4d9558795696122280c41bede230/api/src/main/java/org/openmrs/module/santedb/mpiclient/api/impl/FhirMpiClientServiceImpl.java#L626

      Proposed fix:

      • Create a new table, fhir_patient_identifier_system which links between the patient_identifier_type table and a url property for the system. This should be similar to already-existing FhirConceptSource class.
      • In the PatientIdentifierTranslator, ensure that the system property is set to the URL recorded in this class (if any)

      Gliffy Diagrams

        Attachments

          Activity

            People

              medhavi Medhavi Srivastava
              pmanko Piotr Mankowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: