Examination
type: Questionnaire
node role: treeRoot
id:
  v: Examination
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-behave
    l: sdc-questionnaire-behave
  profile:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template
    l: sdc-questionnaire-extr-template
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: Questionnaire Examination Profiles: Advanced Rendering Questionnaire, SDC Modular Questionnaire, Advanced Behavior Questionnaire, Extractable Questionnaire - Template Structure LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Examination Questionnaire http://www.health.gov.au/assessments/mbs/715/Examination#0.4.0 #xD; c587e3b6-b91a-40dc-9a16-179342d001e9 Examination 0..1 group #xD; CD-in-progress-7 In progress 0..1 display #xD; CD-complete-7 Complete 0..1 display #xD; CD-attention-7 Attention required 0..1 display #xD; d15824f8-eafc-4fa0-80a2-82f0ec7f8728 Growth measures recorded on Centers for Disease Control and Prevention (CDC) and World Health Organization (WHO) growth charts for centile and tracking overtime 0..1 display #xD; 53d5d5a6-3198-4bec-92ac-03fe7d77fb68 The tabled observations will display the most recent results available from the patient record. New observations may be added. 0..1 group #xD; 4e32e9b2-82e6-41ea-9545-79e928f7d6c2 Length/Height 0..1 group #xD; 837cd0ce-4a9e-4c8b-8679-007ed961f121 Last result 0..1 display #xD; obs-lengthheight-lastresult null 0..1 decimal #xD; obs-lengthheight-lastdate null 0..1 date #xD; obs-lengthheight-newresult New result 0..1 decimal #xD; obslengthheight-newresult-unit cm 0..1 display #xD; obs-lengthheight-newdate New result date 0..1 date #xD; 6226a5c5-b5c3-4ebb-a689-2b286322cfe0 Height 0..1 group #xD; 7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea Last result 0..1 display #xD; obs-height-lastresult null 0..1 decimal #xD; obs-height-lastdate null 0..1 date #xD; obs-height-newresult New result 0..1 decimal #xD; obs-height-newresult-unit cm 0..1 display #xD; obs-height-newdate New result date 0..1 date #xD; 97ed4c86-8820-4e4d-9234-0e0e8b6ca44a Weight 0..1 group #xD; 443bd584-684a-449c-ab6e-9d07da4df9fa Last result 0..1 display #xD; obs-weight-lastresult null 0..1 decimal #xD; obs-weight-lastdate null 0..1 date #xD; obs-weight-new…
contained: ValueSet
  id:
    v: heart-rhythm-1
  url:
    v: https://smartforms.csiro.au/ig/ValueSet/heart-rhythm-1
    l: heart-rhythm-1
  name:
    v: HeartRhythm
  title:
    v: Heart Rhythm
  status:
    v: draft
  experimental:
    v: false
  description:
    v: The Heart Rhythm value set includes values that may be used to represent the heart rhythm of an individual.
  compose:
    include:
      system:
        v: http://snomed.info/sct
        l: sct
  expansion:
    timestamp:
      v: 2025-10-28T16:39:30+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
    contains:
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 933506231000036108
      display:
        v: Regular heart rhythm
    contains:
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 361137007
      display:
        v: Irregular heart rhythm
contained: Observation
  id:
    v: BodyHeightTemplate
  status:
    v: final
  category:
    coding:
      system:
        v: http://terminology.hl7.org/CodeSystem/observation-category
        l: observation-category
      code:
        v: vital-signs
  code:
    coding: https://loinc.org/rdf/8302-2
      system:
        v: http://loinc.org
        l: loinc.org
      code:
        v: 8302-2
    coding: http://snomed.info/id/50373000
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 50373000
    text:
      v: Height
  subject:
    reference:
      extension:
        value: String
  effective: DateTime
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.repeat(item).where(linkId='obs-height-newdate').answer.value.toDateTime()
  value: Quantity
    value:
      extension:
        value: String
    unit:
      v: cm
    system:
      v: http://unitsofmeasure.org
      l: unitsofmeasure.org
    code:
      v: cm
