AbsoluteCVDRiskCalculation
type: Questionnaire
node role: treeRoot
id:
  v: AbsoluteCVDRiskCalculation
meta:
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render
    l: sdc-questionnaire-render
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular
    l: sdc-questionnaire-modular
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp
    l: sdc-questionnaire-pop-exp
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave
    l: sdc-questionnaire-behave
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: Questionnaire AbsoluteCVDRiskCalculation Profiles: Advanced Rendering Questionnaire, SDC Modular Questionnaire, Populatable Questionnaire - Expression, Advanced Behavior Questionnaire Structure LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> AbsoluteCVDRiskCalculation Questionnaire http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation#0.4.0 #xD; d95abe99-8ef2-4b97-bc88-a2901e2ebc9c Absolute cardiovascular disease risk calculation 0..1 group #xD; CD-in-progress-2 In progress 0..1 display #xD; CD-complete-2 Complete 0..1 display #xD; CD-attention-2 Attention required 0..1 display #xD; Guidance-CVDRisk The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator. 0..1 display #xD; dabdc7b4-51db-44a0-9d59-77a88587cbe9 CVD risk result 0..1 group #xD; cvdrisk-latestresult Latest available result 0..1 string #xD; cvdrisk-newassessmentquestion A previous CVD risk result has been found. Do you want to perform a new assessment? 0..1 boolean #xD; cvdrisk-auscvdriskiaccess Do you have access to the Aus CVD Risk-i application from your clinical system? 0..1 boolean #xD; cvdrisk-auscvdriskiguidance 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. 0..1 display #xD; cvdrisk-repopulateoverride Do you need to manually enter a new CVD risk result instead of repopulating? 0..1 boolean #xD; cvdrisk-cvdriskresultgroup New CVD risk result 0..1 group #xD; cvdrisk-onlincecalculatorguidance Use the online Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator 0..1 display #xD; 4c52fcec-0695-4916-b185-24a5c2711631 Risk result score 0..1 integer #xD; 0162854e-c124-4b58-acd9-93c17562d407 % 0..1 display #xD; 28ff9463-b77f-435d-9ba7-427682a61f96 Assessed risk category …
contained: ValueSet
  id:
    v: biological-sex-1
  meta:
    profile:
      v: http://hl7.org/fhir/StructureDefinition/shareablevalueset
      l: shareablevalueset
    profile:
      v: https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4
      l: composed-value-set-4
  url:
    v: https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1
    l: biological-sex-1
  identifier:
    system:
      v: urn:ietf:rfc:3986
      l: 3986
    value:
      v: urn:oid:1.2.36.1.2001.1004.201.10198
  version:
    v: 1.1.0
  name:
    v: BiologicalSex
  title:
    v: Biological Sex
  status:
    v: active
  experimental:
    v: false
  date:
    v: 2024-11-30
  publisher:
    v: Australian Digital Health Agency
  contact:
    telecom:
      system:
        v: email
  description:
    v: The Biological Sex value set includes values that represent the biological sex of an individual.
  copyright:
    v: 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/. This 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. The 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. All copies of this resource must include this copyright statement and all information contained in this statement.
  compose:
    include:
      system:
        v: http://snomed.info/sct
        l: sct
    include:
      system:
        v: http://terminology.hl7.org/CodeSystem/data-absent-reason
        l: data-absent-reason
  expansion:
    timestamp:
      v: 2025-10-28T16:39:14+10:00
    offset:
      v: 0
    parameter:
      name:
        v: displayLanguage
      value: Code
        v: en
    parameter:
      name:
        v: count
      value: Integer
        v: 1000
    parameter:
      name:
        v: offset
      value: Integer
        v: 0
    parameter:
      name:
        v: excludeNested
      value: Boolean
        v: false
    parameter:
      name:
        v: system-version
      value: Uri
        v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107
        l: http://snomed.info/sct
    parameter:
      name:
        v: used-codesystem
      value: Uri
        v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
        l: http://snomed.info/sct
    parameter:
      name:
        v: version
      value: Uri
        v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
        l: http://snomed.info/sct
    parameter:
      name:
        v: used-codesystem
      value: Uri
        v: http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0
        l: http://terminology.hl7.org/CodeSystem/data-absent-reason
    contains:
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 248152002
      display:
        v: Female
    contains:
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 32570681000036106
      display:
        v: Indeterminate sex
    contains:
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 32570691000036108
      display:
        v: Intersex
    contains:
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 248153007
      display:
        v: Male
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/data-absent-reason
        l: data-absent-reason
      code:
        v: asked-unknown
      display:
        v: Asked But Unknown
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/data-absent-reason
        l: data-absent-reason
      code:
        v: unknown
      display:
        v: Unknown
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/data-absent-reason
        l: data-absent-reason
      code:
        v: asked-declined
      display:
        v: Asked But Declined
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/data-absent-reason
        l: data-absent-reason
      code:
        v: not-asked
      display:
        v: Not Asked
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation
    l: sdc-questionnaire-assemble-expectation
  value: Code
    v: assemble-child
