AboriginalTorresStraitIslanderHealthCheck
type: Questionnaire
node role: treeRoot
id:
  v: AboriginalTorresStraitIslanderHealthCheck
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: Questionnaire AboriginalTorresStraitIslanderHealthCheck Structure LinkID Text Cardinality Type Flags Description & Constraints AboriginalTorresStraitIslanderHealthCheck Questionnaire http://www.health.gov.au/assessments/mbs/715#0.4.0-assembled #xD; fd5af92e-c248-497a-8007-ee0952ccd4d9 null 0..1 group #xD; 2e82032a-dc28-45f2-916e-862303d39fe5 About the health check 0..1 group #xD; CD-in-progress-1 In progress 0..1 display #xD; CD-complete-1 Complete 0..1 display #xD; CD-attention-1 Attention required 0..1 display #xD; 3da318f1-a5dd-4c8f-b258-99d83872a4f2 Eligible for health check 0..1 choice Value Set: Yes/No/NA #xD; 04f00512-888b-424e-ba76-9bd6fd8da682 not claimed 715 or 228 in past nine months 0..1 display #xD; 5960c096-d5f7-4745-bd74-44ff2775bde9 Health check already in progress? 0..1 boolean #xD; 01418489-1ec4-4c3b-b96a-7c14c3e21cfe Date of last completed health check 0..1 dateTime #xD; 63fe14f3-2374-4382-bce7-180e2747c97f Date this health check commenced 0..1 date #xD; about-section-end-divider null 0..1 display #xD; MarkComplete-1 Section completion status 0..1 choice Options: 3 options #xD; 1016f79d-9756-4daf-b6ee-29add134b34f Consent 0..1 group #xD; CD-in-progress-30 In progress 0..1 display #xD; CD-complete-30 Complete 0..1 display #xD; CD-attention-30 Attention required 0..1 display #xD; d1e1ab3d-1c6c-430b-8ae7-af56b8f0af55 Consent given after discussion of process and benefits of a health check 0..1 choice Value Set: Yes/No/NA #xD; 7fa8bc57-f3f9-4ddc-bf9b-12a9b9885dbd Consent given by parent/primary carer after discussion of process and benefits of a health check 0..1 choice Value Set: Yes/No/NA #xD; 80a6a405-49a4-44fb-bff3-212902096b95 Parent/primary caregiver present 0..1 group #xD; c72933c7-349f-4fef-94ff-c424c69da6f3 Parent/primary caregiver is present for health check? 0..1 choice Value Set: Yes/No/NA #xD; b7d116f9-0425-4cf1-8cde-fbf4dfaee550 Relationship to child 0..* string Enable When: c72933c7-349f-4fef-94ff-c424c69da6f3 = #xD…
contained: ValueSet
  id:
    v: YesNoNA
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/valueset-supplement
      l: valueset-supplement
    value: Canonical
      v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement|0.4.0
      l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement
  url:
    v: https://smartforms.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-10-29T16:30:17+10:00
    total:
      v: 3
    parameter:
      name:
        v: used-supplement
      value: Uri
        v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement|0.4.0
        l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement
    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
    parameter:
      name:
        v: version
      value: Uri
        v: http://terminology.hl7.org/CodeSystem/v2-0532|2.0.0
        l: http://terminology.hl7.org/CodeSystem/v2-0532
    parameter:
      name:
        v: warning-draft
      value: Uri
        v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement|0.4.0
        l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement
    parameter:
      name:
        v: warning-draft
      value: Uri
        v: https://smartforms.csiro.au/ig/ValueSet/YesNoNA|0.4.0
        l: https://smartforms.csiro.au/ig/ValueSet/YesNoNA
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      version:
        v: 2.0.0
      code:
        v: Y
      display:
        v: Yes
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      version:
        v: 2.0.0
      code:
        v: N
      display:
        v: No
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0532
        l: v2-0532
      version:
        v: 2.0.0
      code:
        v: NA
      display:
        v: N/A
contained: ValueSet
  id:
    v: AboriginalTorresStraitIslander
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/valueset-supplement
      l: valueset-supplement
    value: Canonical
      v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement|0.4.0
      l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement
  url:
    v: https://smartforms.csiro.au/ig/ValueSet/AboriginalTorresStraitIslander
    l: AboriginalTorresStraitIslander
  name:
    v: AboriginalTorresStraitIslander
  title:
    v: Aboriginal and/or Torres Strait Islander
  status:
    v: draft
  experimental:
    v: false
  description:
    v: The Aboriginal and/or Torres Strait Islander value set includes the Australian Indigenous statuses for Indigenous people.
  compose:
    include:
      system:
        v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1
        l: australian-indigenous-status-1
      version:
        v: 1.0.5
  expansion:
    timestamp:
      v: 2025-10-29T16:34:14+10:00
    total:
      v: 3
    parameter:
      name:
        v: used-supplement
      value: Uri
        v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement|0.4.0
        l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement
    parameter:
      name:
        v: used-codesystem
      value: Uri
        v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.5
        l: https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1
    parameter:
      name:
        v: version
      value: Uri
        v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.5
        l: https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1
    parameter:
      name:
        v: warning-draft
      value: Uri
        v: https://smartforms.csiro.au/ig/ValueSet/AboriginalTorresStraitIslander|0.4.0
        l: https://smartforms.csiro.au/ig/ValueSet/AboriginalTorresStraitIslander
    parameter:
      name:
        v: warning-draft
      value: Uri
        v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement|0.4.0
        l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement
    contains:
      system:
        v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1
        l: australian-indigenous-status-1
      version:
        v: 1.0.5
      code:
        v: 1
      display:
        v: Aboriginal
    contains:
      system:
        v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1
        l: australian-indigenous-status-1
      version:
        v: 1.0.5
      code:
        v: 2
      display:
        v: Torres Strait Islander
    contains:
      system:
        v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1
        l: australian-indigenous-status-1
      version:
        v: 1.0.5
      code:
        v: 3
      display:
        v: Aboriginal and Torres Strait Islander
contained: ValueSet
  id:
    v: PrimaryCarerParentGrandparent
contained: Condition
contained: Parameters
contained: MedicationStatement
contained: AllergyIntolerance
contained: Observation
contained: Immunization

v: Y

v: Yes

v: N

v: No

v: NA

v: N/A

v: 1

v: Aboriginal

v: 2

v: Torres Strait Islander

v: 3

v: Aboriginal and Torres Strait Islander

v: PrimaryCarerParentGrandparent

v: Primary Carer Of Parent Or Grandparent

v: draft

v: false

v: The Primary Carer Of Parent Or Grandparent value set includes values that can indicate whether a primary carer is one of the parents or a grandparent.

include:
  system:
    v: http://terminology.hl7.org/CodeSystem/v3-RoleCode
    l: v3-RoleCode
  concept:
    code:
      v: MTH
  concept:
    code:
      v: FTH
  concept:
    code:
      v: GRPRN
include:
  system:
    v: http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    l: v3-NullFlavor
  concept:
    code:
      v: NA

timestamp:
  v: 2025-05-01T10:00:56+10:00
total:
  v: 4
offset:
  v: 0
parameter:
  name:
    v: displayLanguage
  value: Code
    v: en-US
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/v3-RoleCode|3.0.0
    l: http://terminology.hl7.org/CodeSystem/v3-RoleCode
parameter:
  name:
    v: used-codesystem
  value: Uri
    v: http://terminology.hl7.org/CodeSystem/v3-NullFlavor|3.0.0
    l: http://terminology.hl7.org/CodeSystem/v3-NullFlavor
contains:
  system:
    v: http://terminology.hl7.org/CodeSystem/v3-RoleCode
    l: v3-RoleCode
  code:
    v: MTH
  display:
    v: mother
contains:
  system:
    v: http://terminology.hl7.org/CodeSystem/v3-RoleCode
    l: v3-RoleCode
  code:
    v: FTH
  display:
    v: father
contains:
  system:
    v: http://terminology.hl7.org/CodeSystem/v3-RoleCode
    l: v3-RoleCode
  code:
    v: GRPRN
  display:
    v: grandparent
contains:
  system:
    v: http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    l: v3-NullFlavor
  code:
    v: NA
  display:
    v: not applicable

ValueSet
id:
  v: administrative-gender
meta:
  profile:
    v: http://hl7.org/fhir/StructureDefinition/shareablevalueset
    l: shareablevalueset
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: pa
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: normative
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 5
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version
    l: structuredefinition-normative-version
  value: Code
    v: 4.0.0
url:
  v: http://hl7.org/fhir/ValueSet/administrative-gender
  l: administrative-gender
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.3.1
version:
  v: 4.0.1
name:
  v: AdministrativeGender
title:
  v: AdministrativeGender
status:
  v: active
experimental:
  v: false
date:
  v: 2019-11-01T09:29:23+11:00
publisher:
  v: HL7 (FHIR Project)
contact:
  telecom:
    system:
      v: url
    value:
      v: http://hl7.org/fhir
  telecom:
    system:
      v: email
description:
  v: The gender of a person used for administrative purposes.
immutable:
  v: true
copyright:
  v: Copyright © 2011+ HL7. Licensed under Creative Commons "No Rights Reserved".
compose:
  include:
    system:
      v: http://hl7.org/fhir/administrative-gender
      l: administrative-gender
