eMediplan CHMED20AF Implementation Guide:

This page is part of the eMediplan CHMED20AF FHIR IG (R4) (v2.0.0: STU 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

StructureDefinition: MedicationStatementCard - Mappings

Mappings for Mapping to CHMED16A (http://emediplan.ch/chmed16a)

MedicationStatementCard
MedicationStatementMedicament
   extension (privatefield)Medicament.PFields
   medication[x] (medicationReference)Medicament.Id with Medicament.IdType 2 (GTIN)
   subjectPatient
   reasonCodeMedicament.TkgRsn
   dosage (nonstructured)Medicament.AppInstr
   dosage (structurednormal)Posology, Medicament.Pos
   dosage (structuredsplit)Posology, Medicament.Pos

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

MedicationStatementCard
MedicationStatementsubstanceAdministration
   extension (treatmentPlan).entryRelationship.substanceAdministration.id
   extension (authorDocument).author
   identifier.id
   status.statusCode
   medication[x] (medicationReference).consumable.manufacturedProduct.manufacturedMaterial
   subjectClinicalDocument.recordTarget
   informationSource.author.assignedAuthor.assignedPerson
      extension (authorTime).author.time
      extension (authorOrganization).author.assignedAuthor.representedOrganization
   reasonCode.entryRelationship.observation.text
   note.entryRelationship.act.text

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

MedicationStatementCard
MedicationStatementEvent
   identifierEvent.identifier
   basedOnEvent.basedOn
   partOfEvent.partOf
   statusEvent.status
   statusReasonEvent.statusReason
   medication[x]Event.code
   medication[x] (medicationReference)Event.code
   subjectEvent.subject
   contextEvent.context
   effective[x]Event.occurrence[x]
   reasonCodeEvent.reasonCode
   reasonReferenceEvent.reasonReference
   noteEvent.note

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

MedicationStatementCard
MedicationStatementEntity. Role, or Act, SubstanceAdministration
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifier.id
      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
   basedOn.outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]
   partOf.outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS,moodCode=EVN]
   status.statusCode
   statusReason.inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde
   category.inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value
      idn/a
      extensionn/a
      codingunion(., ./translation)
      coding (ATC)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   medication[x].participation[typeCode=CSM].role[classCode=ADMM or MANU]
   medication[x] (medicationReference).participation[typeCode=CSM].role[classCode=ADMM or MANU]
   subject.participation[typeCode=SBJ].role[classCode=PAT]
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   context.inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"]
   effective[x].effectiveTime
   dateAsserted.participation[typeCode=AUT].time
   informationSource.participation[typeCode=INF].role[classCode=PAT, or codes for Practioner or Related Person (if PAT is the informer, then syntax for self-reported =true)
      idn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   derivedFrom.outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]
   reasonCode.reasonCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   reasonReference.outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="reason for use"].value
   note.inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value
      idn/a
      extensionn/a
      author[x]Act.participant[typeCode=AUT].role
      timeAct.effectiveTime
      textAct.text
   dosagerefer dosageInstruction mapping
   dosage (nonstructured)n/a, .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]
   dosage (structurednormal)n/a, .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]
   dosage (structuredsplit)n/a, .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]

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

MedicationStatementCard
MedicationStatement
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   medication[x]FiveWs.what[x]
   medication[x] (medicationReference)FiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   effective[x]FiveWs.done[x]
   dateAssertedFiveWs.recorded
   informationSourceFiveWs.source
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]

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

MedicationStatementCard
MedicationStatement
   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)
   category
      codingC*E.1-8, C*E.10-22
      coding (ATC)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   subjectPID-3-Patient ID List
   reasonCode
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   note
      author[x]N/A
      timeN/A
      textN/A