GPChronicConditionManagementPlan
type: Questionnaire
node role: treeRoot
id:
  v: GPChronicConditionManagementPlan
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-pop-exp
    l: sdc-questionnaire-pop-exp
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: Questionnaire GPChronicConditionManagementPlan Profiles: Advanced Rendering Questionnaire, Populatable Questionnaire - Expression Structure LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> GPChronicConditionManagementPlan GP Chronic Condition Management Plan Questionnaire http://www.health.gov.au/assessments/GPChronicConditionManagementPlan#0.1.0 #xD; container null 0..1 group #xD; instructions This GP Chronic Condition Management Plan has been prefilled with information that was available from the patient's health record. Upon saving this form, the form will be stored but additional information entered will not be used to update the patient's health record. 0..1 display #xD; patient Patient details 0..1 group #xD; patient-name Name 0..1 string #xD; patient-preferredname Preferred name 0..1 string #xD; patient-preferredpronouns Preferred pronouns 0..1 choice Value Set: Australian Pronouns #xD; patient-dob Date of birth 0..1 date #xD; patient-age Age 0..1 integer #xD; patient-sexatbirth Sex assigned at birth 0..1 choice Value Set: Biological Sex #xD; patient-genderidentity Gender identity 0..1 choice Value Set: Gender Identity Response #xD; patient-firstnationsstatus Aboriginal and/or Torres Strait Islander status 0..1 choice Value Set: Australian Indigenous Status #xD; patient-ctg Registered for Closing the Gap PBS Co-payment Measure (CTG) 0..1 boolean #xD; patient-myagedcare My Aged Care 0..1 group #xD; patient-myagedcare-registered Registered for My Aged Care 0..1 choice Value Set: Yes/No/NA #xD; patient-myagedcare-number My Aged Care Number 0..1 string Enable When: patient-myagedcare-registered = #xD; patient-ndis National Disability Insurance Scheme 0..1 group #xD; patient-ndis-registered Registered for NDIS 0..1 choice Value Set: Yes/No/NA #xD; patient-ndis-number NDIS Number 0..1 string Enable When: patient-ndis-registered = #xD; patient-medicare Medicare number …
contained: ValueSet
  id:
    v: YesNoNA
  url:
    v: https://gpccmp.csiro.au/ig/ValueSet/YesNoNA
    l: YesNoNA
  name:
    v: YesNoNA
  title:
    v: Yes/No/NA
  status:
    v: draft
  experimental:
    v: false
  description:
    v: Concepts for Yes, No and Not applicable
  compose:
    include:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      version:
        v: 2.0.0
  expansion:
    timestamp:
      v: 2025-12-11T11:44:01+10:00
    total:
      v: 3
    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: used-codesystem
      value: Uri
        v: http://terminology.hl7.org/CodeSystem/v2-0532|2.0.0
        l: http://terminology.hl7.org/CodeSystem/v2-0532
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      code:
        v: Y
      display:
        v: Yes
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      code:
        v: N
      display:
        v: No
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      code:
        v: NA
      display:
        v: not applicable
extension:
  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. This is the subject of the form.
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
    l: sdc-questionnaire-launchContext
extension:
  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. This is the user that is filling out the form.
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
    l: sdc-questionnaire-launchContext
extension:
  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. This is the encounter during which the form is being filled out.
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
    l: sdc-questionnaire-launchContext
extension:
  extension:
    url:
      v: name
      l: name
    value: Coding
      system:
        v: https://gpccmp.csiro.au/ig/CodeSystem/LaunchContextExtended
        l: LaunchContextExtended
      code:
        v: gpccmppractitionerrole
  extension:
    url:
      v: type
      l: type
    value: Code
      v: PractitionerRole
  extension:
    url:
      v: description
      l: description
    value: String
      v: The practitioner role that is to be used to pre-populate the form. This is the practitioner role of the user that is filling out the form.
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
    l: sdc-questionnaire-launchContext

v: Y

v: Yes

v: N

v: No

v: NA

