Versions Compared

Key

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

...

Shown below is an example of how a number of OpenMRS module objects would map to FHIR resources, as proposed by Grahame Grieve.

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

 

Code Block
titlePatient
private Integer patientId :: n/a - unused
private Set<PatientIdentifier> identifiers :: Patient.identifier
    private Integer patientIdentifierId :: not mapped
    private Patient patient :: not mapped
   private String identifier :: patient.identifier.value
  private PatientIdentifierType identifierType ::
        private Integer patientIdentifierTypeId :: mapping table, type id ==> URL
        private String format :: not mapped
        private Boolean required = Boolean.FALSE :: not mapped
        private String formatDescription :: not mapped
        private Boolean checkDigit = Boolean.FALSE :: not mapped
        private String validator :: not mapped
        private LocationBehavior locationBehavior :: not mapped
        private UniquenessBehavior uniquenessBehavior :: not mapped
  private Location location :: Patient.identifier.assigner (URL)
  private Boolean preferred = false :: if true, Patient.identifier.use = usual

...