eMediplan CHMED Implementation Guide
2.1.0 - CI Build Switzerland flag

eMediplan CHMED Implementation Guide, published by IG eMediplan. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/ahdis/chmed/ and changes regularly. See the Directory of published versions

Resource Profile: CHMEDMedicationCardDocument - Mappings

Active as of 2022-08-12

Mappings for the chmed-card-bundle resource profile.

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

CHMEDMedicationCardDocument
BundleClinicalDocument, if bundle.type = document
   identifierClinicalDocument.id
      valueClinicalDocument.id.root as uuid
   timestampClinicalDocument.effectiveTime
   entry
   entry (Composition)
      resourceClinicalDocument
   entry (Patient)
      resourceClinicalDocument.recordTarget.patientRole
   entry (Practitioner)
   entry (PractitionerRole)
   entry (Organization)
   entry (RelatedPerson)
   entry (Device)
   entry (Encounter)
   entry (Location)
   entry (Binary)
   entry (MedicationStatement)
      resourcesubstanceAdministration

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

CHMEDMedicationCardDocument
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 (MedicationStatement)
   entry (ObsBodyWeight)
      resourceOBX
   entry (ObsBodyHeight)
      resourceOBX
   entry (ObsDLstMen)
      resourceOBX
   entry (ObsPrematureBaby)
      resourceOBX
   entry (ObsTimeOfGestation)
      resourceOBX
   entry (CondRisks)
      resourcePPR message

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

CHMEDMedicationCardDocument
BundleEntity. Role, or Act, N/A
   identifier
      idn/a
      extensionn/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
      modifierExtensionN/A
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (Composition)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Document[classCode="DOC" and moodCode="EVN" and isNormalAct()]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (Patient)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Patient[classCode=PAT]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (Practitioner)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Role
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (PractitionerRole)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Role
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (Organization)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Organization(classCode=ORG, determinerCode=INST)
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (RelatedPerson)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, role
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (Device)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Device
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (Encounter)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Encounter[@moodCode='EVN']
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (Location)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, .Role[classCode=SDLC]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (Binary)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, ED
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (MedicationStatement)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, SubstanceAdministration
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (ObsBodyWeight)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (ObsBodyHeight)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (ObsDLstMen)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (ObsPrematureBaby)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (ObsTimeOfGestation)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (CondRisks)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A

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

CHMEDMedicationCardDocument
Bundle
   identifierFiveWs.identifier
   typeFiveWs.class
   timestampFiveWs.init

Mappings for CHMED23A (http://emediplan.ch/chmed23a)

CHMEDMedicationCardDocument
Bundle
   identifierMedication.Id
   entry
   entry (Composition)
      resourceMedication
   entry (Patient)
   entry (Practitioner)
   entry (PractitionerRole)
   entry (Organization)
   entry (RelatedPerson)
   entry (Device)
   entry (Encounter)
   entry (Location)
   entry (Binary)
   entry (MedicationStatement)
      resourceMedicament
   entry (ObsBodyWeight)
   entry (ObsBodyHeight)
   entry (ObsDLstMen)
   entry (ObsPrematureBaby)
   entry (ObsTimeOfGestation)
   entry (CondRisks)
      resourceMedicalData.RCs -> RiskCategory