FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: Questionnaire/AbsoluteCVDRiskCalculation

Packagecsiro.fhir.au.smartforms
Resource TypeQuestionnaire
IdAbsoluteCVDRiskCalculation
FHIR VersionR4
Sourcehttps://smartforms.csiro.au/ig/https://build.fhir.org/ig/aehrc/smart-forms-ig/Questionnaire-AbsoluteCVDRiskCalculation.html
URLhttp://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation
Version0.3.0
Statusdraft
Date2025-03-14
NameAbsoluteCVDRiskCalculation
TitleAboriginal and Torres Strait Islander Health Check - Absolute Cardiovascular Disease Risk Calculation
Realmau
CopyrightCopyright © 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/.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: Questionnaire AbsoluteCVDRiskCalculation

Structure
LinkIDTextCardinalityTypeFlagsDescription & Constraintsdoco
.. AbsoluteCVDRiskCalculationQuestionnairehttp://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation#0.3.0
... d95abe99-8ef2-4b97-bc88-a2901e2ebc9cAbsolute cardiovascular disease risk calculation0..1group
.... CD-in-progress-2In progress0..1displayEnable When: MarkComplete-2 !=
.... CD-complete-2Complete0..1displayEnable When: MarkComplete-2 =
.... Guidance-CVDRiskThe Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.0..1display
.... dabdc7b4-51db-44a0-9d59-77a88587cbe9CVD risk result0..1group
..... cvdrisk-latestresultLatest available result0..1stringiconicon
..... cvdrisk-newassessmentquestionA previous CVD risk result has been found. Do you want to perform a new assessment?0..1boolean
..... cvdrisk-auscvdriskiaccessDo you have access to the Aus CVD Risk-i application from your clinical system?0..1boolean
..... cvdrisk-auscvdriskiguidanceUsing the Aus CVD Risk-i application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above.0..1display
..... cvdrisk-repopulateoverrideDo you need to manually enter a new CVD risk result instead of repopulating?0..1boolean
..... cvdrisk-cvdriskresultgroupNew CVD risk result0..1group
...... cvdrisk-onlincecalculatorguidanceUse the online Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator0..1display
...... 4c52fcec-0695-4916-b185-24a5c2711631Risk result score0..1integer
....... 0162854e-c124-4b58-acd9-93c17562d407%0..1display
...... 28ff9463-b77f-435d-9ba7-427682a61f96Assessed risk category0..1choiceOptions: 3 options
.... f8022f3f-21fe-42c0-8abd-95f24e2e37e5Health priorities, actions and follow-up0..1texticoniconEnable When: cvdrisk-auscvdriskiaccess =
..... 6909cb38-a6f4-44c9-abae-0e5d697a21f5Age0..1integer
...... b9aba16c-f910-4948-9267-e07851f69572years0..1display
..... 3dbb0e63-3b28-4567-8ef3-bac242fd95f6Sex at birth0..1choiceValue Set: Biological Sex
..... fe9feec6-593a-4106-8a7d-f9965a632ea2Observation values0..1group
...... bac0f824-3784-400e-80f9-ad18d46bd8cbSmoking status0..1group
....... 333007c7-47a9-482b-af11-e55484abf2aeValue0..1choiceOptions: 6 options
....... cvdrisk-smokingstatus-dateDate performed0..1date
...... fa4f73a3-7633-410c-9177-8aa43b117122Systolic Blood Pressure0..1group
....... 818ce640-c8dd-457d-b607-3aaa8da38524Value0..1integer
........ ddea5a62-a8c1-4b15-b667-7b69babec8cdmm Hg0..1display
....... 85d8faf7-ddb0-446c-b489-28d786d6de50Date performed0..1date
...... e693c7d2-be69-4f1f-b72d-7ff2ea3cd536Total Cholesterol0..1group
....... 99932a93-8135-47b2-933b-fd751b34b7afValue0..1decimal
........ fcfbfc9f-e400-4aae-993f-ea54096e7361mmol/L0..1display
....... 16cbe87b-5c8d-4385-b7d9-da3f07f63f8aDate performed0..1date
...... 87eefaf6-010f-4b0d-9f51-2c33e46e6c69HDL Cholesterol0..1group
....... c14b4513-1e20-461d-97f4-4631711adc65Value0..1decimal
........ 2ba61002-b642-4b28-9e66-dc2b060c4e0emmol/L0..1display
....... 6407e0a7-c416-4a75-933b-904c0dcf88caDate performed0..1date
..... fa8f03ca-9a5a-4ed1-a866-db26e567352aPostcode0..1string
..... 1c1eea28-6c82-4b7b-aaa3-8655ce70f2fdType 2 diabetes mellitus0..1boolean
.... MarkComplete-2Mark section as complete0..1boolean

