0.1.0 - ci-build

AnamnesiinRemoto - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: Medication_Statement_Patient - Mappings

Active as of 2025-06-26

Mappings for the medication-statement-patient resource profile.

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

Medication_Statement_Patient
MedicationStatement | Event
identifier | Event.identifier
basedOn | Event.basedOn
partOf | Event.partOf
status | Event.status
statusReason | Event.statusReason
medication[x] | Event.code
subject | Event.subject
context | Event.context
effective[x] | Event.occurrence[x]
effective[x] (effectivePeriod) | Event.occurrence[x]
reasonCode | Event.reasonCode
reasonReference | Event.reasonReference
note | Event.note

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

Medication_Statement_Patient
MedicationStatement | Entity. Role, or Act, SubstanceAdministration
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/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]
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
effective[x] (effectivePeriod) | .effectiveTime
id | n/a
extension | n/a
start | ./low
end | ./high
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
dosage | refer dosageInstruction mapping
id | n/a
extension | n/a
modifierExtension | N/A
sequence | .text
text | .text
additionalInstruction | .text
patientInstruction | .text
timing | .effectiveTime
id | n/a
extension | n/a
modifierExtension | N/A
event | QLIST<TS>
repeat | Implies PIVL or EIVL
id | n/a
extension | n/a
bounds[x] | IVL(TS) used in a QSI
count | PIVL.count
countMax | PIVL.count
duration | PIVL.phase
durationMax | PIVL.phase
durationUnit | PIVL.phase.unit
frequency | PIVL.phase
frequencyMax | PIVL.phase
period | PIVL.phase
periodMax | PIVL.phase
periodUnit | PIVL.phase.unit
dayOfWeek | n/a
timeOfDay | n/a
when | EIVL.event
offset | EIVL.offset
code | QSC.code
asNeeded[x] | .outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept
site | .approachSiteCode
route | .routeCode
method | .doseQuantity
doseAndRate |
id | n/a
extension | n/a
dose[x] | .doseQuantity
rate[x] | .rateQuantity
maxDosePerPeriod | .maxDoseQuantity
maxDosePerAdministration | not supported
maxDosePerLifetime | not supported

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

Medication_Statement_Patient
MedicationStatement |
identifier | FiveWs.identifier
status | FiveWs.status
category | FiveWs.class
medication[x] | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
effective[x] | FiveWs.done[x]
effective[x] (effectivePeriod) | FiveWs.done[x]
dateAsserted | FiveWs.recorded
informationSource | FiveWs.source
reasonCode | FiveWs.why[x]
reasonReference | FiveWs.why[x]

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

Medication_Statement_Patient
MedicationStatement |
subject | PID-3-Patient ID List
effective[x] |
effective[x] (effectivePeriod) |
start | DR.1
end | DR.2
dosage |
sequence | TQ1-1
text | RXO-6; RXE-21
additionalInstruction | RXO-7
patientInstruction | RXO-7
asNeeded[x] | TQ1-9
site | RXR-2
route | RXR-1
method | RXR-4
doseAndRate | TQ1-2
type | RXO-21; RXE-23
dose[x] | RXO-2, RXE-3
rate[x] | RXE22, RXE23, RXE-24
maxDosePerPeriod | RXO-23, RXE-19