<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="chr-on-west-MedicationRequest-9002" />
  <meta>
    <lastUpdated value="2024-12-10T10:00:00+00:00" />
    <source value="urn:telus:emr:chr:on-west:123" />
    <profile value="https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedicationRequest" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">Prescription for Metformin 500 mg Tablet for Sarah Marie Johnson. Prescriber: Dr. Emily Thompson. Authored: 2024-12-10. Dosage: Take 1 tablet by mouth twice daily with meals. Qty: 60 tablets, 2 repeats allowed. Indication: Type 2 Diabetes Mellitus.</div>
  </text>
  <extension url="http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction">
    <valueString value="Take 1 tablet by mouth twice daily with meals. Take with food to reduce GI upset." />
  </extension>
  <identifier>
    <system value="urn:telus:emr:chr:on-west:123:medicationrequest" />
    <value value="9002" />
  </identifier>
  <status value="active" />
  <intent value="order" />
  <medicationReference>
    <reference value="Medication/chr-on-west-Medication-9001" />
  </medicationReference>
  <subject>
    <reference value="Patient/chr-on-west-Patient-12345" />
    <display value="Sarah Marie Johnson" />
  </subject>
  <authoredOn value="2024-12-10" />
  <requester>
    <reference value="Practitioner/chr-on-west-Practitioner-501" />
    <display value="Dr. Emily Thompson" />
  </requester>
  <reasonCode>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="44054006" />
      <display value="Diabetes mellitus type 2" />
    </coding>
    <text value="Type 2 Diabetes Mellitus" />
  </reasonCode>
  <note>
    <text value="Monitor blood glucose regularly. Review at 3-month follow-up." />
  </note>
  <dosageInstruction>
    <text value="Take 1 tablet by mouth twice daily with meals" />
  </dosageInstruction>
  <dispenseRequest>
    <validityPeriod>
      <start value="2024-12-10" />
      <end value="2025-06-10" />
    </validityPeriod>
    <numberOfRepeatsAllowed value="2" />
    <quantity>
      <value value="60" />
      <unit value="Tablet" />
    </quantity>
  </dispenseRequest>
</MedicationRequest>