expansion:
  timestamp:
    v: 2025-05-01T10:00:55+10:00
  total:
    v: 4
  offset:
    v: 0
  parameter:
    name:
      v: displayLanguage
    value: Code
      v: en-US
  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://hl7.org/fhir/administrative-gender|4.0.1
      l: http://hl7.org/fhir/administrative-gender
  contains:
    system:
      v: http://hl7.org/fhir/administrative-gender
      l: administrative-gender
    code:
      v: male
    display:
      v: Male
  contains:
    system:
      v: http://hl7.org/fhir/administrative-gender
      l: administrative-gender
    code:
      v: female
    display:
      v: Female
  contains:
    system:
      v: http://hl7.org/fhir/administrative-gender
      l: administrative-gender
    code:
      v: other
    display:
      v: Other
  contains:
    system:
      v: http://hl7.org/fhir/administrative-gender
      l: administrative-gender
    code:
      v: unknown
    display:
      v: Unknown

ValueSet
id:
  v: australian-pronouns-1
url:
  v: https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1
  l: australian-pronouns-1
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:1.2.36.1.2001.1004.201.10284
version:
  v: 1.0.0
name:
  v: AustralianPronouns
title:
  v: Australian Pronouns
status:
  v: active
experimental:
  v: false
date:
  v: 2024-02-29
publisher:
  v: Australian Digital Health Agency
contact:
  telecom:
    system:
      v: email
description:
  v: The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual.
copyright:
  v: Copyright © 2024 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. This material contains content from LOINC (http://loinc.org). LOINC is copyright 1995-2024, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc. This material contains information which is protected by copyright. You may download, display, print and reproduce any material for your personal, non-commercial use or use within your organisation subject to the following terms and conditions: This resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.
compose:
  include:
    system:
      v: http://loinc.org
      l: loinc.org
    concept:
      code:
        v: LA29518-0
      display:
        v: he/him/his/his/himself
    concept:
      code:
        v: LA29519-8
      display:
        v: she/her/her/hers/herself
    concept:
      code:
        v: LA29520-6
      display:
        v: they/them/their/theirs/themselves
  include:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    concept:
      code:
        v: unknown
    concept:
      code:
        v: asked-declined
    concept:
      code:
        v: not-asked
    concept:
      code:
        v: asked-unknown
expansion:
  timestamp:
    v: 2025-05-01T10:00:56+10:00
  total:
    v: 7
  offset:
    v: 0
  parameter:
    name:
      v: displayLanguage
    value: Code
      v: en-US
  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://loinc.org|2.80
      l: http://loinc.org
  parameter:
    name:
      v: version
    value: Uri
      v: http://loinc.org|2.80
      l: http://loinc.org
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0
      l: http://terminology.hl7.org/CodeSystem/data-absent-reason
  contains:
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: LA29518-0
    display:
      v: he/him/his/his/himself
  contains:
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: LA29519-8
    display:
      v: she/her/her/hers/herself
  contains:
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: LA29520-6
    display:
      v: they/them/their/theirs/themselves
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: unknown
    display:
      v: Unknown
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: asked-declined
    display:
      v: Asked But Declined
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: not-asked
    display:
      v: Not Asked
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: asked-unknown
    display:
      v: Asked But Unknown

ValueSet
id:
  v: gender-identity-response-1
url:
  v: https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1
  l: gender-identity-response-1
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:1.2.36.1.2001.1004.201.10271
version:
  v: 1.1.0
name:
  v: GenderIdentityResponse
title:
  v: Gender Identity Response
status:
  v: active
experimental:
  v: false
date:
  v: 2024-02-29
publisher:
  v: Australian Digital Health Agency
contact:
  telecom:
    system:
      v: email
description:
  v: The Gender Identity Response value set includes values that may be used to represent a response for an individual's gender. A person's gender is a social and cultural identity, expression and experience.
copyright:
  v: Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. "This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. This resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data. This resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    concept:
      code:
        v: 446151000124109
    concept:
      code:
        v: 446141000124107
    concept:
      code:
        v: 33791000087105
  include:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    concept:
      code:
        v: unknown
    concept:
      code:
        v: asked-declined
    concept:
      code:
        v: not-asked
expansion:
  timestamp:
    v: 2025-10-28T16:39:25+10:00
  offset:
    v: 0
  parameter:
    name:
      v: displayLanguage
    value: Code
      v: en
  parameter:
    name:
      v: count
    value: Integer
      v: 1000
  parameter:
    name:
      v: offset
    value: Integer
      v: 0
  parameter:
    name:
      v: excludeNested
    value: Boolean
      v: false
  parameter:
    name:
      v: system-version
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107
      l: http://snomed.info/sct
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: version
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0
      l: http://terminology.hl7.org/CodeSystem/data-absent-reason
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 446151000124109
    display:
      v: Identifies as male gender
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 446141000124107
    display:
      v: Identifies as female gender
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 33791000087105
    display:
      v: Identifies as nonbinary gender
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: unknown
    display:
      v: Unknown
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: asked-declined
    display:
      v: Asked But Declined
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: not-asked
    display:
      v: Not Asked

ValueSet
id:
  v: biological-sex-1
meta:
  profile:
    v: http://hl7.org/fhir/StructureDefinition/shareablevalueset
    l: shareablevalueset
  profile:
    v: https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4
    l: composed-value-set-4
url:
  v: https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1
  l: biological-sex-1
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:1.2.36.1.2001.1004.201.10198
version:
  v: 1.1.0
name:
  v: BiologicalSex
title:
  v: Biological Sex
status:
  v: active
experimental:
  v: false
date:
  v: 2024-11-30
publisher:
  v: Australian Digital Health Agency
contact:
  telecom:
    system:
      v: email
description:
  v: The Biological Sex value set includes values that represent the biological sex of an individual.
copyright:
  v: Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. All copies of this resource must include this copyright statement and all information contained in this statement.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    filter:
      property:
        v: constraint
      op:
        v: =
      value:
        v: ^ 32570631000036107|Sex reference set|
  include:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    concept:
      code:
        v: asked-unknown
    concept:
      code:
        v: unknown
    concept:
      code:
        v: asked-declined
    concept:
      code:
        v: not-asked
expansion:
  timestamp:
    v: 2025-10-28T16:39:14+10:00
  offset:
    v: 0
  parameter:
    name:
      v: displayLanguage
    value: Code
      v: en
  parameter:
    name:
      v: count
    value: Integer
      v: 1000
  parameter:
    name:
      v: offset
    value: Integer
      v: 0
  parameter:
    name:
      v: excludeNested
    value: Boolean
      v: false
  parameter:
    name:
      v: system-version
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107
      l: http://snomed.info/sct
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: version
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0
      l: http://terminology.hl7.org/CodeSystem/data-absent-reason
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 248152002
    display:
      v: Female
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 32570681000036106
    display:
      v: Indeterminate sex
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 32570691000036108
    display:
      v: Intersex
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 248153007
    display:
      v: Male
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: asked-unknown
    display:
      v: Asked But Unknown
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: unknown
    display:
      v: Unknown
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: asked-declined
    display:
      v: Asked But Declined
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: not-asked
    display:
      v: Not Asked

ValueSet
id:
  v: australian-states-territories-2
meta:
  profile:
    v: http://hl7.org/fhir/StructureDefinition/shareablevalueset
    l: shareablevalueset
  profile:
    v: https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4
    l: composed-value-set-4
url:
  v: https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2
  l: australian-states-territories-2
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:1.2.36.1.2001.1004.201.10026
version:
  v: 2.0.2
name:
  v: AustralianStatesAndTerritories
title:
  v: Australian States and Territories
status:
  v: active
experimental:
  v: false
date:
  v: 2020-05-31
publisher:
  v: Australian Digital Health Agency
contact:
  telecom:
    system:
      v: email
description:
  v: The Australian States and Territories value set includes values that represent the Australian states and territories.
copyright:
  v: Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. This resource includes material that is based on Australian Institute of Health and Welfare material. All copies of this resource must include this copyright statement and all information contained in this statement.
compose:
  include:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    concept:
      code:
        v: ACT
    concept:
      code:
        v: NSW
    concept:
      code:
        v: NT
    concept:
      code:
        v: OTHER
    concept:
      code:
        v: QLD
    concept:
      code:
        v: SA
    concept:
      code:
        v: TAS
    concept:
      code:
        v: VIC
    concept:
      code:
        v: WA
expansion:
  timestamp:
    v: 2025-05-01T10:00:57+10:00
  total:
    v: 9
  offset:
    v: 0
  parameter:
    name:
      v: displayLanguage
    value: Code
      v: en-US
  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: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3
      l: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: ACT
    display:
      v: Australian Capital Territory
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: NSW
    display:
      v: New South Wales
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: NT
    display:
      v: Northern Territory
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: OTHER
    display:
      v: Other territories
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: QLD
    display:
      v: Queensland
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: SA
    display:
      v: South Australia
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: TAS
    display:
      v: Tasmania
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: VIC
    display:
      v: Victoria
  contains:
    system:
      v: https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1
      l: australian-states-territories-1
    code:
      v: WA
    display:
      v: Western Australia

ValueSet
id:
  v: YesNo
url:
  v: https://smartforms.csiro.au/ig/ValueSet/YesNo
  l: YesNo
name:
  v: YesNo
title:
  v: Yes/No
status:
  v: draft
experimental:
  v: false
description:
  v: Concepts for Yes and No
compose:
  include:
    system:
      v: http://terminology.hl7.org/CodeSystem/v2-0532
      l: v2-0532
    version:
      v: 2.0.0
    concept:
      code:
        v: Y
      display:
        v: Yes
    concept:
      code:
        v: N
      display:
        v: No
expansion:
  timestamp:
    v: 2025-09-18T16:28:54+10:00
  total:
    v: 2
  offset:
    v: 0
  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

ValueSet
id:
  v: condition-clinical
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: pc
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 3
url:
  v: http://hl7.org/fhir/ValueSet/condition-clinical
  l: condition-clinical
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.3.164
version:
  v: 4.0.1
name:
  v: ConditionClinicalStatusCodes
title:
  v: Condition Clinical Status Codes
status:
  v: draft
experimental:
  v: false
date:
  v: 2019-11-01T09:29:23+11:00
publisher:
  v: FHIR Project team
contact:
  telecom:
    system:
      v: url
    value:
      v: http://hl7.org/fhir
description:
  v: Preferred value set for Condition Clinical Status.
copyright:
  v: Copyright © 2011+ HL7. Licensed under Creative Commons "No Rights Reserved".
compose:
  include:
    system:
      v: http://terminology.hl7.org/CodeSystem/condition-clinical
      l: condition-clinical
expansion:
  timestamp:
    v: 2025-05-01T10:00:56+10:00
  total:
    v: 7
  offset:
    v: 0
  parameter:
    name:
      v: displayLanguage
    value: Code
      v: en-US
  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/condition-clinical|3.0.0
      l: http://terminology.hl7.org/CodeSystem/condition-clinical
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/condition-clinical
      l: condition-clinical
    code:
      v: active
    display:
      v: Active
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/condition-clinical
        l: condition-clinical
      code:
        v: recurrence
      display:
        v: Recurrence
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/condition-clinical
        l: condition-clinical
      code:
        v: relapse
      display:
        v: Relapse
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/condition-clinical
      l: condition-clinical
    code:
      v: inactive
    display:
      v: Inactive
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/condition-clinical
        l: condition-clinical
      code:
        v: remission
      display:
        v: Remission
    contains:
      system:
        v: http://terminology.hl7.org/CodeSystem/condition-clinical
        l: condition-clinical
      code:
        v: resolved
      display:
        v: Resolved
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/condition-clinical
      l: condition-clinical
    code:
      v: unknown
    display:
      v: Unknown

ValueSet
id:
  v: clinical-condition-1
meta:
  profile:
    v: http://hl7.org/fhir/StructureDefinition/shareablevalueset
    l: shareablevalueset
  profile:
    v: https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4
    l: composed-value-set-4
url:
  v: https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1
  l: clinical-condition-1
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:1.2.36.1.2001.1004.201.10035
version:
  v: 1.0.2
name:
  v: ClinicalCondition
title:
  v: Clinical Condition
status:
  v: active
experimental:
  v: false
date:
  v: 2020-05-31
publisher:
  v: Australian Digital Health Agency
contact:
  telecom:
    system:
      v: email
description:
  v: The Clinical Condition value set includes values that cover a broad range of clinical concepts to support the representation of conditions, including problems, diagnoses and disorders.
copyright:
  v: Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. All copies of this resource must include this copyright statement and all information contained in this statement.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    filter:
      property:
        v: concept
      op:
        v: in
      value:
        v: 32570581000036105

Condition
id:
  v: ConditionTemplate
clinical status:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/condition-clinical
      l: condition-clinical
    code:
      v: active
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/condition-category
      l: condition-category
    code:
      v: problem-list-item
code:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
      l: sdc-questionnaire-templateExtractContext
    value: String
      v: item.where(linkId='2da85994-2d5e-42f1-8a81-abf44f397468').answer.value
  coding:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: ofType(Coding)
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: ofType(string)
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
onset: DateTime
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: item.where(linkId='4d55bffb-3286-4a23-a785-3b9c346d464d').answer.value.toDateTime()
note:
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: item.where(linkId='newdiagnosis-comment').answer.value

Parameters
id:
  v: ConditionPatchTemplate
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      v: Condition
  part:
    name:
      v: name
    value: String
      v: clinicalStatus
  part:
    name:
      v: value
    value: CodeableConcept
  part:
    name:
      v: pathLabel
    value: String
      v: Clinical status
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      v: Condition
  part:
    name:
      v: name
    value: String
      v: abatement
  part:
    name:
      v: value
    value: DateTime
      extension:
        value: String
  part:
    name:
      v: pathLabel
    value: String
      v: Abatement date

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  l: sdc-questionnaire-templateExtractValue
value: String
  v: item.where(linkId='88bcfad7-386b-4d87-b34b-2e50482e4d2c').answer.value.first()

String
v: item.where(linkId='e4524654-f6de-4717-b288-34919394d46b').answer.value.first()

ValueSet
id:
  v: smart-health-checks-medicine-products
url:
  v: https://smartforms.csiro.au/ig/ValueSet/smart-health-checks-medicine-products
  l: smart-health-checks-medicine-products
name:
  v: SmartHealthChecksMedicineProducts
title:
  v: Smart Health Checks Medicine Products
status:
  v: draft
experimental:
  v: false
description:
  v: The Smart Health Checks Medicine Products value set includes Australian Medicines Terminology (AMT) product concepts that may be used for the identification of a medicine with form, ingredient and unit of measure details.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107
    filter:
      property:
        v: constraint
      op:
        v: =
      value:
        v: ^ 929360081000036101|Medicinal product pack reference set| OR ^ 929360071000036103|Medicinal product unit of use reference set| OR ^ 929360041000036105|Trade product pack reference set| OR ^ 929360031000036100|Trade product unit of use reference set| OR ^ 929360051000036108|Containered trade product pack reference set|

ValueSet
id:
  v: medication-reason-taken-1
meta:
  profile:
    v: http://hl7.org/fhir/StructureDefinition/shareablevalueset
    l: shareablevalueset
  profile:
    v: https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4
    l: composed-value-set-4
url:
  v: https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1
  l: medication-reason-taken-1
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:1.2.36.1.2001.1004.201.10048
version:
  v: 1.1.0
name:
  v: MedicationReasonTaken
title:
  v: Medication Reason Taken
status:
  v: active
experimental:
  v: false
date:
  v: 2020-07-31
publisher:
  v: Australian Digital Health Agency
contact:
  telecom:
    system:
      v: email
description:
  v: The Medication Reason Taken value set includes values that identify a reason why a medication has been or is being taken.
copyright:
  v: Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. All copies of this resource must include this copyright statement and all information contained in this statement.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    filter:
      property:
        v: constraint
      op:
        v: =
      value:
        v: ^32570581000036105|Problem/Diagnosis reference set| OR ^1184831000168105|Drug prophylaxis reference set| OR <<399097000|Administration of anaesthesia| OR 169443000|Preventive procedure|

MedicationStatement
id:
  v: MedicationStatementTemplate
status:
  v: active
medication: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
      l: sdc-questionnaire-templateExtractContext
    value: String
      v: item.where(linkId='regularmedications-summary-new-medication').answer.value
  coding:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: ofType(Coding)
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: ofType(string)
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
date asserted:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: now()
reason code:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
      l: sdc-questionnaire-templateExtractContext
    value: String
      v: item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(Coding)
  coding:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: $this
reason code:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
      l: sdc-questionnaire-templateExtractContext
    value: String
      v: item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(string)
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: $this
note:
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: item.where(linkId='regularmedications-summary-new-comment').answer.value
dosage:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
      l: sdc-questionnaire-templateExtractContext
    value: String
      v: item.where(linkId='regularmedications-summary-new-dosage').answer.value
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: $this

Parameters
id:
  v: MedicationStatementPatchTemplate
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      v: MedicationStatement
  part:
    name:
      v: name
    value: String
      v: status
  part:
    name:
      v: value
    value: Code
      extension:
        value: String
  part:
    name:
      v: pathLabel
    value: String
      v: Status
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      extension:
        value: String
  part:
    name:
      v: name
    value: String
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: String
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: Dosage
  part:
    name:
      v: pathLabel
    value: String
      v: Dosage
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      extension:
        value: String
  part:
    name:
      v: name
    value: String
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: Markdown
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: Annotation
  part:
    name:
      v: pathLabel
    value: String
      v: Comment

String
v: item.where(linkId='regularmedications-summary-current-status').answer.value.code.first()

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.exists(), 'MedicationStatement.dosage[0]', 'MedicationStatement')

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.exists(), 'text', 'dosage')

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.exists(), 'value')

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.exists(), item.where(linkId='regularmedications-summary-current-dosage').answer.value.first())