contained: Observation
  id:
    v: BodyHeightLengthTemplate
  status:
    v: final
  category:
    coding:
      system:
        v: http://terminology.hl7.org/CodeSystem/observation-category
        l: observation-category
      code:
        v: vital-signs
  code:
    coding: https://loinc.org/rdf/8302-2
      system:
        v: http://loinc.org
        l: loinc.org
      code:
        v: 8302-2
    coding: http://snomed.info/id/50373000
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 50373000
    text:
      v: Height
  subject:
    reference:
      extension:
        value: String
  effective: DateTime
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.repeat(item).where(linkId='obs-lengthheight-newdate').answer.value.toDateTime()
  value: Quantity
    value:
      extension:
        value: String
    unit:
      v: cm
    system:
      v: http://unitsofmeasure.org
      l: unitsofmeasure.org
    code:
      v: cm

v: 933506231000036108

v: Regular heart rhythm

v: 361137007

v: Irregular heart rhythm

String
v: %resource.subject.reference

String
v: $this.answer.value

String
v: %resource.subject.reference

String
v: $this.answer.value

Observation
id:
  v: BodyWeightTemplate
status:
  v: final
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/observation-category
      l: observation-category
    code:
      v: vital-signs
code:
  coding: https://loinc.org/rdf/29463-7
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 29463-7
  coding: http://snomed.info/id/27113001
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 27113001
  text:
    v: Weight
subject:
  reference:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.subject.reference
effective: DateTime
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: %resource.repeat(item).where(linkId='obs-weight-newdate').answer.value.toDateTime()
value: Quantity
  value:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: $this.answer.value
  unit:
    v: kg
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: kg

Observation
id:
  v: WaistCircumferenceTemplate
status:
  v: final
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/observation-category
      l: observation-category
    code:
      v: vital-signs
code:
  coding: https://loinc.org/rdf/8280-0
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 8280-0
  coding: http://snomed.info/id/276361009
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 276361009
  text:
    v: Waist circumference
subject:
  reference:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.subject.reference
effective: DateTime
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: %resource.repeat(item).where(linkId='obs-waistcircumference-newdate').answer.value.toDateTime()
value: Quantity
  value:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: $this.answer.value
  unit:
    v: cm
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: cm

Observation
id:
  v: HeadCircumferenceTemplate
status:
  v: final
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/observation-category
      l: observation-category
    code:
      v: vital-signs
code:
  coding: https://loinc.org/rdf/9843-4
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 9843-4
  coding: http://snomed.info/id/363812007
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 363812007
  text:
    v: Head circumference
subject:
  reference:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.subject.reference
effective: DateTime
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: %resource.repeat(item).where(linkId='obs-headcircumference-newdate').answer.value.toDateTime()
value: Quantity
  value:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: $this.answer.value
  unit:
    v: cm
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: cm

Observation
id:
  v: HeartRateTemplate
status:
  v: final
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/observation-category
      l: observation-category
    code:
      v: vital-signs
code:
  coding: https://loinc.org/rdf/8867-4
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 8867-4
  coding: http://snomed.info/id/364075005
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 364075005
  text:
    v: Heart rate
subject:
  reference:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.subject.reference
effective: DateTime
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: %resource.repeat(item).where(linkId='obs-heartrate-newdate').answer.value.toDateTime()
value: Quantity
  value:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: $this.answer.value.toDecimal()
  unit:
    v: /min
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: /min

Observation
id:
  v: HeartRhythmTemplate
status:
  v: final
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/observation-category
      l: observation-category
    code:
      v: vital-signs
code:
  coding: https://loinc.org/rdf/8884-9
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 8884-9
  coding: http://snomed.info/id/364074009
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 364074009
  text:
    v: Heart rhythm
subject:
  reference:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.subject.reference
