AU Patient Summary Implementation Guide
0.1.0-preview - Preview

Publication Build: This will be filled in by the publication tooling

## Resource Profile: AUPSMedicationStatement - Mappings

Page standards status: Draft | Maturity Level: 0

Mappings for the au-ps-medicationstatement resource profile.

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

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

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

AUPSMedicationStatement
MedicationStatement | Entity. Role, or Act, SubstanceAdministration
text | Act.text?
contained | 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]
medication[x] (medicationCodeableConcept) | .participation[typeCode=CSM].role[classCode=ADMM or MANU]
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
coding (pbs) | union(., ./translation)
id | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
coding (amt) | union(., ./translation)
id | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.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]
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/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)
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
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)

AUPSMedicationStatement
MedicationStatement |
identifier | FiveWs.identifier
status | FiveWs.status
category | FiveWs.class
medication[x] | FiveWs.what[x]
medication[x] (medicationCodeableConcept) | FiveWs.what[x]
medication[x] (medicationReference) | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
effective[x] | 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)

AUPSMedicationStatement
MedicationStatement |
medication[x] |
medication[x] (medicationCodeableConcept) |
coding | C*E.1-8, C*E.10-22
system | C*E.3
version | C*E.7
code | C*E.1
display | C*E.2 - but note this is not well followed
userSelected | Sometimes implied by being first
coding (pbs) | C*E.1-8, C*E.10-22
system | C*E.3
version | C*E.7
code | C*E.1
display | C*E.2 - but note this is not well followed
userSelected | Sometimes implied by being first
coding (amt) | C*E.1-8, C*E.10-22
system | C*E.3
version | C*E.7
code | C*E.1
display | C*E.2 - but note this is not well followed
userSelected | Sometimes implied by being first
text | C*E.9. But note many systems use C*E.2 for this
subject | PID-3-Patient ID List
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