extension:
  extension:
    url:
      v: name
      l: name
    value: Coding
      system:
        v: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext
        l: launchContext
      code:
        v: patient

v: constraint

v: =

v: ^ 32570631000036107|Sex reference set|

v: asked-unknown

v: unknown

v: asked-declined

v: not-asked

url:
  v: type
  l: type
value: Code
  v: Patient

url:
  v: description
  l: description
value: String
  v: The patient that is to be used to pre-populate the form

extension:
  url:
    v: name
    l: name
  value: Coding
    system:
      v: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext
      l: launchContext
    code:
      v: user
extension:
  url:
    v: type
    l: type
  value: Code
    v: Practitioner
extension:
  url:
    v: description
    l: description
  value: String
    v: The practitioner user that is to be used to pre-populate the form
url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
  l: sdc-questionnaire-launchContext

extension:
  url:
    v: name
    l: name
  value: Coding
    system:
      v: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext
      l: launchContext
    code:
      v: encounter
extension:
  url:
    v: type
    l: type
  value: Code
    v: Encounter
extension:
  url:
    v: description
    l: description
  value: String
    v: The encounter that is to be used to pre-populate the form
url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
  l: sdc-questionnaire-launchContext

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: age

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: Condition

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: ObsBloodPressure

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: ObsBloodPressureLatest

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: SexAtBirthCoding

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: ObsTobaccoSmokingStatus

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: ObsTobaccoSmokingStatusLatest

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext
  l: sdc-questionnaire-assembleContext
value: String
  v: postcode

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsTotalCholesterol
  language:
    v: application/x-fhir-query
  expression:
    v: Observation?code=14647-2&_sort=-date&patient={{%patient.id}}

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHDLCholesterol
  language:
    v: application/x-fhir-query
  expression:
    v: Observation?code=14646-4&_sort=-date&patient={{%patient.id}}

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsTotalCholesterolLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsTotalCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHDLCholesterolLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsHDLCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: CVDRiskResult
  language:
    v: application/x-fhir-query
  expression:
    v: Observation?code=441829007&_sort=-date&patient={{%patient.id}}

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: CVDRiskResultLatest
  language:
    v: text/fhirpath
  expression:
    v: %CVDRiskResult.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: CVDRiskResultValue
  language:
    v: text/fhirpath
  expression:
    v: %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:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: CVDRiskResultDateString
  language:
    v: text/fhirpath
  expression:
    v: %CVDRiskResultLatest.effective.toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: CVDRiskResultDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %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:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: NewAssessmentQuestionAnswer
  language:
    v: text/fhirpath
  expression:
    v: repeat(item).where(linkId='cvdrisk-newassessmentquestion').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: AusCVDRiskiAccessAnswer
  language:
    v: text/fhirpath
  expression:
    v: repeat(item).where(linkId='cvdrisk-auscvdriskiaccess').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: RepopulateOverrideAnswer
  language:
    v: text/fhirpath
  expression:
    v: repeat(item).where(linkId='cvdrisk-repopulateoverride').answer.value

url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]
  l: extension-Questionnaire.versionAlgorithm[x]
value: Coding
  system:
    v: http://hl7.org/fhir/version-algorithm
    l: version-algorithm
  code:
    v: semver

v: 0.4.0

v: AbsoluteCVDRiskCalculation

v: Aboriginal and Torres Strait Islander Health Check - Absolute Cardiovascular Disease Risk Calculation

v: draft

v: false

v: Patient

v: 2025-03-14

v: AEHRC CSIRO

name:
  v: AEHRC CSIRO
telecom:
  system:
    v: url
  value:
    v: https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2

coding:
  system:
    v: urn:iso:std:iso:3166
    l: 3166
  code:
    v: AU
  display:
    v: Australia

v: Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved. This content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. See https://creativecommons.org/licenses/by-sa/4.0/.

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %age >= 25
text:
  v: Absolute cardiovascular disease risk calculation
type:
  v: group
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-2').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-2').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-2
  text:
    v: In progress
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: <img width='24' height='24' src='[binary]' style="align-self: center;"/>
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-2').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-2
  text:
    v: Complete
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: <img width='24' height='24' src='[binary]' style="align-self: center;"/>
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-2').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-2
  text:
    v: Attention required
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: <img width='24' height='24' src='[binary]' style="align-self: center;"/>
  type:
    v: display
