<MedicationStatement xmlns="http://hl7.org/fhir">
  <id value="medication-statement-01" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: MedicationStatement medication-statement-01</b>
      </p>
      <a name="medication-statement-01"></a>
      <a name="hcmedication-statement-01"></a>
      <p>
        <b>status</b>: Active</p>
      <p>
        <b>medication</b>: <a href="Medication-medication-01.html">Medication Aspirin</a></p>
      <p>
        <b>subject</b>: <a href="Patient-patient-01.html">Sarah Jane Smith(official) Female, DoB: 1985-08-15 ( Jurisdictional Health Number: 9876543210)</a></p>
      <p>
        <b>effective</b>: 2024-03-27 --&gt; 2024-12-31</p>
      <p>
        <b>reasonCode</b>: <span title="Codes:{http://snomed.info/sct 22298006}">Secondary prevention of cardiovascular events</span></p>
      <h3>Dosages</h3>
      <table class="grid">
        <tr>
          <td style="display: none">-</td>
          <td>
            <b>Text</b>
          </td>
          <td>
            <b>Route</b>
          </td>
        </tr>
        <tr>
          <td style="display: none">*</td>
          <td>Take 20mg once daily at bedtime</td>
          <td>
            <span title="Codes:{http://snomed.info/sct 26643006}">Oral route (qualifier value)</span>
          </td>
        </tr>
      </table>
    </div>
  </text>
  <status value="active" />
  <medicationReference>
    <reference value="Medication/medication-01" />
  </medicationReference>
  <subject>
    <reference value="Patient/patient-01" />
  </subject>
  <effectivePeriod>
    <start value="2024-03-27" />
    <end value="2024-12-31" />
  </effectivePeriod>
  <reasonCode>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="22298006" />
      <display value="Myocardial infarction (disorder)" />
    </coding>
    <text value="Secondary prevention of cardiovascular events" />
  </reasonCode>
  <dosage>
    <text value="Take 20mg once daily at bedtime" />
    <route>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="26643006" />
        <display value="Oral route (qualifier value)" />
      </coding>
    </route>
  </dosage>
</MedicationStatement>