String
v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.empty(), 'value')

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  l: sdc-questionnaire-templateExtractValue
value: String
  v: iif(item.where(linkId='regularmedications-summary-current-dosage-hidden').answer.value.empty(), item.where(linkId='regularmedications-summary-current-dosage').answer.value.first())

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.exists(), 'MedicationStatement.note[0]', 'MedicationStatement')

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.exists(), 'text', 'note')

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.exists(), 'value')

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.exists(), item.where(linkId='regularmedications-summary-current-comment').answer.value.first())

String
v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.empty(), 'value')

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  l: sdc-questionnaire-templateExtractValue
value: String
  v: iif(item.where(linkId='regularmedications-summary-current-comment-hidden').answer.value.empty(), item.where(linkId='regularmedications-summary-current-comment').answer.value.first())

ValueSet
id:
  v: MedicationStatementStatusLimited
url:
  v: https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited
  l: MedicationStatementStatusLimited
name:
  v: MedicationStatementStatusLimited
title:
  v: Medication Statement Status Limited
status:
  v: draft
experimental:
  v: false
description:
  v: This value set includes the minimal set of codes to represent the status of a medication statement (i.e., active, completed, stopped and on-hold).
compose:
  include:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    concept:
      code:
        v: active
    concept:
      code:
        v: completed
    concept:
      code:
        v: stopped
    concept:
      code:
        v: on-hold
