<MedicationRequest xmlns="http://hl7.org/fhir">
  <meta>
    <profile value="http://healthpei.ca/fhir/StructureDefinition/ca-pei-profile-MedicationRequest" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">empty</div>
  </text>
  <identifier>
    <system value="http://healthpei.ca/fhir/NamingSystem/id-pharmacy-system-med-order" />
    <value value="84562" />
  </identifier>
  <status value="active" />
  <intent value="order" />
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
      <code value="community" />
      <display value="community" />
    </coding>
  </category>
  <medicationReference>
    <reference value="urn:uuid:2d4054c9-e02b-4cd3-a0b6-41b598cbe7ad" />
  </medicationReference>
  <subject>
    <reference value="Patient/PEIMedicationRequest" />
  </subject>
  <authoredOn value="2025-03-15" />
  <requester>
    <reference value="urn:uuid:048ac416-e2d9-43e2-a41d-f797490b6ac5" />
  </requester>
  <dosageInstruction>
    <text value="Take 2 tablets by mouth 3 times a day" />
  </dosageInstruction>
  <dispenseRequest>
    <initialFill>
      <quantity>
        <value value="30" />
        <unit value="mg" />
        <system value="http://unitsofmeasure.org" />
        <code value="mg" />
      </quantity>
      <duration>
        <value value="30" />
        <unit value="d" />
        <system value="http://unitsofmeasure.org" />
      </duration>
    </initialFill>
    <validityPeriod>
      <start value="2025-04-01" />
      <end value="2025-04-30" />
    </validityPeriod>
    <numberOfRepeatsAllowed value="1" />
  </dispenseRequest>
</MedicationRequest>