{
  "id" : "29337024911",
  "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/647296834"
  },
  "status" : "completed",
  "substitution" : {
    "type" : {
      "text" : "Equivalent"
    }
  },
  "resourceType" : "MedicationOrder",
  "dateWritten" : "2021-08-12T13:31:22Z",
  "meta" : {
    "versionId" : "3",
    "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), 30 tablet, 0 Refill(s)</p><p><b>Status</b>: Completed</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: 0."
          }
        ]
      },
      "timing" : {
        "repeat" : {
          "boundsQuantity" : {
            "code" : "d",
            "value" : 30,
            "system" : "http://unitsofmeasure.org",
            "_unit" : {
              "extension" : [
                {
                  "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
                  "valueString" : "Days"
                }
              ]
            },
            "unit" : "day(s)"
          }
        },
        "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), 30 tablet, 0 Refill(s)"
    }
  ],
  "dispenseRequest" : {
    "quantity" : {
      "code" : "{tbl}",
      "value" : 30.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-12T13:31:22Z"
    }
  },
  "priorPrescription" : {
    "reference" : "MedicationOrder/29319758147"
  },
  "dateEnded" : "2021-08-23T17:25:39Z",
  "prescriber" : {
    "display" : "HARWANI , NEHA MELANIE DO",
    "reference" : "Practitioner/86383193"
  },
  "patient" : {
    "display" : "LOPEZ, JAMES JOEL",
    "reference" : "Patient/85632757"
  }
}