Smart Health Checks
0.3.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.3.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 - TTL Representation

Draft as of 2025-03-14

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix loinc: <https://loinc.org/rdf/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Questionnaire ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "SubstanceUse"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render>     ] [
    fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular>     ] [
    fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave>     ] [
    fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<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><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.3.0</td></tr>#xD;\n<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>#xD;\n<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\">Enable When: <span><a href=\"#item.MarkComplete-29\">MarkComplete-29</a> != </span></td></tr>#xD;\n<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\">Enable When: <span><a href=\"#item.MarkComplete-29\">MarkComplete-29</a> = </span></td></tr>#xD;\n<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.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: white; background-color: inherit\" title=\"group\" class=\"hierarchy\"/> substanceuse-smoking</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</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>#xD;\n<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_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: #F7F7F7; background-color: inherit\" title=\"group\" class=\"hierarchy\"/> substanceuse-smoking-smokingstatus</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>#xD;\n<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_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: white; 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: 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>#xD;\n<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-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: #F7F7F7; 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: #F7F7F7; 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: #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>#xD;\n<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-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: white; 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: 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-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\"><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\">Value Set: <a href=\"ValueSet-SubstanceUse_TobaccoUseStatus-1.html\">Tobacco Use Status</a></td></tr>#xD;\n<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-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: #F7F7F7; 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: #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-date\">date</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\"/></tr>#xD;\n<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.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: white; 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: white; 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: 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\">Value Set: <a href=\"ValueSet-SubstanceUse_TobaccoUseStatus-1.html\">Tobacco Use Status</a></td></tr>#xD;\n<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_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: #F7F7F7; 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: #F7F7F7; 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: #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-date\">date</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>#xD;\n<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.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: white; 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: white; 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: 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\">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>#xD;\n<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.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: #F7F7F7; 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: #F7F7F7; 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: #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>#xD;\n<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_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: white; 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: white; 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: 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>#xD;\n<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.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: #F7F7F7; 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: #F7F7F7; 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: #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>#xD;\n<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_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: white; 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: white; 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: 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>#xD;\n<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.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: #F7F7F7; 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: #F7F7F7; 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: #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>#xD;\n<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-boolean.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"boolean\" 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\">Mark section as complete</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-boolean\">boolean</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>#xD;\n<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><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 30-Apr 2025</li><li><a href=\"CodeSystem-HealthChecksSCTSupplement.html\">supplement SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check v0.3.0 (CodeSystem)</a></li></ul></div><p>This value set expansion contains 2 concepts.</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>System</b></td><td><b>Display</b></td></tr><tr><td style=\"white-space:nowrap\"><a name=\"SubstanceUse/SmokingQuitStatus-1-http://snomed.info/sct-48031000119106\"> </a>  <a href=\"http://snomed.info/id/48031000119106\">48031000119106</a></td><td>http://snomed.info/sct</td><td>Quit &gt;12 months</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"SubstanceUse/SmokingQuitStatus-1-http://snomed.info/sct-735128000\"> </a>  <a href=\"http://snomed.info/id/735128000\">735128000</a></td><td>http://snomed.info/sct</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 30-Apr 2025</li><li><a href=\"CodeSystem-HealthChecksSCTSupplement.html\">supplement SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check v0.3.0 (CodeSystem)</a></li></ul></div><p>This value set expansion contains 6 concepts.</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>System</b></td><td><b>Display</b></td></tr><tr><td style=\"white-space:nowrap\"><a name=\"SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-266919005\"> </a>  <a href=\"http://snomed.info/id/266919005\">266919005</a></td><td>http://snomed.info/sct</td><td>Never smoked</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-77176002\"> </a>  <a href=\"http://snomed.info/id/77176002\">77176002</a></td><td>http://snomed.info/sct</td><td>Current smoker</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-8517006\"> </a>  <a href=\"http://snomed.info/id/8517006\">8517006</a></td><td>http://snomed.info/sct</td><td>Ex-smoker</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-16090371000119103\"> </a>  <a href=\"http://snomed.info/id/16090371000119103\">16090371000119103</a></td><td>http://snomed.info/sct</td><td>Exposure to second hand tobacco smoke</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-394872000\"> </a>  <a href=\"http://snomed.info/id/394872000\">394872000</a></td><td>http://snomed.info/sct</td><td>Wants to quit</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"SubstanceUse/TobaccoUseStatus-1-http://snomed.info/sct-713914004\"> </a>  <a href=\"http://snomed.info/id/713914004\">713914004</a></td><td>http://snomed.info/sct</td><td>Other tobacco use</td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:contained ( [
    a fhir:Observation ;
    fhir:id [ fhir:v "SmokingStatusTemplate" ] ;
    fhir:status [ fhir:v "final" ] ;
        ( fhir:category [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "social-history" ]       ] )     ] ) ;
    fhir:code [
          ( fhir:coding [
    a sct:1747861000168109 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "1747861000168109" ]       ] [
    a loinc:72166-2 ;
    fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "72166-2" ]       ] ) ;
    fhir:text [ fhir:v "Smoking status" ]     ] ;
    fhir:subject [
    fhir:reference [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "%resource.subject.reference"           ]         ] )       ]     ] ;
    fhir:effective [
    a fhir:dateTime ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "%resource.repeat(item).where(linkId='substanceuse-smoking-smokingstatus-group-newdate').answer.value.toDateTime()"         ]       ] )     ] ;
    fhir:value [
    a fhir:CodeableConcept ;
          ( fhir:coding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "$this.answer.value"           ]         ] )       ] )     ]
      ] [
    a fhir:ValueSet ;
    fhir:id [ fhir:v "SmokingQuitStatus-1" ] ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/valueset-supplement"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0>       ]     ] ) ;
    fhir:url [ fhir:v "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "SmokingQuitStatus" ] ;
    fhir:title [ fhir:v "Smoking Quit Status" ] ;
    fhir:status [ fhir:v "draft" ] ;
    fhir:experimental [ fhir:v false ] ;
    fhir:description [ fhir:v "The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking." ] ;
    fhir:compose [
          ( fhir:include [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
            ( fhir:concept [
    fhir:code [ fhir:v "48031000119106" ] ;
    fhir:display [ fhir:v "Quit >12 months" ]         ] [
    fhir:code [ fhir:v "735128000" ] ;
    fhir:display [ fhir:v "Quit <12 months" ]         ] )       ] )     ] ;
    fhir:expansion [
    fhir:identifier [ fhir:v "urn:uuid:93600010-14a0-4d6e-a82f-15283d13a2cb"^^xsd:anyURI ] ;
    fhir:timestamp [ fhir:v "2025-05-01T11:41:24+10:00"^^xsd:dateTime ] ;
          ( fhir:parameter [
    fhir:name [ fhir:v "used-supplement" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0"^^xsd:anyURI         ]       ] [
    fhir:name [ fhir:v "used-codesystem" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"^^xsd:anyURI         ]       ] [
    fhir:name [ fhir:v "version" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"^^xsd:anyURI         ]       ] [
    fhir:name [ fhir:v "warning-draft" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0"^^xsd:anyURI         ]       ] [
    fhir:name [ fhir:v "warning-draft" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1|0.3.0"^^xsd:anyURI         ]       ] ) ;
          ( fhir:contains [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
    fhir:code [ fhir:v "48031000119106" ] ;
    fhir:display [ fhir:v "Quit >12 months" ]       ] [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
    fhir:code [ fhir:v "735128000" ] ;
    fhir:display [ fhir:v "Quit <12 months" ]       ] )     ]
      ] [
    a fhir:ValueSet ;
    fhir:id [ fhir:v "TobaccoUseStatus-1" ] ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/valueset-supplement"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0>       ]     ] ) ;
    fhir:url [ fhir:v "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "TobaccoUseStatus" ] ;
    fhir:title [ fhir:v "Tobacco Use Status" ] ;
    fhir:status [ fhir:v "draft" ] ;
    fhir:experimental [ fhir:v false ] ;
    fhir:description [ fhir:v "The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status." ] ;
    fhir:compose [
          ( fhir:include [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
            ( fhir:concept [
    fhir:code [ fhir:v "266919005" ] ;
    fhir:display [ fhir:v "Never smoked" ]         ] [
    fhir:code [ fhir:v "77176002" ] ;
    fhir:display [ fhir:v "Current smoker" ]         ] [
    fhir:code [ fhir:v "8517006" ] ;
    fhir:display [ fhir:v "Ex-smoker" ]         ] [
    fhir:code [ fhir:v "16090371000119103" ] ;
    fhir:display [ fhir:v "Exposure to second hand tobacco smoke" ]         ] [
    fhir:code [ fhir:v "394872000" ] ;
    fhir:display [ fhir:v "Wants to quit" ]         ] [
    fhir:code [ fhir:v "713914004" ] ;
    fhir:display [ fhir:v "Other tobacco use" ]         ] )       ] )     ] ;
    fhir:expansion [
    fhir:identifier [ fhir:v "urn:uuid:e7e976ca-5eb9-41da-9ca8-2c795c5e2dd2"^^xsd:anyURI ] ;
    fhir:timestamp [ fhir:v "2025-05-01T11:43:41+10:00"^^xsd:dateTime ] ;
          ( fhir:parameter [
    fhir:name [ fhir:v "used-supplement" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0"^^xsd:anyURI         ]       ] [
    fhir:name [ fhir:v "used-codesystem" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"^^xsd:anyURI         ]       ] [
    fhir:name [ fhir:v "version" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"^^xsd:anyURI         ]       ] [
    fhir:name [ fhir:v "warning-draft" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0"^^xsd:anyURI         ]       ] [
    fhir:name [ fhir:v "warning-draft" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1|0.3.0"^^xsd:anyURI         ]       ] ) ;
          ( fhir:contains [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
    fhir:code [ fhir:v "266919005" ] ;
    fhir:display [ fhir:v "Never smoked" ]       ] [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
    fhir:code [ fhir:v "77176002" ] ;
    fhir:display [ fhir:v "Current smoker" ]       ] [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
    fhir:code [ fhir:v "8517006" ] ;
    fhir:display [ fhir:v "Ex-smoker" ]       ] [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
    fhir:code [ fhir:v "16090371000119103" ] ;
    fhir:display [ fhir:v "Exposure to second hand tobacco smoke" ]       ] [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
    fhir:code [ fhir:v "394872000" ] ;
    fhir:display [ fhir:v "Wants to quit" ]       ] [
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:version [ fhir:v "http://snomed.info/sct/32506021000036107/version/20250430" ] ;
    fhir:code [ fhir:v "713914004" ] ;
    fhir:display [ fhir:v "Other tobacco use" ]       ] )     ]
      ] ) ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "assemble-child"     ]
      ] [
        ( fhir:extension [
    fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "patient" ]       ]     ] [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Patient"       ]     ] [
    fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "The patient that is to be used to pre-populate the form"       ]     ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"^^xsd:anyURI ]
      ] [
        ( fhir:extension [
    fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "user" ]       ]     ] [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Practitioner"       ]     ] [
    fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "The practitioner user that is to be used to pre-populate the form"       ]     ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"^^xsd:anyURI ]
      ] [
        ( fhir:extension [
    fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "encounter" ]       ]     ] [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Encounter"       ]     ] [
    fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "The encounter that is to be used to pre-populate the form"       ]     ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"^^xsd:anyURI ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "age"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "ObsTobaccoSmokingStatus"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "ObsTobaccoSmokingStatusLatest"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/variable"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Expression ;
    fhir:name [ fhir:v "ObsTobaccoSmokingStatusValue" ] ;
    fhir:language [ fhir:v "text/fhirpath" ] ;
    fhir:expression [ fhir:v "%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()" ]     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/variable"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Expression ;
    fhir:name [ fhir:v "ObsTobaccoSmokingStatusDateString" ] ;
    fhir:language [ fhir:v "text/fhirpath" ] ;
    fhir:expression [ fhir:v "%ObsTobaccoSmokingStatusLatest.effective.toDate().toString()" ]     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/variable"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Expression ;
    fhir:name [ fhir:v "ObsTobaccoSmokingStatusDateFormatted" ] ;
    fhir:language [ fhir:v "text/fhirpath" ] ;
    fhir:expression [ fhir:v "%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)" ]     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [ fhir:v "http://hl7.org/fhir/version-algorithm"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "semver" ]     ]
      ] ) ; #
      fhir:url [ fhir:v "http://www.health.gov.au/assessments/mbs/715/SubstanceUse"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "0.3.0"] ; #
      fhir:name [ fhir:v "SubstanceUse"] ; #
      fhir:title [ fhir:v "Aboriginal and Torres Strait Islander Health Check - Substance Use"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:experimental [ fhir:v false] ; #
      fhir:subjectType ( [ fhir:v "Patient"] ) ; #
      fhir:date [ fhir:v "2025-03-14"^^xsd:date] ; #
      fhir:publisher [ fhir:v "AEHRC CSIRO"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "AEHRC CSIRO" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2" ]     ] )
      ] ) ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "AU" ] ;
    fhir:display [ fhir:v "Australia" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved.\nThis content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.\nSee https://creativecommons.org/licenses/by-sa/4.0/.\n"] ; #
      fhir:item ( [
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Expression ;
    fhir:language [ fhir:v "text/fhirpath" ] ;
    fhir:expression [ fhir:v "%age >= 12" ]       ]     ] ) ;
    fhir:linkId [ fhir:v "14a9fb5f-5b0e-4862-b143-08a11cd3ebf0" ] ;
    fhir:text [ fhir:v "Substance use, including tobacco" ] ;
    fhir:type [ fhir:v "group" ] ;
    fhir:repeats [ fhir:v false ] ;
        ( fhir:item [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
              ( fhir:coding [
    fhir:system [ fhir:v "https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "context-display" ]           ] )         ]       ] ) ;
    fhir:linkId [ fhir:v "CD-in-progress-29" ] ;
    fhir:text [
    fhir:v "In progress" ;
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/rendering-xhtml"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "<div title=\"In progress\" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n	<div style=\"display: flex; flex-direction: row;\">\r\n		<img width='24' height='24' src='data:image/svg+xml;base64,\r\n		 ' \r\n		style=\"align-self: center;\"/>\r\n	</div>\r\n</div>"           ]         ] )       ] ;
    fhir:type [ fhir:v "display" ] ;
          ( fhir:enableWhen [
    fhir:question [ fhir:v "MarkComplete-29" ] ;
    fhir:operator [ fhir:v "!=" ] ;
    fhir:answer [
    a fhir:boolean ;
    fhir:v true         ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
              ( fhir:coding [
    fhir:system [ fhir:v "https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "context-display" ]           ] )         ]       ] ) ;
    fhir:linkId [ fhir:v "CD-complete-29" ] ;
    fhir:text [
    fhir:v "Complete" ;
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/rendering-xhtml"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "<div title=\"Section completed\" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n	<div style=\"display: flex; flex-direction: row;\">\r\n		<img width='24' height='24' src='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiMyZTdkMzIiIGQ9Ik0yMCAxMmE4IDggMCAwIDEtOCA4YTggOCAwIDAgMS04LThhOCA4IDAgMCAxIDgtOGMuNzYgMCAxLjUuMTEgMi4yLjMxbDEuNTctMS41N0E5LjgyMiA5LjgyMiAwIDAgMCAxMiAyQTEwIDEwIDAgMCAwIDIgMTJhMTAgMTAgMCAwIDAgMTAgMTBhMTAgMTAgMCAwIDAgMTAtMTBNNy45MSAxMC4wOEw2LjUgMTEuNUwxMSAxNkwyMSA2bC0xLjQxLTEuNDJMMTEgMTMuMTdsLTMuMDktMy4wOVoiLz48L3N2Zz4='\r\n		style=\"align-self: center;\"/>\r\n	</div>\r\n</div>"           ]         ] )       ] ;
    fhir:type [ fhir:v "display" ] ;
          ( fhir:enableWhen [
    fhir:question [ fhir:v "MarkComplete-29" ] ;
    fhir:operator [ fhir:v "=" ] ;
    fhir:answer [
    a fhir:boolean ;
    fhir:v true         ]       ] )     ] [
    fhir:linkId [ fhir:v "substanceuse-smoking" ] ;
    fhir:text [ fhir:v "Smoking" ] ;
    fhir:type [ fhir:v "group" ] ;
    fhir:repeats [ fhir:v false ] ;
          ( fhir:item [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
                ( fhir:coding [
    fhir:system [ fhir:v "http://hl7.org/fhir/questionnaire-item-control"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "grid" ]             ] )           ]         ] ) ;
    fhir:linkId [ fhir:v "substanceuse-smoking-smokingstatus" ] ;
    fhir:text [
    fhir:v "Smoking status" ;
              ( fhir:extension [
    fhir:url [ fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true             ]           ] )         ] ;
    fhir:type [ fhir:v "group" ] ;
    fhir:repeats [ fhir:v false ] ;
            ( fhir:item [
    fhir:linkId [ fhir:v "substanceuse-smoking-smokingstatus-group" ] ;
    fhir:text [ fhir:v "Smoking status" ] ;
    fhir:type [ fhir:v "group" ] ;
    fhir:repeats [ fhir:v false ] ;
              ( fhir:item [
    fhir:linkId [ fhir:v "substanceuse-smoking-smokingstatus-group-laststatus" ] ;
    fhir:text [
    fhir:v "Last status" ;
                  ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-expression"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Expression ;
    fhir:language [ fhir:v "text/fhirpath" ] ;
    fhir:expression [ fhir:v "iif(%ObsTobaccoSmokingStatusValue.exists() and %ObsTobaccoSmokingStatusDateFormatted.exists(), %ObsTobaccoSmokingStatusValue.display + ' ( ' + %ObsTobaccoSmokingStatusDateFormatted + ' )', 'Not available')" ]                 ]               ] )             ] ;
    fhir:type [ fhir:v "display" ]           ] [
                ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Expression ;
    fhir:language [ fhir:v "text/fhirpath" ] ;
    fhir:expression [ fhir:v "%ObsTobaccoSmokingStatusValue" ]               ]             ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true               ]             ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
                    ( fhir:coding [
    fhir:system [ fhir:v "http://hl7.org/fhir/questionnaire-item-control"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "drop-down" ]                 ] )               ]             ] ) ;
    fhir:linkId [ fhir:v "substanceuse-smoking-smokingstatus-group-laststatusvalue" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:repeats [ fhir:v false ] ;
    fhir:answerValueSet [ fhir:v "#TobaccoUseStatus-1"^^xsd:anyURI ]           ] [
                ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Expression ;
    fhir:language [ fhir:v "text/fhirpath" ] ;
    fhir:expression [ fhir:v "%ObsTobaccoSmokingStatusLatest.effective.toDate()" ]               ]             ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true               ]             ] ) ;
    fhir:linkId [ fhir:v "substanceuse-smoking-smokingstatus-group-laststatusdate" ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:repeats [ fhir:v false ]           ] [
                ( fhir:extension [
                  ( fhir:extension [
    fhir:url [ fhir:v "template"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:reference [ fhir:v "#SmokingStatusTemplate" ]                 ]               ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract"^^xsd:anyURI ]             ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
                    ( fhir:coding [
    fhir:system [ fhir:v "http://hl7.org/fhir/questionnaire-item-control"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "drop-down" ]                 ] )               ]             ] ) ;
    fhir:linkId [ fhir:v "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" ] ;
    fhir:text [ fhir:v "New status" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:repeats [ fhir:v false ] ;
    fhir:answerValueSet [ fhir:v "#TobaccoUseStatus-1"^^xsd:anyURI ]           ] [
    fhir:linkId [ fhir:v "substanceuse-smoking-smokingstatus-group-newdate" ] ;
    fhir:text [ fhir:v "New date" ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:repeats [ fhir:v false ]           ] )         ] )       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
                ( fhir:coding [
    fhir:system [ fhir:v "http://hl7.org/fhir/questionnaire-item-control"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "radio-button" ]             ] )           ]         ] ) ;
    fhir:linkId [ fhir:v "96dc7c22-d003-459c-8a56-f6cd182fc077" ] ;
    fhir:text [ fhir:v "Quit status" ] ;
    fhir:type [ fhir:v "choice" ] ;
            ( fhir:enableWhen [
    fhir:question [ fhir:v "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" ] ;
    fhir:operator [ fhir:v "=" ] ;
    fhir:answer [
    a fhir:Coding, sct:8517006 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "8517006" ]           ]         ] ) ;
    fhir:repeats [ fhir:v false ] ;
    fhir:answerValueSet [ fhir:v "#SmokingQuitStatus-1"^^xsd:anyURI ]       ] [
    fhir:linkId [ fhir:v "9e86387d-1be4-4c26-9047-9dd6b03e1ee0" ] ;
    fhir:text [ fhir:v "How many?" ] ;
    fhir:type [ fhir:v "string" ] ;
            ( fhir:enableWhen [
    fhir:question [ fhir:v "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" ] ;
    fhir:operator [ fhir:v "=" ] ;
    fhir:answer [
    a fhir:Coding, sct:77176002 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "77176002" ]           ]         ] [
    fhir:question [ fhir:v "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" ] ;
    fhir:operator [ fhir:v "=" ] ;
    fhir:answer [
    a fhir:Coding, sct:8517006 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "8517006" ]           ]         ] [
    fhir:question [ fhir:v "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" ] ;
    fhir:operator [ fhir:v "=" ] ;
    fhir:answer [
    a fhir:Coding, sct:394872000 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "394872000" ]           ]         ] ) ;
    fhir:enableBehavior [ fhir:v "any" ] ;
    fhir:repeats [ fhir:v false ]       ] [
    fhir:linkId [ fhir:v "32e71641-f660-4ca2-af99-dff8917f07be" ] ;
    fhir:text [ fhir:v "How long as a smoker?" ] ;
    fhir:type [ fhir:v "string" ] ;
            ( fhir:enableWhen [
    fhir:question [ fhir:v "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" ] ;
    fhir:operator [ fhir:v "=" ] ;
    fhir:answer [
    a fhir:Coding, sct:77176002 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "77176002" ]           ]         ] [
    fhir:question [ fhir:v "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" ] ;
    fhir:operator [ fhir:v "=" ] ;
    fhir:answer [
    a fhir:Coding, sct:8517006 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "8517006" ]           ]         ] [
    fhir:question [ fhir:v "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" ] ;
    fhir:operator [ fhir:v "=" ] ;
    fhir:answer [
    a fhir:Coding, sct:394872000 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "394872000" ]           ]         ] ) ;
    fhir:enableBehavior [ fhir:v "any" ]       ] )     ] [
    fhir:linkId [ fhir:v "34feaee8-8088-43ee-991d-9729990b5550" ] ;
    fhir:text [ fhir:v "Alcohol and other substance use" ] ;
    fhir:type [ fhir:v "group" ] ;
    fhir:repeats [ fhir:v false ] ;
          ( fhir:item [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Quantity and frequency of substance use"           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/entryFormat"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Details"           ]         ] ) ;
    fhir:linkId [ fhir:v "ea73d52c-f831-46be-a45d-2c42250a5210" ] ;
    fhir:text [
    fhir:v "Quantity and frequency of: alcohol; caffeine (coffee, soft drinks, iced coffee); cannabis/yarndi/gunja; other substance use: IVDU, methamphetamine, opiates, solvents, other" ;
              ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/rendering-xhtml"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <div>Quantity and frequency of:</div>\n        <ul>\n          <li>alcohol</li>\n          <li>caffeine (coffee, soft drinks, iced coffee)</li>\n          <li>cannabis/yarndi/gunja</li>\n          <li>other substance use: IVDU, methamphetamine, opiates, solvents, other</li>\n        </ul>\n	      </div>"             ]           ] )         ] ;
    fhir:type [ fhir:v "text" ] ;
    fhir:repeats [ fhir:v false ]       ] )     ] [
    fhir:linkId [ fhir:v "f8e1cc1f-f1a1-4eb3-8255-77d600f52831" ] ;
    fhir:text [ fhir:v "Health priorities, actions and follow-up" ] ;
    fhir:type [ fhir:v "text" ] ;
    fhir:repeats [ fhir:v false ]     ] [
    fhir:linkId [ fhir:v "MarkComplete-29" ] ;
    fhir:text [
    fhir:v "Mark section as complete" ;
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/rendering-xhtml"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n    <style type=\"text/css\">\r\n        .alert {\r\n            padding: 0.875rem;\r\n            margin-bottom: 1rem;\r\n            font-size: 0.875rem;\r\n            color: #29712D;\r\n            border-radius: 0.5rem;\r\n            background-color: #D9E8DA;\r\n            font-weight: 700;\r\n        max-width: 205px;\r\n        }\r\n    </style>\r\n</head>\r\n<body>\r\n<div class=\"alert\">Mark section as complete</div>\r\n</body>\r\n</div>"           ]         ] )       ] ;
    fhir:type [ fhir:v "boolean" ] ;
    fhir:repeats [ fhir:v false ]     ] )
      ] ) . #