{
  "resourceType": "MedicationRequest",
  "id": "erythromycin-medreq-2",
  "meta": {
    "versionId": "4",
    "lastUpdated": "2020-08-06T17:04:21.460+00:00",
    "source": "#sRqmcVChZmoyJzL0",
    "profile": [
      "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>status</b>: active</p><p><b>intent</b>: plan</p><p><b>medication</b>: <a href=\"Medication-erythromycin-med-example.html\">Generated Summary: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 315877}\">Erythromycin 500 MG</span></a></p><p><b>subject</b>: <a href=\"Patient-example-dental.html\">Patient A. Generated Summary: Medical Record Number: 5152020 (USUAL); active: true; Patient A ; Phone: 123-456-7890, testA@email.com; gender: male; birthDate: 1990-01-01</a></p><p><b>authoredOn</b>: 2017-12-06</p><p><b>requester</b>: <a href=\"Practitioner-practitioner-D.html\">Dr. John M, MD. Generated Summary: id: 1234560000; John D ; Phone: 720-555-6443; gender: male; birthDate: 1990-06-09</a></p><blockquote><p><b>dispenseRequest</b></p><p><b>numberOfRepeatsAllowed</b>: 1</p><p><b>quantity</b>: 500 mg</p></blockquote></div>"
  },
  "status": "active",
  "intent": "plan",
  "medicationReference": {
    "reference": "Medication/erythromycin-med-example"
  },
  "subject": {
    "reference": "Patient/example-dental",
    "display": "Patient A"
  },
  "authoredOn": "2017-12-06",
  "requester": {
    "reference": "Practitioner/practitioner-D",
    "display": "Dr. John M, MD"
  },
  "dosageInstruction": [
    {
      "text": "Take 1 tablet every six hours X10 days",
      "timing": {
        "repeat": {
          "boundsPeriod": {
            "start": "2017-12-06"
          }
        }
      }
    }
  ],
  "dispenseRequest": {
    "numberOfRepeatsAllowed": 1,
    "quantity": {
      "value": 500,
      "unit": "mg",
      "system": "http://unitsofmeasure.org",
      "code": "mg"
    },
    "expectedSupplyDuration": {
      "value": 10,
      "unit": "days",
      "system": "http://unitsofmeasure.org",
      "code": "d"
    }
  }
}