ÚNICAS Rare Diseases HL7 FHIR Implementation Guide
0.0.12 - draft

ÚNICAS Rare Diseases HL7 FHIR Implementation Guide - Local Development build (v0.0.12) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: UNICASMedicationStatement - Mappings

Draft as of 2026-10-13

Mappings for the UNICASMedicationStatement resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameWorkflow PatternFiveWs Pattern MappingRIM MappingHL7 V2 Mappingdoco
MedicationStatement
Event
clinical.medication
  • Entity
  • Role
  • or Act
  • SubstanceAdministration
MedicationStatement / id
MedicationStatement / meta
MedicationStatement / implicitRules
MedicationStatement / language
MedicationStatement / text
Act.text?
MedicationStatement / contained
N/A
MedicationStatement / extension
N/A
MedicationStatement / modifierExtension
N/A
MedicationStatement / identifier
Event.identifier
FiveWs.identifier
.id
MedicationStatement / identifier / id
n/a
MedicationStatement / identifier / extension
n/a
MedicationStatement / identifier / use
Role.code or implied by context
N/A
MedicationStatement / identifier / type
Role.code or implied by context
CX.5
MedicationStatement / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
MedicationStatement / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
MedicationStatement / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
MedicationStatement / identifier / assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
MedicationStatement / partOf
  • .outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS
  • moodCode=EVN]
MedicationStatement / status
Event.status
FiveWs.status
.statusCode
MedicationStatement / category
FiveWs.class
  • .inboundRelationship[typeCode=COMP].source[classCode=OBS
  • moodCode=EVN
  • code="type of medication statement"].value
MedicationStatement / medication
Event.code
FiveWs.what[x]
.participation[typeCode=CSM].role[classCode=ADMM or MANU]
MedicationStatement / medication / id
n/a
MedicationStatement / medication / extension
n/a
MedicationStatement / medication / concept
N/A
MedicationStatement / medication / concept / id
n/a
MedicationStatement / medication / concept / extension
n/a
MedicationStatement / medication / concept / coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
MedicationStatement / medication / concept / coding / id
n/a
MedicationStatement / medication / concept / coding / extension
n/a
MedicationStatement / medication / concept / coding / system
./codeSystem
C*E.3
MedicationStatement / medication / concept / coding / version
./codeSystemVersion
C*E.7
MedicationStatement / medication / concept / coding / code
./code
C*E.1
MedicationStatement / medication / concept / coding / display
CV.displayName
C*E.2 - but note this is not well followed
MedicationStatement / medication / concept / coding / userSelected
CD.codingRationale
Sometimes implied by being first
MedicationStatement / medication / concept / text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
MedicationStatement / medication / reference
N/A
MedicationStatement / medication / reference / id
n/a
MedicationStatement / medication / reference / extension
n/a
MedicationStatement / medication / reference / reference
N/A
MedicationStatement / medication / reference / type
N/A
MedicationStatement / medication / reference / identifier
.identifier
MedicationStatement / medication / reference / display
N/A
MedicationStatement / subject
Event.subject
FiveWs.subject[x]
.participation[typeCode=SBJ].role[classCode=PAT]
PID-3 Patient ID List
MedicationStatement / subject / id
n/a
MedicationStatement / subject / extension
n/a
MedicationStatement / subject / reference
N/A
MedicationStatement / subject / type
N/A
MedicationStatement / subject / identifier
.identifier
MedicationStatement / subject / identifier / id
n/a
MedicationStatement / subject / identifier / extension
n/a
MedicationStatement / subject / identifier / use
Role.code or implied by context
N/A
MedicationStatement / subject / identifier / type
Role.code or implied by context
CX.5
MedicationStatement / subject / identifier / type / id
n/a
MedicationStatement / subject / identifier / type / extension
n/a
MedicationStatement / subject / identifier / type / coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
MedicationStatement / subject / identifier / type / coding / id
n/a
MedicationStatement / subject / identifier / type / coding / extension
n/a
MedicationStatement / subject / identifier / type / coding / system
./codeSystem
C*E.3
MedicationStatement / subject / identifier / type / coding / version
./codeSystemVersion
C*E.7
MedicationStatement / subject / identifier / type / coding / code
./code
C*E.1
MedicationStatement / subject / identifier / type / coding / display
CV.displayName
C*E.2 - but note this is not well followed
MedicationStatement / subject / identifier / type / coding / userSelected
CD.codingRationale
Sometimes implied by being first
MedicationStatement / subject / identifier / type / text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
MedicationStatement / subject / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
MedicationStatement / subject / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
MedicationStatement / subject / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
MedicationStatement / subject / identifier / assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
MedicationStatement / subject / display
N/A
MedicationStatement / encounter
Event.encounter
  • .inboundRelationship[typeCode=COMP].source[classCode=ENC
  • moodCode=EVN
  • code="type of encounter or episode"]