effective: DateTime
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: %resource.repeat(item).where(linkId='obs-heartrhythm-newdate').answer.value.toDateTime()
value: CodeableConcept
  coding:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: $this.answer.value

Observation
id:
  v: BloodPressureTemplate
status:
  v: final
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/observation-category
      l: observation-category
    code:
      v: vital-signs
code:
  coding: https://loinc.org/rdf/85354-9
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 85354-9
  coding: http://snomed.info/id/75367002
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 75367002
  text:
    v: Blood pressure
subject:
  reference:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.subject.reference
effective: DateTime
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: %resource.repeat(item).where(linkId='bp-newbp-date').answer.value.toDateTime()
component:
  code:
    coding: https://loinc.org/rdf/8480-6
      system:
        v: http://loinc.org
        l: loinc.org
      code:
        v: 8480-6
    coding: http://snomed.info/id/271649006
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 271649006
    text:
      v: Systolic
  value: Quantity
    value:
      extension:
        value: String
    unit:
      v: mm[Hg]
    system:
      v: http://unitsofmeasure.org
      l: unitsofmeasure.org
    code:
      v: mm[Hg]
component:
  code:
    coding: https://loinc.org/rdf/8462-4
      system:
        v: http://loinc.org
        l: loinc.org
      code:
        v: 8462-4
    coding: http://snomed.info/id/271650006
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 271650006
    text:
      v: Diastolic
  value: Quantity
    value:
      extension:
        value: String
    unit:
      v: mm[Hg]
    system:
      v: http://unitsofmeasure.org
      l: unitsofmeasure.org
    code:
      v: mm[Hg]

String
v: $this.answer.value.toDecimal()

String
v: %resource.repeat(item).where(linkId='bp-newbp-diastolic').answer.value.toDecimal()

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation
  l: sdc-questionnaire-assemble-expectation
value: Code
  v: assemble-child

extension:
  url:
    v: name
    l: name
  value: Coding
    system:
      v: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext
      l: launchContext
    code:
      v: patient
extension:
  url:
    v: type
    l: type
  value: Code
    v: Patient