v: not applicable

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: GPCCMPLatest
  language:
    v: application/x-fhir-query

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: GPCCMPLatestCompleted
  language:
    v: application/x-fhir-query

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: PractitionerRole
  language:
    v: application/x-fhir-query
  expression:
    v: PractitionerRole?practitioner={{%user.id}}

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: Condition
  language:
    v: application/x-fhir-query
  expression:
    v: Condition?patient={{%patient.id}}&category=http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: AllergyIntolerance
  language:
    v: application/x-fhir-query
  expression:
    v: AllergyIntolerance?patient={{%patient.id}}

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: MedicationStatement
  language:
    v: application/x-fhir-query
  expression:
    v: MedicationStatement?patient={{%patient.id}}&status=active&_include=MedicationStatement:medication

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: 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: ObsOxygenSaturation
  language:
    v: application/x-fhir-query
  expression:
    v: Observation?code=2708-6&_sort=-date&patient={{%patient.id}}

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

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

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

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

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

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: medicationsFromContained
  language:
    v: text/fhirpath
  expression:
    v: %MedicationStatement.entry.resource.contained.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('#', '')))

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: medicationsFromRef
  language:
    v: text/fhirpath
  expression:
    v: %MedicationStatement.entry.resource.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('Medication/', '')))

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: 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: ObsOxygenSaturationLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsOxygenSaturation.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: ObsBloodPressureLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsBloodPressure.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: ObsSmokingStatusLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsSmokingStatus.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()

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.1.0

v: GPChronicConditionManagementPlan

v: GP Chronic Condition Management Plan

v: draft

v: false

v: Patient

v: 2025-12-05

v: AEHRC CSIRO

name:
  v: AEHRC CSIRO
telecom:
  system:
    v: url
  value:
    v: http://example.org/example-publisher

v: GP Chronic Condition Management Plan

link id:
  v: container
type:
  v: group
repeats:
  v: false
item:
  link id:
    v: instructions
  text:
    v: This GP Chronic Condition Management Plan has been prefilled with information that was available from the patient's health record. Upon saving this form, the form will be stored but additional information entered will not be used to update the patient's health record.
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: This GP Chronic Condition Management Plan has been prefilled with information that was available from the patient's health record. Upon saving this form, the form will be stored but additional information entered will not be used to update the patient's health record.
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
      l: sdc-questionnaire-collapsible
    value: Code
      v: default-closed
  link id:
    v: patient
  text:
    v: Patient details
  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
    link id:
      v: patient-name
    text:
      v: Name
    type:
      v: string
    repeats:
      v: false
    read only:
      v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: patient-preferredname
    text:
      v: Preferred name
    type:
      v: string
    repeats:
      v: false
    read only:
      v: true
  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-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: patient-preferredpronouns
    text:
      v: Preferred pronouns
    type:
      v: choice
    repeats:
      v: false
    read only:
      v: true
    answer value set:
      v: https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1
      l: australian-pronouns-1
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: patient-dob
    text:
      v: Date of birth
    type:
      v: date
    repeats:
      v: false
    read only:
      v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: patient-age
    text:
      v: Age
    type:
      v: integer
    repeats:
      v: false
    read only:
      v: true
  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-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: patient-sexatbirth
    text:
      v: Sex assigned at birth
    type:
      v: choice
    repeats:
      v: false
    read only:
      v: true
    answer value set:
      v: https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1
      l: biological-sex-1
  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-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: patient-genderidentity
    text:
      v: Gender identity
    type:
      v: choice
    repeats:
      v: false
    read only:
      v: true
    answer value set:
      v: https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1
      l: gender-identity-response-1
  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-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: patient-firstnationsstatus
    text:
      v: Aboriginal and/or Torres Strait Islander status
    type:
      v: choice
    repeats:
      v: false
    read only:
      v: true
    answer value set:
      v: https://healthterminologies.gov.au/fhir/ValueSet/australian-indigenous-status-1
      l: australian-indigenous-status-1
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: patient-ctg

v: text/fhirpath

v: (%patient.name.where(use='official').select((given.join(' ') | family).join(' ') | text) | %patient.name.select((given.join(' ') | family).join(' ') | text)).first()

v: text/fhirpath

v: (%patient.name.where(use='usual').select((given.join(' ') | family).join(' ') | text)).first()

v: text/fhirpath

v: %patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-pronouns') and extension.where(url='period').value.end.empty()).extension.where(url='value').value.coding

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

v: text/fhirpath

v: %patient.birthDate

v: text/fhirpath

v: iif(today().toString().select(substring(5,2) & substring(8,2)).toInteger() > %patient.birthDate.toString().select(substring(5,2) & substring(8,2)).toInteger(), today().toString().substring(0,4).toInteger() - %patient.birthDate.toString().substring(0,4).toInteger(), today().toString().substring(0,4).toInteger() - %patient.birthDate.toString().substring(0,4).toInteger() - 1)

v: text/fhirpath

v: %patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender' and extension.where(exists(url='type' and value.coding.code='1515311000168102')) and extension.where(url='effectivePeriod').value.end.empty())).extension.where(url='value').value.coding

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

v: text/fhirpath

v: %patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-genderIdentity') and extension.where(url='period').value.end.empty()).extension.where(url='value').value.coding

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

v: text/fhirpath

v: %patient.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/indigenous-status').value

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

v: text/fhirpath

v: %patient.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration').value

