Mappings for the Profile.
PrescribeIT Dispense |
MedicationDispense | Supply[moodCode=EVN] |
text | Act.text? |
contained | N/A |
modifierExtension | N/A |
identifier | II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT] |
status | .status |
medicationCodeableConcept | CD |
patient | .participation[typeCode=SBJ].role[classCode=PAT] |
id | n/a |
extension | n/a |
reference | N/A |
display | N/A |
dispenser | .participation[typeCode=PFM].role[classCode=ASSIGN] |
id | n/a |
reference | N/A |
display | N/A |
authorizingPrescription | .outboundRelationship[typeCode=FLFS].target[moodCode=RQO] |
id | n/a |
extension | |
extension (identifier) | |
id | n/a |
url | N/A |
valueIdentifier | II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT] |
reference | N/A |
display | N/A |
type | CD |
quantity | PQ, IVL<PQ>, MO, CO, depending on the values |
daysSupply | |
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] |
dosageInstruction | .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT] |
id | n/a |
modifierExtension | N/A |
text | .text |
additionalInstructions | CD |
id | n/a |
extension | n/a |
coding | union(., ./translation) |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | ./originalText[mediaType/code="text/plain"]/data |
timing | .effectiveTime |
id | n/a |
extension | n/a |
event | QLIST<TS> |
repeat | Implies PIVL or EIVL |
id | n/a |
extension | n/a |
boundsPeriod | IVL(TS) used in a QSI |
count | PIVL.count |
countMax | PIVL.count |
duration | PIVL.phase / EIVL.offset |
durationMax | PIVL.phase / EIVL.offset |
durationUnit | PIVL.phase.unit |
frequency | PIVL.phase / EIVL.offset |
frequencyMax | PIVL.phase |
period | PIVL.phase |
periodMax | PIVL.phase |
periodUnit | PIVL.phase.unit |
code | QSC.code |
asNeeded[x] | boolean: .outboundRelationship[typeCode=PRCN].negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: .outboundRelationship[typCode=PRCN].target[classCode=OBS, moodCode=EVN, isCriterionInd=true, code="Assertion"].value |
siteCodeableConcept | CD |
route | CD |
method | .methodCode |
doseQuantity | PQ, IVL<PQ>, MO, CO, depending on the values |
rateRatio | .rateQuantity |
maxDosePerPeriod | .maxDoseQuantity |
id | n/a |
extension | n/a |
numerator | PQ, IVL<PQ>, MO, CO, depending on the values |
denominator | PQ, IVL<PQ>, MO, CO, depending on the values |
substitution | .outboundRelationship[typeCode=COMP].target[classCode=SUBST, moodCode=EVN] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
type | .code |
reason | .reasonCode |
responsibleParty | .participation[typeCode=PFM].role[classCode=ASSIGN] |
PrescribeIT Dispense |
MedicationDispense | |
identifier | CX / EI (occasionally, more often EI maps to a resource id or a URL) |
medicationCodeableConcept | CE/CNE/CWE |
patient | PID-3-Patient ID List |
dispenser | RXD-10-Dispensing Provider / PRT-5-Participation Person: PRT-4-Participation='DP' (RXD-10 is deprecated) |
authorizingPrescription | ORC-2 Placer Order Number |
extension | |
extension (identifier) | |
valueIdentifier | CX / EI (occasionally, more often EI maps to a resource id or a URL) |
type | CE/CNE/CWE |
quantity | SN (see also Range) or CQ |
daysSupply | |
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 |
dosageInstruction | |
additionalInstructions | CE/CNE/CWE |
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 |
text | C*E.9. But note many systems use C*E.2 for this |
siteCodeableConcept | CE/CNE/CWE |
route | CE/CNE/CWE |
method | RXR-4-Administration Method |
doseQuantity | SN (see also Range) or CQ |
rateRatio | RXE-22-Give Per (Time Unit) |
maxDosePerPeriod | RXE-4-Give Amount - Maximum / RXE-5-Give Units |
numerator | SN (see also Range) or CQ |
denominator | SN (see also Range) or CQ |
substitution | |
type | RXO-9-Allow Substitutions / RXE-9-Substitution Status |