extension:
  url:
    v: description
    l: description
  value: String
    v: The patient 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: 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: 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: age

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

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

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

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

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

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

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsWaistCircumferenceLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsWaistCircumference.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: ObsHeartRateLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeartRate.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: ObsHeartRhythmLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeartRhythm.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: ObsBodyHeightLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsBodyHeight.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: ObsBodyWeightLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsBodyWeight.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: ObsHeadCircumferenceLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeadCircumference.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: ObsBodyHeightValue
  language:
    v: text/fhirpath
  expression:
    v: %ObsBodyHeightLatest.value.where(exists(system='http://unitsofmeasure.org' and code='cm')).value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsBodyHeightDateString
  language:
    v: text/fhirpath
  expression:
    v: %ObsBodyHeightLatest.effective.toDate().toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsBodyHeightDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %ObsBodyHeightDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBodyHeightDateString.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') + ' ' + %ObsBodyHeightDateString.substring(0,4)

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsBodyWeightValue
  language:
    v: text/fhirpath
  expression:
    v: %ObsBodyWeightLatest.value.where(exists(system='http://unitsofmeasure.org' and code='kg')).value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsBodyWeightDateString
  language:
    v: text/fhirpath
  expression:
    v: %ObsBodyWeightLatest.effective.toDate().toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsBodyWeightDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %ObsBodyWeightDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBodyWeightDateString.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') + ' ' + %ObsBodyWeightDateString.substring(0,4)

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeadCircumferenceValue
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeadCircumferenceLatest.value.where(exists(system='http://unitsofmeasure.org' and code='cm')).value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeadCircumferenceDateString
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeadCircumferenceLatest.effective.toDate().toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeadCircumferenceDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeadCircumferenceDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeadCircumferenceDateString.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') + ' ' + %ObsHeadCircumferenceDateString.substring(0,4)

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsWaistCircumferenceValue
  language:
    v: text/fhirpath
  expression:
    v: %ObsWaistCircumferenceLatest.value.where(exists(system='http://unitsofmeasure.org' and code='cm')).value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsWaistCircumferenceDateString
  language:
    v: text/fhirpath
  expression:
    v: %ObsWaistCircumferenceLatest.effective.toDate().toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsWaistCircumferenceDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %ObsWaistCircumferenceDateString.substring(8,2).toInteger().toString() + ' ' + %ObsWaistCircumferenceDateString.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') + ' ' + %ObsWaistCircumferenceDateString.substring(0,4)

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeartRateValue
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeartRateLatest.value.where(exists(system='http://unitsofmeasure.org' and code='/min')).value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeartRateDateString
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeartRateLatest.effective.toDate().toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeartRateDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeartRateDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeartRateDateString.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') + ' ' + %ObsHeartRateDateString.substring(0,4)

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeartRhythmValue
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeartRhythmLatest.value.coding.where(system='http://snomed.info/sct').first()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeartRhythmDateString
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeartRhythmLatest.effective.toDate().toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsHeartRhythmDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %ObsHeartRhythmDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeartRhythmDateString.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') + ' ' + %ObsHeartRhythmDateString.substring(0,4)

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsBloodPressureValue
  language:
    v: text/fhirpath
  expression:
    v: %ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value.round(0).toString() + ' / ' + %ObsBloodPressureLatest.component.where(code.coding.exists(code='8462-4')).value.value.round(0).toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsBloodPressureDateString
  language:
    v: text/fhirpath
  expression:
    v: %ObsBloodPressureLatest.effective.toDate().toString()

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsBloodPressureDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %ObsBloodPressureDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBloodPressureDateString.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') + ' ' + %ObsBloodPressureDateString.substring(0,4)

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: weight
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='97ed4c86-8820-4e4d-9234-0e0e8b6ca44a').item.where(linkId='obs-weight-newresult').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: height
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='6226a5c5-b5c3-4ebb-a689-2b286322cfe0').item.where(linkId='obs-height-newresult').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: Examination

v: Aboriginal and Torres Strait Islander Health Check - Examination

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.exists()
text:
  v: Examination
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-7').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-7').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-7
  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-7').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-7
  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-7').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-7
  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:
  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 <= 12
  text:
    v: Growth measures recorded on Centers for Disease Control and Prevention (CDC) and World Health Organization (WHO) growth charts for centile and tracking overtime
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  text:
    v: The tabled observations will display the most recent results available from the patient record. New observations may be added.
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: The tabled observations will display the most recent results available from the patient record. New observations may be added.
  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
    text:
      v: Length/Height
    type:
      v: group
    repeats:
      v: false
    item:
      text:
        v: Last result
      type:
        v: display
    item:
      extension:
        value: Expression
      extension:
        value: Boolean
      extension:
        value: Coding
      link id:
        v: obs-lengthheight-lastresult
      type:
        v: decimal
      repeats:
        v: false
    item:
      extension:
        value: Expression
      extension:
        value: Boolean
      link id:
        v: obs-lengthheight-lastdate
      type:
        v: date
      repeats:
        v: false
    item:
      extension:
        value: Coding
      link id:
        v: obs-lengthheight-newresult
      text:
        v: New result
      type:
        v: decimal
      repeats:
        v: false
    item:
      extension:
        value: Expression
      link id:
        v: obs-lengthheight-newdate
      text:
        v: New result date
      type:
        v: date
      repeats:
        v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
        l: sdc-questionnaire-enableWhenExpression
      value: Expression
    text:
      v: Height
    type:
      v: group
    repeats:
      v: false

v: context-display

v: context-display

v: context-display

v: grid

v: text/fhirpath

v: %age <= 5

url:
  v: http://hl7.org/fhir/StructureDefinition/cqf-expression
  l: cqf-expression