v: Registered for Closing the Gap PBS Co-payment Measure (CTG)

v: boolean

v: false

v: true

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 >= 50
link id:
  v: patient-myagedcare
text:
  v: My Aged Care
type:
  v: group
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: patient-myagedcare-registered
  text:
    v: Registered for My Aged Care
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  link id:
    v: patient-myagedcare-number
  text:
    v: My Aged Care Number
  type:
    v: string
  enable when:
    question:
      v: patient-myagedcare-registered
    operator:
      v: =
    answer: Coding
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0136
        l: v2-0136
      code:
        v: Y
  repeats:
    v: false

v: radio-button

link id:
  v: patient-ndis
text:
  v: National Disability Insurance Scheme
type:
  v: group
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: patient-ndis-registered
  text:
    v: Registered for NDIS
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  link id:
    v: patient-ndis-number
  text:
    v: NDIS Number
  type:
    v: string
  enable when:
    question:
      v: patient-ndis-registered
    operator:
      v: =
    answer: Coding
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0136
        l: v2-0136
      code:
        v: Y
  repeats:
    v: false

v: radio-button

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
    l: sdc-questionnaire-itemPopulationContext
  value: Expression
    name:
      v: MedicareNumberArray
    language:
      v: text/fhirpath
    expression:
      v: %patient.identifier.where(type.coding.exists(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='MC'))
link id:
  v: patient-medicare
text:
  v: Medicare number
type:
  v: group
repeats:
  v: true
read only:
  v: true
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: %MedicareNumberArray.value.substring(0,10)
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
      l: regex
    value: String
      v: matches('^[0-9]{10}$')
  link id:
    v: patient-medicare-number
  text:
    v: Number
  type:
    v: string
  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: %MedicareNumberArray.value.substring(10,1)
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
      l: regex
    value: String
      v: matches('^[0-9]{1}$')
  link id:
    v: patient-medicare-referencenumber
  text:
    v: Reference number
  type:
    v: string
  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: %MedicareNumberArray.period.end.toString()
  link id:
    v: patient-medicare-expiry
  text:
    v: Expiry
  type:
    v: string
  repeats:
    v: false

link id:
  v: patient-contact
text:
  v: Contact information
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
      language:
        v: text/fhirpath
      expression:
        v: %patient.telecom.where(all(system = 'email' and (use.empty() or use = 'home'))).value
  link id:
    v: patient-contact-email
  text:
    v: Email
  type:
    v: string
  repeats:
    v: true
  read only:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
      l: sdc-questionnaire-itemPopulationContext
    value: Expression
      name:
        v: HomeAddressArray
      language:
        v: text/fhirpath
      expression:
        v: %patient.address.where(all(use='home' and (type.empty() or type!='postal')))
  link id:
    v: patient-contact-homeaddress
  text:
    v: Home address
  type:
    v: group
  repeats:
    v: false
  read only:
    v: true
  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-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: patient-contact-homeaddress-nofixedaddress
    text:
      v: No fixed address
    type:
      v: boolean
    repeats:
      v: false
  item:
    link id:
      v: patient-contact-homeaddress-details
    text:
      v: Home address
      extension:
        value: Boolean
    type:
      v: group
    enable when:
      question:
        v: patient-contact-homeaddress-nofixedaddress
      operator:
        v: !=
      answer: Boolean
        v: true
    repeats:
      v: true
    item:
      extension:
        value: Expression
      link id:
        v: patient-contact-homeaddress-details-streetaddress
      text:
        v: Street address
      type:
        v: string
      repeats:
        v: false
    item:
      extension:
        value: Expression
      link id:
        v: patient-contact-homeaddress-details-city
      text:
        v: City
      type:
        v: string
      repeats:
        v: false
    item:
      extension:
        value: Expression
      extension:
        value: CodeableConcept
      link id:
        v: patient-contact-homeaddress-details-state
      text:
        v: State
      type:
        v: choice
      repeats:
        v: false
      answer value set:
        v: https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2
        l: australian-states-territories-2
    item:
      extension:
        value: Expression
      extension:
        value: String
      extension:
        value: String
      link id:
        v: patient-contact-homeaddress-details-postcode
      text:
        v: Postcode
      type:
        v: string
      repeats:
        v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
      l: sdc-questionnaire-itemPopulationContext
    value: Expression
      name:
        v: PostalAddressArray
      language:
        v: text/fhirpath
      expression:
        v: %patient.address.where(type='postal')
  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: %PostalAddressArray.exists()
  link id:
    v: patient-contact-postaladdress
  text:
    v: Postal address
  type:
    v: group
  repeats:
    v: true
  read only:
    v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: patient-contact-postaladdress-purpose
    text:
      v: Purpose of use
    type:
      v: string
    repeats:
      v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: patient-contact-postaladdress-streetaddress
    text:
      v: Street address
    type:
      v: string
    repeats:
      v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression

v: text/fhirpath

v: %HomeAddressArray.extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').value

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

Boolean
v: true

Expression
language:
  v: text/fhirpath
expression:
  v: %HomeAddressArray.select(line.join(', '))

Expression
language:
  v: text/fhirpath
expression:
  v: %HomeAddressArray.city

Expression
language:
  v: text/fhirpath
expression:
  v: %HomeAddressArray.state

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

Expression
language:
  v: text/fhirpath
expression:
  v: %HomeAddressArray.postalCode

String
v: matches('^[0-9]{4}$')

String
v: ####

v: text/fhirpath

v: %PostalAddressArray.use

v: text/fhirpath

v: %PostalAddressArray.select(line.join(', '))

Expression
language:
  v: text/fhirpath
expression:
  v: %PostalAddressArray.city

v: patient-contact-postaladdress-city

v: City

v: string

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: %PostalAddressArray.state
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: drop-down
link id:
  v: patient-contact-postaladdress-state
text:
  v: State
type:
  v: choice
repeats:
  v: false
answer value set:
  v: https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2
  l: australian-states-territories-2

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: %PostalAddressArray.postalCode
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/regex
    l: regex
  value: String
    v: matches('^[0-9]{4}$')
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/entryFormat
    l: entryFormat
  value: String
    v: ####
link id:
  v: patient-contact-postaladdress-postcode
text:
  v: Postcode
type:
  v: string
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: %patient.telecom.where(system = 'phone' and use = 'home').value
link id:
  v: patient-contact-homephone
text:
  v: Home phone
type:
  v: string
repeats:
  v: true
read only:
  v: true

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: %patient.telecom.where(system = 'phone' and use = 'mobile').value
link id:
  v: patient-contact-mobilephone
text:
  v: Mobile phone
type:
  v: string
repeats:
  v: true
read only:
  v: true

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
    l: sdc-questionnaire-itemPopulationContext
  value: Expression
    name:
      v: EmergencyContactArray
    language:
      v: text/fhirpath
    expression:
      v: %patient.contact.where(relationship.coding.exists(code = 'C'))
link id:
  v: patient-contact-emergencycontact
text:
  v: Emergency contact
type:
  v: group
repeats:
  v: true
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: %EmergencyContactArray.name.select((given.join(' ') | family).join(' ') | text)
  link id:
    v: patient-contact-emergencycontact-name
  text:
    v: Name
  type:
    v: string
  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: %EmergencyContactArray.telecom.value
  link id:
    v: patient-contact-emergencycontact-phone
  text:
    v: Phone
  type:
    v: string
  repeats:
    v: true
item:
  link id:
    v: patient-contact-emergencycontact-relationship
  text:
    v: Personal relationship to patient (e.g. parent, child, friend)
  type:
    v: string
  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: %patient.telecom.where(system = 'phone' and use = 'mobile').value
link id:
  v: patient-contact-additionalinformation
text:
  v: Additional contact information
type:
  v: text
repeats:
  v: false

link id:
  v: patient-carerdetails
text:
  v: Carer information
type:
  v: group
repeats:
  v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: patient-carerinformation-hascarer
  text:
    v: Do you have a carer?
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  link id:
    v: patient-carerinformation-details
  text:
    v: Details
  type:
    v: text
  enable when:
    question:
      v: patient-carerinformation-hascarer
    operator:
      v: =
    answer: Coding
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0136
        l: v2-0136
      code:
        v: Y
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: patient-carerinformation-present
  text:
    v: Carer present at appointment
  type:
    v: choice
  enable when:
    question:
      v: patient-carerinformation-hascarer
    operator:
      v: =
    answer: Coding
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0136
        l: v2-0136
      code:
        v: Y
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA

v: radio-button

v: radio-button

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
    l: sdc-questionnaire-collapsible
  value: Code
    v: default-closed
link id:
  v: practitioner
text:
  v: Practitioner details
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
      language:
        v: text/fhirpath
      expression:
        v: (%user.name.where(use='official').select((given.join(' ') | family).join(' ') | text) | %user.name.select((given.join(' ') | family).join(' ') | text)).first()
  link id:
    v: practitioner-name
  text:
    v: Name
  type:
    v: string
  repeats:
    v: false
  read only:
    v: true
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: %PractitionerRole.entry.resource.telecom.where(system = 'phone').value
  link id:
    v: practitioner-phone
  text:
    v: Phone
  type:
    v: string
  repeats:
    v: true
  read only:
    v: true
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: %PractitionerRole.entry.resource.telecom.where(system = 'email').value
  link id:
    v: practitioner-email
  text:
    v: Email
  type:
    v: string
  repeats:
    v: true
  read only:
    v: true
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: %PractitionerRole.entry.resource.identifier.where(system = 'http://ns.electronichealth.net.au/id/medicare-provider-number').value
  link id:
    v: practitioner-providernumber
  text:
    v: Provider number
  type:
    v: string
  repeats:
    v: true
  read only:
    v: true

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
    l: sdc-questionnaire-collapsible
  value: Code
    v: default-closed