MedicationStatement / encounter / id
n/a
MedicationStatement / encounter / extension
n/a
MedicationStatement / encounter / reference
N/A
MedicationStatement / encounter / type
N/A
MedicationStatement / encounter / identifier
.identifier
MedicationStatement / encounter / identifier / id
n/a
MedicationStatement / encounter / identifier / extension
n/a
MedicationStatement / encounter / identifier / use
Role.code or implied by context
N/A
MedicationStatement / encounter / identifier / type
Role.code or implied by context
CX.5
MedicationStatement / encounter / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
MedicationStatement / encounter / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
MedicationStatement / encounter / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
MedicationStatement / encounter / identifier / assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
MedicationStatement / encounter / display
N/A
MedicationStatement / effective[x]
Event.occurrence[x]
FiveWs.done[x]
.effectiveTime
MedicationStatement / effective[x] / id
n/a
MedicationStatement / effective[x] / extension
n/a
MedicationStatement / effective[x] / start
./low
DR.1
MedicationStatement / effective[x] / end
./high
DR.2
MedicationStatement / dateAsserted
FiveWs.recorded
.participation[typeCode=AUT].time
MedicationStatement / informationSource
FiveWs.source
  • .participation[typeCode=INF].role[classCode=PAT
  • or codes for Practitioner or Related Person (if PAT is the informer
  • then syntax for self-reported =true)
MedicationStatement / informationSource / id
n/a
MedicationStatement / informationSource / extension
n/a
MedicationStatement / informationSource / reference
N/A
MedicationStatement / informationSource / type
N/A
MedicationStatement / informationSource / identifier
.identifier
MedicationStatement / informationSource / identifier / id
n/a
MedicationStatement / informationSource / identifier / Slices for extension
n/a
MedicationStatement / informationSource / identifier / Slices for extension / extension:numeroColegiadoProfesionalSanitario
MedicationStatement / informationSource / identifier / use
Role.code or implied by context
N/A
MedicationStatement / informationSource / identifier / type
Role.code or implied by context
CX.5
MedicationStatement / informationSource / identifier / type / id
n/a
MedicationStatement / informationSource / identifier / type / extension
n/a
MedicationStatement / informationSource / identifier / type / coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
MedicationStatement / informationSource / identifier / type / coding / id
n/a
MedicationStatement / informationSource / identifier / type / coding / extension
n/a
MedicationStatement / informationSource / identifier / type / coding / system
./codeSystem
C*E.3
MedicationStatement / informationSource / identifier / type / coding / version
./codeSystemVersion
C*E.7
MedicationStatement / informationSource / identifier / type / coding / code
./code
C*E.1
MedicationStatement / informationSource / identifier / type / coding / display
CV.displayName
C*E.2 - but note this is not well followed
MedicationStatement / informationSource / identifier / type / coding / userSelected
CD.codingRationale
Sometimes implied by being first
MedicationStatement / informationSource / identifier / type / text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
MedicationStatement / informationSource / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
MedicationStatement / informationSource / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
MedicationStatement / informationSource / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
MedicationStatement / informationSource / identifier / assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
MedicationStatement / informationSource / display
N/A
MedicationStatement / derivedFrom
  • .outboundRelationship[typeCode=SPRT]/target[classCode=ACT
  • moodCode=EVN]
MedicationStatement / reason
Event.reason
FiveWs.why[x]
.reasonCode
MedicationStatement / note
Event.note
  • .inboundRelationship[typeCode=SUBJ]/source[classCode=OBS
  • moodCode=EVN
  • code="annotation"].value
MedicationStatement / relatedClinicalInformation
TBD
MedicationStatement / renderedDosageInstruction
SubstanceAdministration.text
MedicationStatement / dosage
refer dosageInstruction mapping
MedicationStatement / dosage / id
n/a
MedicationStatement / dosage / extension
n/a
MedicationStatement / dosage / modifierExtension
N/A
MedicationStatement / dosage / sequence
.text
TQ1-1
MedicationStatement / dosage / text
.text
RXO-6; RXE-21
MedicationStatement / dosage / additionalInstruction
.text
RXO-7
MedicationStatement / dosage / patientInstruction
.text
RXO-7
MedicationStatement / dosage / timing
.effectiveTime
MedicationStatement / dosage / asNeeded
  • .outboundRelationship[typeCode=PRCN].target[classCode=OBS
  • moodCode=EVN
  • code="as needed"].value=boolean or codable concept
TQ1-9
MedicationStatement / dosage / asNeededFor
  • .outboundRelationship[typeCode=PRCN].target[classCode=OBS
  • moodCode=EVN
  • code="as needed"].value=boolean or codable concept
TQ1-9
MedicationStatement / dosage / site
.approachSiteCode
RXR-2
MedicationStatement / dosage / route
.routeCode
RXR-1
MedicationStatement / dosage / route / id
n/a
MedicationStatement / dosage / route / extension
n/a
MedicationStatement / dosage / route / coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
MedicationStatement / dosage / route / coding / id
n/a
MedicationStatement / dosage / route / coding / extension
n/a
MedicationStatement / dosage / route / coding / system
./codeSystem
C*E.3
MedicationStatement / dosage / route / coding / version
./codeSystemVersion
C*E.7
MedicationStatement / dosage / route / coding / code
./code
C*E.1
MedicationStatement / dosage / route / coding / display
CV.displayName
C*E.2 - but note this is not well followed
MedicationStatement / dosage / route / coding / userSelected
CD.codingRationale
Sometimes implied by being first
MedicationStatement / dosage / route / text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
MedicationStatement / dosage / method
SubstanceAdministration.methodCode
RXR-4
MedicationStatement / dosage / doseAndRate
SubstanceAdministration.doseQuantity; SubstanceAdministration.RateQuantity
TQ1-2
MedicationStatement / dosage / doseAndRate / id
n/a
MedicationStatement / dosage / doseAndRate / extension
n/a
MedicationStatement / dosage / doseAndRate / type
RXO-21; RXE-23
MedicationStatement / dosage / doseAndRate / dose[x]
.doseQuantity
  • RXO-2
  • RXE-3
MedicationStatement / dosage / doseAndRate / dose[x] / id
n/a
MedicationStatement / dosage / doseAndRate / dose[x] / extension
n/a
MedicationStatement / dosage / doseAndRate / dose[x] / value
  • PQ.value
  • CO.value
  • MO.value
  • IVL.high or IVL.low depending on the value
SN.2 / CQ - N/A
MedicationStatement / dosage / doseAndRate / dose[x] / comparator
IVL properties
SN.1 / CQ.1
MedicationStatement / dosage / doseAndRate / dose[x] / unit
PQ.unit
(see OBX.6 etc.) / CQ.2
MedicationStatement / dosage / doseAndRate / dose[x] / system
  • CO.codeSystem
  • PQ.translation.codeSystem
(see OBX.6 etc.) / CQ.2
MedicationStatement / dosage / doseAndRate / dose[x] / code
  • PQ.code
  • MO.currency
  • PQ.translation.code
(see OBX.6 etc.) / CQ.2
MedicationStatement / dosage / doseAndRate / rate[x]
.rateQuantity
  • RXE22
  • RXE23
  • RXE-24
MedicationStatement / dosage / doseAndRate / rate[x] / id
n/a
MedicationStatement / dosage / doseAndRate / rate[x] / extension
n/a
MedicationStatement / dosage / doseAndRate / rate[x] / value
  • PQ.value
  • CO.value
  • MO.value
  • IVL.high or IVL.low depending on the value
SN.2 / CQ - N/A
MedicationStatement / dosage / doseAndRate / rate[x] / comparator
IVL properties
SN.1 / CQ.1
MedicationStatement / dosage / doseAndRate / rate[x] / unit
PQ.unit
(see OBX.6 etc.) / CQ.2
MedicationStatement / dosage / doseAndRate / rate[x] / system
  • CO.codeSystem
  • PQ.translation.codeSystem
(see OBX.6 etc.) / CQ.2
MedicationStatement / dosage / doseAndRate / rate[x] / code
  • PQ.code
  • MO.currency
  • PQ.translation.code
(see OBX.6 etc.) / CQ.2
MedicationStatement / dosage / maxDosePerPeriod
.maxDoseQuantity
  • RXO-23
  • RXE-19
MedicationStatement / dosage / maxDosePerAdministration
not supported
MedicationStatement / dosage / maxDosePerLifetime
not supported
MedicationStatement / adherence
  • outboundRelationship[typeCode=PERT].target[classCode=OBV
  • type=BL]
MedicationStatement / adherence / id
n/a
MedicationStatement / adherence / extension
n/a
MedicationStatement / adherence / modifierExtension
N/A
MedicationStatement / adherence / code
  • outboundRelationship[typeCode=PERT].target[classCode=OBV
  • type=BL]
MedicationStatement / adherence / reason
  • .inboundRelationship[typeCode=SUBJ].source[classCode=CACT
  • moodCode=EVN].reasonCode

doco Documentation for this format

ÚNICAS está impulsado por el Consejo Interterritorial del Sistema Nacional de Salud, y financiado con fondos Next Generation de la Unión Europea, en el marco del Plan de Recuperación, Transformación y Resiliencia del Gobierno de España. El Ministerio de Sanidad ejerce la coordinación del proyecto, y Cataluña lidera la parte del desarrollo de los activos tecnológicos para su implementación.