value: Expression
  language:
    v: text/fhirpath
  expression:
    v: iif(%ObsBodyHeightValue.exists() and %ObsBodyHeightDateFormatted.exists(), %ObsBodyHeightValue.round(0).toString() + ' cm ( ' + %ObsBodyHeightDateFormatted + ' )', 'Not available')

url:
  v: http://hl7.org/fhir/StructureDefinition/rendering-style
  l: rendering-style
value: String
  v: text-align: left;

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsBodyHeightValue

Boolean
v: true

Coding
system:
  v: http://unitsofmeasure.org
  l: unitsofmeasure.org
code:
  v: cm

Expression
language:
  v: text/fhirpath
expression:
  v: %ObsBodyHeightLatest.effective.toDate()

Boolean
v: true

url:
  v: template
  l: template
value: Reference
  l: BodyHeightLengthTemplate
  reference:
    v: #BodyHeightLengthTemplate

Coding
system:
  v: http://unitsofmeasure.org
  l: unitsofmeasure.org
code:
  v: cm

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: obslengthheight-newresult-unit

v: cm

v: display

Expression
language:
  v: text/fhirpath
expression:
  v: iif(%resource.repeat(item).where(linkId='obs-lengthheight-newresult').answer.value.exists(), today())

v: text/fhirpath

v: %age > 5

text:
  v: Last result
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      l: cqf-expression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: iif(%ObsBodyHeightValue.exists() and %ObsBodyHeightDateFormatted.exists(), %ObsBodyHeightValue.round(0).toString() + ' cm ( ' + %ObsBodyHeightDateFormatted + ' )', 'Not available')
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/rendering-style
      l: rendering-style
    value: String
      v: text-align: left;
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: %ObsBodyHeightValue
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    l: questionnaire-hidden
  value: Boolean
    v: true
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: cm
link id:
  v: obs-height-lastresult
type:
  v: decimal
repeats:
  v: false

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: %ObsBodyHeightLatest.effective.toDate()
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    l: questionnaire-hidden
  value: Boolean
    v: true
link id:
  v: obs-height-lastdate
type:
  v: date
repeats:
  v: false

extension:
  extension:
    url:
      v: template
      l: template
    value: Reference
      l: BodyHeightTemplate
      reference:
        v: #BodyHeightTemplate
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
    l: sdc-questionnaire-templateExtract
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: cm
link id:
  v: obs-height-newresult
text:
  v: New result
type:
  v: decimal
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: obs-height-newresult-unit
  text:
    v: cm
  type:
    v: display

v: unit

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
    l: sdc-questionnaire-calculatedExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: iif(%resource.repeat(item).where(linkId='obs-height-newresult').answer.value.exists(), today())
link id:
  v: obs-height-newdate
text:
  v: New result date
type:
  v: date
repeats:
  v: false

text:
  v: Weight
type:
  v: group
repeats:
  v: false
item:
  text:
    v: Last result
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
        l: cqf-expression
      value: Expression
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-style
        l: rendering-style
      value: String
        v: text-align: left;
  type:
    v: display
item:
  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: %ObsBodyWeightValue
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  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: kg
  link id:
    v: obs-weight-lastresult
  type:
    v: decimal
  repeats:
    v: false
item:
  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: %ObsBodyWeightLatest.effective.toDate()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: obs-weight-lastdate
  type:
    v: date
  repeats:
    v: false
item:
  extension:
    extension:
      url:
        v: template
        l: template
      value: Reference
        l: BodyWeightTemplate
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
      l: sdc-questionnaire-templateExtract
  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: kg
  link id:
    v: obs-weight-newresult
  text:
    v: New result
  type:
    v: decimal
  repeats:
    v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: obs-weight-newresult-unit
    text:
      v: kg
    type:
      v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
      l: sdc-questionnaire-calculatedExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: iif(%resource.repeat(item).where(linkId='obs-weight-newresult').answer.value.exists(), today())
  link id:
    v: obs-weight-newdate
  text:
    v: New result date
  type:
    v: date
  repeats:
    v: false

