Primary Care Implementation Guide

AU Primary Care Implementation Guide - Local Development build (vnull). See the Directory of published versions

D.4.1.4 StructureDefinition: AUPrimaryCareMedicationStatement - Mappings

Mappings for the StructureDefinition-au-primarycaremedicationstatement Profile.

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

AUPrimaryCareMedicationStatement
MedicationStatementEvent
   identifierEvent.identifier
   basedOnEvent.basedOn
   partOfEvent.partOf
   statusEvent.status
   statusReasonEvent.statusReason
   medication[x]Event.code
   medication[x] (medicationCodeableConcept)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)

AUPrimaryCareMedicationStatement
MedicationStatementEntity. Role, or Act
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifier.id
   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
   medication[x].participation[typeCode=CSM].role[classCode=ADMM or MANU]
   medication[x] (medicationCodeableConcept).participation[typeCode=CSM].role[classCode=ADMM or MANU]
      idn/a
      extensionn/a
      codingunion(., ./translation)
      coding (pbs)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (gtin)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (amt)union(., ./translation)
         idn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (mimsPackage)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] (medicationReference).participation[typeCode=CSM].role[classCode=ADMM or MANU]
   subject.participation[typeCode=SBJ].role[classCode=PAT]
   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)
   derivedFrom.outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]
   reasonCode.reasonCode
   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
   dosagen/a
      idn/a
      extensionn/a
      modifierExtensionN/A
      sequence.text
      text.text
      additionalInstruction.text
      additionalInstruction (snomedAdditionalInstruction).text
      patientInstruction.text
      timing.effectiveTime
         idn/a
         extensionn/a
         modifierExtensionN/A
         eventQLIST<TS>
         repeatImplies PIVL or EIVL
            idn/a
            extensionn/a
            bounds[x]IVL(TS) used in a QSI
            countPIVL.count
            countMaxPIVL.count
            durationPIVL.phase
            durationMaxPIVL.phase
            durationUnitPIVL.phase.unit
            frequencyPIVL.phase
            frequencyMaxPIVL.phase
            periodPIVL.phase
            periodMaxPIVL.phase
            periodUnitPIVL.phase.unit
            dayOfWeekn/a
            timeOfDayn/a
            whenEIVL.event
            offsetEIVL.offset
         codeQSC.code
      asNeeded[x].outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept
      asNeeded[x] (asNeededCodeableConcept).outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept
         idn/a
         extensionn/a
         codingunion(., ./translation)
         coding (snomedFinding)union(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      site.approachSiteCode
         idn/a
         extensionn/a
         codingunion(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      route.routeCode
         idn/a
         extensionn/a
         codingunion(., ./translation)
         coding (snomedRoute)union(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      method.doseQuantity
         idn/a
         extensionn/a
         codingunion(., ./translation)
         coding (snomedMethod)union(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      doseAndRate
         idn/a
         extensionn/a
         dose[x].doseQuantity
         rate[x].rateQuantity
      maxDosePerPeriod.maxDoseQuantity
      maxDosePerAdministrationnot supported
      maxDosePerLifetimenot supported

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

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

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

AUPrimaryCareMedicationStatement
MedicationStatement
   medication[x]
   medication[x] (medicationCodeableConcept)
      codingC*E.1-8, C*E.10-22
      coding (pbs)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
      coding (gtin)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
      coding (amt)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
      coding (mimsPackage)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
   note
      author[x]N/A
      timeN/A
      textN/A
   dosage
      sequenceTQ1-1
      textRXO-6; RXE-21
      additionalInstructionRXO-7
      additionalInstruction (snomedAdditionalInstruction)RXO-7
      patientInstructionRXO-7
      asNeeded[x]TQ1-9
      asNeeded[x] (asNeededCodeableConcept)TQ1-9
         codingC*E.1-8, C*E.10-22
         coding (snomedFinding)C*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      siteRXR-2
         codingC*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      routeRXR-1
         codingC*E.1-8, C*E.10-22
         coding (snomedRoute)C*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      methodRXR-4
         codingC*E.1-8, C*E.10-22
         coding (snomedMethod)C*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      doseAndRateTQ1-2
         typeRXO-21; RXE-23
         dose[x]RXO-2, RXE-3
         rate[x]RXE22, RXE23, RXE-24
      maxDosePerPeriodRXO-23, RXE-19