link id:
  v: clinicalhistory
text:
  v: Clinical history summary
type:
  v: group
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
      l: sdc-questionnaire-collapsible
    value: Code
      v: default-open
  extension:
    url:
      v: https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton
      l: GroupHideAddItemButton
    value: Boolean
      v: true
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
      l: sdc-questionnaire-itemPopulationContext
    value: Expression
      name:
        v: ConditionArray
      language:
        v: text/fhirpath
      expression:
        v: %Condition.entry.resource.where(verificationStatus.coding.all(code.empty() or code='confirmed'))
  link id:
    v: clinicalhistory-problemsdiagnoses
  text:
    v: Problems/Diagnoses
  type:
    v: group
  repeats:
    v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
        l: sdc-questionnaire-width
      value: Quantity
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: clinicalhistory-problemsdiagnoses-condition
    text:
      v: Condition
    type:
      v: open-choice
    repeats:
      v: false
    read only:
      v: true
    answer value set:
      v: https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1
      l: clinical-condition-1
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: clinicalhistory-problemsdiagnoses-clinicalstatus
    text:
      v: Clinical status
    type:
      v: choice
    repeats:
      v: false
    read only:
      v: true
    answer value set:
      v: http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
      l: http://hl7.org/fhir/ValueSet/condition-clinical
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: clinicalhistory-problemsdiagnoses-onsetdate
    text:
      v: Onset date
    type:
      v: date
    repeats:
      v: false
    read only:
      v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: clinicalhistory-problemsdiagnoses-abatementdate
    text:
      v: Abatement date
    type:
      v: date
    repeats:
      v: false
    read only:
      v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
      l: sdc-questionnaire-collapsible
    value: Code
      v: default-open
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
      l: sdc-questionnaire-itemPopulationContext
    value: Expression
      name:
        v: AllergyIntoleranceArray
      language:
        v: text/fhirpath
      expression:
        v: %AllergyIntolerance.entry.resource.where(clinicalStatus.coding.exists(code='active')).where(verificationStatus.coding.all(code.empty() or code='confirmed'))
  extension:
    url:
      v: https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton
      l: GroupHideAddItemButton
    value: Boolean
      v: true
  link id:
    v: clinicalhistory-allergy
  text:
    v: Adverse reaction risk summary
  type:
    v: group
  repeats:
    v: true
  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-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: clinicalhistory-allergy-substance
    text:
      v: Substance
    type:
      v: open-choice
    repeats:
      v: false
    read only:
      v: true
    answer value set:
      v: https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1
      l: adverse-reaction-agent-1
  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-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept

v: gtable

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

v: 40

v: %

v: text/fhirpath

v: %ConditionArray.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())

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

v: text/fhirpath

v: %ConditionArray.clinicalStatus.coding

v: text/fhirpath

v: %ConditionArray.onset.ofType(dateTime).toDate()

v: text/fhirpath

v: %ConditionArray.abatement.ofType(dateTime).toDate()

v: text/fhirpath

v: %AllergyIntoleranceArray.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())

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

v: text/fhirpath

v: %AllergyIntoleranceArray.reaction.manifestation.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())

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

v: clinicalhistory-allergy-manifestation

v: Manifestation

v: open-choice

v: true

v: true

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: %AllergyIntoleranceArray.note[0].text
link id:
  v: clinicalhistory-allergy-comment
text:
  v: Comment
type:
  v: text
repeats:
  v: false
read only:
  v: true

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
    l: sdc-questionnaire-collapsible
  value: Code
    v: default-open
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
    l: sdc-questionnaire-itemPopulationContext
  value: Expression
    name:
      v: MedicationStatementArray
    language:
      v: text/fhirpath
    expression:
      v: %MedicationStatement.entry.resource.ofType(MedicationStatement)
extension:
  url:
    v: https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton
    l: GroupHideAddItemButton
  value: Boolean
    v: true
link id:
  v: clinicalhistory-medications
text:
  v: Current medications
type:
  v: group