v: text/fhirpath

v: iif(%ObsBodyWeightValue.exists() and %ObsBodyWeightDateFormatted.exists(), %ObsBodyWeightValue.round(1).toString() + ' kg ( ' + %ObsBodyWeightDateFormatted + ' )', 'Not available')

v: #BodyWeightTemplate

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

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 > 12
text:
  v: BMI (calculated)
type:
  v: group
repeats:
  v: false
item:
  text:
    v: Last result
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
        l: cqf-expression
      value: Expression
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-style
        l: rendering-style
      value: String
        v: text-align: left;
  type:
    v: display
item:
  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: (%ObsBodyWeightValue/((%ObsBodyHeightValue/100).power(2))).round(1)
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  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: kg/m2
  link id:
    v: obs-bmi-lastresult
  type:
    v: decimal
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
      l: sdc-questionnaire-calculatedExpression
    value: Expression
      description:
        v: BMI calculation
      language:
        v: text/fhirpath
      expression:
        v: (%weight/((%height/100).power(2))).round(1)
  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: kg/m2
  link id:
    v: obs-bmi-newresult
  text:
    v: New result
  type:
    v: decimal
  repeats:
    v: false
  read only:
    v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: obs-bmi-newresult-unit
    text:
      v: kg/m2
    type:
      v: display

v: text/fhirpath

v: iif(%ObsBodyWeightValue.exists() and %ObsBodyHeightValue.exists(), (%ObsBodyWeightValue/((%ObsBodyHeightValue/100).power(2))).round(1).toString() + ' kg/m2', 'Not available')

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

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 <= 12
text:
  v: Head circumference
type:
  v: group
repeats:
  v: false
item:
  text:
    v: Last result
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
        l: cqf-expression
      value: Expression
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-style
        l: rendering-style
      value: String
        v: text-align: left;
  type:
    v: display
item:
  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: %ObsHeadCircumferenceValue
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  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: cm
  link id:
    v: obs-headcircumference-lastresult
  type:
    v: decimal
  repeats:
    v: false
item:
  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: %ObsHeadCircumferenceLatest.effective.toDate()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: obs-headcircumference-lastdate
  type:
    v: date
  repeats:
    v: false
item:
  extension:
    extension:
      url:
        v: template
        l: template
      value: Reference
        l: HeadCircumferenceTemplate
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
      l: sdc-questionnaire-templateExtract
  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: cm
  link id:
    v: obs-headcircumference-newresult
  text:
    v: New result
  type:
    v: decimal
  repeats:
    v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: obs-headcircumference-newresult-unit
    text:
      v: cm
    type:
      v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
      l: sdc-questionnaire-calculatedExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: iif(%resource.repeat(item).where(linkId='obs-headcircumference-newresult').answer.value.exists(), today())
  link id:
    v: obs-headcircumference-newdate
  text:
    v: New result date
  type:
    v: date
  repeats:
    v: false

v: text/fhirpath

v: iif(%ObsHeadCircumferenceValue.exists() and %ObsHeadCircumferenceDateFormatted.exists(), %ObsHeadCircumferenceValue.round(0).toString() + ' cm ( ' + %ObsHeadCircumferenceDateFormatted + ' )', 'Not available')

v: #HeadCircumferenceTemplate

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

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 >= 18
text:
  v: Waist circumference
type:
  v: group
repeats:
  v: false
item:
  text:
    v: Last result
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
        l: cqf-expression
      value: Expression
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-style
        l: rendering-style
      value: String
        v: text-align: left;
  type:
    v: display
item:
  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: %ObsWaistCircumferenceValue
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  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: cm
  link id:
    v: obs-waistcircumference-lastresult
  type:
    v: decimal
  repeats:
    v: false
