<?xml version="1.0" encoding="UTF-8"?>

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="hr-medications-ug"/>
  <meta>
    <tag>
      <system value="https://fhir.optimalhealth.org/sid/optimalhealth-study"/>
      <code value="HR-UG"/>
      <display value="Healthy Route Uganda"/>
    </tag>
    <tag>
      <system value="https://fhir.optimalhealth.org/ig/healthy-route/CodeSystem/hr-signoff"/>
      <code value="optional"/>
      <display value="Optional at sign-off"/>
    </tag>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Questionnaire hr-medications-ug</b></p><a name="hr-medications-ug"> </a><a name="hchr-medications-ug"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Tags: , <a href="CodeSystem-hr-signoff.html">Optional at sign-off (Details: Sign-off code optional = 'Optional at sign-off')</a></p></div><table border="1" cellpadding="0" cellspacing="0" class="xhtTableBorder1"><tr class="xhtRowBorder2"><th scope="col" style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/formats.html#table" title="The linkID for the item">LinkID</a></th><th scope="col" style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/formats.html#table" title="Text for the item">Text</a></th><th scope="col" style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/formats.html#table" title="Minimum and Maximum # of times the item can appear in the instance">Cardinality</a></th><th scope="col" style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/formats.html#table" title="The type of the item">Type</a></th><th scope="col" style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/formats.html#table" title="Additional information about the item">Description &amp; Constraints</a><span style="float: right"><a href="https://hl7.org/fhir/R5/formats.html#table" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr class="xhtRowBorder1 xhtRowEven"><td style="background-image: url(tbl_bck1.png)" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_q_root.gif" alt="" style="background-color: white; background-color: inherit" title="QuestionnaireRoot" class="hierarchy"/> HRMedicationsUG</td><td style="" class="hierarchy xhtCellBorder1">Every medicine taken now, including over-the-counter medicines. Recorded at the clinician's discretion.</td><td style="" class="hierarchy xhtCellBorder1"/><td style="" class="hierarchy xhtCellBorder1">Questionnaire</td><td style="" class="hierarchy xhtCellBorder1">https://fhir.optimalhealth.org/ig/healthy-route/Questionnaire/hr-medications-ug#0.2.0</td></tr>