expansion:
  timestamp:
    v: 2025-08-25T15:53:32+10:00
  total:
    v: 4
  offset:
    v: 0
  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://hl7.org/fhir/CodeSystem/medication-statement-status|4.0.1
      l: http://hl7.org/fhir/CodeSystem/medication-statement-status
  contains:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    code:
      v: active
    display:
      v: Active
  contains:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    code:
      v: completed
    display:
      v: Completed
  contains:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    code:
      v: stopped
    display:
      v: Stopped
  contains:
    system:
      v: http://hl7.org/fhir/CodeSystem/medication-statement-status
      l: medication-statement-status
    code:
      v: on-hold
    display:
      v: On Hold

AllergyIntolerance
id:
  v: AllergyIntoleranceTemplate
clinical status:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
      l: allergyintolerance-clinical
    code:
      v: active
code:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
      l: sdc-questionnaire-templateExtractContext
    value: String
      v: item.where(linkId='allergynew-substance').answer.value
  coding:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: ofType(Coding)
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: ofType(string)
patient:
  reference:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.subject.reference
note:
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: item.where(linkId='allergynew-comment').answer.value
reaction:
  manifestation:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
        l: sdc-questionnaire-templateExtractContext
      value: String
        v: item.where(linkId='allergynew-manifestation').answer.value.ofType(Coding)
    coding:
      extension:
        value: String
  manifestation:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
        l: sdc-questionnaire-templateExtractContext
      value: String
        v: item.where(linkId='allergynew-manifestation').answer.value.ofType(string)
    text:
      extension:
        value: String

String
v: $this

String
v: $this

Parameters
id:
  v: AllergyIntolerancePatchTemplate
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      v: AllergyIntolerance
  part:
    name:
      v: name
    value: String
      v: clinicalStatus
  part:
    name:
      v: value
    value: CodeableConcept
  part:
    name:
      v: pathLabel
    value: String
      v: Clinical status
parameter:
  name:
    v: operation
  part:
    name:
      v: type
    value: Code
      v: add
  part:
    name:
      v: path
    value: String
      extension:
        value: String
  part:
    name:
      v: name
    value: String
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: Markdown
      extension:
        value: String
  part:
    name:
      extension:
        value: String
    value: Annotation
  part:
    name:
      v: pathLabel
    value: String
      v: Comment

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  l: sdc-questionnaire-templateExtractValue
value: String
  v: item.where(linkId='allergysummary-status').answer.value.first()

String
v: iif(item.where(linkId='allergysummary-comment-hidden').answer.value.exists(), 'AllergyIntolerance.note[0]', 'AllergyIntolerance')

String
v: iif(item.where(linkId='allergysummary-comment-hidden').answer.value.exists(), 'text', 'note')

String
v: iif(item.where(linkId='allergysummary-comment-hidden').answer.value.exists(), 'value')

String
v: iif(item.where(linkId='allergysummary-comment-hidden').answer.value.exists(), item.where(linkId='allergysummary-comment').answer.value.first())

String
v: iif(item.where(linkId='allergysummary-comment-hidden').answer.value.empty(), 'value')

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  l: sdc-questionnaire-templateExtractValue
value: String
  v: iif(item.where(linkId='allergysummary-comment-hidden').answer.value.empty(), item.where(linkId='allergysummary-comment').answer.value.first())

ValueSet
id:
  v: AllergyIntoleranceClinicalStatusMinimal
url:
  v: https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal
  l: AllergyIntoleranceClinicalStatusMinimal
name:
  v: AllergyIntoleranceClinicalStatusMinimal
title:
  v: Allergy Intolerance Clinical Status Minimal
status:
  v: draft
experimental:
  v: false
description:
  v: This value set includes the minimal set of codes to represent the clinical status of an allergy intolerance (i.e., active and inactive).
compose:
  include:
    system:
      v: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
      l: allergyintolerance-clinical
    concept:
      code:
        v: active
    concept:
      code:
        v: inactive
expansion:
  timestamp:
    v: 2025-08-25T15:52:50+10:00
  total:
    v: 2
  offset:
    v: 0
  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/allergyintolerance-clinical|1.0.0
      l: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
      l: allergyintolerance-clinical
    code:
      v: active
    display:
      v: Active
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
      l: allergyintolerance-clinical
    code:
      v: inactive
    display:
      v: Inactive

Observation
id:
  v: SmokingStatusTemplate
status:
  v: final
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/observation-category
      l: observation-category
    code:
      v: social-history
code:
  coding: http://snomed.info/id/1747861000168109
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 1747861000168109
  coding: https://loinc.org/rdf/72166-2
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 72166-2
  text:
    v: Smoking status
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='substanceuse-smoking-smokingstatus-group-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

ValueSet
id:
  v: SmokingQuitStatus-1
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/valueset-supplement
    l: valueset-supplement
  value: Canonical
    v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
    l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
url:
  v: https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1
  l: SmokingQuitStatus-1
name:
  v: SmokingQuitStatus
title:
  v: Smoking Quit Status
status:
  v: draft
experimental:
  v: false
description:
  v: The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    concept:
      code:
        v: 48031000119106
      display:
        v: Quit >12 months
    concept:
      code:
        v: 735128000
      display:
        v: Quit <12 months
expansion:
  timestamp:
    v: 2025-10-29T09:44:35+10:00
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: version
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: used-supplement
    value: Uri
      v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
      l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
  parameter:
    name:
      v: warning-draft
    value: Uri
      v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
      l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
  parameter:
    name:
      v: warning-draft
    value: Uri
      v: https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1|0.4.0
      l: https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 48031000119106
    display:
      v: Quit >12 months
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 735128000
    display:
      v: Quit <12 months

ValueSet
id:
  v: TobaccoUseStatus-1
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/valueset-supplement
    l: valueset-supplement
  value: Canonical
    v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
    l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
url:
  v: https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1
  l: TobaccoUseStatus-1
name:
  v: TobaccoUseStatus
title:
  v: Tobacco Use Status
status:
  v: draft
experimental:
  v: false
description:
  v: The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    concept:
      code:
        v: 266919005
      display:
        v: Never smoked
    concept:
      code:
        v: 77176002
      display:
        v: Current smoker
    concept:
      code:
        v: 8517006
      display:
        v: Ex-smoker
    concept:
      code:
        v: 16090371000119103
      display:
        v: Exposure to second hand tobacco smoke
    concept:
      code:
        v: 394872000
      display:
        v: Wants to quit
    concept:
      code:
        v: 713914004
      display:
        v: Other tobacco use
expansion:
  timestamp:
    v: 2025-10-29T09:46:14+10:00
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: version
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: used-supplement
    value: Uri
      v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
      l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
  parameter:
    name:
      v: warning-draft
    value: Uri
      v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
      l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
  parameter:
    name:
      v: warning-draft
    value: Uri
      v: https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1|0.4.0
      l: https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 266919005
    display:
      v: Never smoked
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 77176002
    display:
      v: Current smoker
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 8517006
    display:
      v: Ex-smoker
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 16090371000119103
    display:
      v: Exposure to second hand tobacco smoke
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 394872000
    display:
      v: Wants to quit
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 713914004
    display:
      v: Other tobacco use

ValueSet
id:
  v: YesNoNotAskedDeclined
url:
  v: https://smartforms.csiro.au/ig/ValueSet/YesNoNotAskedDeclined
  l: YesNoNotAskedDeclined
name:
  v: YesNoNotAskedDeclined
title:
  v: Yes/No/Not Asked/Asked But Declined
status:
  v: draft
experimental:
  v: false
description:
  v: Concepts for Yes, No, Not Asked and Asked But Declined
compose:
  include:
    system:
      v: http://terminology.hl7.org/CodeSystem/v2-0532
      l: v2-0532
    version:
      v: 2.0.0
    concept:
      code:
        v: Y
      display:
        v: Yes
    concept:
      code:
        v: N
      display:
        v: No
    concept:
      code:
        v: NASK
      display:
        v: Not Asked
  include:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    version:
      v: 1.0.0
    concept:
      code:
        v: asked-declined
      display:
        v: Asked But Declined
expansion:
  timestamp:
    v: 2025-09-18T16:28:54+10:00
  total:
    v: 4
  offset:
    v: 0
  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
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0
      l: http://terminology.hl7.org/CodeSystem/data-absent-reason
  contains:
    system:
      v: http://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: NASK
    display:
      v: Not Asked
  contains:
    system:
      v: http://terminology.hl7.org/CodeSystem/data-absent-reason
      l: data-absent-reason
    code:
      v: asked-declined
    display:
      v: Asked But Declined

ValueSet
id:
  v: CervicalScreeningStatus-1
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/valueset-supplement
    l: valueset-supplement
  value: Canonical
    v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
    l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
url:
  v: https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1
  l: CervicalScreeningStatus-1
name:
  v: CervicalScreeningStatus
title:
  v: Cervical Screening Status
status:
  v: draft
experimental:
  v: false
description:
  v: The Cervical Screening Status value set includes values that can be used to represent the status of an individual's participation in a cervical screening program.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    concept:
      code:
        v: 736595007
      display:
        v: Declined
    concept:
      code:
        v: 410527000
      display:
        v: Offered
    concept:
      code:
        v: 171154002
      display:
        v: Not required
    concept:
      code:
        v: 171155001
      display:
        v: Up to date