item:
  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: %ObsWaistCircumferenceLatest.effective.toDate()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: obs-waistcircumference-lastdate
  type:
    v: date
  repeats:
    v: false
item:
  extension:
    extension:
      url:
        v: template
        l: template
      value: Reference
        l: WaistCircumferenceTemplate
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
      l: sdc-questionnaire-templateExtract
  link id:
    v: obs-waistcircumference-newresult
  text:
    v: New result
  type:
    v: decimal
  repeats:
    v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: obs-waistcircumference-newresult-unit
    text:
      v: cm
    type:
      v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
      l: sdc-questionnaire-calculatedExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: iif(%resource.repeat(item).where(linkId='obs-waistcircumference-newresult').answer.value.exists(), today())
  link id:
    v: obs-waistcircumference-newdate
  text:
    v: New result date
  type:
    v: date
  repeats:
    v: false

v: text/fhirpath

v: iif(%ObsWaistCircumferenceValue.exists() and %ObsWaistCircumferenceDateFormatted.exists(), %ObsWaistCircumferenceValue.round(0).toString() + ' cm ( ' + %ObsWaistCircumferenceDateFormatted + ' )', 'Not available')

v: #WaistCircumferenceTemplate

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

text:
  v: Heart rate
type:
  v: group
repeats:
  v: false
item:
  text:
    v: Last result
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
        l: cqf-expression
      value: Expression
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-style
        l: rendering-style
      value: String
        v: text-align: left;
  type:
    v: display
item:
  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: %ObsHeartRateValue
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  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: /min
  link id:
    v: obs-heartrate-lastresult
  type:
    v: integer
  repeats:
    v: false
item:
  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: %ObsHeartRateLatest.effective.toDate()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: obs-heartrate-lastdate
  type:
    v: date
  repeats:
    v: false
item:
  extension:
    extension:
      url:
        v: template
        l: template
      value: Reference
        l: HeartRateTemplate
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
      l: sdc-questionnaire-templateExtract
  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: /min
  link id:
    v: obs-heartrate-newresult
  text:
    v: New result
  type:
    v: integer
  repeats:
    v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: obs-heartrate-newresult-unit
    text:
      v: /min
    type:
      v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
      l: sdc-questionnaire-calculatedExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: iif(%resource.repeat(item).where(linkId='obs-heartrate-newresult').answer.value.exists(), today())
  link id:
    v: obs-heartrate-newdate
  text:
    v: New result date
  type:
    v: date
  repeats:
    v: false

v: text/fhirpath

v: iif(%ObsHeartRateValue.exists() and %ObsHeartRateDateFormatted.exists(), %ObsHeartRateValue.round(0).toString() + ' /min ( ' + %ObsHeartRateDateFormatted + ' )', 'Not available')

v: #HeartRateTemplate

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

text:
  v: Heart rhythm
type:
  v: group
repeats:
  v: false
item:
  text:
    v: Last result
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
        l: cqf-expression
      value: Expression
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-style
        l: rendering-style
      value: String
        v: text-align: left;
  type:
    v: display
item:
  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: %ObsHeartRhythmValue
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: obs-heartrhythm-lastresult
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #heart-rhythm-1
    l: heart-rhythm-1
item:
  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: %ObsHeartRhythmLatest.effective.toDate()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: obs-heartrhythm-lastdate
  type:
    v: date
  repeats:
    v: false
item:
  extension:
    extension:
      url:
        v: template
        l: template
      value: Reference
        l: HeartRhythmTemplate
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
      l: sdc-questionnaire-templateExtract
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: obs-heartrhythm-newresult
  text:
    v: New result
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #heart-rhythm-1
    l: heart-rhythm-1
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
      l: sdc-questionnaire-calculatedExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: iif(%resource.repeat(item).where(linkId='obs-heartrhythm-newresult').answer.value.exists(), today())
  link id:
    v: obs-heartrhythm-newdate
  text:
    v: New result date
  type:
    v: date
  repeats:
    v: false