item:
  link id:
    v: Guidance-CVDRisk
  text:
    v: The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.
  type:
    v: display
item:
  text:
    v: CVD risk result
  type:
    v: group
  repeats:
    v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    extension:
      url:
        v: https://smartforms.csiro.au/ig/StructureDefinition/questionnaire-initialExpression-repopulatable
        l: questionnaire-initialExpression-repopulatable
      value: Code
        v: manual
    link id:
      v: cvdrisk-latestresult
    text:
      v: Latest available result
    type:
      v: string
    repeats:
      v: false
    read only:
      v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
        l: sdc-questionnaire-enableWhenExpression
      value: Expression
    link id:
      v: cvdrisk-newassessmentquestion
    text:
      v: A previous CVD risk result has been found. Do you want to perform a new assessment?
    type:
      v: boolean
    repeats:
      v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
        l: sdc-questionnaire-enableWhenExpression
      value: Expression
    link id:
      v: cvdrisk-auscvdriskiaccess
    text:
      v: Do you have access to the Aus CVD Risk-i application from your clinical system?
      extension:
        value: String
    type:
      v: boolean
    repeats:
      v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
        l: sdc-questionnaire-enableWhenExpression
      value: Expression
    link id:
      v: cvdrisk-auscvdriskiguidance
    text:
      v: 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.
      extension:
        value: String
    type:
      v: display
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
        l: sdc-questionnaire-enableWhenExpression
      value: Expression
    link id:
      v: cvdrisk-repopulateoverride
    text:
      v: Do you need to manually enter a new CVD risk result instead of repopulating?
    type:
      v: boolean
    repeats:
      v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
        l: sdc-questionnaire-enableWhenExpression
      value: Expression

v: context-display

v: context-display

v: context-display

v: text/fhirpath

v: iif(%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists(), %CVDRiskResultValue + ' ( ' + %CVDRiskResultDateFormatted + ' )', 'Not available')

v: text/fhirpath

v: %CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists()

v: text/fhirpath

v: %NewAssessmentQuestionAnswer = true or %CVDRiskResultValue.empty() or %CVDRiskResultDateFormatted.empty()

String
v: Do you have access to the Aus CVD Risk‑i application from your clinical system?

v: text/fhirpath

v: %AusCVDRiskiAccessAnswer = true

String
v: 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.

v: text/fhirpath

v: %AusCVDRiskiAccessAnswer = true

v: text/fhirpath

v: %AusCVDRiskiAccessAnswer != true or %RepopulateOverrideAnswer = true

v: cvdrisk-cvdriskresultgroup

v: New CVD risk result

v: group

v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %AusCVDRiskiAccessAnswer != true
link id:
  v: cvdrisk-onlincecalculatorguidance
text:
  v: Use the online Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
      l: rendering-xhtml
    value: String
      v: The Australian CVD risk calculator on the Aus CVD 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.
type:
  v: display

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
    l: questionnaire-unit
  value: Coding
    system:
      v: http://unitsofmeasure.org
      l: unitsofmeasure.org
    code:
      v: %
text:
  v: Risk result score
type:
  v: integer
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  text:
    v: %
  type:
    v: display

v: unit

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
text:
  v: Assessed risk category
type:
  v: choice
repeats:
  v: false
answer option:
  value: String
    v: High Risk
answer option:
  value: String
    v: Intermediate Risk
answer option:
  value: String
    v: Low Risk

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %AusCVDRiskiAccessAnswer != true or %AusCVDRiskiAccessAnswer.empty()
text:
  v: CVD risk calculator variables
type:
  v: group
repeats:
  v: false