expansion:
  timestamp:
    v: 2025-10-29T09:42:14+10:00
  parameter:
    name:
      v: used-codesystem
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: version
    value: Uri
      v: http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031
      l: http://snomed.info/sct
  parameter:
    name:
      v: used-supplement
    value: Uri
      v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
      l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
  parameter:
    name:
      v: warning-draft
    value: Uri
      v: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.4.0
      l: https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement
  parameter:
    name:
      v: warning-draft
    value: Uri
      v: https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1|0.4.0
      l: https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 736595007
    display:
      v: Declined
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 410527000
    display:
      v: Offered
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 171154002
    display:
      v: Not required
  contains:
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/32506021000036107/version/20251031
    code:
      v: 171155001
    display:
      v: Up to date

ValueSet
id:
  v: amt-vaccine-1
meta:
  profile:
    v: http://hl7.org/fhir/StructureDefinition/shareablevalueset
    l: shareablevalueset
  profile:
    v: https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4
    l: composed-value-set-4
url:
  v: https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-1
  l: amt-vaccine-1
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:1.2.36.1.2001.1004.201.10042
version:
  v: 1.0.2
name:
  v: AustralianMedicinesTerminologyVaccine
title:
  v: Australian Medicines Terminology Vaccine
status:
  v: active
experimental:
  v: false
date:
  v: 2020-05-31
publisher:
  v: Australian Digital Health Agency
contact:
  telecom:
    system:
      v: email
description:
  v: The Australian Medicines Terminology (AMT) Vaccine value set includes AMT product concepts that may be used to record a vaccine product.
copyright:
  v: Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. All copies of this resource must include this copyright statement and all information contained in this statement.
compose:
  include:
    system:
      v: http://snomed.info/sct
      l: sct
    filter:
      property:
        v: concept
      op:
        v: in
      value:
        v: 1156291000168106

Immunization
id:
  v: ImmunizationTemplate
status:
  v: completed
vaccine code:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext
      l: sdc-questionnaire-templateExtractContext
    value: String
      v: item.where(linkId='vaccinestoday-vaccine').answer.value
  coding:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: ofType(Coding)
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: ofType(string)
patient:
  reference:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: %resource.subject.reference
occurrence: DateTime
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: item.where(linkId='vaccinestoday-date').answer.value.toDateTime()
lot number:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      l: sdc-questionnaire-templateExtractValue
    value: String
      v: item.where(linkId='vaccinestoday-batch').answer.value
note:
  text:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
        l: sdc-questionnaire-templateExtractValue
      value: String
        v: item.where(linkId='vaccinestoday-comment').answer.value

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
    concept:
      code:
        v: 933506231000036108
      display:
        v: Regular heart rhythm
    concept:
      code:
        v: 361137007
      display:
        v: Irregular heart rhythm
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

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:
      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-height-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: 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:
      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-lengthheight-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: 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/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: 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: ObsTobaccoSmokingStatus
  language:
    v: application/x-fhir-query
  expression:
    v: Observation?code=72166-2&_sort=-date&patient={{%patient.id}}

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: SexAtBirthCoding
  language:
    v: text/fhirpath
  expression:
    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

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: ObsTobaccoSmokingStatusLatest
  language:
    v: text/fhirpath
  expression:
    v: %ObsTobaccoSmokingStatus.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

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: YesNoNA
  reference:
    v: #YesNoNA

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: YesNo
  reference:
    v: #YesNo

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: YesNoNotAskedDeclined
  reference:
    v: #YesNoNotAskedDeclined

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: clinical-condition-1
  reference:
    v: #clinical-condition-1

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: administrative-gender
  reference:
    v: #administrative-gender

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: condition-clinical
  reference:
    v: #condition-clinical

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: AboriginalTorresStraitIslander
  reference:
    v: #AboriginalTorresStraitIslander

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: PrimaryCarerParentGrandparent
  reference:
    v: #PrimaryCarerParentGrandparent

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: australian-pronouns-1
  reference:
    v: #australian-pronouns-1

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: australian-states-territories-2
  reference:
    v: #australian-states-territories-2

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: gender-identity-response-1
  reference:
    v: #gender-identity-response-1

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: biological-sex-1
  reference:
    v: #biological-sex-1

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: SmokingQuitStatus-1
  reference:
    v: #SmokingQuitStatus-1

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: TobaccoUseStatus-1
  reference:
    v: #TobaccoUseStatus-1

url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference
  l: ContainedResourceReference
value: Reference
  l: CervicalScreeningStatus-1
  reference:
    v: #CervicalScreeningStatus-1

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

v: 0.4.0-assembled

v: AboriginalTorresStraitIslanderHealthCheck

v: Aboriginal and Torres Strait Islander Health Check

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/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: tab-container
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: age
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='e2a16e4d-2765-4b61-b286-82cfc6356b30').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: postcode
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='f1262ade-843c-4eba-a86d-51a9c97d134b').item.where(linkId='4e0dc185-f83e-4027-b7a8-ecb543d42c6d').item.where(linkId='3f61a1ea-1c74-4f52-8519-432ce861a74f').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryCurrentPriorities
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='b3a3eee2-f340-452e-9d05-d1f54f677b81').item.where(linkId='7cd424e5-7672-4e99-8a99-30b1fb3043fd').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryMedicalHistory
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='28d5dbe4-1e65-487c-847a-847f544a6a91').item.where(linkId='62774152-8a6e-4449-af9f-87bdce8b9bf5').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryRegularMedications
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='7dfe7c6a-ca7f-4ddf-9241-a7b918a9695a').item.where(linkId='aa9ff2ed-bcd2-406d-a9ff-89c201df2605').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryAllergiesAdverseReactions
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='d4e4db07-a795-4a30-bd0f-9c109f96a22b').item.where(linkId='3e689aeb-69a1-4a9b-93bd-50377511dd9b').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryFamilyHistory
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='01f67f0b-e3be-48d8-a2ad-4c54f469cd13').item.where(linkId='49ee4583-c608-41d4-a1e9-c06cf4292369').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummarySocialEmotionalWellbeing
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='0a3c9c93-5836-4a5b-93e5-d7de559e053a').item.where(linkId='b5a00aad-2a8b-4ac3-87b2-4a5920ca22ee').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummarySocialHistory
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='a5cc8a8f-89cf-470c-a6bd-ce9da2f64ee9').item.where(linkId='76d51512-b94a-4092-b3ae-a656fbb9c360').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryHomeFamily
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='819b3305-bf93-4502-9986-242ea2ae5f43').item.where(linkId='08d2e80e-3bb4-4f67-8b1c-090b1ace225a').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryLearningDevelopment
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='3e7d7246-98f8-4803-b063-8405ac30b086').item.where(linkId='5ab80929-5901-431d-bf68-67d532f5fa58').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryLearningWorkAdults
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='5437e30d-8a0a-4785-974e-00a10d2a1df0').item.where(linkId='3569e514-a74b-4343-b31b-3395e58d991a').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryLearningWorkOlder
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='dec713ae-246a-4961-95c9-0626bfebfed2').item.where(linkId='ed6f7800-e22a-4639-9d11-faf845513500').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryMood
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='9559242e-9ffe-4e1f-a9fc-86d1fa62c4b9').item.where(linkId='db9a8650-42a2-4bd3-8066-7e09394120d5').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryMemoryThinking
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='1bd58e7b-2cb7-45fb-965f-d5fa33d0bb4c').item.where(linkId='1f0e7fde-e964-4f36-9151-dbdc5e145f94').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryChronicDiseaseAgeing
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='c5da020c-c4f3-437c-b658-ea7e7667514d').item.where(linkId='7292070b-8944-4a40-bcf6-9aaf1721e986').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: HealthPrioritiesSummaryScreeningPrograms
    language:
      v: text/fhirpath
    expression:
      v: item.where(linkId='9674ffa0-2ad9-4ca3-80e6-e8bb0670a802').item.where(linkId='70f82c4b-d1f9-44d5-9903-bd7097799c05').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression

Expression
name:
  v: HealthPrioritiesSummaryHealthyEating
language:
  v: text/fhirpath