v: text/fhirpath

v: iif(%ObsHeartRhythmValue.exists() and %ObsHeartRhythmDateFormatted.exists(), %ObsHeartRhythmValue.display + ' ( ' + %ObsHeartRhythmDateFormatted + ' )', 'Not available')

v: #HeartRhythmTemplate

v: radio-button

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 > 12
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: grid
text:
  v: Blood pressure
  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: Blood pressure
  type:
    v: group
  repeats:
    v: false
  item:
    link id:
      v: bp-bp-lastresult
    text:
      v: Last result
      extension:
        value: Expression
      extension:
        value: String
    type:
      v: display
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
        l: questionnaire-hidden
      value: Boolean
        v: true
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
        l: questionnaire-unit
      value: Coding
    link id:
      v: bp-lastbp-systolic
    type:
      v: integer
    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: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
        l: questionnaire-hidden
      value: Boolean
        v: true
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
        l: questionnaire-unit
      value: Coding
    link id:
      v: bp-lastbp-diastolic
    type:
      v: integer
    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: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
        l: questionnaire-hidden
      value: Boolean
        v: true
    link id:
      v: bp-lastbp-date
    type:
      v: date
    repeats:
      v: false
  item:
    extension:
      extension:
        value: Reference
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
        l: sdc-questionnaire-templateExtract
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
        l: questionnaire-unit
      value: Coding
    link id:
      v: bp-newbp-systolic
    text:
      v: Systolic
    type:
      v: integer
    repeats:
      v: false
    item:
      extension:
        value: CodeableConcept
      link id:
        v: bp-newbp-systolic-unit
      text:
        v: mm Hg
      type:
        v: display
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
        l: questionnaire-unit
      value: Coding
    link id:
      v: bp-newbp-diastolic
    text:
      v: Diastolic
    type:
      v: integer
    repeats:
      v: false
    item:
      extension:
        value: CodeableConcept
      link id:
        v: bp-newbp-diastolic-unit
      text:
        v: mm Hg
      type:
        v: display
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
        l: sdc-questionnaire-calculatedExpression
      value: Expression
    link id:
      v: bp-newbp-date
    text:
      v: Date performed
    type:
      v: date
    repeats:
      v: false

Expression
language:
  v: text/fhirpath
expression:
  v: iif(%ObsBloodPressureValue.exists() and %ObsBloodPressureDateFormatted.exists(), %ObsBloodPressureValue + ' mm Hg ( ' + %ObsBloodPressureDateFormatted + ' )', 'Not available')

String
v: text-align: left;

v: text/fhirpath

v: %ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value.round(0)

v: mm[Hg]

v: text/fhirpath

v: %ObsBloodPressureLatest.component.where(code.coding.exists(code='8462-4')).value.value.round(0)

v: mm[Hg]

v: text/fhirpath

v: %ObsBloodPressureLatest.effective.toDate()

v: template
l: template

Reference
l: BloodPressureTemplate
reference:
  v: #BloodPressureTemplate

v: mm[Hg]

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

v: mm[Hg]

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

v: text/fhirpath

v: iif(%resource.repeat(item).where(linkId='bp-newbp-systolic').answer.value.exists() or %resource.repeat(item).where(linkId='bp-newbp-diastolic').answer.value.exists(), today())

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 <= 12
text:
  v: Cardiac auscultation
type:
  v: text
repeats:
  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: %age <= 12
text:
  v: Abdominal examination
type:
  v: text
repeats:
  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: %age <= 12
text:
  v: Gait examination (musculoskeletal structure, balance, coordination)
type:
  v: text
repeats:
  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: %age < 1
text:
  v: Newborn examination (if indicated, infant aged <=6 weeks)
type:
  v: text
repeats:
  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: %age <= 12
text:
  v: Haemoglobin (children at risk of iron deficiency anaemia)
type:
  v: string
repeats:
  v: false

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

link id:
  v: examination-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-7
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