repeats:
  v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  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: iif(%MedicationStatementArray.medication.reference.replace('#', '') in %medicationsFromContained.id, %medicationsFromContained.where(id = %MedicationStatementArray.medication.reference.replace('#', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()), iif(%MedicationStatementArray.medication.reference.replace('Medication/', '') in %medicationsFromRef.id , %medicationsFromRef.where(id = %MedicationStatementArray.medication.reference.replace('Medication/', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()), %MedicationStatementArray.medication.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())))
  link id:
    v: clinicalhistory-medications-medication
  text:
    v: Medication
  type:
    v: open-choice
  repeats:
    v: false
  read only:
    v: true
  answer value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1
    l: australian-medication-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: %MedicationStatementArray.dosage.text
  link id:
    v: clinicalhistory-medications-dosage
  text:
    v: Dosage
  type:
    v: text
  repeats:
    v: false
  read only:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  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: %MedicationStatementArray.reasonCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())
  link id:
    v: clinicalhistory-medications-clinicalindication
  text:
    v: Clinical indication
  type:
    v: open-choice
  repeats:
    v: true
  read only:
    v: true
  answer value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1
    l: medication-reason-taken-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: %MedicationStatementArray.note.text
  link id:
    v: clinicalhistory-medications-comment
  text:
    v: Comment
  type:
    v: text
  repeats:
    v: false
  read only:
    v: true

v: autocomplete

v: autocomplete

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
    l: sdc-questionnaire-collapsible
  value: Code
    v: default-open
link id:
  v: clinicalhistory-observations
text:
  v: Observations summary
type:
  v: group
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: clinicalhistory-observations-maingrid
  type:
    v: group
  repeats:
    v: false
  read only:
    v: true
  item:
    link id:
      v: clinicalhistory-observations-maingrid-height
    text:
      v: Height
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      extension:
        value: Coding
      link id:
        v: clinicalhistory-observations-maingrid-height-value
      text:
        v: Value
      type:
        v: decimal
      repeats:
        v: false
    item:
      extension:
        value: Expression
      link id:
        v: clinicalhistory-observations-maingrid-height-date
      text:
        v: Date performed
      type:
        v: date
      repeats:
        v: false
  item:
    link id:
      v: clinicalhistory-observations-maingrid-weight
    text:
      v: Weight
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      extension:
        value: Coding
      link id:
        v: clinicalhistory-observations-maingrid-weight-value
      text:
        v: Value
      type:
        v: decimal
      repeats:
        v: false
    item:
      extension:
        value: Expression
      link id:
        v: clinicalhistory-observations-maingrid-weight-date
      text:
        v: Date performed
      type:
        v: date
      repeats:
        v: false
  item:
    link id:
      v: clinicalhistory-observations-maingrid-bmi
    text:
      v: BMI
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      extension:
        value: Coding
      link id:
        v: clinicalhistory-observations-maingrid-bmi-value
      text:
        v: Value
      type:
        v: decimal
      repeats:
        v: false
      read only:
        v: true
  item:
    link id:
      v: clinicalhistory-observations-maingrid-waistcircumference
    text:
      v: Waist circumference
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      extension:
        value: Coding
      link id:
        v: clinicalhistory-observations-maingrid-waistcircumference-value
      text:
        v: Value
      type:
        v: decimal
      repeats:
        v: false
    item:
      extension:
        value: Expression
      link id:
        v: clinicalhistory-observations-maingrid-waistcircumference-date
      text:
        v: Date performed
      type:
        v: date
      repeats:
        v: false
  item:
    link id:
      v: clinicalhistory-observations-maingrid-heartrate
    text:
      v: Heart rate
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: Expression
      extension:
        value: Coding
      link id:
        v: clinicalhistory-observations-maingrid-heartrate-value
      text:
        v: Value
      type:
        v: integer
      repeats:
        v: false
    item:
      extension:
        value: Expression
      link id:
        v: clinicalhistory-observations-maingrid-heartrate-date
      text:
        v: Date performed
      type:
        v: date
      repeats:
        v: false
  item:
    link id:
      v: clinicalhistory-observations-maingrid-heartrhythm
    text:
      v: Heart rhythm
    type:
      v: group
    repeats:
      v: false
    item:
      extension:
        value: CodeableConcept
      extension:
        value: Expression
      link id:
        v: clinicalhistory-observations-maingrid-heartrhythm-value
      text:
        v: Value
      type:
        v: choice

v: grid

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

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: clinicalhistory-observations-maingrid-height-value-unit

v: cm

v: display

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

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

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

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: clinicalhistory-observations-maingrid-weight-value-unit

v: kg

v: display

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

Expression
description:
  v: BMI calculation
language:
  v: text/fhirpath
expression:
  v: (%weight/((%height/100).power(2))).round(1)

Coding
system:
  v: http://unitsofmeasure.org
  l: unitsofmeasure.org
