CH EMED EPR
1.0.0 - trial-use Switzerland flag

This page is part of the FHIR eMedication exchange formats for the implementation effort of CARA within its EPR community (v1.0.0: STU1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: CHEMEDEPRDocumentMedicationDispense - Mappings

Draft as of 2024-01-26

Mappings for the ch-emed-epr-document-medicationdispense resource profile.

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

CHEMEDEPRDocumentMedicationDispense
BundleN/A
   identifier
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   entry
   entry (Composition)
   entry (Patient)
   entry (Practitioner)
      resourcePRD (as one example)
   entry (PractitionerRole)
      resourcePRD (as one example)
   entry (Organization)
      resource(also see master files messages)
   entry (RelatedPerson)
   entry (Device)
   entry (Encounter)
   entry (Location)
   entry (Binary)
   entry (MedicationDispense)
   entry (ObsBodyWeight)
      resourceOBX

Mappings for RIM Mapping (http://hl7.org/v3)

CHEMEDEPRDocumentMedicationDispense
BundleEntity. Role, or Act, N/A
   meta
      idn/a
   identifier
      idn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   link
      idn/a
      extensionn/a
      modifierExtensionN/A
   entry
      idn/a
      extensionn/a
   entry (Composition)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Document[classCode="DOC" and moodCode="EVN" and isNormalAct()]
   entry (Patient)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Patient[classCode=PAT]
   entry (Practitioner)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Role
   entry (PractitionerRole)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Role
   entry (Organization)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Organization(classCode=ORG, determinerCode=INST)
   entry (RelatedPerson)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, role
   entry (Device)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Device
   entry (Encounter)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Encounter[@moodCode='EVN']
   entry (Location)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, .Role[classCode=SDLC]
   entry (Binary)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, ED
   entry (MedicationDispense)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Supply[moodCode=EVN]
   entry (ObsBodyWeight)
      idn/a
      extensionn/a
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]

Mappings for CDA (R2) (http://hl7.org/v3/cda)

CHEMEDEPRDocumentMedicationDispense
BundleClinicalDocument, if bundle.type = document
   identifierClinicalDocument.id
   timestampClinicalDocument.effectiveTime
   entry
   entry (Composition)
      resourceClinicalDocument
   entry (Patient)
      resourceClinicalDocument.recordTarget.patientRole

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

CHEMEDEPRDocumentMedicationDispense
Bundle
   identifierFiveWs.identifier
   typeFiveWs.class
   timestampFiveWs.init