expression:
  v: item.where(linkId='ae7a3801-9491-4b1f-820c-678236d18f56').item.where(linkId='301789b0-8c6a-470d-8787-0ac6597e3bea').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryPhysicalActivityScreenTimeNotOlder
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='74736baa-455b-41d2-af98-fb65cd463e97').item.where(linkId='ccbd7fbf-0d40-4cb3-82b3-ad2c7cc7bba2').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryPhysicalActivityScreenTimeOlder
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='d56234a0-aafd-4c22-96c9-00ead8424f0b').item.where(linkId='25b8b8fd-adb1-48ab-aeae-528603668c4b').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummarySubstanceUse
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='14a9fb5f-5b0e-4862-b143-08a11cd3ebf0').item.where(linkId='f8e1cc1f-f1a1-4eb3-8255-77d600f52831').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryGambling
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='a7bb0dd2-4b2d-49c2-9da6-3cb0a4dd9240').item.where(linkId='2ab74c97-55d9-4fd9-968f-8962d62ea573').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummarySexualHealthAdolescents
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='4b49c291-6e93-4b7e-be3b-15ef8bc207ad').item.where(linkId='b41572ba-cf36-4cec-addf-cb0b47fea63f').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummarySexualHealthAdults
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='589b53a4-ceb2-41c0-850a-69438f9fd1cc').item.where(linkId='efd0735c-c379-471f-83bb-93b0392093aa').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummarySexualHealthOlder
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='02048954-e9d7-424e-8c7b-6a3c495d7ce4').item.where(linkId='e9936322-e6fe-4cf7-ab61-22846a8fbb95').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryEyeHealth
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='961da481-1698-4a1d-962b-a9c2185e335a').item.where(linkId='8dcdc04c-7655-4b47-88eb-8425f0cdc0d0').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryEarHealthHearing
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='de71bbd0-178c-4974-9c75-55d5a48c66f7').item.where(linkId='ac87b23a-b022-4d62-9e82-1c56583bca34').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryOralDentalHealth
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='bde9ab00-a20f-4a7c-9266-11f53f60c65f').item.where(linkId='875574fa-9769-42ca-8381-9e80c3e5233d').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummarySkin
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='7d4772cb-a1cd-49d9-853f-883ccd8343a6').item.where(linkId='88d23fa4-df88-43ab-a1d0-69315d55c3bf').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryImmunisation
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='205677d6-17c7-4285-a7c4-61aa02b6c816').item.where(linkId='bcd1c9f2-889e-41e5-8c2b-a70221c5cec5').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryExamination
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='fcbfa6e1-c101-4675-969d-aa11027859c2').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryAbsoluteCVDRisk
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='d95abe99-8ef2-4b97-bc88-a2901e2ebc9c').item.where(linkId='f8022f3f-21fe-42c0-8abd-95f24e2e37e5').answer.value

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: HealthPrioritiesSummaryInvestigations
  language:
    v: text/fhirpath
  expression:
    v: item.where(linkId='918f7f32-cdaf-4742-b33a-8254eda2d8bd').item.where(linkId='96a8d946-6078-4c85-9de8-3bf18d2c8150').answer.value

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

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

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: PostalAddress
  language:
    v: text/fhirpath
  expression:
    v: %patient.address.where(type='postal')

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: 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: 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: ObsTobaccoSmokingStatusValue
  language:
    v: text/fhirpath
  expression:
    v: %ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()

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

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsTobaccoSmokingStatusDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %ObsTobaccoSmokingStatusDateString.substring(8,2).toInteger().toString() + ' ' + %ObsTobaccoSmokingStatusDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsTobaccoSmokingStatusDateString.substring(0,4)

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

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/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: ObsTotalCholesterol
  language:
    v: application/x-fhir-query
  expression:
    v: Observation?code=14647-2&_sort=-date&patient={{%patient.id}}

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

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

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

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

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

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: CVDRiskResultValue
  language:
    v: text/fhirpath
  expression:
    v: %CVDRiskResultLatest.select((((value.ofType(Quantity).comparator + value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit | value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit).first() | (value.ofType(Range).low.value.toString() + ' - ' + value.ofType(Range).high.value.toString() + value.ofType(Range).high.unit)).first()) + ' ' + interpretation.coding.display)

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

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: CVDRiskResultDateFormatted
  language:
    v: text/fhirpath
  expression:
    v: %CVDRiskResultDateString.substring(8,2).toInteger().toString() + ' ' + %CVDRiskResultDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %CVDRiskResultDateString.substring(0,4)

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

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

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

v: group

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: About the health check
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-1').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-1').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-1
  text:
    v: In progress
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-1').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-1
  text:
    v: Complete
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-1').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-1
  text:
    v: Attention required
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
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
  text:
    v: Eligible for health check
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory
        l: questionnaire-displayCategory
      value: CodeableConcept
    text:
      v: not claimed 715 or 228 in past nine months
    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: %QuestionnaireResponseLatest.entry.resource.where(status='in-progress').exists()
  text:
    v: Health check already in progress?
  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: %QuestionnaireResponseLatestCompleted.entry.resource.authored
  text:
    v: Date of last completed health check
  type:
    v: dateTime
  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()
  text:
    v: Date this health check commenced
  type:
    v: date
  repeats:
    v: false
item:
  link id:
    v: about-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
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: MarkComplete-1
  text:
    v: Section completion status
  type:
    v: choice
  repeats:
    v: false
  answer option:
    value: String
      v: Complete

v: context-display

v: context-display

v: context-display

v: radio-button

system:
  v: http://hl7.org/fhir/questionnaire-display-category
  l: questionnaire-display-category
code:
  v: instructions

v: radio-button

value: String
  v: In progress

value: String
  v: Attention required

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: Consent
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-30').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-30').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-30
  text:
    v: In progress
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-30').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-30
  text:
    v: Complete
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-30').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-30
  text:
    v: Attention required
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %age > 12
  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
  text:
    v: Consent given after discussion of process and benefits of a health check
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
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
  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
  text:
    v: Consent given by parent/primary carer after discussion of process and benefits of a health check
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
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 <= 24
  text:
    v: Parent/primary caregiver present
  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
    text:
      v: Parent/primary caregiver is present for health check?
    type:
      v: choice
    repeats:
      v: false
    answer value set:
      v: #YesNoNA
      l: YesNoNA
  item:
    text:
      v: Relationship to child
    type:
      v: string
    enable when:
      operator:
        v: =
      answer: Coding
    repeats:
      v: true

v: context-display

v: context-display

v: context-display

v: radio-button

v: radio-button

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

v: Y

text:
  v: Consent for sharing of information
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
  text:
    v: Consent given for sharing of information with relevant healthcare providers?
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  text:
    v: Who/details
  type:
    v: text
  enable when:
    operator:
      v: =
    answer: Coding
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0136
        l: v2-0136
      code:
        v: Y
  repeats:
    v: true

v: radio-button

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()
text:
  v: Date
type:
  v: date
repeats:
  v: false

text:
  v: Doctor
type:
  v: string
repeats:
  v: false

text:
  v: Nurse
type:
  v: string
repeats:
  v: false

text:
  v: Aboriginal and/or Torres Strait Islander Health Worker / Health Practitioner
type:
  v: string
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 > 5
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
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel
    l: sdc-questionnaire-openLabel
  value: String
    v: Other, please specify
text:
  v: Location of health check
type:
  v: open-choice
repeats:
  v: false
answer option:
  value: Coding
    type: http://snomed.info/id/257585005
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 257585005
    display:
      v: Clinic
answer option:
  value: Coding
    type: http://snomed.info/id/264362003
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 264362003
    display:
      v: Home
answer option:
  value: Coding
    type: http://snomed.info/id/257698009
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 257698009
    display:
      v: School

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 <= 5
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
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel
    l: sdc-questionnaire-openLabel
  value: String
    v: Other, please specify
text:
  v: Location of health check
type:
  v: open-choice
repeats:
  v: false
answer option:
  value: Coding
    type: http://snomed.info/id/257585005
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 257585005
    display:
      v: Clinic
answer option:
  value: Coding
    type: http://snomed.info/id/264362003
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 264362003
    display:
      v: Home
answer option:
  value: Coding
    type: http://snomed.info/id/224848004
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 224848004
    display:
      v: Early learning centre

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

text:
  v: Patient Details
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-32').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-32').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-32
  text:
    v: In progress
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-32').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-32
  text:
    v: Complete
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-32').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-32
  text:
    v: Attention required
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  link id:
    v: patientdetails-writebackinstruction
  text:
    v: This section contains several read only, non-editable items. Updates to these items will need to be done in the patient record. The form can be repopulated to include any updates.
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: This section contains several read only, non-editable items. Updates to these items will need to be done in the patient record. The form can be repopulated to include any updates.
  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: (%patient.name.where(use='official').select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text) | %patient.name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)).first()
  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: (%patient.name.where(use='usual').select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)).first()
  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
      language:
        v: text/fhirpath
      expression:
        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
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  text:
    v: Preferred pronouns
  type:
    v: choice
  repeats:
    v: false
  read only:
    v: true
  answer value set:
    v: #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
      language:
        v: text/fhirpath
      expression:
        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
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  text:
    v: Gender identity
  type:
    v: choice
  repeats:
    v: false
  read only:
    v: true
  answer value set:
    v: #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
      language:
        v: text/fhirpath
      expression:
        v: %patient.gender
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean

v: context-display

v: context-display

v: context-display

v: drop-down

v: drop-down

v: radio-button

Boolean
v: true

v: Administrative gender

v: choice

v: false

v: #administrative-gender
l: administrative-gender

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: %SexAtBirthCoding
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
text:
  v: Sex assigned at birth
type:
  v: choice
repeats:
  v: false
read only:
  v: true
answer value set:
  v: #biological-sex-1
  l: biological-sex-1

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.birthDate
text:
  v: Date of birth
type:
  v: date
repeats:
  v: false
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: 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)
text:
  v: Age
type:
  v: integer
repeats:
  v: false
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.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/indigenous-status').value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
text:
  v: Aboriginal and/or Torres Strait Islander status
type:
  v: choice
repeats:
  v: false
read only:
  v: true
answer value set:
  v: #AboriginalTorresStraitIslander
  l: AboriginalTorresStraitIslander

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 <= 24
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: check-box
text:
  v: Parents/primary carer/s
type:
  v: choice
repeats:
  v: true
answer value set:
  v: #PrimaryCarerParentGrandparent
  l: PrimaryCarerParentGrandparent

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 <= 24
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/entryFormat
    l: entryFormat
  value: String
    v: Details
text:
  v: Other family
type:
  v: string
repeats:
  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 <= 24
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/entryFormat
    l: entryFormat
  value: String
    v: Details
text:
  v: Other
type:
  v: string
repeats:
  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 <= 12
text:
  v: Parents/primary carer/s details
type:
  v: group
repeats:
  v: true
item:
  text:
    v: Name of parent/primary carer
  type:
    v: string
  repeats:
    v: false