code:
  v: kg/m2

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: clinicalhistory-observations-maingrid-bmi-value-unit

v: kg/m2

v: display

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

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: clinicalhistory-observations-maingrid-waistcircumference-value-unit

v: cm

v: display

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

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

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

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: clinicalhistory-observations-maingrid-heartrate-value-unit

v: /min

v: display

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

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

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

v: false

value: Coding
  type: http://snomed.info/id/933506231000036108
  system:
    v: http://snomed.info/sct
    l: sct
  code:
    v: 933506231000036108
  display:
    v: Regular heart rhythm

value: Coding
  type: http://snomed.info/id/361137007
  system:
    v: http://snomed.info/sct
    l: sct
  code:
    v: 361137007
  display:
    v: Irregular heart rhythm

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
link id:
  v: clinicalhistory-observations-maingrid-heartrhythm-date
text:
  v: Date performed
type:
  v: date
repeats:
  v: false

link id:
  v: clinicalhistory-observations-maingrid-oxygensaturation
text:
  v: Arterial oxygen saturation
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
      language:
        v: text/fhirpath
      expression:
        v: %ObsOxygenSaturationLatest.value.value
  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: %
  link id:
    v: clinicalhistory-observations-maingrid-oxygensaturation-value
  text:
    v: Value
  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: clinicalhistory-observations-maingrid-oxygensaturation-value-unit
    text:
      v: %
    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: %ObsOxygenSaturationLatest.effective
  link id:
    v: clinicalhistory-observations-maingrid-oxygensaturation-date
  text:
    v: Date performed
  type:
    v: date
  repeats:
    v: false

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

link id:
  v: clinicalhistory-observations-maingrid-smokingstatus
text:
  v: Smoking status
type:
  v: group
repeats:
  v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  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: %ObsSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()
  link id:
    v: clinicalhistory-observations-maingrid-smokingstatus-value
  text:
    v: Value
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/smoking-status-1
    l: smoking-status-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: %ObsSmokingStatusLatest.effective
  link id:
    v: clinicalhistory-observations-maingrid-smokingstatus-date
  text:
    v: Date performed
  type:
    v: date
  repeats:
    v: false

v: drop-down

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
link id:
  v: clinicalhistory-observations-bpgrid
type:
  v: group
repeats:
  v: false
read only:
  v: true
item:
  link id:
    v: clinicalhistory-observations-bpgrid-bloodpressure
  text:
    v: Blood pressure
  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: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
        l: questionnaire-unit
      value: Coding
    link id:
      v: clinicalhistory-observations-bpgrid-bloodpressure-systolic
    text:
      v: Systolic
    type:
      v: integer
    repeats:
      v: false
    item:
      extension:
        value: CodeableConcept
      link id:
        v: clinicalhistory-observations-bpgrid-bloodpressure-systolic-unit
      text:
        v: mm Hg
      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-unit
        l: questionnaire-unit
      value: Coding
    link id:
      v: clinicalhistory-observations-bpgrid-bloodpressure-diastolic
    text:
      v: Diastolic
    type:
      v: integer
    repeats:
      v: false
    item:
      extension:
        value: CodeableConcept
      link id:
        v: clinicalhistory-observations-bpgrid-bloodpressure-diastolic-unit
      text:
        v: mm Hg
      type:
        v: display
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    link id:
      v: clinicalhistory-observations-bpgrid-bloodpressure-date
    text:
      v: Date performed
    type:
      v: date
    repeats:
      v: false

v: text/fhirpath

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

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: %ObsBloodPressureLatest.component.where(code.coding.exists(code='8462-4')).value.value

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: %ObsBloodPressureLatest.effective

link id:
  v: plandetails
text:
  v: Management plan details
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
      language:
        v: text/fhirpath
      expression:
        v: today()
  link id:
    v: plandetails-commenceddate
  text:
    v: Date this management plan commenced
  type:
    v: date
  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: %GPCCMPLatest.entry.resource.where(status='in-progress').exists()
  link id:
    v: plandetails-inprogress
  text:
    v: Incomplete draft management plan already exists?
  type:
    v: boolean
  repeats:
    v: false
  read only:
    v: true
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: %GPCCMPLatestCompleted.entry.resource.authored
  link id:
    v: plandetails-lastcompleteddate
  text:
    v: Date of last completed management plan
  type:
    v: dateTime
  repeats:
    v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
    l: sdc-questionnaire-collapsible
  value: Code
    v: default-open
link id:
  v: plan
text:
  v: Management plan
type:
  v: group
repeats:
  v: false