doco Documentation for this format

Options Sets

Answer options for 28ff9463-b77f-435d-9ba7-427682a61f96

  • High Risk
  • Intermediate Risk
  • Low Risk

Answer options for 333007c7-47a9-482b-af11-e55484abf2ae

  • http://snomed.info/sct#266919005 ("Lifetime non-smoker")
  • http://snomed.info/sct#77176002 ("Current smoker")
  • http://snomed.info/sct#8517006 ("Ex-smoker")
  • http://snomed.info/sct#16090371000119103 ("Exposure to second hand tobacco smoke")
  • Wants to quit
  • Other tobacco use

Contained Resources


ValueSet #biological-sex-1

Profiles: Shareable ValueSet, https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4

Expansion based on SNOMED CT Australian Edition edition 30-Apr 2025

This value set expansion contains 4 concepts.

CodeSystemDisplay (en-US)
  248152002http://snomed.info/sctFemale
  32570681000036106http://snomed.info/sctIndeterminate sex
  32570691000036108http://snomed.info/sctIntersex
  248153007http://snomed.info/sctMale

Source

{
  "resourceType": "Questionnaire",
  "id": "AbsoluteCVDRiskCalculation",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render",
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular",
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp",
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "biological-sex-1",
      "meta": {
        "profile": [
          "http://hl7.org/fhir/StructureDefinition/shareablevalueset",
          "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4"
        ]
      },
      "url": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1",
      "identifier": [
        {
          "system": "urn:ietf:rfc:3986",
          "value": "urn:oid:1.2.36.1.2001.1004.201.10198"
        }
      ],
      "version": "1.0.0",
      "name": "BiologicalSex",
      "title": "Biological Sex",
      "status": "active",
      "experimental": false,
      "date": "2020-12-31",
      "publisher": "Australian Digital Health Agency",
      "contact": [
        {
          "telecom": [
            {
              "system": "email",
              "value": "help@digitalhealth.gov.au"
            }
          ]
        }
      ],
      "description": "The Biological Sex value set includes values that represent the biological sex of an individual.",
      "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material.  No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.",
      "compose": {
        "include": [
          {
            "system": "http://snomed.info/sct",
            "filter": [
              {
                "property": "constraint",
                "op": "=",
                "value": "^32570631000036107|Sex reference set|"
              }
            ]
          }
        ]
      },
      "expansion": {
        "identifier": "urn:uuid:9a0c2291-6dd8-4778-9099-4622f64fa897",
        "timestamp": "2025-05-01T10:00:49+10:00",
        "offset": 0,
        "parameter": [
          {
            "name": "displayLanguage",
            "valueCode": "en-US"
          },
          {
            "name": "count",
            "valueInteger": 1000
          },
          {
            "name": "offset",
            "valueInteger": 0
          },
          {
            "name": "excludeNested",
            "valueBoolean": false
          },
          {
            "name": "used-valueset",
            "valueUri": "null"
          },
          {
            "name": "used-codesystem",
            "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"
          },
          {
            "name": "version",
            "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"
          }
        ],
        "contains": [
          {
            "system": "http://snomed.info/sct",
            "code": "248152002",
            "display": "Female"
          },
          {
            "system": "http://snomed.info/sct",
            "code": "32570681000036106",
            "display": "Indeterminate sex"
          },
          {
            "system": "http://snomed.info/sct",
            "code": "32570691000036108",
            "display": "Intersex"
          },
          {
            "system": "http://snomed.info/sct",
            "code": "248153007",
            "display": "Male"
          }
        ]
      }
    }
  ],
  "extension": [
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation",
      "valueCode": "assemble-child"
    },
    {
      "extension": [
        {
          "url": "name",
          "valueCoding": {
            "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code": "patient"
          }
        },
        {
          "url": "type",
          "valueCode": "Patient"
        },
        {
          "url": "description",
          "valueString": "The patient that is to be used to pre-populate the form"
        }
      ],
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    },
    {
      "extension": [
        {
          "url": "name",
          "valueCoding": {
            "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code": "user"
          }
        },
        {
          "url": "type",
          "valueCode": "Practitioner"
        },
        {
          "url": "description",
          "valueString": "The practitioner user that is to be used to pre-populate the form"
        }
      ],
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    },
    {
      "extension": [
        {
          "url": "name",
          "valueCoding": {
            "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code": "encounter"
          }
        },
        {
          "url": "type",
          "valueCode": "Encounter"
        },
        {
          "url": "description",
          "valueString": "The encounter that is to be used to pre-populate the form"
        }
      ],
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "age"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "Condition"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "ObsBloodPressure"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "ObsBloodPressureLatest"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "SexAtBirthCoding"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "ObsTobaccoSmokingStatus"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "ObsTobaccoSmokingStatusLatest"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "postcode"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "ObsTotalCholesterol",
        "language": "application/x-fhir-query",
        "expression": "Observation?code=14647-2&_sort=-date&patient={{%patient.id}}"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "ObsHDLCholesterol",
        "language": "application/x-fhir-query",
        "expression": "Observation?code=14646-4&_sort=-date&patient={{%patient.id}}"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "ObsTotalCholesterolLatest",
        "language": "text/fhirpath",
        "expression": "%ObsTotalCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "ObsHDLCholesterolLatest",
        "language": "text/fhirpath",
        "expression": "%ObsHDLCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "CVDRiskResult",
        "language": "application/x-fhir-query",
        "expression": "Observation?code=441829007&_sort=-date&patient={{%patient.id}}"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "CVDRiskResultLatest",
        "language": "text/fhirpath",
        "expression": "%CVDRiskResult.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "CVDRiskResultValue",
        "language": "text/fhirpath",
        "expression": "%CVDRiskResultLatest.select((((value.ofType(Quantity).comparator + value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit | value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit).first() | (value.ofType(Range).low.value.toString() + ' - ' + value.ofType(Range).high.value.toString() + value.ofType(Range).high.unit)).first()) + ' ' + interpretation.coding.display)"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "CVDRiskResultDateString",
        "language": "text/fhirpath",
        "expression": "%CVDRiskResultLatest.effective.toString()"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "CVDRiskResultDateFormatted",
        "language": "text/fhirpath",
        "expression": "%CVDRiskResultDateString.substring(8,2).toInteger().toString() + ' ' + %CVDRiskResultDateString.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') + ' ' + %CVDRiskResultDateString.substring(0,4)"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "NewAssessmentQuestionAnswer",
        "language": "text/fhirpath",
        "expression": "repeat(item).where(linkId='cvdrisk-newassessmentquestion').answer.value"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "AusCVDRiskiAccessAnswer",
        "language": "text/fhirpath",
        "expression": "repeat(item).where(linkId='cvdrisk-auscvdriskiaccess').answer.value"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "RepopulateOverrideAnswer",
        "language": "text/fhirpath",
        "expression": "repeat(item).where(linkId='cvdrisk-repopulateoverride').answer.value"
      }
    },
    {
      "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]",
      "valueCoding": {
        "system": "http://hl7.org/fhir/version-algorithm",
        "code": "semver"
      }
    }
  ],
  "url": "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation",
  "version": "0.3.0",
  "name": "AbsoluteCVDRiskCalculation",
  "title": "Aboriginal and Torres Strait Islander Health Check - Absolute Cardiovascular Disease Risk Calculation",
  "status": "draft",
  "experimental": false,
  "subjectType": [
    "Patient"
  ],
  "date": "2025-03-14",
  "publisher": "AEHRC CSIRO",
  "contact": [
    {
      "name": "AEHRC CSIRO",
      "telecom": [
        {
          "system": "url",
          "value": "https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2"
        }
      ]
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "AU",
          "display": "Australia"
        }
      ]
    }
  ],
  "copyright": "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",
  "item": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "%age >= 25"
          }
        }
      ],
      "linkId": "d95abe99-8ef2-4b97-bc88-a2901e2ebc9c",
      "text": "Absolute cardiovascular disease risk calculation",
      "type": "group",
      "repeats": false,
      "item": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended",
                    "code": "context-display"
                  }
                ]
              }
            }
          ],
          "linkId": "CD-in-progress-2",
          "text": "In progress",
          "_text": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString": "<div title=\"In progress\" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n\t<div style=\"display: flex; flex-direction: row;\">\r\n\t\t<img width='24' height='24' src='data:image/svg+xml;base64,\r\n\t\tPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiM3NTc1NzUiIGQ9Im0xNS44NCAxMC4ybC0xLjAxIDEuMDFsLTIuMDctMi4wM2wxLjAxLTEuMDJjLjItLjIxLjU0LS4yMi43OCAwbDEuMjkgMS4yNWMuMjEuMjEuMjIuNTUgMCAuNzlNOCAxMy45MWw0LjE3LTQuMTlsMi4wNyAyLjA4bC00LjE2IDQuMkg4di0yLjA5TTEzIDJ2MmM0LjM5LjU0IDcuNSA0LjUzIDYuOTYgOC45MkE4LjAxNCA4LjAxNCAwIDAgMSAxMyAxOS44OHYyYzUuNS0uNiA5LjQ1LTUuNTQgOC44NS0xMS4wM0MyMS4zMyA2LjE5IDE3LjY2IDIuNSAxMyAybS0yIDBjLTEuOTYuMTgtMy44MS45NS01LjMzIDIuMkw3LjEgNS43NGMxLjEyLS45IDIuNDctMS40OCAzLjktMS42OHYtMk00LjI2IDUuNjdBOS44MSA5LjgxIDAgMCAwIDIuMDUgMTFoMmMuMTktMS40Mi43NS0yLjc3IDEuNjQtMy45TDQuMjYgNS42N00yLjA2IDEzYy4yIDEuOTYuOTcgMy44MSAyLjIxIDUuMzNsMS40Mi0xLjQzQTguMDAyIDguMDAyIDAgMCAxIDQuMDYgMTNoLTJtNSA1LjM3bC0xLjM5IDEuMzdBOS45OTQgOS45OTQgMCAwIDAgMTEgMjJ2LTJhOC4wMDIgOC4wMDIgMCAwIDEtMy45LTEuNjNoLS4wNFoiLz48L3N2Zz4=' \r\n\t\tstyle=\"align-self: center;\"/>\r\n\t</div>\r\n</div>"
              }
            ]
          },
          "type": "display",
          "enableWhen": [
            {
              "question": "MarkComplete-2",
              "operator": "!=",
              "answerBoolean": true
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended",
                    "code": "context-display"
                  }
                ]
              }
            }
          ],
          "linkId": "CD-complete-2",
          "text": "Complete",
          "_text": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString": "<div title=\"Section completed\" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n\t<div style=\"display: flex; flex-direction: row;\">\r\n\t\t<img width='24' height='24' src='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiMyZTdkMzIiIGQ9Ik0yMCAxMmE4IDggMCAwIDEtOCA4YTggOCAwIDAgMS04LThhOCA4IDAgMCAxIDgtOGMuNzYgMCAxLjUuMTEgMi4yLjMxbDEuNTctMS41N0E5LjgyMiA5LjgyMiAwIDAgMCAxMiAyQTEwIDEwIDAgMCAwIDIgMTJhMTAgMTAgMCAwIDAgMTAgMTBhMTAgMTAgMCAwIDAgMTAtMTBNNy45MSAxMC4wOEw2LjUgMTEuNUwxMSAxNkwyMSA2bC0xLjQxLTEuNDJMMTEgMTMuMTdsLTMuMDktMy4wOVoiLz48L3N2Zz4='\r\n\t\tstyle=\"align-self: center;\"/>\r\n\t</div>\r\n</div>"
              }
            ]
          },
          "type": "display",
          "enableWhen": [
            {
              "question": "MarkComplete-2",
              "operator": "=",
              "answerBoolean": true
            }
          ]
        },
        {
          "linkId": "Guidance-CVDRisk",
          "text": "The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.",
          "_text": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"font-size:1.1em;\">The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus&nbsp;CVD&nbsp;Risk calculator.</p></div>"
              }
            ]
          },
          "type": "display"
        },
        {
          "linkId": "dabdc7b4-51db-44a0-9d59-77a88587cbe9",
          "text": "CVD risk result",
          "type": "group",
          "repeats": false,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression": {
                    "language": "text/fhirpath",
                    "expression": "iif(%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists(), %CVDRiskResultValue + ' ( ' + %CVDRiskResultDateFormatted + ' )', 'Not available')"
                  }
                }
              ],
              "linkId": "cvdrisk-latestresult",
              "text": "Latest available result",
              "type": "string",
              "repeats": false,
              "readOnly": true
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
                  "valueExpression": {
                    "language": "text/fhirpath",
                    "expression": "%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists()"
                  }
                }
              ],
              "linkId": "cvdrisk-newassessmentquestion",
              "text": "A previous CVD risk result has been found. Do you want to perform a new assessment?",
              "type": "boolean",
              "repeats": false
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
                  "valueExpression": {
                    "language": "text/fhirpath",
                    "expression": "%NewAssessmentQuestionAnswer = true or %CVDRiskResultValue.empty() or %CVDRiskResultDateFormatted.empty()"
                  }
                }
              ],
              "linkId": "cvdrisk-auscvdriskiaccess",
              "text": "Do you have access to the Aus CVD Risk-i application from your clinical system?",
              "_text": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                    "valueString": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Do you have access to the <em>Aus&nbsp;CVD&nbsp;Risk&#8209;i</em> application from your clinical system?</p></div>"
                  }
                ]
              },
              "type": "boolean",
              "repeats": false
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
                  "valueExpression": {
                    "language": "text/fhirpath",
                    "expression": "%AusCVDRiskiAccessAnswer = true"
                  }
                }
              ],
              "linkId": "cvdrisk-auscvdriskiguidance",
              "text": "Using the Aus CVD Risk-i application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above.",
              "_text": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                    "valueString": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"font-size:1.1em;\">Using the <em>Aus&nbsp;CVD&nbsp;Risk&#8209;i</em> application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above.</p></div>"
                  }
                ]
              },
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
                  "valueExpression": {
                    "language": "text/fhirpath",
                    "expression": "%AusCVDRiskiAccessAnswer = true"
                  }
                }
              ],
              "linkId": "cvdrisk-repopulateoverride",
              "text": "Do you need to manually enter a new CVD risk result instead of repopulating?",
              "type": "boolean",
              "repeats": false
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
                  "valueExpression": {
                    "language": "text/fhirpath",
                    "expression": "%AusCVDRiskiAccessAnswer != true or %RepopulateOverrideAnswer = true"
                  }
                }
              ],
              "linkId": "cvdrisk-cvdriskresultgroup",
              "text": "New CVD risk result",
              "type": "group",
              "repeats": false,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
                      "valueExpression": {
                        "language": "text/fhirpath",
                        "expression": "%AusCVDRiskiAccessAnswer != true"
                      }
                    }
                  ],
                  "linkId": "cvdrisk-onlincecalculatorguidance",
                  "text": "Use the online Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator",
                  "_text": {
                    "extension": [
                      {
                        "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                        "valueString": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>The <a href=\"https://www.cvdcheck.org.au/calculator\" target=\"_blank\">Australian CVD risk calculator</a> on the Aus&nbsp;CVD&nbsp;Risk website should be used. Below is a read only view of a subset of variables that can be used as inputs for the online calculator. The calculated CVD risk result can be entered here.</p></div>"
                      }
                    ]
                  },
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                      "valueCoding": {
                        "system": "http://unitsofmeasure.org",
                        "code": "%"
                      }
                    }
                  ],
                  "linkId": "4c52fcec-0695-4916-b185-24a5c2711631",
                  "text": "Risk result score",
                  "type": "integer",
                  "repeats": false,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "unit"
                              }
                            ]
                          }
                        }
                      ],
                      "linkId": "0162854e-c124-4b58-acd9-93c17562d407",
                      "text": "%",
                      "type": "display"
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "radio-button"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "28ff9463-b77f-435d-9ba7-427682a61f96",
                  "text": "Assessed risk category",
                  "type": "choice",
                  "repeats": false,
                  "answerOption": [
                    {
                      "valueString": "High Risk"
                    },
                    {
                      "valueString": "Intermediate Risk"
                    },
                    {
                      "valueString": "Low Risk"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "linkId": "f8022f3f-21fe-42c0-8abd-95f24e2e37e5",
          "text": "Health priorities, actions and follow-up",
          "type": "text",
          "enableWhen": [
            {
              "question": "cvdrisk-auscvdriskiaccess",
              "operator": "=",
              "answerBoolean": false
            }
          ],
          "repeats": false,
          "readOnly": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
                  "valueExpression": {
                    "description": "CVD Risk Age",
                    "language": "text/fhirpath",
                    "expression": "%age"
                  }
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                  "valueCoding": {
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                  }
                }
              ],
              "linkId": "6909cb38-a6f4-44c9-abae-0e5d697a21f5",
              "text": "Age",
              "type": "integer",
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "unit"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "b9aba16c-f910-4948-9267-e07851f69572",
                  "text": "years",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
                  "valueExpression": {
                    "description": "CVD Risk Sex At Birth",
                    "language": "text/fhirpath",
                    "expression": "%SexAtBirthCoding"
                  }
                }
              ],
              "linkId": "3dbb0e63-3b28-4567-8ef3-bac242fd95f6",
              "text": "Sex at birth",
              "type": "choice",
              "repeats": false,
              "answerValueSet": "#biological-sex-1"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "grid"
                      }
                    ]
                  }
                }
              ],
              "linkId": "fe9feec6-593a-4106-8a7d-f9965a632ea2",
              "text": "Observation values",
              "_text": {
                "extension": [
                  {
                    "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden",
                    "valueBoolean": true
                  }
                ]
              },
              "type": "group",
              "repeats": false,
              "item": [
                {
                  "linkId": "bac0f824-3784-400e-80f9-ad18d46bd8cb",
                  "text": "Smoking status",
                  "type": "group",
                  "repeats": false,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                          "valueExpression": {
                            "language": "text/fhirpath",
                            "expression": "%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()"
                          }
                        }
                      ],
                      "linkId": "333007c7-47a9-482b-af11-e55484abf2ae",
                      "text": "Value",
                      "type": "choice",
                      "repeats": false,
                      "answerOption": [
                        {
                          "valueCoding": {
                            "system": "http://snomed.info/sct",
                            "code": "266919005",
                            "display": "Lifetime non-smoker"
                          }
                        },
                        {
                          "valueCoding": {
                            "system": "http://snomed.info/sct",
                            "code": "77176002",
                            "display": "Current smoker"
                          }
                        },
                        {
                          "valueCoding": {
                            "system": "http://snomed.info/sct",
                            "code": "8517006",
                            "display": "Ex-smoker"
                          }
                        },
                        {
                          "valueCoding": {
                            "system": "http://snomed.info/sct",
                            "code": "16090371000119103",
                            "display": "Exposure to second hand tobacco smoke"
                          }
                        },
                        {
                          "valueString": "Wants to quit"
                        },
                        {
                          "valueString": "Other tobacco use"
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                          "valueExpression": {
                            "language": "text/fhirpath",
                            "expression": "%ObsTobaccoSmokingStatusLatest.effective"
                          }
                        }
                      ],
                      "linkId": "cvdrisk-smokingstatus-date",
                      "text": "Date performed",
                      "type": "date",
                      "repeats": false
                    }
                  ]
                },
                {
                  "linkId": "fa4f73a3-7633-410c-9177-8aa43b117122",
                  "text": "Systolic Blood Pressure",
                  "type": "group",
                  "repeats": false,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                          "valueExpression": {
                            "language": "text/fhirpath",
                            "expression": "%ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value"
                          }
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                          "valueCoding": {
                            "system": "http://unitsofmeasure.org",
                            "code": "mm[Hg]"
                          }
                        }
                      ],
                      "linkId": "818ce640-c8dd-457d-b607-3aaa8da38524",
                      "text": "Value",
                      "type": "integer",
                      "repeats": false,
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                              "valueCodeableConcept": {
                                "coding": [
                                  {
                                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                                    "code": "unit"
                                  }
                                ]
                              }
                            }
                          ],
                          "linkId": "ddea5a62-a8c1-4b15-b667-7b69babec8cd",
                          "text": "mm Hg",
                          "type": "display"
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                          "valueExpression": {
                            "language": "text/fhirpath",
                            "expression": "%ObsBloodPressureLatest.effective"
                          }
                        }
                      ],
                      "linkId": "85d8faf7-ddb0-446c-b489-28d786d6de50",
                      "text": "Date performed",
                      "type": "date",
                      "repeats": false
                    }
                  ]
                },
                {
                  "linkId": "e693c7d2-be69-4f1f-b72d-7ff2ea3cd536",
                  "text": "Total Cholesterol",
                  "type": "group",
                  "repeats": false,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                          "valueExpression": {
                            "language": "text/fhirpath",
                            "expression": "%ObsTotalCholesterolLatest.value.value"
                          }
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                          "valueCoding": {
                            "system": "http://unitsofmeasure.org",
                            "code": "mmol/L"
                          }
                        }
                      ],
                      "linkId": "99932a93-8135-47b2-933b-fd751b34b7af",
                      "text": "Value",
                      "type": "decimal",
                      "repeats": false,
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                              "valueCodeableConcept": {
                                "coding": [
                                  {
                                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                                    "code": "unit"
                                  }
                                ]
                              }
                            }
                          ],
                          "linkId": "fcfbfc9f-e400-4aae-993f-ea54096e7361",
                          "text": "mmol/L",
                          "type": "display"
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                          "valueExpression": {
                            "language": "text/fhirpath",
                            "expression": "%ObsTotalCholesterolLatest.effective"
                          }
                        }
                      ],
                      "linkId": "16cbe87b-5c8d-4385-b7d9-da3f07f63f8a",
                      "text": "Date performed",
                      "type": "date",
                      "repeats": false
                    }
                  ]
                },
                {
                  "linkId": "87eefaf6-010f-4b0d-9f51-2c33e46e6c69",
                  "text": "HDL Cholesterol",
                  "type": "group",
                  "repeats": false,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                          "valueExpression": {
                            "language": "text/fhirpath",
                            "expression": "%ObsHDLCholesterolLatest.value.value"
                          }
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                          "valueCoding": {
                            "system": "http://unitsofmeasure.org",
                            "code": "mmol/L"
                          }
                        }
                      ],
                      "linkId": "c14b4513-1e20-461d-97f4-4631711adc65",
                      "text": "Value",
                      "type": "decimal",
                      "repeats": false,
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                              "valueCodeableConcept": {
                                "coding": [
                                  {
                                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                                    "code": "unit"
                                  }
                                ]
                              }
                            }
                          ],
                          "linkId": "2ba61002-b642-4b28-9e66-dc2b060c4e0e",
                          "text": "mmol/L",
                          "type": "display"
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                          "valueExpression": {
                            "language": "text/fhirpath",
                            "expression": "%ObsHDLCholesterolLatest.effective"
                          }
                        }
                      ],
                      "linkId": "6407e0a7-c416-4a75-933b-904c0dcf88ca",
                      "text": "Date performed",
                      "type": "date",
                      "repeats": false
                    }
                  ]
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
                  "valueExpression": {
                    "description": "CVD Risk Postcode",
                    "language": "text/fhirpath",
                    "expression": "%postcode"
                  }
                }
              ],
              "linkId": "fa8f03ca-9a5a-4ed1-a866-db26e567352a",
              "text": "Postcode",
              "type": "string"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression": {
                    "language": "text/fhirpath",
                    "expression": "%Condition.entry.resource.code.coding.where(system='http://snomed.info/sct' and code='44054006').exists()"
                  }
                }
              ],
              "linkId": "1c1eea28-6c82-4b7b-aaa3-8655ce70f2fd",
              "text": "Type 2 diabetes mellitus",
              "type": "boolean",
              "repeats": false
            }
          ]
        },
        {
          "linkId": "MarkComplete-2",
          "text": "Mark section as complete",
          "_text": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString": "<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>"
              }
            ]
          },
          "type": "boolean",
          "repeats": false
        }
      ]
    }
  ]
}