item:
  text:
    v: Relationship to child
  type:
    v: string
  repeats:
    v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
    l: sdc-questionnaire-itemPopulationContext
  value: Expression
    name:
      v: HomeAddressRepeat
    language:
      v: text/fhirpath
    expression:
      v: %patient.address.where(all(use='home' and (type.empty() or type!='postal')))
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
      language:
        v: text/fhirpath
      expression:
        v: %HomeAddressRepeat.extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').value
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  definition:
    v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.extension:noFixedAddress
    l: Address.extension:noFixedAddress
  text:
    v: No fixed address
  type:
    v: boolean
  repeats:
    v: false
item:
  text:
    v: Home address
    extension:
      url:
        v: https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden
        l: QuestionnaireItemTextHidden
      value: Boolean
        v: true
  type:
    v: group
  enable when:
    operator:
      v: !=
    answer: Boolean
      v: true
  repeats:
    v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
        l: sdc-questionnaire-initialExpression
      value: Expression
    definition:
      v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.line
      l: Address.line
    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
    definition:
      v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.city
      l: Address.city
    text:
      v: City
    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
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    definition:
      v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.state
      l: Address.state
    text:
      v: State
    type:
      v: choice
    repeats:
      v: false
    answer value set:
      v: #australian-states-territories-2
      l: australian-states-territories-2
  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/regex
        l: regex
      value: String
        v: matches('^[0-9]{4}$')
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/entryFormat
        l: entryFormat
      value: String
        v: ####
    definition:
      v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.postalCode
      l: Address.postalCode
    text:
      v: Postcode
    type:
      v: string
    repeats:
      v: false

v: check-box

v: text/fhirpath

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

v: text/fhirpath

v: %HomeAddressRepeat.city

v: text/fhirpath

v: %HomeAddressRepeat.state

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

v: text/fhirpath

v: %HomeAddressRepeat.postalCode

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
    l: sdc-questionnaire-itemPopulationContext
  value: Expression
    name:
      v: PostalAddressRepeat
    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: %PostalAddress.exists()
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
      language:
        v: text/fhirpath
      expression:
        v: %PostalAddressRepeat.use
  definition:
    v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.use
    l: Address.use
  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
      language:
        v: text/fhirpath
      expression:
        v: %PostalAddressRepeat.select(line.join(', '))
  definition:
    v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.line
    l: Address.line
  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
      language:
        v: text/fhirpath
      expression:
        v: %PostalAddressRepeat.city
  definition:
    v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.city
    l: Address.city
  text:
    v: City
  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: %PostalAddressRepeat.state
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  definition:
    v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.state
    l: Address.state
  text:
    v: State
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #australian-states-territories-2
    l: australian-states-territories-2
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: %PostalAddressRepeat.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: ####
  definition:
    v: http://hl7.org.au/fhir/StructureDefinition/au-address#Address.postalCode
    l: Address.postalCode
  text:
    v: Postcode
  type:
    v: string
  repeats:
    v: false

v: drop-down

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
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
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: EmergencyContactRepeat
    language:
      v: text/fhirpath
    expression:
      v: %patient.contact.where(relationship.coding.exists(code = 'C'))
text:
  v: Emergency contact
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: %EmergencyContactRepeat.name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)
  text:
    v: Name
  type:
    v: string
  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: %age <= 12
  text:
    v: Relationship to child
  type:
    v: string
  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: %age > 12
  text:
    v: Relationship to patient
  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: %EmergencyContactRepeat.telecom.value
  text:
    v: Phone
  type:
    v: string
  repeats:
    v: true

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

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.identifier.where(type.coding.exists(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='HC')).value
text:
  v: Health Care Card Number
type:
  v: string
repeats:
  v: false
read only:
  v: true
max length:
  v: 10

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.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration').value
text:
  v: Registered for Closing the Gap PBS Co-payment Measure (CTG)
type:
  v: boolean
repeats:
  v: false
read only:
  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 <= 5
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
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
text:
  v: Child has a birth certificate
type:
  v: choice
repeats:
  v: false
answer value set:
  v: #YesNoNA
  l: YesNoNA

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
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
  text:
    v: Registered for My Aged Care
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  text:
    v: My Aged Care Number
  type:
    v: string
  enable when:
    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

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
  text:
    v: Registered for NDIS
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  text:
    v: NDIS Number
  type:
    v: string
  enable when:
    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-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: (%age <= 49) and (%age > 12)
text:
  v: Children
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
  text:
    v: Do you have children?
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  text:
    v: Number of children
  type:
    v: integer
  enable when:
    operator:
      v: =
    answer: Coding
      system:
        v: http://terminology.hl7.org/CodeSystem/v2-0136
        l: v2-0136
      code:
        v: Y
  repeats:
    v: false
item:
  text:
    v: Number of children in your care
  type:
    v: integer
  enable when:
    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-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %age > 12
text:
  v: Someone's carer
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
  text:
    v: Are you responsible for caring for someone else?
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  text:
    v: Details
  type:
    v: text
  enable when:
    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-enableWhenExpression
    l: sdc-questionnaire-enableWhenExpression
  value: Expression
    language:
      v: text/fhirpath
    expression:
      v: %age >= 50
text:
  v: Your carer
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
  text:
    v: Do you have a carer?
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  text:
    v: Details
  type:
    v: text
  enable when:
    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

text:
  v: Providers
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
  text:
    v: Are name and contact details of other key providers (eg case workers, support services) up to date?
  type:
    v: choice
  repeats:
    v: false
  answer value set:
    v: #YesNoNA
    l: YesNoNA
item:
  text:
    v: Details
  type:
    v: text
  repeats:
    v: false

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 >= 50
text:
  v: Advance care planning
type:
  v: group
repeats:
  v: false
item:
  text:
    v: Enduring Power of Attorney
  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
    text:
      v: Enduring Power of Attorney
    type:
      v: choice
    repeats:
      v: false
    answer value set:
      v: #YesNoNA
      l: YesNoNA
  item:
    text:
      v: Discussed today
    type:
      v: text
    repeats:
      v: false
item:
  text:
    v: Advance Health Directive
  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
    text:
      v: Advance Health Directive
    type:
      v: choice
    repeats:
      v: false
    answer value set:
      v: #YesNoNA
      l: YesNoNA
  item:
    text:
      v: Discussed today
    type:
      v: text
    repeats:
      v: false

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

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

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

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText
    l: sdc-questionnaire-shortText
  value: String
    v: Current priorities
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: Current health/patient priorities
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-5').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-5').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-5
  text:
    v: In progress
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-5').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-5
  text:
    v: Complete
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-5').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-5
  text:
    v: Attention required
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: Details
  text:
    v: What are the important things for you in this health check today?
  type:
    v: text
  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: %age > 12
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: Details
  text:
    v: Is there anything you are worried about?
  type:
    v: text
  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: %age <= 12
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: Details
  text:
    v: Is there anything that you are worried about with your child's health or wellbeing?
  type:
    v: text
  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: %age <= 5
  text:
    v: Child Health Book
  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
    text:
      v: Does your child have a Child Health Book?
    type:
      v: choice
    repeats:
      v: false
    answer value set:
      v: #YesNo
      l: YesNo
  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: context-display

v: context-display

v: context-display

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

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

Code
v: horizontal

v: Is it up to date?

v: choice

operator:
  v: =
answer: Coding
  system:
    v: http://terminology.hl7.org/CodeSystem/v2-0136
    l: v2-0136
  code:
    v: Y

v: false

v: #YesNo
l: YesNo

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/entryFormat
    l: entryFormat
  value: String
    v: Details
text:
  v: Do you have any specific health goals? Is there anything in particular about your health and wellbeing that you would like to improve?
type:
  v: text
repeats:
  v: false

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

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

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: Medical history and current problems
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-17').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-17').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-17
  text:
    v: In progress
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-17').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-17
  text:
    v: Complete
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-17').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-17
  text:
    v: Attention required
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %age <= 5
  text:
    v: Birth history
  type:
    v: group
  repeats:
    v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
        l: questionnaire-unit
      value: Coding
    text:
      v: Gestation at birth
    type:
      v: decimal
    repeats:
      v: false
    item:
      extension:
        value: CodeableConcept
      text:
        v: weeks
      type:
        v: display
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-unit
        l: questionnaire-unit
      value: Coding
    text:
      v: Birth weight
    type:
      v: decimal
    repeats:
      v: false
    item:
      extension:
        value: CodeableConcept
      text:
        v: kg
      type:
        v: display
item:
  link id:
    v: medicalhistorysummary
  text:
    v: Medical history summary
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: Medical history summary This section includes a list of existing items from the patient record. Update these items here or update the patient record and repopulate the form. Add new items at the bottom.
  type:
    v: group
  item:
    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
    extension:
      extension:
        value: Reference
      extension:
        value: String
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
        l: sdc-questionnaire-templateExtract
    text:
      v: Medical history summary
      extension:
        value: Boolean
    type:
      v: group
    repeats:
      v: true
    item:
      extension:
        value: Boolean
      extension:
        value: Expression
      link id:
        v: conditionId
      type:
        v: string

v: context-display

v: context-display

v: context-display

v: wk

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

v: kg

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

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

v: ConditionRepeat

v: text/fhirpath

v: %Condition.entry.resource.where(verificationStatus.coding.all(code.empty() or code='confirmed'))

v: template
l: template

Reference
l: ConditionPatchTemplate
reference:
  v: #ConditionPatchTemplate

String
v: 'Condition/' + item.where(linkId='conditionId').answer.value

Boolean
v: true

Boolean
v: true

Expression
language:
  v: text/fhirpath
expression:
  v: %ConditionRepeat.id

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: autocomplete
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
    l: sdc-questionnaire-width
  value: Quantity
    value:
      v: 40
    system:
      v: http://unitsofmeasure.org
      l: unitsofmeasure.org
    code:
      v: %
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: %ConditionRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())
text:
  v: Condition
