{

"resourceType": "MedicationOrder",
"id": "medrx003",
"_id": {
  "fhir_comments": [
    "   Not sure how to reference an id   "
  ]
},
"text": {
  "status": "generated",
  "div": "<div><p><b>Generated Narrative with Details</b></p><p><b>id</b>: medrx003</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>: Asthma <span>(Details : {SNOMED CT code '195967001' = '195967001', given as 'Asthma'})</span></p><p><b>medication</b>: <a>prescribed medication</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 1 tablet twice daily for 3 days</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: 01/03/2015, Duration 3days, 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 TAB<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')</span></p></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 2 tablet twice daily for 3 days</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: 04/03/2015, Duration 3days, 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>: 2 TAB<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')</span></p></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 3 tablet twice daily for 3 days</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: 07/03/2015, Duration 3days, 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>: 3 TAB<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')</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": "195967001",
      "display": "Asthma"
    }
  ]
},
"medicationReference": {
  "reference": "Medication/MedicationExample11",
  "display": "prescribed medication"
},
"dosageInstruction": [
  {
    "text": "Take 1 tablet twice daily for 3 days",
    "additionalInstructions": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "311504000",
          "display": "With or after food"
        }
      ]
    },
    "timing": {
      "event": [
        "2015-03-01"
      ],
      "repeat": {
        "duration": 3,
        "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": "TAB"
    }
  },
  {
    "text": "Take 2 tablet twice daily for 3 days",
    "additionalInstructions": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "311504000",
          "display": "With or after food"
        }
      ]
    },
    "timing": {
      "event": [
        "2015-03-04"
      ],
      "repeat": {
        "duration": 3,
        "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": 2,
      "system": "http://hl7.org/fhir/v3/orderableDrugForm",
      "code": "TAB"
    }
  },
  {
    "text": "Take 3 tablet twice daily for 3 days",
    "additionalInstructions": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "311504000",
          "display": "With or after food"
        }
      ]
    },
    "timing": {
      "event": [
        "2015-03-07"
      ],
      "repeat": {
        "duration": 3,
        "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": 3,
      "system": "http://hl7.org/fhir/v3/orderableDrugForm",
      "code": "TAB"
    }
  }
]

}