read only:
  v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
      l: sdc-questionnaire-calculatedExpression
    value: Expression
      description:
        v: CVD Risk Age
      language:
        v: text/fhirpath
      expression:
        v: %age
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
      l: questionnaire-unit
    value: Coding
      system:
        v: http://unitsofmeasure.org
        l: unitsofmeasure.org
      code:
        v: a
  text:
    v: Age
  type:
    v: integer
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    text:
      v: years
    type:
      v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
      l: sdc-questionnaire-calculatedExpression
    value: Expression
      description:
        v: CVD Risk Sex At Birth
      language:
        v: text/fhirpath
      expression:
        v: %SexAtBirthCoding
  text:
    v: Sex at birth
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #biological-sex-1
    l: biological-sex-1
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  text:
    v: Observation values
    extension:
      url:
        v: https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden
        l: QuestionnaireItemTextHidden
      value: Boolean
        v: true
  type:
    v: group
  repeats:
    v: false
  item:
    text:
      v: Smoking status
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      text:
        v: Value
      type:
        v: choice
      repeats:
        v: false
      answer option:
        value: Coding
      answer option:
        value: Coding
      answer option:
        value: Coding
      answer option:
        value: Coding
      answer option:
        value: String
      answer option:
        value: String
    item:
      extension:
        value: Expression
      link id:
        v: cvdrisk-smokingstatus-date
      text:
        v: Date performed
      type:
        v: date
      repeats:
        v: false
  item:
    text:
      v: Systolic Blood Pressure
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      extension:
        value: Coding
      text:
        v: Value
      type:
        v: integer
      repeats:
        v: false
    item:
      extension:
        value: Expression
      text:
        v: Date performed
      type:
        v: date
      repeats:
        v: false
  item:
    text:
      v: Total Cholesterol
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      extension:
        value: Coding
      text:
        v: Value
      type:
        v: decimal
      repeats:
        v: false
    item:
      extension:
        value: Expression
      text:
        v: Date performed
      type:
        v: date
      repeats:
        v: false
  item:
    text:
      v: HDL Cholesterol
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      extension:
        value: Coding
      text:
        v: Value
      type:
        v: decimal
      repeats:
        v: false

system:
  v: http://hl7.org/fhir/questionnaire-item-control
  l: questionnaire-item-control
code:
  v: unit

v: grid

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()

Coding
type: http://snomed.info/id/266919005
system:
  v: http://snomed.info/sct
  l: sct
code:
  v: 266919005
display:
  v: Lifetime non-smoker

Coding
type: http://snomed.info/id/77176002
system:
  v: http://snomed.info/sct
  l: sct
code:
  v: 77176002
display:
  v: Current smoker

Coding
type: http://snomed.info/id/8517006
system:
  v: http://snomed.info/sct
  l: sct
code:
  v: 8517006
display:
  v: Ex-smoker

Coding
type: http://snomed.info/id/16090371000119103
system:
  v: http://snomed.info/sct
  l: sct
code:
  v: 16090371000119103
display:
  v: Exposure to second hand tobacco smoke

String
v: Wants to quit

String
v: Other tobacco use

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsTobaccoSmokingStatusLatest.effective

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value

Coding
system:
  v: http://unitsofmeasure.org
  l: unitsofmeasure.org
code:
  v: mm[Hg]

url:
  v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
  l: questionnaire-itemControl
value: CodeableConcept
  coding:
    system:
      v: http://hl7.org/fhir/questionnaire-item-control
      l: questionnaire-item-control
    code:
      v: unit

v: mm Hg

v: display

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsBloodPressureLatest.effective

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsTotalCholesterolLatest.value.value

Coding
system:
  v: http://unitsofmeasure.org
  l: unitsofmeasure.org
code:
  v: mmol/L

url:
  v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
  l: questionnaire-itemControl
value: CodeableConcept
  coding:
    system:
      v: http://hl7.org/fhir/questionnaire-item-control
      l: questionnaire-item-control
    code:
      v: unit

v: mmol/L

v: display

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsTotalCholesterolLatest.effective

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsHDLCholesterolLatest.value.value

Coding
system:
  v: http://unitsofmeasure.org
  l: unitsofmeasure.org
code:
  v: mmol/L

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: unit
text:
  v: mmol/L
type:
  v: display

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
    l: sdc-questionnaire-initialExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %ObsHDLCholesterolLatest.effective
text:
  v: Date performed
type:
  v: date
repeats:
  v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
    l: sdc-questionnaire-calculatedExpression
  value: Expression
    description:
      v: CVD Risk Postcode
    language:
      v: text/fhirpath
    expression:
      v: %postcode
text:
  v: Postcode
type:
  v: string

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
    l: sdc-questionnaire-initialExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %Condition.entry.resource.code.coding.where(system='http://snomed.info/sct' and code='44054006').exists()
text:
  v: Type 2 diabetes mellitus
type:
  v: boolean
repeats:
  v: false

text:
  v: Health priorities, actions and follow-up
type:
  v: text
repeats:
  v: false

link id:
  v: cvd-section-end-divider
text:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/rendering-style
      l: rendering-style
    value: String
      v: border-top: 1px solid #ccc;
type:
  v: display

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
link id:
  v: MarkComplete-2
text:
  v: Section completion status
type:
  v: choice
repeats:
  v: false
answer option:
  value: String
    v: Complete
answer option:
  value: String
    v: In progress
answer option:
  value: String
    v: Attention required