Mappings for the medicationorder resource.
| MedicationOrder | CombinedMedicationRequest |
| identifier | id |
| status | statusCode |
| medication[x] | consumable.administrableMedication |
| patient | subject.role |
| encounter | componentOf.patientEncounter |
| dateWritten | author.time |
| prescriber | author.role |
| reasonCode | reason.observation or reason.observation[code=ASSERTION].value |
| reasonReference | |
| dateEnded | |
| reasonEnded | |
| note | .inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value |
| dosageInstruction | component.substanceAdministrationRequest |
| text | text |
| additionalInstructions | component.substanceAdministrationRequest.text |
| timing | effectiveTime |
| asNeeded[x] | boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code="Assertion"].value |
| site[x] | approachSiteCode |
| route | routeCode |
| method | methodCode |
| dose[x] | doseQuantity |
| rate[x] | rateQuantity |
| maxDosePerPeriod | maxDoseQuantity |
| dispenseRequest | component.supplyEvent |
| medication[x] | consumable.role |
| validityPeriod | effectiveTime |
| numberOfRepeatsAllowed | repeatNumber |
| quantity | quantity |
| expectedSupplyDuration | expectedUseTime |
| substitution | subjectOf.substitutionPersmission |
| type | code |
| reason | reasonCode |
| priorPrescription | .outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO] |
| MedicationOrder | |
| identifier | ORC-2-Placer Order Number / ORC-3-Filler Order Number |
| status | |
| medication[x] | RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code |
| patient | PID-3-Patient ID List |
| encounter | PV1-19-Visit Number |
| dateWritten | RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction |
| prescriber | RXE-13-Ordering Provider's DEA Number / RXO-14-Ordering Provider's DEA Number / RXE-14-Pharmacist/Treatment Supplier's Verifier ID / RXO-15-Pharmacist/Treatment Supplier's Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation='OP' (all but last deprecated) |
| reasonCode | ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication |
| reasonReference | |
| dateEnded | |
| reasonEnded | |
| note | |
| dosageInstruction | |
| text | RXE-7.2-Provider's Administration Instructions.text / RXO-7.2-Provider's Administration Instructions.text / TQ1-10-Condition Text / TQ1-11-Text Instruction |
| additionalInstructions | RXE-7.2-Provider's Administration Instructions.text / RXO-7.2-Provider's Administration Instructions.text / TQ1-10-Condition Text / TQ1-11-Text Instruction |
| timing | TQ1-X / ORC Quantity/timing |
| asNeeded[x] | |
| site[x] | RXR-2-Administration Site |
| route | RXR-1-Route |
| 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) |
| maxDosePerPeriod | RXE-4-Give Amount - Maximum / RXE-5-Give Units |
| dispenseRequest | |
| medication[x] | RXE-2-Give Code / RXO-1-Requested Give Code / RXD-2-Dispense/Give Code |
| validityPeriod | |
| numberOfRepeatsAllowed | RXE-12-Number of Refills |
| quantity | RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system |
| expectedSupplyDuration | |
| substitution | |
| type | RXO-9-Allow Substitutions / RXE-9-Substitution Status |
| reason | RXE-9 Substition status |
| priorPrescription | |