Mappings for the MedicationDispense-DS resource profile.
MedicationDispenseDS |
MedicationDispense | Entity. Role, or Act, Supply[moodCode=EVN] |
text | Act.text? |
contained | N/A |
identifier | .id |
id | n/a |
extension | n/a |
use | Role.code or implied by context |
type | Role.code or implied by context |
system | II.root or Role.id.root |
value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
period | Role.effectiveTime or implied by context |
assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
partOf | .outboundRelationship[typeCode=COMP]/target[classCode=PROC,moodCode=EVN] |
status | .statusCode |
statusReason[x] | n/a, CD |
category | n/a, CD |
medication[x] | .participation[typeCode=PRD].role |
medication[x] (medicationCodeableConcept) | n/a, CD |
id | n/a |
coding | n/a, CV |
coding (fda-medication-tw) | n/a, CV |
coding (nhi-medication-tw) | n/a, CV |
coding (rxnorm-medication-us-core) | n/a, CV |
coding (atc-medication-code) | n/a, CV |
coding (snomedct-medication-codes) | n/a, CV |
text | ./originalText[mediaType/code="text/plain"]/data |
medication[x] (medicationReference) | .participation[typeCode=PRD].role |
subject | .participation[typeCode=SBJ].role[classCode=PAT] |
context | .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"] |
supportingInformation | .outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)] |
performer | .participation[typeCode=PRF] |
id | n/a |
function | n/a, CD |
actor | .role |
location | .participation[typeCode=LOC].role |
authorizingPrescription | .outboundRelationship[typeCode=FLFS].target[moodCode=RQO] |
type | n/a, CD |
quantity | .quantity |
id | n/a |
extension | n/a |
value | PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value |
unit | PQ.unit |
system | CO.codeSystem, PQ.translation.codeSystem |
code | PQ.code, MO.currency, PQ.translation.code |
daysSupply | effectiveUseTime |
id | n/a |
extension | n/a |
value | PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value |
unit | PQ.unit |
system | CO.codeSystem, PQ.translation.codeSystem |
code | PQ.code, MO.currency, PQ.translation.code |
whenPrepared | .effectiveTime[xmi:type=IVL_TS].low |
whenHandedOver | .effectiveTime[xmi:type=IVL_TS].high |
destination | .participation[typeCode=DST].role |
receiver | .participation[typeCode=RCV].role |
note | .inboundRelationship[typeCode=SUBJ]/source[classCode=ACT,moodCode=EVN] |
id | n/a |
extension | n/a |
author[x] | Act.participant[typeCode=AUT].role |
time | Act.effectiveTime |
text | Act.text |
dosageInstruction | .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT] |
id | n/a |
sequence | .text |
text | .text |
additionalInstruction | n/a, CD |
patientInstruction | .text |
timing | .effectiveTime |
id | n/a |
event | QLIST<TS> |
repeat | Implies PIVL or EIVL |
id | 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 |
id | n/a |
coding | n/a, CV |
text | ./originalText[mediaType/code="text/plain"]/data |
asNeeded[x] | n/a, CD |
site | n/a, CD |
route | n/a, CD |
id | n/a |
coding | n/a, CV |
text | ./originalText[mediaType/code="text/plain"]/data |
method | n/a, CD |
doseAndRate | |
id | n/a |
type | n/a, CD |
dose[x] | .doseQuantity |
dose[x] (doseQuantity) | .doseQuantity |
id | n/a |
extension | n/a |
value | PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value |
comparator | IVL properties |
unit | PQ.unit |
system | CO.codeSystem, PQ.translation.codeSystem |
code | PQ.code, MO.currency, PQ.translation.code |
rate[x] | .rateQuantity |
maxDosePerPeriod | .maxDoseQuantity |
maxDosePerAdministration | not supported |
maxDosePerLifetime | not supported |
substitution | .outboundRelationship[typeCode=COMP].target[classCode=SUBST, moodCode=EVN] |
id | n/a |
wasSubstituted | .actionNegationInd |
type | n/a, CD |
reason | n/a, CD |
responsibleParty | .participation[typeCode=PFM].role[classCode=ASSIGN] |
detectedIssue | .inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value |
eventHistory | .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN] |
MedicationDispenseDS |
MedicationDispense | |
identifier | CombinedMedicationDispense.id |
status | CombinedMedicationDispense.SupplyEvent.statusCode |
medication[x] | CombinedMedicationRequest.component1.AdministrationRequest.consumable |
medication[x] (medicationReference) | CombinedMedicationRequest.component1.AdministrationRequest.consumable |
authorizingPrescription | CombinedMedicationDispense.inFulfillmentOf |
quantity | CombinedMedicationDispense.SupplyEvent.quantity |
whenPrepared | CombinedMedicationDispense.SupplyEvent.effectiveTime |
whenHandedOver | CombinedMedicationDispense.SupplyEvent.effectiveTime |
destination | CombinedMedicationDispense.SupplyEvent.destination |
receiver | CombinedMedicationDispense.SupplyEvent.receiver |
substitution | CombinedMedicationDispense.substitutionMade |
responsibleParty | CombinedMedicationDispense.substitutionMade.ResponsibleParty |
MedicationDispenseDS |
MedicationDispense | |
identifier | |
use | N/A |
type | CX.5 |
system | CX.4 / EI-2-4 |
value | CX.1 / EI.1 |
period | CX.7 + CX.8 |
assigner | CX.4 / (CX.4,CX.9,CX.10) |
statusReason[x] | CE/CNE/CWE |
category | CE/CNE/CWE |
medication[x] | RXD-2-Dispense/Give Code |
medication[x] (medicationCodeableConcept) | CE/CNE/CWE |
coding | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
coding (fda-medication-tw) | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
coding (nhi-medication-tw) | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
coding (rxnorm-medication-us-core) | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
coding (atc-medication-code) | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
coding (snomedct-medication-codes) | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
text | C*E.9. But note many systems use C*E.2 for this |
medication[x] (medicationReference) | RXD-2-Dispense/Give Code |
subject | PID-3-Patient ID List |
performer | |
function | CE/CNE/CWE |
authorizingPrescription | ORC-2 Placer Order Number |
type | CE/CNE/CWE |
quantity | RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system |
value | SN.2 / CQ - N/A |
unit | (see OBX.6 etc.) / CQ.2 |
system | (see OBX.6 etc.) / CQ.2 |
code | (see OBX.6 etc.) / CQ.2 |
daysSupply | TQ1.6 Timing/Quantity Segment Service Duration.
Prior to v2.5, ORC.7.3 Common Order Segment / Quantity/Timing / Duration component. This is a formatted string, first character for the time unit (e.g., D=days), followed by the value. For example, “D14” represents “14 days supply”
From v2.5 on, TQ1.6 Timing/Quantity Segment / Service Duration. This is a CQ data type (<Quantity (NM)> ^ <Units (CWE)>), thus for days supply, assuming the unit of measure is “days”, the numeric value is TQ1.6.1 (…|14^
For backwards compatibility, ORC.7 was permitted through v2.6. Both forms (field and segment) may be present in v2.5, v2.5.1, and v2.6 |
value | SN.2 / CQ - N/A |
unit | (see OBX.6 etc.) / CQ.2 |
system | (see OBX.6 etc.) / CQ.2 |
code | (see OBX.6 etc.) / CQ.2 |
whenPrepared | RXD-3-Date/Time Dispensed |
whenHandedOver | RXD-3-Date/Time Dispensed |
destination | RXD-13 Dispense-to Location; RXD-30 Dispense to Pharmacy; RXD-31 Dispense to Pharmacy Address |
note | RXD-9 Dispense Notes |
author[x] | N/A |
time | N/A |
text | N/A |
dosageInstruction | |
sequence | TQ1-1 |
text | RXO-6; RXE-21 |
additionalInstruction | CE/CNE/CWE |
patientInstruction | RXO-7 |
timing | |
code | |
coding | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
text | C*E.9. But note many systems use C*E.2 for this |
asNeeded[x] | CE/CNE/CWE |
site | CE/CNE/CWE |
route | CE/CNE/CWE |
coding | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
text | C*E.9. But note many systems use C*E.2 for this |
method | CE/CNE/CWE |
doseAndRate | TQ1-2 |
type | CE/CNE/CWE |
dose[x] | RXO-2, RXE-3 |
dose[x] (doseQuantity) | RXO-2, RXE-3 |
value | SN.2 / CQ - N/A |
comparator | SN.1 / CQ.1 |
unit | (see OBX.6 etc.) / CQ.2 |
system | (see OBX.6 etc.) / CQ.2 |
code | (see OBX.6 etc.) / CQ.2 |
rate[x] | RXE22, RXE23, RXE-24 |
maxDosePerPeriod | RXO-23, RXE-19 |
substitution | |
type | CE/CNE/CWE |
reason | CE/CNE/CWE |