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] |
| 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 |
| status | .status |
| medication[x] | .participation[typeCode=PRD].role |
| medication[x] (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 |
| value[x] | 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] |
| value[x] (valueIdentifier) | N/A |
| 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) |
| 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 |
| bounds[x] | 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 |
| site[x] | .approachSiteCode |
| site[x] (siteCodeableConcept) | CD |
| route | CD |
| method | .methodCode |
| dose[x] | .doseQuantity |
| rate[x] | .rateQuantity |
| rate[x] (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) |
| 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) |
| medication[x] | RXD-2-Dispense/Give Code |
| medication[x] (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) | |
| value[x] | 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 |
| text | C*E.9. But note many systems use C*E.2 for this |
| site[x] | RXR-2-Administration Site |
| site[x] (siteCodeableConcept) | CE/CNE/CWE |
| route | CE/CNE/CWE |
| method | RXR-4-Administration Method |
| dose[x] | RXE-23-Give Rate Amount / RXE-24.1-Give Rate Units.code / RXE-24.3-Give Rate Units.name of coding system |
| rate[x] | RXE-22-Give Per (Time Unit) |
| rate[x] (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 |