Smart Health Checks
0.4.0 - ci-build

Smart Health Checks, published by AEHRC CSIRO. This guide is not an authorized publication; it is the continuous build for version 0.4.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/aehrc/smart-forms-ig/ and changes regularly. See the Directory of published versions

## : Aboriginal and Torres Strait Islander Health Check - Substance Use - XML Representation

Draft as of 2025-03-14

Raw xml | Download

    <Questionnaire xmlns="http://hl7.org/fhir">
      <id value="SubstanceUse"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render"/>
        <profile
                 value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular"/>
        <profile
                 value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave"/>
        <profile
                 value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template"/>
      </meta>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Questionnaire SubstanceUse</b></p><a name="SubstanceUse"> </a><a name="hcSubstanceUse"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profiles: <a href="https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-render.html">Advanced Rendering Questionnaire</a>, <a href="https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-modular.html">SDC Modular Questionnaire</a>, <a href="https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-behave.html">Advanced Behavior Questionnaire</a>, <a href="https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-extr-template.html">Extractable Questionnaire - Template</a></p></div><b>Structure</b><table border="1" cellpadding="0" cellspacing="0" style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 2px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://hl7.org/fhir/R4/formats.html#table" title="The linkID for the item">LinkID</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://hl7.org/fhir/R4/formats.html#table" title="Text for the item">Text</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://hl7.org/fhir/R4/formats.html#table" title="Minimum and Maximum # of times the item can appear in the instance">Cardinality</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://hl7.org/fhir/R4/formats.html#table" title="The type of the item">Type</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://hl7.org/fhir/R4/formats.html#table" title="Other attributes of the item">Flags</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://hl7.org/fhir/R4/formats.html#table" title="Additional information about the item">Description &amp; Constraints</a><span style="float: right"><a href="https://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><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"/> SubstanceUse</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Questionnaire</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">http://www.health.gov.au/assessments/mbs/715/SubstanceUse#0.4.0</td></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" id="item.14a9fb5f-5b0e-4862-b143-08a11cd3ebf0" class="hierarchy"><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: #F7F7F7; background-color: inherit" title="group" class="hierarchy"/> 14a9fb5f-5b0e-4862-b143-08a11cd3ebf0</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Substance use, including tobacco</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-group">group</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" id="item.CD-in-progress-29" class="hierarchy"><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-display.png" alt="." style="background-color: white; background-color: inherit" title="display" class="hierarchy"/> CD-in-progress-29</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">In progress</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-display">display</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" id="item.CD-complete-29" class="hierarchy"><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-display.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="display" class="hierarchy"/> CD-complete-29</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Complete</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-display">display</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" id="item.CD-attention-29" class="hierarchy"><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-display.png" alt="." style="background-color: white; background-color: inherit" title="display" class="hierarchy"/> CD-attention-29</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Attention required</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-display">display</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011.png)" id="item.substanceuse-smoking" class="hierarchy"><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-group.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="group" class="hierarchy"/> substanceuse-smoking</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Smoking</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-group">group</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0111.png)" id="item.substanceuse-smoking-smokingstatus" class="hierarchy"><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_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.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"/> substanceuse-smoking-smokingstatus</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Smoking status</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-group">group</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01101.png)" id="item.substanceuse-smoking-smokingstatus-group" class="hierarchy"><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_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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: #F7F7F7; background-color: inherit" title="group" class="hierarchy"/> substanceuse-smoking-smokingstatus-group</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Smoking status</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-group">group</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011010.png)" id="item.substanceuse-smoking-smokingstatus-group-laststatus" class="hierarchy"><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_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-display.png" alt="." style="background-color: white; background-color: inherit" title="display" class="hierarchy"/> substanceuse-smoking-smokingstatus-group-laststatus</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Last status</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-display">display</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011010.png)" id="item.substanceuse-smoking-smokingstatus-group-laststatusvalue" class="hierarchy"><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_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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"/> substanceuse-smoking-smokingstatus-group-laststatusvalue</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">null</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-choice">choice</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/extension-questionnaire-hidden.html" title="Is a hidden item"><img src="icon-qi-hidden.png" alt="icon"/></a><img src="icon-qi-hidden.png" alt="icon"/></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Value Set: <a href="ValueSet-SubstanceUse_TobaccoUseStatus-1.html">Tobacco Use Status</a></td></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011010.png)" id="item.substanceuse-smoking-smokingstatus-group-laststatusdate" class="hierarchy"><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_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-date.png" alt="." style="background-color: white; background-color: inherit" title="date" class="hierarchy"/> substanceuse-smoking-smokingstatus-group-laststatusdate</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">null</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-date">date</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/extension-questionnaire-hidden.html" title="Is a hidden item"><img src="icon-qi-hidden.png" alt="icon"/></a><img src="icon-qi-hidden.png" alt="icon"/></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011010.png)" id="item.b639a3a8-f476-4cc8-b5c7-f5d2abb23511" class="hierarchy"><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_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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"/> b639a3a8-f476-4cc8-b5c7-f5d2abb23511</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">New status</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-choice">choice</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Value Set: <a href="ValueSet-SubstanceUse_TobaccoUseStatus-1.html">Tobacco Use Status</a></td></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011000.png)" id="item.substanceuse-smoking-smokingstatus-group-newdate" class="hierarchy"><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_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-date.png" alt="." style="background-color: white; background-color: inherit" title="date" class="hierarchy"/> substanceuse-smoking-smokingstatus-group-newdate</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">New date</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-date">date</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0110.png)" id="item.96dc7c22-d003-459c-8a56-f6cd182fc077" class="hierarchy"><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_vline.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"/> 96dc7c22-d003-459c-8a56-f6cd182fc077</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Quit status</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-choice">choice</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Enable When: <span><a href="#item.b639a3a8-f476-4cc8-b5c7-f5d2abb23511">b639a3a8-f476-4cc8-b5c7-f5d2abb23511</a> = </span><br/>Value Set: <a href="ValueSet-SubstanceUse_SmokingQuitStatus-1.html">Smoking Quit Status</a></td></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0110.png)" id="item.9e86387d-1be4-4c26-9047-9dd6b03e1ee0" class="hierarchy"><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_vline.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"/> 9e86387d-1be4-4c26-9047-9dd6b03e1ee0</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">How many?</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Enable When: <ul><li><a href="#item.b639a3a8-f476-4cc8-b5c7-f5d2abb23511">b639a3a8-f476-4cc8-b5c7-f5d2abb23511</a> = </li><li><a href="#item.b639a3a8-f476-4cc8-b5c7-f5d2abb23511">b639a3a8-f476-4cc8-b5c7-f5d2abb23511</a> = </li><li><a href="#item.b639a3a8-f476-4cc8-b5c7-f5d2abb23511">b639a3a8-f476-4cc8-b5c7-f5d2abb23511</a> = </li></ul></td></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0100.png)" id="item.32e71641-f660-4ca2-af99-dff8917f07be" class="hierarchy"><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_vline.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: #F7F7F7; background-color: inherit" title="string" class="hierarchy"/> 32e71641-f660-4ca2-af99-dff8917f07be</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">How long as a smoker?</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Enable When: <ul><li><a href="#item.b639a3a8-f476-4cc8-b5c7-f5d2abb23511">b639a3a8-f476-4cc8-b5c7-f5d2abb23511</a> = </li><li><a href="#item.b639a3a8-f476-4cc8-b5c7-f5d2abb23511">b639a3a8-f476-4cc8-b5c7-f5d2abb23511</a> = </li><li><a href="#item.b639a3a8-f476-4cc8-b5c7-f5d2abb23511">b639a3a8-f476-4cc8-b5c7-f5d2abb23511</a> = </li></ul></td></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011.png)" id="item.34feaee8-8088-43ee-991d-9729990b5550" class="hierarchy"><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-group.png" alt="." style="background-color: white; background-color: inherit" title="group" class="hierarchy"/> 34feaee8-8088-43ee-991d-9729990b5550</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Alcohol and other substance use</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-group">group</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0100.png)" id="item.ea73d52c-f831-46be-a45d-2c42250a5210" class="hierarchy"><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_vline.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-text.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="text" class="hierarchy"/> ea73d52c-f831-46be-a45d-2c42250a5210</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Quantity and frequency of: alcohol; caffeine (coffee, soft drinks, iced coffee); cannabis/yarndi/gunja; other substance use: IVDU, methamphetamine, opiates, solvents, other</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-text">text</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" id="item.f8e1cc1f-f1a1-4eb3-8255-77d600f52831" class="hierarchy"><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-text.png" alt="." style="background-color: white; background-color: inherit" title="text" class="hierarchy"/> f8e1cc1f-f1a1-4eb3-8255-77d600f52831</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Health priorities, actions and follow-up</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-text">text</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" id="item.substanceuse-section-end-divider" class="hierarchy"><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-display.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="display" class="hierarchy"/> substanceuse-section-end-divider</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">null</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-display">display</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" id="item.MarkComplete-29" class="hierarchy"><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-coding.png" alt="." style="background-color: white; background-color: inherit" title="coding" class="hierarchy"/> MarkComplete-29</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Section completion status</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://hl7.org/fhir/R4/codesystem-item-type.html#item-type-choice">choice</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Options: <a href="#opt-item.MarkComplete-29">3 options</a></td></tr>
    <tr><td colspan="6" class="hierarchy"><br/><a href="https://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table><hr/><p><b>Options Sets</b></p><a name="opt-item.MarkComplete-29"> </a><p><b>Answer options for MarkComplete-29 </b></p><ul><li style="font-size: 11px">Complete</li><li style="font-size: 11px">In progress</li><li style="font-size: 11px">Attention required</li></ul><h2>Contained Resources</h2><hr/><p class="res-header-id"><b>Observation #SmokingStatusTemplate</b></p><a name="SubstanceUse/SmokingStatusTemplate"> </a><a name="hcSubstanceUse/SmokingStatusTemplate"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}">Social History</span></p><p><b>code</b>: <span title="Codes:{http://snomed.info/sct 1747861000168109}, {http://loinc.org 72166-2}">Smoking status</span></p><p><b>subject</b>: ?rref?</p><p><b>effective</b>: <code>Extract Template - Extract value: </code>%resource.repeat(item).where(linkId='substanceuse-smoking-smokingstatus-group-newdate').answer.value.toDateTime()</p><p><b>value</b>: <span title="Codes:"/></p><hr/><p class="res-header-id"><b>ValueSet #SmokingQuitStatus-1</b></p><a name="SubstanceUse/SmokingQuitStatus-1"> </a><a name="hcSubstanceUse/SmokingQuitStatus-1"> </a><p>This ValueSet requires the Code system Supplement <a href="CodeSystem-HealthChecksSCTSupplement.html">SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check</a>.</p><div style="border: black 1px dotted; background-color: #EEEEEE; padding: 8px; margin-bottom: 8px"><p>Expansion based on:</p><ul><li>SNOMED CT Australian Edition edition 31-Oct 2025</li><li><a href="CodeSystem-HealthChecksSCTSupplement.html">supplement SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check v0.4.0 (CodeSystem)</a></li></ul></div><p>This value set expansion contains 2 concepts.</p><table class="codes"><tr><td><b>System</b></td><td><b>Version</b></td><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td></tr><tr><td><a name="SubstanceUse/SmokingQuitStatus-1-http://snomed.info/sct-48031000119106"> </a><code>http://snomed.info/sct</code></td><td>http://snomed.info/sct/32506021000036107/version/20251031</td><td style="white-space:nowrap">  <a href="http://snomed.info/id/48031000119106">48031000119106</a></td><td>Quit &gt;12 months</td></tr><tr><td><a name="SubstanceUse/SmokingQuitStatus-1-http://snomed.info/sct-735128000"> </a><code>http://snomed.info/sct</code></td><td>http://snomed.info/sct/32506021000036107/version/20251031</td><td style="white-space:nowrap">  <a href="http://snomed.info/id/735128000">735128000</a></td><td>Quit &lt;12 months</td></tr></table><hr/><p class="res-header-id"><b>ValueSet #TobaccoUseStatus-1</b></p><a name="SubstanceUse/TobaccoUseStatus-1"> </a><a name="hcSubstanceUse/TobaccoUseStatus-1"> </a><p>This ValueSet requires the Code system Supplement <a href="CodeSystem-HealthChecksSCTSupplement.html">SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check</a>.</p><div style="border: black 1px dotted; background-color: #EEEEEE; padding: 8px; margin-bottom: 8px"><p>Expansion based on:</p><ul><li>SNOMED CT Australian Edition edition 31-Oct 2025</li><li><a href="CodeSystem-HealthChecksSCTSupplement.html">supplement SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check v0.4.0 (CodeSystem)</a></li></ul></div><p>This value set expansion contains 6 concepts.</p><table class="codes"><tr><td><b>System</b></td><td><b>Version</b></td><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td></tr><tr><td><a name="SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-266919005"> </a><code>http://snomed.info/sct</code></td><td>http://snomed.info/sct/32506021000036107/version/20251031</td><td style="white-space:nowrap">  <a href="http://snomed.info/id/266919005">266919005</a></td><td>Never smoked</td></tr><tr><td><a name="SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-77176002"> </a><code>http://snomed.info/sct</code></td><td>http://snomed.info/sct/32506021000036107/version/20251031</td><td style="white-space:nowrap">  <a href="http://snomed.info/id/77176002">77176002</a></td><td>Current smoker</td></tr><tr><td><a name="SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-8517006"> </a><code>http://snomed.info/sct</code></td><td>http://snomed.info/sct/32506021000036107/version/20251031</td><td style="white-space:nowrap">  <a href="http://snomed.info/id/8517006">8517006</a></td><td>Ex-smoker</td></tr><tr><td><a name="SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-16090371000119103"> </a><code>http://snomed.info/sct</code></td><td>http://snomed.info/sct/32506021000036107/version/20251031</td><td style="white-space:nowrap">  <a href="http://snomed.info/id/16090371000119103">16090371000119103</a></td><td>Exposure to second hand tobacco smoke</td></tr><tr><td><a name="SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-394872000"> </a><code>http://snomed.info/sct</code></td><td>http://snomed.info/sct/32506021000036107/version/20251031</td><td style="white-space:nowrap">  <a href="http://snomed.info/id/394872000">394872000</a></td><td>Wants to quit</td></tr><tr><td><a name="SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-713914004"> </a><code>http://snomed.info/sct</code></td><td>http://snomed.info/sct/32506021000036107/version/20251031</td><td style="white-space:nowrap">  <a href="http://snomed.info/id/713914004">713914004</a></td><td>Other tobacco use</td></tr></table></div>
      </text>
      <contained>
        <Observation>
          <id value="SmokingStatusTemplate"/>
          <status value="final"/>
          <category>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/observation-category"/>
              <code value="social-history"/>
            </coding>
          </category>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="1747861000168109"/>
            </coding>
            <coding>
              <system value="http://loinc.org"/>
              <code value="72166-2"/>
            </coding>
            <text value="Smoking status"/>
          </code>
          <subject>
            <reference>
              <extension
                         url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue">
                <valueString value="%resource.subject.reference"/>
              </extension>
            </reference>
          </subject>
          <effectiveDateTime>
            <extension
                       url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue">
              <valueString
                           value="%resource.repeat(item).where(linkId='substanceuse-smoking-smokingstatus-group-newdate').answer.value.toDateTime()"/>
            </extension>
          </effectiveDateTime>
          <valueCodeableConcept>
            <coding>
              <extension
                         url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue">
                <valueString value="$this.answer.value"/>
              </extension>
            </coding>
          </valueCodeableConcept>
        </Observation>
      </contained>
      <contained>
        <ValueSet>
          <id value="SmokingQuitStatus-1"/>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/valueset-supplement">
            <valueCanonical
                            value="https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0"/>
          </extension>
          <url
               value="https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1"/>
          <name value="SmokingQuitStatus"/>
          <title value="Smoking Quit Status"/>
          <status value="draft"/>
          <experimental value="false"/>
          <description
                       value="The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking."/>
          <compose>
            <include>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <concept>
                <code value="48031000119106"/>
                <display value="Quit &gt;12 months"/>
              </concept>
              <concept>
                <code value="735128000"/>
                <display value="Quit &lt;12 months"/>
              </concept>
            </include>
          </compose>
          <expansion>
            <identifier value="urn:uuid:ee67ad1e-7faa-4fe8-ab3e-1995de4fcd26"/>
            <timestamp value="2025-10-29T09:44:35+10:00"/>
            <parameter>
              <name value="used-codesystem"/>
              <valueUri
                        value="http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031"/>
            </parameter>
            <parameter>
              <name value="version"/>
              <valueUri
                        value="http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031"/>
            </parameter>
            <parameter>
              <name value="used-supplement"/>
              <valueUri
                        value="https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0"/>
            </parameter>
            <parameter>
              <name value="warning-draft"/>
              <valueUri
                        value="https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0"/>
            </parameter>
            <parameter>
              <name value="warning-draft"/>
              <valueUri
                        value="https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1|0.4.0"/>
            </parameter>
            <contains>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <code value="48031000119106"/>
              <display value="Quit &gt;12 months"/>
            </contains>
            <contains>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <code value="735128000"/>
              <display value="Quit &lt;12 months"/>
            </contains>
          </expansion>
        </ValueSet>
      </contained>
      <contained>
        <ValueSet>
          <id value="TobaccoUseStatus-1"/>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/valueset-supplement">
            <valueCanonical
                            value="https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0"/>
          </extension>
          <url
               value="https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1"/>
          <name value="TobaccoUseStatus"/>
          <title value="Tobacco Use Status"/>
          <status value="draft"/>
          <experimental value="false"/>
          <description
                       value="The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status."/>
          <compose>
            <include>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <concept>
                <code value="266919005"/>
                <display value="Never smoked"/>
              </concept>
              <concept>
                <code value="77176002"/>
                <display value="Current smoker"/>
              </concept>
              <concept>
                <code value="8517006"/>
                <display value="Ex-smoker"/>
              </concept>
              <concept>
                <code value="16090371000119103"/>
                <display value="Exposure to second hand tobacco smoke"/>
              </concept>
              <concept>
                <code value="394872000"/>
                <display value="Wants to quit"/>
              </concept>
              <concept>
                <code value="713914004"/>
                <display value="Other tobacco use"/>
              </concept>
            </include>
          </compose>
          <expansion>
            <identifier value="urn:uuid:a7d04dc0-077c-4744-8e21-da8ce4cba135"/>
            <timestamp value="2025-10-29T09:46:14+10:00"/>
            <parameter>
              <name value="used-codesystem"/>
              <valueUri
                        value="http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031"/>
            </parameter>
            <parameter>
              <name value="version"/>
              <valueUri
                        value="http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031"/>
            </parameter>
            <parameter>
              <name value="used-supplement"/>
              <valueUri
                        value="https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0"/>
            </parameter>
            <parameter>
              <name value="warning-draft"/>
              <valueUri
                        value="https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0"/>
            </parameter>
            <parameter>
              <name value="warning-draft"/>
              <valueUri
                        value="https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1|0.4.0"/>
            </parameter>
            <contains>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <code value="266919005"/>
              <display value="Never smoked"/>
            </contains>
            <contains>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <code value="77176002"/>
              <display value="Current smoker"/>
            </contains>
            <contains>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <code value="8517006"/>
              <display value="Ex-smoker"/>
            </contains>
            <contains>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <code value="16090371000119103"/>
              <display value="Exposure to second hand tobacco smoke"/>
            </contains>
            <contains>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <code value="394872000"/>
              <display value="Wants to quit"/>
            </contains>
            <contains>
              <system value="http://snomed.info/sct"/>
              <version
                       value="http://snomed.info/sct/32506021000036107/version/20251031"/>
              <code value="713914004"/>
              <display value="Other tobacco use"/>
            </contains>
          </expansion>
        </ValueSet>
      </contained>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation">
        <valueCode value="assemble-child"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext">
        <extension url="name">
          <valueCoding>
            <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"/>
            <code value="patient"/>
          </valueCoding>
        </extension>
        <extension url="type">
          <valueCode value="Patient"/>
        </extension>
        <extension url="description">
          <valueString
                       value="The patient that is to be used to pre-populate the form"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext">
        <extension url="name">
          <valueCoding>
            <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"/>
            <code value="user"/>
          </valueCoding>
        </extension>
        <extension url="type">
          <valueCode value="Practitioner"/>
        </extension>
        <extension url="description">
          <valueString
                       value="The practitioner user that is to be used to pre-populate the form"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext">
        <extension url="name">
          <valueCoding>
            <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"/>
            <code value="encounter"/>
          </valueCoding>
        </extension>
        <extension url="type">
          <valueCode value="Encounter"/>
        </extension>
        <extension url="description">
          <valueString
                       value="The encounter that is to be used to pre-populate the form"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext">
        <valueString value="age"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext">
        <valueString value="ObsTobaccoSmokingStatus"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext">
        <valueString value="ObsTobaccoSmokingStatusLatest"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/variable">
        <valueExpression>
          <name value="ObsTobaccoSmokingStatusValue"/>
          <language value="text/fhirpath"/>
          <expression
                      value="%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()"/>
        </valueExpression>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/variable">
        <valueExpression>
          <name value="ObsTobaccoSmokingStatusDateString"/>
          <language value="text/fhirpath"/>
          <expression
                      value="%ObsTobaccoSmokingStatusLatest.effective.toDate().toString()"/>
        </valueExpression>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/variable">
        <valueExpression>
          <name value="ObsTobaccoSmokingStatusDateFormatted"/>
          <language value="text/fhirpath"/>
          <expression
                      value="%ObsTobaccoSmokingStatusDateString.substring(8,2).toInteger().toString() + ' ' + %ObsTobaccoSmokingStatusDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsTobaccoSmokingStatusDateString.substring(0,4)"/>
        </valueExpression>
      </extension>
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]">
        <valueCoding>
          <system value="http://hl7.org/fhir/version-algorithm"/>
          <code value="semver"/>
        </valueCoding>
      </extension>
      <url value="http://www.health.gov.au/assessments/mbs/715/SubstanceUse"/>
      <version value="0.4.0"/>
      <name value="SubstanceUse"/>
      <title
             value="Aboriginal and Torres Strait Islander Health Check - Substance Use"/>
      <status value="draft"/>
      <experimental value="false"/>
      <subjectType value="Patient"/>
      <date value="2025-03-14"/>
      <publisher value="AEHRC CSIRO"/>
      <contact>
        <name value="AEHRC CSIRO"/>
        <telecom>
          <system value="url"/>
          <value
                 value="https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2"/>
        </telecom>
      </contact>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="AU"/>
          <display value="Australia"/>
        </coding>
      </jurisdiction>
      <copyright
                 value="Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved.
    This content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
    See https://creativecommons.org/licenses/by-sa/4.0/.
    "/>
      <item>
        <extension
                   url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression">
          <valueExpression>
            <language value="text/fhirpath"/>
            <expression value="%age &gt;= 12"/>
          </valueExpression>
        </extension>
        <linkId value="14a9fb5f-5b0e-4862-b143-08a11cd3ebf0"/>
        <text value="Substance use, including tobacco"/>
        <type value="group"/>
        <repeats value="false"/>
        <item>
          <extension
                     url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression">
            <valueExpression>
              <language value="text/fhirpath"/>
              <expression
                          value="%resource.repeat(item).where(linkId='MarkComplete-29').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-29').answer.value.empty()"/>
            </valueExpression>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system
                        value="https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended"/>
                <code value="context-display"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="CD-in-progress-29"/>
          <text value="In progress">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/rendering-xhtml">
              <valueString
                           value="&lt;div title=&quot;In progress&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
    	&lt;div style=&quot;display: flex; flex-direction: row;&quot;&gt;
    		&lt;img width='24' height='24' src='data:image/svg+xml;base64,
    		 '
    		style=&quot;align-self: center;&quot;/&gt;
    	&lt;/div&gt;
    &lt;/div&gt;"/>
            </extension>
          </text>
          <type value="display"/>
        </item>
        <item>
          <extension
                     url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression">
            <valueExpression>
              <language value="text/fhirpath"/>
              <expression
                          value="%resource.repeat(item).where(linkId='MarkComplete-29').answer.value = 'Complete'"/>
            </valueExpression>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system
                        value="https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended"/>
                <code value="context-display"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="CD-complete-29"/>
          <text value="Complete">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/rendering-xhtml">
              <valueString
                           value="&lt;div title=&quot;Complete&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
    	&lt;div style=&quot;display: flex; flex-direction: row;&quot;&gt;
    		&lt;img width='24' height='24' src='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiMyZTdkMzIiIGQ9Ik0yMCAxMmE4IDggMCAwIDEtOCA4YTggOCAwIDAgMS04LThhOCA4IDAgMCAxIDgtOGMuNzYgMCAxLjUuMTEgMi4yLjMxbDEuNTctMS41N0E5LjgyMiA5LjgyMiAwIDAgMCAxMiAyQTEwIDEwIDAgMCAwIDIgMTJhMTAgMTAgMCAwIDAgMTAgMTBhMTAgMTAgMCAwIDAgMTAtMTBNNy45MSAxMC4wOEw2LjUgMTEuNUwxMSAxNkwyMSA2bC0xLjQxLTEuNDJMMTEgMTMuMTdsLTMuMDktMy4wOVoiLz48L3N2Zz4='
    		style=&quot;align-self: center;&quot;/&gt;
    	&lt;/div&gt;
    &lt;/div&gt;"/>
            </extension>
          </text>
          <type value="display"/>
        </item>
        <item>
          <extension
                     url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression">
            <valueExpression>
              <language value="text/fhirpath"/>
              <expression
                          value="%resource.repeat(item).where(linkId='MarkComplete-29').answer.value = 'Attention required'"/>
            </valueExpression>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system
                        value="https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended"/>
                <code value="context-display"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="CD-attention-29"/>
          <text value="Attention required">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/rendering-xhtml">
              <valueString
                           value="&lt;div title=&quot;Attention required&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
    	&lt;div style=&quot;display: flex; flex-direction: row;&quot;&gt;
    		&lt;img width='24' height='24' src='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0MiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZD MTA3IiBzdHJva2Utd2lkdGg9IjgiLz48bGluZSB4MT0iNTAiIHkxPSIyOCIgeDI9IjUwIiB5Mj0iNjAiIHN0cm9rZT0iI0ZGQzEwNyIgc3Ryb2tlLXdpZHRoPSI4Ii8+PGNpcmNsZSBjeD0iNTAiIGN5PSI3NCIgcj0iNSIgZmlsbD0iI0ZGQzEwNyIvPjwvc3ZnPg=='
    		style=&quot;align-self: center;&quot;/&gt;
    	&lt;/div&gt;
    &lt;/div&gt;"/>
            </extension>
          </text>
          <type value="display"/>
        </item>
        <item>
          <linkId value="substanceuse-smoking"/>
          <text value="Smoking"/>
          <type value="group"/>
          <repeats value="false"/>
          <item>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="grid"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <linkId value="substanceuse-smoking-smokingstatus"/>
            <text value="Smoking status">
              <extension
                         url="https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden">
                <valueBoolean value="true"/>
              </extension>
            </text>
            <type value="group"/>
            <repeats value="false"/>
            <item>
              <linkId value="substanceuse-smoking-smokingstatus-group"/>
              <text value="Smoking status"/>
              <type value="group"/>
              <repeats value="false"/>
              <item>
                <linkId
                        value="substanceuse-smoking-smokingstatus-group-laststatus"/>
                <text value="Last status">
                  <extension
                             url="http://hl7.org/fhir/StructureDefinition/cqf-expression">
                    <valueExpression>
                      <language value="text/fhirpath"/>
                      <expression
                                  value="iif(%ObsTobaccoSmokingStatusValue.exists() and %ObsTobaccoSmokingStatusDateFormatted.exists(), %ObsTobaccoSmokingStatusValue.display + ' ( ' + %ObsTobaccoSmokingStatusDateFormatted + ' )', 'Not available')"/>
                    </valueExpression>
                  </extension>
                </text>
                <type value="display"/>
              </item>
              <item>
                <extension
                           url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression">
                  <valueExpression>
                    <language value="text/fhirpath"/>
                    <expression value="%ObsTobaccoSmokingStatusValue"/>
                  </valueExpression>
                </extension>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/questionnaire-hidden">
                  <valueBoolean value="true"/>
                </extension>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                  <valueCodeableConcept>
                    <coding>
                      <system
                              value="http://hl7.org/fhir/questionnaire-item-control"/>
                      <code value="drop-down"/>
                    </coding>
                  </valueCodeableConcept>
                </extension>
                <linkId
                        value="substanceuse-smoking-smokingstatus-group-laststatusvalue"/>
                <type value="choice"/>
                <repeats value="false"/>
                <answerValueSet value="#TobaccoUseStatus-1"/>
              </item>
              <item>
                <extension
                           url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression">
                  <valueExpression>
                    <language value="text/fhirpath"/>
                    <expression
                                value="%ObsTobaccoSmokingStatusLatest.effective.toDate()"/>
                  </valueExpression>
                </extension>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/questionnaire-hidden">
                  <valueBoolean value="true"/>
                </extension>
                <linkId
                        value="substanceuse-smoking-smokingstatus-group-laststatusdate"/>
                <type value="date"/>
                <repeats value="false"/>
              </item>
              <item>
                <extension
                           url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract">
                  <extension url="template">
                    <valueReference>
                      <reference value="#SmokingStatusTemplate"/>
                    </valueReference>
                  </extension>
                </extension>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                  <valueCodeableConcept>
                    <coding>
                      <system
                              value="http://hl7.org/fhir/questionnaire-item-control"/>
                      <code value="drop-down"/>
                    </coding>
                  </valueCodeableConcept>
                </extension>
                <linkId value="b639a3a8-f476-4cc8-b5c7-f5d2abb23511"/>
                <text value="New status"/>
                <type value="choice"/>
                <repeats value="false"/>
                <answerValueSet value="#TobaccoUseStatus-1"/>
              </item>
              <item>
                <linkId value="substanceuse-smoking-smokingstatus-group-newdate"/>
                <text value="New date"/>
                <type value="date"/>
                <repeats value="false"/>
              </item>
            </item>
          </item>
          <item>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="radio-button"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <linkId value="96dc7c22-d003-459c-8a56-f6cd182fc077"/>
            <text value="Quit status"/>
            <type value="choice"/>
            <enableWhen>
              <question value="b639a3a8-f476-4cc8-b5c7-f5d2abb23511"/>
              <operator value="="/>
              <answerCoding>
                <system value="http://snomed.info/sct"/>
                <code value="8517006"/>
              </answerCoding>
            </enableWhen>
            <repeats value="false"/>
            <answerValueSet value="#SmokingQuitStatus-1"/>
          </item>
          <item>
            <linkId value="9e86387d-1be4-4c26-9047-9dd6b03e1ee0"/>
            <text value="How many?"/>
            <type value="string"/>
            <enableWhen>
              <question value="b639a3a8-f476-4cc8-b5c7-f5d2abb23511"/>
              <operator value="="/>
              <answerCoding>
                <system value="http://snomed.info/sct"/>
                <code value="77176002"/>
              </answerCoding>
            </enableWhen>
            <enableWhen>
              <question value="b639a3a8-f476-4cc8-b5c7-f5d2abb23511"/>
              <operator value="="/>
              <answerCoding>
                <system value="http://snomed.info/sct"/>
                <code value="8517006"/>
              </answerCoding>
            </enableWhen>
            <enableWhen>
              <question value="b639a3a8-f476-4cc8-b5c7-f5d2abb23511"/>
              <operator value="="/>
              <answerCoding>
                <system value="http://snomed.info/sct"/>
                <code value="394872000"/>
              </answerCoding>
            </enableWhen>
            <enableBehavior value="any"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="32e71641-f660-4ca2-af99-dff8917f07be"/>
            <text value="How long as a smoker?"/>
            <type value="string"/>
            <enableWhen>
              <question value="b639a3a8-f476-4cc8-b5c7-f5d2abb23511"/>
              <operator value="="/>
              <answerCoding>
                <system value="http://snomed.info/sct"/>
                <code value="77176002"/>
              </answerCoding>
            </enableWhen>
            <enableWhen>
              <question value="b639a3a8-f476-4cc8-b5c7-f5d2abb23511"/>
              <operator value="="/>
              <answerCoding>
                <system value="http://snomed.info/sct"/>
                <code value="8517006"/>
              </answerCoding>
            </enableWhen>
            <enableWhen>
              <question value="b639a3a8-f476-4cc8-b5c7-f5d2abb23511"/>
              <operator value="="/>
              <answerCoding>
                <system value="http://snomed.info/sct"/>
                <code value="394872000"/>
              </answerCoding>
            </enableWhen>
            <enableBehavior value="any"/>
          </item>
        </item>
        <item>
          <linkId value="34feaee8-8088-43ee-991d-9729990b5550"/>
          <text value="Alcohol and other substance use"/>
          <type value="group"/>
          <repeats value="false"/>
          <item>
            <extension
                       url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText">
              <valueString value="Quantity and frequency of substance use"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/entryFormat">
              <valueString value="Details"/>
            </extension>
            <linkId value="ea73d52c-f831-46be-a45d-2c42250a5210"/>
            <text
                  value="Quantity and frequency of: alcohol; caffeine (coffee, soft drinks, iced coffee); cannabis/yarndi/gunja; other substance use: IVDU, methamphetamine, opiates, solvents, other">
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/rendering-xhtml">
                <valueString
                             value="&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
            &lt;div&gt;Quantity and frequency of:&lt;/div&gt;
            &lt;ul&gt;
              &lt;li&gt;alcohol&lt;/li&gt;
              &lt;li&gt;caffeine (coffee, soft drinks, iced coffee)&lt;/li&gt;
              &lt;li&gt;cannabis/yarndi/gunja&lt;/li&gt;
              &lt;li&gt;other substance use: IVDU, methamphetamine, opiates, solvents, other&lt;/li&gt;
            &lt;/ul&gt;
    	      &lt;/div&gt;"/>
              </extension>
            </text>
            <type value="text"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="f8e1cc1f-f1a1-4eb3-8255-77d600f52831"/>
          <text value="Health priorities, actions and follow-up"/>
          <type value="text"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="substanceuse-section-end-divider"/>
          <text>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/rendering-style">
              <valueString value="border-top: 1px solid #ccc;"/>
            </extension>
          </text>
          <type value="display"/>
        </item>
        <item>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="radio-button"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="MarkComplete-29"/>
          <text value="Section completion status"/>
          <type value="choice"/>
          <repeats value="false"/>
          <answerOption>
            <valueString value="Complete"/>
          </answerOption>
          <answerOption>
            <valueString value="In progress"/>
          </answerOption>
          <answerOption>
            <valueString value="Attention required"/>
          </answerOption>
        </item>
      </item>
    </Questionnaire>