item:
  link id:
    v: plan-chronicconditiondetails
  text:
    v: Chronic condition details
  type:
    v: group
  repeats:
    v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: plan-chronicconditiondetails-condition
    text:
      v: Condition
    type:
      v: open-choice
    repeats:
      v: false
    answer value set:
      v: https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1
      l: clinical-condition-1
  item:
    link id:
      v: plan-chronicconditiondetails-onsetdate
    text:
      v: Onset date
    type:
      v: date
    repeats:
      v: false
  item:
    link id:
      v: plan-chronicconditiondetails-comments
    text:
      v: Comments
    type:
      v: text
    repeats:
      v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
      l: sdc-questionnaire-collapsible
    value: Code
      v: default-open
  link id:
    v: plan-planitems
  text:
    v: Plan items
  type:
    v: group
  repeats:
    v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: plan-planitems-problemneed
    text:
      v: Problem/Need
    type:
      v: open-choice
    repeats:
      v: false
    answer value set:
      v: https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1
      l: clinical-condition-1
  item:
    link id:
      v: plan-planitems-details
    text:
      v: Details
    type:
      v: group
    repeats:
      v: true
    item:
      extension:
        value: CodeableConcept
      link id:
        v: plan-planitems-details-goalsetting
      text:
        v: Goal setting
      type:
        v: group
      repeats:
        v: false
    item:
      extension:
        value: CodeableConcept
      link id:
        v: plan-planitems-details-interventionsactions
      text:
        v: Interventions and actions
      type:
        v: group
      repeats:
        v: true
    item:
      extension:
        value: CodeableConcept
      link id:
        v: plan-planitems-details-servicestreatments
      text:
        v: Services and treatments
      type:
        v: group
      repeats:
        v: true

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

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

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

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden
  l: QuestionnaireItemTextHidden
value: Boolean
  v: true

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 70
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

v: plan-planitems-details-goalsetting-goals

v: Goals

v: text

v: false

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 30
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

v: plan-planitems-details-goalsetting-targetdate

v: Target date

v: date

v: false

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

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden
  l: QuestionnaireItemTextHidden
value: Boolean
  v: true

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 28
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

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: autocomplete

v: plan-planitems-details-interventionsactions-interventionsactions

v: Interventions/Actions

v: open-choice

v: false

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 24
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

v: plan-planitems-details-interventionsactions-owner

v: Owner

v: string

v: false

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 17
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

v: plan-planitems-details-interventionsactions-duedate

v: Due date

v: date

v: false

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 31
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

v: plan-planitems-details-interventionsactions-comment

v: Comment

v: string

v: false

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

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden
  l: QuestionnaireItemTextHidden
value: Boolean
  v: true

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 23
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

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: autocomplete

v: plan-planitems-details-servicestreatments-servicestreatments

v: Required services and treatments

v: open-choice

v: false

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 23
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

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: autocomplete

v: plan-planitems-details-servicestreatments-activity

v: Activity

v: open-choice

v: false

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 23
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

v: plan-planitems-details-servicestreatments-provider

v: Provider

v: string

v: false

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
  l: sdc-questionnaire-width
value: Quantity
  value:
    v: 31
  system:
    v: http://unitsofmeasure.org
    l: unitsofmeasure.org
  code:
    v: %

v: plan-planitems-details-servicestreatments-comment

v: Comment

v: string

v: false

link id:
  v: notes
text:
  v: Notes
type:
  v: group
item:
  link id:
    v: notes-additionalcomments
  text:
    v: Additional notes or comments
  type:
    v: text
  repeats:
    v: true

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
    l: sdc-questionnaire-collapsible
  value: Code
    v: default-open
link id:
  v: finalpreparations
text:
  v: Final preparations of management plan
type:
  v: group
repeats:
  v: false
item:
  link id:
    v: finalpreparations-consent
  text:
    v: Consent
  type:
    v: group
  repeats:
    v: false
  item:
    link id:
      v: finalpreparations-consent-sharingconsent
    text:
      v: Consent given for sharing of information with relevant healthcare providers
    type:
      v: boolean
    repeats:
      v: false
  item:
    link id:
      v: finalpreparations-consent-planconsent
    text:
      v: Consent given to proceed with plan after discussion of the purpose, benefits, process and costs
    type:
      v: boolean
    repeats:
      v: false
item:
  link id:
    v: finalpreparations-review
  text:
    v: Scheduled review date
  type:
    v: date
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: finalpreparations-copyoffered
  text:
    v: Patient has been offered a copy of this plan
  type:
    v: choice
  repeats:
    v: false
  answer option:
    value: String
      v: Yes, copy provided
  answer option:
    value: String
      v: Yes, copy to be posted
  answer option:
    value: String
      v: Yes, but declined
  answer option:
    value: String
      v: Not offered. Plan to follow up and offer at a later date

v: radio-button