{

"resourceType": "MedicationOrder",
"id": "medrx005",
"text": {
  "status": "generated",
  "div": "<div><p><b>Generated Narrative with Details</b></p><p><b>id</b>: medrx005</p><p><b>identifier</b>: 12345 (OFFICIAL)</p><p><b>dateWritten</b>: 15/01/2015</p><p><b>status</b>: active</p><p><b>patient</b>: <a>Eve Everywoman</a></p><p><b>prescriber</b>: <a>Patrick Pump</a></p><p><b>encounter</b>: <a>encounter who leads to this priscription</a></p><p><b>reason</b>: Otitis Media <span>(Details : {SNOMED CT code '65363002' = '65363002', given as 'Otitis Media'})</span></p><p><b>medication</b>: <a>prescribed medication</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take two capsules to start</p><p><b>additionalInstructions</b>: With or after food <span>(Details : {SNOMED CT code '311504000' = '311504000', given as 'With or after food'})</span></p><p><b>timing</b>: Events: 15/01/2015, Duration 1days, Do Once per 1 days</p><p><b>site</b>: Entire oral cavity <span>(Details : {SNOMED CT code '181220002' = '181220002', given as 'Entire oral cavity'})</span></p><p><b>route</b>: Oral Route <span>(Details : {SNOMED CT code '26643006' = '26643006', given as 'Oral Route'})</span></p><p><b>dose</b>: 2 CAP<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code CAP = 'Capsule')</span></p></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take one capsule three times daily</p><p><b>additionalInstructions</b>: With or after food <span>(Details : {SNOMED CT code '311504000' = '311504000', given as 'With or after food'})</span></p><p><b>timing</b>: Events: 15/01/2015, Duration 11days, Do 2 per 1 days</p><p><b>site</b>: Entire oral cavity <span>(Details : {SNOMED CT code '181220002' = '181220002', given as 'Entire oral cavity'})</span></p><p><b>route</b>: Oral Route <span>(Details : {SNOMED CT code '26643006' = '26643006', given as 'Oral Route'})</span></p><p><b>dose</b>: 1 CAP<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code CAP = 'Capsule')</span></p></blockquote></div>"
},
"identifier": [
  {
    "use": "official",
    "system": "http://www.bmc.nl/portal/prescriptions",
    "value": "12345"
  }
],
"dateWritten": "2015-01-15",
"status": "active",
"patient": {
  "reference": "Patient/f001",
  "display": "Eve Everywoman"
},
"prescriber": {
  "reference": "Practitioner/f007",
  "display": "Patrick Pump"
},
"encounter": {
  "reference": "Encounter/f002",
  "display": "encounter who leads to this priscription"
},
"reasonCodeableConcept": {
  "coding": [
    {
      "system": "http://snomed.info/sct",
      "code": "65363002",
      "display": "Otitis Media"
    }
  ]
},
"medicationReference": {
  "reference": "Medication/MedicationExample6",
  "display": "prescribed medication"
},
"dosageInstruction": [
  {
    "text": "Take two capsules to start",
    "additionalInstructions": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "311504000",
          "display": "With or after food"
        }
      ]
    },
    "timing": {
      "event": [
        "2015-01-15"
      ],
      "repeat": {
        "duration": 1,
        "durationUnits": "d",
        "frequency": 1,
        "period": 1,
        "periodUnits": "d"
      }
    },
    "siteCodeableConcept": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "181220002",
          "display": "Entire oral cavity"
        }
      ]
    },
    "route": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "26643006",
          "display": "Oral Route"
        }
      ]
    },
    "doseQuantity": {
      "value": 2,
      "system": "http://hl7.org/fhir/v3/orderableDrugForm",
      "code": "CAP"
    }
  },
  {
    "text": "Take one capsule three times daily",
    "additionalInstructions": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "311504000",
          "display": "With or after food"
        }
      ]
    },
    "timing": {
      "event": [
        "2015-01-15"
      ],
      "repeat": {
        "duration": 11,
        "durationUnits": "d",
        "frequency": 2,
        "period": 1,
        "periodUnits": "d"
      }
    },
    "siteCodeableConcept": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "181220002",
          "display": "Entire oral cavity"
        }
      ]
    },
    "route": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "26643006",
          "display": "Oral Route"
        }
      ]
    },
    "doseQuantity": {
      "value": 1,
      "system": "http://hl7.org/fhir/v3/orderableDrugForm",
      "code": "CAP"
    }
  }
]

}