{
  "resourceType" : "MedicationRequest",
  "id" : "31987db3-fac3-48b0-9dc3-33f0589d54c0",
  "meta" : {
    "profile" : ["https://fhir.medirecords.com/StructureDefinition/mr-medication-request-draft"]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest 31987db3-fac3-48b0-9dc3-33f0589d54c0</b></p><a name=\"31987db3-fac3-48b0-9dc3-33f0589d54c0\"> </a><a name=\"hc31987db3-fac3-48b0-9dc3-33f0589d54c0\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-medication-request-draft.html\">MR MedicationRequest Draft</a></p></div><p><b>Prescription Type Extension</b>: <a href=\"CodeSystem-mr-prescription-type.html#mr-prescription-type-3\">Prescription Type CodeSystem 3</a>: Paperless</p><p><b>status</b>: Draft</p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href=\"#hc31987db3-fac3-48b0-9dc3-33f0589d54c0/1\">Medication </a></p><p><b>subject</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Mila Female, DoB: 1990-11-29 ( Medicare Number:\u00a032788511952\u00a0(,\u00a0period:\u00a0(?) --&gt; 2025-02))</a></p><p><b>encounter</b>: Identifier: <code>http://fhir.medirecords.com/id/tenant-scoped/encounter/77b523ca-dda8-4488-83ea-9f0553c107fb</code>/12345</p><p><b>authoredOn</b>: 2021-12-21 12:43:30+1100</p><p><b>requester</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner John Smith </a></p><blockquote><p><b>dosageInstruction</b></p><p><b>patientInstruction</b>: Take one tablet by mouth every morning</p><p><b>timing</b>: Once</p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td></tr><tr><td style=\"display: none\">*</td><td/></tr></table></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>14</td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Medication #1</b></p><a name=\"31987db3-fac3-48b0-9dc3-33f0589d54c0/1\"> </a><a name=\"hc31987db3-fac3-48b0-9dc3-33f0589d54c0/1\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-medication-draft.html\">MR Medication Draft</a></p></div><p><b>Medication Type</b>: <span title=\"Codes:{http://snomed.info/sct 1208954007}\">Extemporaneous preparation</span></p><p><b>code</b>: <span title=\"Codes:\">Duloxetine MH 30mg</span></p></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "Medication",
    "id" : "1",
    "meta" : {
      "profile" : ["https://fhir.medirecords.com/StructureDefinition/mr-medication-draft"]
    },
    "extension" : [{
      "url" : "http://hl7.org/fhir/StructureDefinition/medication-type",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "1208954007",
          "display" : "Extemporaneous preparation"
        }]
      }
    }],
    "code" : {
      "text" : "Duloxetine MH 30mg"
    }
  }],
  "extension" : [{
    "url" : "https://fhir.medirecords.com/StructureDefinition/mr-prescription-type",
    "valueCoding" : {
      "system" : "https://fhir.medirecords.com/CodeSystem/mr-prescription-type",
      "code" : "3",
      "display" : "Paperless"
    }
  }],
  "status" : "draft",
  "intent" : "order",
  "medicationReference" : {
    "reference" : "#1"
  },
  "subject" : {
    "reference" : "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"
  },
  "encounter" : {
    "identifier" : {
      "system" : "http://fhir.medirecords.com/id/tenant-scoped/encounter/77b523ca-dda8-4488-83ea-9f0553c107fb",
      "value" : "12345"
    }
  },
  "authoredOn" : "2021-12-21T12:43:30+11:00",
  "requester" : {
    "reference" : "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"
  },
  "dosageInstruction" : [{
    "patientInstruction" : "Take one tablet by mouth every morning",
    "timing" : {
      "repeat" : {
        "boundsPeriod" : {
          "start" : "2021-12-21T00:00:00+11:00"
        }
      }
    },
    "doseAndRate" : [{
      "extension" : [{
        "url" : "https://fhir.medirecords.com/StructureDefinition/mr-dose-string-extn",
        "valueString" : "30 mg"
      }]
    }]
  }],
  "dispenseRequest" : {
    "quantity" : {
      "value" : 14
    }
  }
}