Mappings for the MedicationDispense-twcore resource profile.
TWCoreMedicationDispense |
MedicationDispense | Entity. Role, or Act, Supply[moodCode=EVN] |
text | Act.text? |
contained | N/A |
identifier | .id |
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] (medicationReference) | .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 |
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 |
daysSupply | effectiveUseTime |
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] |
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 |
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] |
TWCoreMedicationDispense |
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 |
TWCoreMedicationDispense |
MedicationDispense | |
statusReason[x] | CE/CNE/CWE |
category | CE/CNE/CWE |
medication[x] | RXD-2-Dispense/Give Code |
medication[x] (medicationReference) | 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 |
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 |
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 |
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 |
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 |
rate[x] | RXE22, RXE23, RXE-24 |
maxDosePerPeriod | RXO-23, RXE-19 |
substitution | |
type | CE/CNE/CWE |
reason | CE/CNE/CWE |