<tr class="xhtRowBorder1 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" id="item.medications-current" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon-q-boolean.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="boolean" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">HRMedicationsUG / </span>medications-current</td><td style="" class="hierarchy xhtCellBorder1">Currently taking any medication</td><td style="" class="hierarchy xhtCellBorder1">1..1</td><td style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/codesystem-item-type.html#item-type-boolean">boolean</a></td><td style="" class="hierarchy xhtCellBorder1"/></tr>
<tr class="xhtRowBorder1 xhtRowEven"><td style="background-image: url(tbl_bck01.png)" id="item.medicine" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon-q-group.png" alt="" style="background-color: white; background-color: inherit" title="group" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">HRMedicationsUG / </span>medicine</td><td style="" class="hierarchy xhtCellBorder1">Medicine</td><td style="" class="hierarchy xhtCellBorder1">0..*</td><td style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/codesystem-item-type.html#item-type-group">group</a></td><td style="" class="hierarchy xhtCellBorder1">Enable When: <span><a href="#item.medications-current">medications-current</a> = true</span></td></tr>
<tr class="xhtRowBorder1 xhtRowOdd"><td style="background-image: url(tbl_bck010.png)" id="item.medicine.code" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon-q-coding.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="coding" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">HRMedicationsUG / medicine / </span>medicine.code</td><td style="" class="hierarchy xhtCellBorder1">Medication name</td><td style="" class="hierarchy xhtCellBorder1">1..1</td><td style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/codesystem-item-type.html#item-type-coding">coding</a></td><td style="" class="hierarchy xhtCellBorder1">Value Set: https://fhir.optimalhealth.org/ValueSet/hr-medicine</td></tr>
<tr class="xhtRowBorder1 xhtRowEven"><td style="background-image: url(tbl_bck010.png)" id="item.medicine.strength" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="" style="background-color: white; background-color: inherit" title="string" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">HRMedicationsUG / medicine / </span>medicine.strength</td><td style="" class="hierarchy xhtCellBorder1">Strength</td><td style="" class="hierarchy xhtCellBorder1">0..1</td><td style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/codesystem-item-type.html#item-type-string">string</a></td><td style="" class="hierarchy xhtCellBorder1"/></tr>
<tr class="xhtRowBorder1 xhtRowOdd"><td style="background-image: url(tbl_bck010.png)" id="item.medicine.form" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon-q-coding.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="coding" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">HRMedicationsUG / medicine / </span>medicine.form</td><td style="" class="hierarchy xhtCellBorder1">Form</td><td style="" class="hierarchy xhtCellBorder1">0..1</td><td style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/codesystem-item-type.html#item-type-coding">coding</a></td><td style="" class="hierarchy xhtCellBorder1">Value Set: <a href="ValueSet-hr-dose-form-vs.html">Dose Form Value Set</a></td></tr>
<tr class="xhtRowBorder1 xhtRowEven"><td style="background-image: url(tbl_bck010.png)" id="item.medicine.route" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon-q-coding.png" alt="" style="background-color: white; background-color: inherit" title="coding" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">HRMedicationsUG / medicine / </span>medicine.route</td><td style="" class="hierarchy xhtCellBorder1">Route</td><td style="" class="hierarchy xhtCellBorder1">1..1</td><td style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/codesystem-item-type.html#item-type-coding">coding</a></td><td style="" class="hierarchy xhtCellBorder1">Value Set: <a href="ValueSet-hr-medicine-route-vs.html">Medicine Route Value Set</a></td></tr>
<tr class="xhtRowBorder1 xhtRowOdd"><td style="background-image: url(tbl_bck010.png)" id="item.medicine.frequency" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon-q-coding.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="coding" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">HRMedicationsUG / medicine / </span>medicine.frequency</td><td style="" class="hierarchy xhtCellBorder1">How often</td><td style="" class="hierarchy xhtCellBorder1">1..1</td><td style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/codesystem-item-type.html#item-type-coding">coding</a></td><td style="" class="hierarchy xhtCellBorder1">Value Set: <a href="ValueSet-hr-medicine-frequency-vs.html">Medicine Frequency Value Set</a></td></tr>
<tr class="xhtRowBorder1 xhtRowEven"><td style="background-image: url(tbl_bck000.png)" id="item.medicine.reason" class="hierarchy xhtCellBorder1 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="" style="background-color: white; background-color: inherit" title="string" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">HRMedicationsUG / medicine / </span>medicine.reason</td><td style="" class="hierarchy xhtCellBorder1">Taken for</td><td style="" class="hierarchy xhtCellBorder1">0..1</td><td style="" class="hierarchy xhtCellBorder1"><a href="https://hl7.org/fhir/R5/codesystem-item-type.html#item-type-string">string</a></td><td style="" class="hierarchy xhtCellBorder1"/></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://hl7.org/fhir/R5/formats.html#table" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap">
    <valueCanonical value="https://fhir.optimalhealth.org/ig/healthy-route/StructureMap/HRExtractMedications"/>
  </extension>
  <url value="https://fhir.optimalhealth.org/ig/healthy-route/Questionnaire/hr-medications-ug"/>
  <version value="0.2.0"/>
  <name value="HRMedicationsUG"/>
  <title value="Measure: medications, Uganda"/>
  <status value="draft"/>
  <experimental value="false"/>
  <subjectType value="Patient"/>
  <date value="2026-10-10"/>
  <publisher value="Savannah Informatics"/>
  <contact>
    <name value="Savannah Informatics"/>
    <telecom>
      <system value="url"/>
      <value value="https://optimalhealth.org"/>
    </telecom>
  </contact>
  <contact>
    <name value="Savannah Informatics"/>
    <telecom>
      <system value="url"/>
      <value value="https://optimalhealth.org"/>
    </telecom>
  </contact>
  <description value="Every medicine taken now, including over-the-counter medicines. Recorded at the clinician's discretion."/>
  <item>
    <linkId value="medications-current"/>
    <text value="Currently taking any medication"/>
    <type value="boolean"/>
    <required value="true"/>
  </item>
  <item>
    <linkId value="medicine"/>
    <text value="Medicine"/>
    <type value="group"/>
    <enableWhen>
      <question value="medications-current"/>
      <operator value="="/>
      <answerBoolean value="true"/>
    </enableWhen>
    <repeats value="true"/>
    <item>
      <linkId value="medicine.code"/>
      <text value="Medication name"/>
      <type value="coding"/>
      <required value="true"/>
      <answerConstraint value="optionsOrString"/>
      <answerValueSet value="https://fhir.optimalhealth.org/ValueSet/hr-medicine"/>
    </item>
    <item>
      <linkId value="medicine.strength"/>
      <text value="Strength"/>
      <type value="string"/>
    </item>
    <item>
      <linkId value="medicine.form"/>
      <text value="Form"/>
      <type value="coding"/>
      <answerValueSet value="https://fhir.optimalhealth.org/ig/healthy-route/ValueSet/hr-dose-form-vs"/>
    </item>
    <item>
      <linkId value="medicine.route"/>
      <text value="Route"/>
      <type value="coding"/>
      <required value="true"/>
      <answerValueSet value="https://fhir.optimalhealth.org/ig/healthy-route/ValueSet/hr-medicine-route-vs"/>
    </item>
    <item>
      <linkId value="medicine.frequency"/>
      <text value="How often"/>
      <type value="coding"/>
      <required value="true"/>
      <answerValueSet value="https://fhir.optimalhealth.org/ig/healthy-route/ValueSet/hr-medicine-frequency-vs"/>
    </item>
    <item>
      <linkId value="medicine.reason"/>
      <text value="Taken for"/>
      <type value="string"/>
    </item>
  </item>
</Questionnaire>