{
  "id" : "29460261485",
  "medicationCodeableConcept" : {
    "text" : "aspirin (aspirin 81 mg oral enteric coated tablet)",
    "coding" : [
      {
        "code" : "308416",
        "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
        "display" : "Aspirin 81 MG Enteric Coated Tablet",
        "userSelected" : false
      }
    ]
  },
  "encounter" : {
    "reference" : "Encounter/647586765"
  },
  "status" : "active",
  "substitution" : {
    "type" : {
      "text" : "Equivalent"
    }
  },
  "resourceType" : "MedicationOrder",
  "dateWritten" : "2021-08-23T17:25:31Z",
  "meta" : {
    "versionId" : "0",
    "lastUpdated" : "2021-08-23T17:25:39Z"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div><p><b>Medication Order</b></p><p><b>Patient Name</b>: LOPEZ, JAMES JOEL</p><p><b>Medication Name</b>: aspirin (aspirin 81 mg oral enteric coated tablet)</p><p><b>Dosage Instructions</b>: 81 mg, 1 tablet, ORAL, Daily, for 30 day(s), 90 tablet, 3 Refill(s)</p><p><b>Status</b>: Active</p><p><b>Substitution</b>: Equivalent</p></div>"
  },
  "dosageInstruction" : [
    {
      "_text" : {
        "extension" : [
          {
            "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
            "valueString" : "1 tablet by mouth every day for 30 Days. Refills: 3."
          }
        ]
      },
      "timing" : {
        "repeat" : {
          "boundsPeriod" : {
            "start" : "2021-08-23T17:25:00Z",
            "end" : "2021-12-21T18:25:00Z"
          }
        },
        "code" : {
          "_text" : {
            "extension" : [
              {
                "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
                "valueString" : "every day"
              }
            ]
          },
          "text" : "Daily"
        }
      },
      "doseQuantity" : {
        "code" : "{tbl}",
        "value" : 1.0,
        "system" : "http://unitsofmeasure.org",
        "_unit" : {
          "extension" : [
            {
              "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
              "valueString" : "tablet"
            }
          ]
        },
        "unit" : "tablet"
      },
      "route" : {
        "_text" : {
          "extension" : [
            {
              "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
              "valueString" : "by mouth"
            }
          ]
        },
        "text" : "ORAL",
        "coding" : [
          {
            "code" : "26643006",
            "system" : "http://snomed.info/sct",
            "display" : "Oral route (qualifier value)",
            "userSelected" : false
          }
        ]
      },
      "text" : "81 mg, 1 tablet, ORAL, Daily, for 30 day(s), 90 tablet, 3 Refill(s)"
    }
  ],
  "dispenseRequest" : {
    "numberOfRepeatsAllowed" : 3,
    "quantity" : {
      "code" : "{tbl}",
      "value" : 90.0,
      "system" : "http://unitsofmeasure.org",
      "_unit" : {
        "extension" : [
          {
            "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
            "valueString" : "tablet"
          }
        ]
      },
      "unit" : "tablet"
    },
    "validityPeriod" : {
      "start" : "2021-08-23T17:25:31Z"
    }
  },
  "priorPrescription" : {
    "reference" : "MedicationOrder/29337024911"
  },
  "dateEnded" : "2021-12-21T18:25:00Z",
  "prescriber" : {
    "display" : "HAM , JEFFREY CHARLES DO",
    "reference" : "Practitioner/68050530"
  },
  "patient" : {
    "display" : "LOPEZ, JAMES JOEL",
    "reference" : "Patient/85632757"
  }
}