UPTIS FHIR PoC Test Implementation Guide
1.0.0 - draft Estonia flag

UPTIS FHIR PoC Test Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/FHIR-PoC/ and changes regularly. See the Directory of published versions

Resource Profile: EETISMedicationStatement - Mappings

Draft as of 2023-10-02

Mappings for the ee-tis-medication-statement resource profile.

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

EETISMedicationStatement
MedicationStatementEvent
   identifierEvent.identifier
   statusEvent.status
   medicationEvent.code
   subjectEvent.subject
   effective[x]Event.occurrence[x]
   reasonEvent.reason
   noteEvent.note

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

EETISMedicationStatement
MedicationStatementclinical.medication
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   category (courseOfTherapyType)FiveWs.class
   category (patientReportedCategory)FiveWs.class
   medicationFiveWs.what[x]
   subjectFiveWs.subject[x]
   effective[x]FiveWs.done[x]
   dateAssertedFiveWs.recorded
   informationSourceFiveWs.source
   reasonFiveWs.why[x]

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

EETISMedicationStatement
MedicationStatementEntity, Role, or Act,SubstanceAdministration
   textAct.text?
   modifierExtension
   modifierExtension (extensionTISVerification)
      idn/a
      extension
      extension (verificationTime)
         idn/a
         extensionn/a
         urlN/A
         value[x]N/A
      extension (verificationAuthor)
         idn/a
         extensionn/a
         urlN/A
         value[x]N/A
            idn/a
            extensionn/a
            referenceN/A
            typeN/A
            identifier.identifier
            displayN/A
      urlN/A
   identifier.id
   partOf.outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS,moodCode=EVN]
   status.statusCode
   category.inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication statement"].value
   category (courseOfTherapyType).inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication statement"].value
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   category (patientReportedCategory).inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication statement"].value
   medication.participation[typeCode=CSM].role[classCode=ADMM or MANU]
      idn/a
      extensionn/a
      referenceN/A
   subject.participation[typeCode=SBJ].role[classCode=PAT]
   effective[x].effectiveTime
   dateAsserted.participation[typeCode=AUT].time
   informationSource.participation[typeCode=INF].role[classCode=PAT, or codes for Practitioner or Related Person (if PAT is the informer, then syntax for self-reported =true)
   derivedFrom.outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]
   reason.reasonCode
      idn/a
      extensionn/a
      conceptN/A
   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
   renderedDosageInstructionSubstanceAdministration.text
   dosagen/a,.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]
      idn/a
      extensionn/a
      modifierExtensionN/A
      sequence.text
      text.text
      additionalInstruction.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.outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept
      asNeededFor.outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept
      site.approachSiteCode
      route.routeCode
      methodSubstanceAdministration.methodCode
      doseAndRateSubstanceAdministration.doseQuantity; SubstanceAdministration.RateQuantity
         idn/a
         extensionn/a
         dose[x].doseQuantity
         rate[x].rateQuantity
      maxDosePerPeriod.maxDoseQuantity
      maxDosePerAdministrationnot supported
         idn/a
         extensionn/a
         valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
         systemCO.codeSystem, PQ.translation.codeSystem
         codePQ.code, MO.currency, PQ.translation.code
      maxDosePerLifetimenot supported

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

EETISMedicationStatement
MedicationStatement
   category
   category (courseOfTherapyType)
      codingC*E.1-8, C*E.10-22
      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
      patientInstructionRXO-7
      asNeededTQ1-9
      asNeededForTQ1-9
      siteRXR-2
      routeRXR-1
      methodRXR-4
      doseAndRateTQ1-2
         typeRXO-21; RXE-23
         dose[x]RXO-2, RXE-3
         rate[x]RXE22, RXE23, RXE-24
      maxDosePerPeriodRXO-23, RXE-19
      maxDosePerAdministration
         valueSN.2 / CQ - N/A
         system(see OBX.6 etc.) / CQ.2
         code(see OBX.6 etc.) / CQ.2