type:
  v: open-choice
read only:
  v: true
answer value set:
  v: #clinical-condition-1
  l: clinical-condition-1

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
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: %ConditionRepeat.clinicalStatus.coding
text:
  v: Clinical status
type:
  v: choice
answer value set:
  v: #condition-clinical
  l: condition-clinical

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: %ConditionRepeat.clinicalStatus.coding
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    l: questionnaire-hidden
  value: Boolean
    v: true
link id:
  v: medicalhistory-status-hidden
type:
  v: choice
answer value set:
  v: #condition-clinical
  l: condition-clinical

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: %ConditionRepeat.onset.ofType(dateTime).toDate()
text:
  v: Onset date
type:
  v: date
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: %ConditionRepeat.abatement.ofType(dateTime).toDate()
text:
  v: Abatement date
type:
  v: date

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: %ConditionRepeat.abatement.ofType(dateTime).toDate()
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    l: questionnaire-hidden
  value: Boolean
    v: true
link id:
  v: medicalhistory-abatementdate-hidden
type:
  v: date

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: gtable
extension:
  extension:
    url:
      v: template
      l: template
    value: Reference
      l: ConditionTemplate
      reference:
        v: #ConditionTemplate
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
    l: sdc-questionnaire-templateExtract
link id:
  v: newdiagnosis
text:
  v: New diagnosis
  extension:
    url:
      v: https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden
      l: QuestionnaireItemTextHidden
    value: Boolean
      v: true
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
      value:
        v: 35
      system:
        v: http://unitsofmeasure.org
        l: unitsofmeasure.org
      code:
        v: %
  text:
    v: Condition
  type:
    v: open-choice
  answer value set:
    v: #clinical-condition-1
    l: clinical-condition-1
item:
  text:
    v: Onset date
  type:
    v: date
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width
      l: sdc-questionnaire-width
    value: Quantity
      value:
        v: 45
      system:
        v: http://unitsofmeasure.org
        l: unitsofmeasure.org
      code:
        v: %
  link id:
    v: newdiagnosis-comment
  text:
    v: Comment
  type:
    v: string

v: autocomplete

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

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

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: Regular medications
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-23').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-23').answer.value.empty()
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-in-progress-23
  text:
    v: In progress
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-23').answer.value = 'Complete'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-complete-23
  text:
    v: Complete
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
      l: sdc-questionnaire-enableWhenExpression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: %resource.repeat(item).where(linkId='MarkComplete-23').answer.value = 'Attention required'
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: CD-attention-23
  text:
    v: Attention required
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
  type:
    v: display
item:
  link id:
    v: regularmedications-instruction
  text:
    v: Check medications are still required, appropriate dose, understanding of medication and adherence
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: Check medications are still required, appropriate dose, understanding of medication and adherence
  type:
    v: display
item:
  link id:
    v: regularmedications-summary
  text:
    v: Medication summary
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
        l: rendering-xhtml
      value: String
        v: Medication summary This section includes a list of existing items from the patient record. Update these items here or update the patient record and repopulate the form. Add new items at the bottom.
  type:
    v: group
  repeats:
    v: false
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
        l: sdc-questionnaire-itemPopulationContext
      value: Expression
    extension:
      extension:
        value: Reference
      extension:
        value: String
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
        l: sdc-questionnaire-templateExtract
    extension:
      url:
        v: https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton
        l: GroupHideAddItemButton
      value: Boolean
        v: true
    link id:
      v: regularmedications-summary-current
    text:
      v: Current medications
      extension:
        value: Boolean
    type:
      v: group
    repeats:
      v: true
    item:
      extension:
        value: Boolean
      extension:
        value: Expression
      link id:
        v: medicationStatementId
      type:
        v: string
    item:
      extension:
        value: CodeableConcept
      extension:
        value: Expression
      link id:
        v: regularmedications-summary-current-medication
      text:
        v: Medication
      type:
        v: open-choice
      repeats:
        v: false
      read only:
        v: true
      answer value set:
        v: #smart-health-checks-medicine-products
        l: smart-health-checks-medicine-products
    item:
      extension:
        value: Expression
      link id:
        v: regularmedications-summary-current-status
      text:
        v: Status
      type:
        v: choice
      repeats:
        v: false
      answer value set:
        v: #MedicationStatementStatusLimited
        l: MedicationStatementStatusLimited
    item:
      extension:
        value: Expression
      extension:
        value: Boolean
      link id:
        v: regularmedications-summary-current-status-hidden
      type:
        v: choice
      repeats:
        v: false

v: context-display

v: context-display

v: context-display

v: MedicationStatementRepeat

v: text/fhirpath

v: %MedicationStatement.entry.resource.ofType(MedicationStatement)

v: template
l: template

Reference
l: MedicationStatementPatchTemplate
reference:
  v: #MedicationStatementPatchTemplate

String
v: 'MedicationStatement/' + item.where(linkId='medicationStatementId').answer.value

Boolean
v: true

Boolean
v: true

Expression
language:
  v: text/fhirpath
expression:
  v: %MedicationStatementRepeat.id

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

Expression
language:
  v: text/fhirpath
expression:
  v: iif(%MedicationStatementRepeat.medication.reference.replace('#', '') in %medicationsFromContained.id, %medicationsFromContained.where(id = %MedicationStatementRepeat.medication.reference.replace('#', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()), iif(%MedicationStatementRepeat.medication.reference.replace('Medication/', '') in %medicationsFromRef.id , %medicationsFromRef.where(id = %MedicationStatementRepeat.medication.reference.replace('Medication/', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()) ,%MedicationStatementRepeat.medication.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())))

Expression
language:
  v: text/fhirpath
expression:
  v: %MedicationStatementRepeat.status

Expression
language:
  v: text/fhirpath
expression:
  v: %MedicationStatementRepeat.status

Boolean
v: true

v: #MedicationStatementStatusLimited
l: MedicationStatementStatusLimited

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: %MedicationStatementRepeat.dosage.text
link id:
  v: regularmedications-summary-current-dosage
text:
  v: Dosage
type:
  v: text
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: %MedicationStatementRepeat.dosage.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    l: questionnaire-hidden
  value: Boolean
    v: true
link id:
  v: regularmedications-summary-current-dosage-hidden
type:
  v: text
repeats:
  v: false

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: autocomplete
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: %MedicationStatementRepeat.reasonCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())
link id:
  v: regularmedications-summary-current-reasoncode
text:
  v: Clinical indication
type:
  v: open-choice
repeats:
  v: true
read only:
  v: true
answer value set:
  v: #medication-reason-taken-1
  l: medication-reason-taken-1

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: %MedicationStatementRepeat.note.text
link id:
  v: regularmedications-summary-current-comment
text:
  v: Comment
type:
  v: text
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: %MedicationStatementRepeat.note.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    l: questionnaire-hidden
  value: Boolean
    v: true
link id:
  v: regularmedications-summary-current-comment-hidden
type:
  v: text
repeats:
  v: false

extension:
  extension:
    url:
      v: template
      l: template
    value: Reference
      l: MedicationStatementTemplate
      reference:
        v: #MedicationStatementTemplate
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
    l: sdc-questionnaire-templateExtract
link id:
  v: regularmedications-summary-new
text:
  v: New medications
  extension:
    url:
      v: https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden
      l: QuestionnaireItemTextHidden
    value: Boolean
      v: true
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: regularmedications-summary-new-medication
  text:
    v: Medication
  type:
    v: open-choice
  repeats:
    v: false
  answer value set:
    v: #smart-health-checks-medicine-products
    l: smart-health-checks-medicine-products
item:
  link id:
    v: regularmedications-summary-new-dosage
  text:
    v: Dosage
  type:
    v: text
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: regularmedications-summary-new-reasoncode
  text:
    v: Clinical indication
  type:
    v: open-choice
  repeats:
    v: true
  answer value set:
    v: #medication-reason-taken-1
    l: medication-reason-taken-1
item:
  link id:
    v: regularmedications-summary-new-comment
  text:
    v: Comment
  type:
    v: text
  repeats:
    v: false

v: autocomplete

v: autocomplete

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: radio-button
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText
    l: sdc-questionnaire-shortText
  value: String
    v: Does your child take any regular medications?
text:
  v: Does your child take any regular medications (prescribed, over-the-counter, traditional, complementary and alternative)?
type:
  v: choice
repeats:
  v: false
answer value set:
  v: #YesNo
  l: YesNo

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: radio-button
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText
    l: sdc-questionnaire-shortText
  value: String
    v: Do you take any regular medications?
text:
  v: Do you take any regular medications (prescribed, over-the-counter, traditional, complementary and alternative)?
type:
  v: choice
repeats:
  v: false
answer value set:
  v: #YesNo
  l: YesNo

text:
  v: Check the health record is up to date
type:
  v: boolean
repeats:
  v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText
    l: sdc-questionnaire-shortText
  value: String
    v: Understanding and adherence checked
text:
  v: Check medication understanding and adherence with patient
type:
  v: boolean
enable when:
  operator:
    v: =
  answer: Coding
    system:
      v: http://terminology.hl7.org/CodeSystem/v2-0136
      l: v2-0136
    code:
      v: Y
enable when:
  operator:
    v: =
  answer: Coding
    system:
      v: http://terminology.hl7.org/CodeSystem/v2-0136
      l: v2-0136
    code:
      v: Y
enable behavior:
  v: any
repeats:
  v: false

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

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

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()
link id:
  v: allergy
text:
  v: Allergies/adverse reactions