# Aboriginal and Torres Strait Islander Health Check - Patient Details - Smart Health Checks v0.4.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Aboriginal and Torres Strait Islander Health Check - Patient Details**

## Questionnaire: Aboriginal and Torres Strait Islander Health Check - Patient Details 

| | |
| :--- | :--- |
| *Official URL*:http://www.health.gov.au/assessments/mbs/715/PatientDetails | *Version*:0.4.0 |
| Draft as of 2025-03-14 | *Computable Name*:PatientDetails |
| **Copyright/Legal**: 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/. | |



## Resource Content

```json
{
  "resourceType" : "Questionnaire",
  "id" : "PatientDetails",
  "meta" : {
    "profile" : [
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render",
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular",
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp"
    ]
  },
  "contained" : [
    {
      "resourceType" : "ValueSet",
      "id" : "YesNoNA",
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/valueset-supplement",
          "valueCanonical" : "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement|0.4.0"
        }
      ],
      "url" : "https://smartforms.csiro.au/ig/ValueSet/YesNoNA",
      "name" : "YesNoNA",
      "title" : "Yes/No/NA",
      "status" : "draft",
      "experimental" : false,
      "description" : "Concepts for Yes, No and Not applicable",
      "compose" : {
        "include" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0532",
            "version" : "2.0.0",
            "concept" : [
              {
                "code" : "Y",
                "display" : "Yes"
              },
              {
                "code" : "N",
                "display" : "No"
              },
              {
                "code" : "NA",
                "display" : "N/A"
              }
            ]
          }
        ]
      },
      "expansion" : {
        "identifier" : "urn:uuid:e9020f5b-3df2-4fcb-9f8f-9aa20ef6f181",
        "timestamp" : "2025-10-29T16:30:17+10:00",
        "total" : 3,
        "parameter" : [
          {
            "name" : "used-supplement",
            "valueUri" : "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement|0.4.0"
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://terminology.hl7.org/CodeSystem/v2-0532|2.0.0"
          },
          {
            "name" : "version",
            "valueUri" : "http://terminology.hl7.org/CodeSystem/v2-0532|2.0.0"
          },
          {
            "name" : "warning-draft",
            "valueUri" : "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksExpandedYesNoIndicatorSupplement|0.4.0"
          },
          {
            "name" : "warning-draft",
            "valueUri" : "https://smartforms.csiro.au/ig/ValueSet/YesNoNA|0.4.0"
          }
        ],
        "contains" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0532",
            "version" : "2.0.0",
            "code" : "Y",
            "display" : "Yes"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0532",
            "version" : "2.0.0",
            "code" : "N",
            "display" : "No"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0532",
            "version" : "2.0.0",
            "code" : "NA",
            "display" : "N/A"
          }
        ]
      }
    },
    {
      "resourceType" : "ValueSet",
      "id" : "AboriginalTorresStraitIslander",
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/valueset-supplement",
          "valueCanonical" : "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement|0.4.0"
        }
      ],
      "url" : "https://smartforms.csiro.au/ig/ValueSet/AboriginalTorresStraitIslander",
      "name" : "AboriginalTorresStraitIslander",
      "title" : "Aboriginal and/or Torres Strait Islander",
      "status" : "draft",
      "experimental" : false,
      "description" : "The Aboriginal and/or Torres Strait Islander value set includes the Australian Indigenous statuses for Indigenous people.",
      "compose" : {
        "include" : [
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
            "version" : "1.0.5",
            "concept" : [
              {
                "code" : "1",
                "display" : "Aboriginal"
              },
              {
                "code" : "2",
                "display" : "Torres Strait Islander"
              },
              {
                "code" : "3",
                "display" : "Aboriginal and Torres Strait Islander"
              }
            ]
          }
        ]
      },
      "expansion" : {
        "identifier" : "urn:uuid:99d3428a-7ac4-47ff-b2b7-e50ccf5e1b49",
        "timestamp" : "2025-10-29T16:34:14+10:00",
        "total" : 3,
        "parameter" : [
          {
            "name" : "used-supplement",
            "valueUri" : "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement|0.4.0"
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.5"
          },
          {
            "name" : "version",
            "valueUri" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.5"
          },
          {
            "name" : "warning-draft",
            "valueUri" : "https://smartforms.csiro.au/ig/ValueSet/AboriginalTorresStraitIslander|0.4.0"
          },
          {
            "name" : "warning-draft",
            "valueUri" : "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksAustralianIndigenousStatusSupplement|0.4.0"
          }
        ],
        "contains" : [
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
            "version" : "1.0.5",
            "code" : "1",
            "display" : "Aboriginal"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
            "version" : "1.0.5",
            "code" : "2",
            "display" : "Torres Strait Islander"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
            "version" : "1.0.5",
            "code" : "3",
            "display" : "Aboriginal and Torres Strait Islander"
          }
        ]
      }
    },
    {
      "resourceType" : "ValueSet",
      "id" : "PrimaryCarerParentGrandparent",
      "url" : "https://smartforms.csiro.au/ig/ValueSet/PrimaryCarerParentGrandparent",
      "name" : "PrimaryCarerParentGrandparent",
      "title" : "Primary Carer Of Parent Or Grandparent",
      "status" : "draft",
      "experimental" : false,
      "description" : "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.",
      "compose" : {
        "include" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
            "concept" : [
              {
                "code" : "MTH"
              },
              {
                "code" : "FTH"
              },
              {
                "code" : "GRPRN"
              }
            ]
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor",
            "concept" : [
              {
                "code" : "NA"
              }
            ]
          }
        ]
      },
      "expansion" : {
        "identifier" : "urn:uuid:f8e7efc2-94d6-403e-9e40-3a3a4e9fffb4",
        "timestamp" : "2025-05-01T10:00:56+10:00",
        "total" : 4,
        "offset" : 0,
        "parameter" : [
          {
            "name" : "displayLanguage",
            "valueCode" : "en-US"
          },
          {
            "name" : "count",
            "valueInteger" : 1000
          },
          {
            "name" : "offset",
            "valueInteger" : 0
          },
          {
            "name" : "excludeNested",
            "valueBoolean" : false
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode|3.0.0"
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|3.0.0"
          }
        ],
        "contains" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
            "code" : "MTH",
            "display" : "mother"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
            "code" : "FTH",
            "display" : "father"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
            "code" : "GRPRN",
            "display" : "grandparent"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor",
            "code" : "NA",
            "display" : "not applicable"
          }
        ]
      }
    },
    {
      "resourceType" : "ValueSet",
      "id" : "administrative-gender",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
          "valueCode" : "pa"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
          "valueCode" : "normative"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger" : 5
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
          "valueCode" : "4.0.0"
        }
      ],
      "url" : "http://hl7.org/fhir/ValueSet/administrative-gender",
      "identifier" : [
        {
          "system" : "urn:ietf:rfc:3986",
          "value" : "urn:oid:2.16.840.1.113883.4.642.3.1"
        }
      ],
      "version" : "4.0.1",
      "name" : "AdministrativeGender",
      "title" : "AdministrativeGender",
      "status" : "active",
      "experimental" : false,
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7 (FHIR Project)",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://hl7.org/fhir"
            },
            {
              "system" : "email",
              "value" : "fhir@lists.hl7.org"
            }
          ]
        }
      ],
      "description" : "The gender of a person used for administrative purposes.",
      "immutable" : true,
      "copyright" : "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".",
      "compose" : {
        "include" : [
          {
            "system" : "http://hl7.org/fhir/administrative-gender"
          }
        ]
      },
      "expansion" : {
        "identifier" : "urn:uuid:31c9098a-778c-4de6-9c2b-4f1e2db26179",
        "timestamp" : "2025-05-01T10:00:55+10:00",
        "total" : 4,
        "offset" : 0,
        "parameter" : [
          {
            "name" : "displayLanguage",
            "valueCode" : "en-US"
          },
          {
            "name" : "count",
            "valueInteger" : 1000
          },
          {
            "name" : "offset",
            "valueInteger" : 0
          },
          {
            "name" : "excludeNested",
            "valueBoolean" : false
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://hl7.org/fhir/administrative-gender|4.0.1"
          }
        ],
        "contains" : [
          {
            "system" : "http://hl7.org/fhir/administrative-gender",
            "code" : "male",
            "display" : "Male"
          },
          {
            "system" : "http://hl7.org/fhir/administrative-gender",
            "code" : "female",
            "display" : "Female"
          },
          {
            "system" : "http://hl7.org/fhir/administrative-gender",
            "code" : "other",
            "display" : "Other"
          },
          {
            "system" : "http://hl7.org/fhir/administrative-gender",
            "code" : "unknown",
            "display" : "Unknown"
          }
        ]
      }
    },
    {
      "resourceType" : "ValueSet",
      "id" : "australian-pronouns-1",
      "url" : "https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1",
      "identifier" : [
        {
          "system" : "urn:ietf:rfc:3986",
          "value" : "urn:oid:1.2.36.1.2001.1004.201.10284"
        }
      ],
      "version" : "1.0.0",
      "name" : "AustralianPronouns",
      "title" : "Australian Pronouns",
      "status" : "active",
      "experimental" : false,
      "date" : "2024-02-29",
      "publisher" : "Australian Digital Health Agency",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "email",
              "value" : "help@digitalhealth.gov.au"
            }
          ]
        }
      ],
      "description" : "The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual.",
      "copyright" : "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/. \n\nThis 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.\n\nThis 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: \n\nThis 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" : "http://loinc.org",
            "concept" : [
              {
                "code" : "LA29518-0",
                "display" : "he/him/his/his/himself"
              },
              {
                "code" : "LA29519-8",
                "display" : "she/her/her/hers/herself"
              },
              {
                "code" : "LA29520-6",
                "display" : "they/them/their/theirs/themselves"
              }
            ]
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "concept" : [
              {
                "code" : "unknown"
              },
              {
                "code" : "asked-declined"
              },
              {
                "code" : "not-asked"
              },
              {
                "code" : "asked-unknown"
              }
            ]
          }
        ]
      },
      "expansion" : {
        "identifier" : "urn:uuid:1bc98e8c-511f-4014-a4d9-a48a8db0923d",
        "timestamp" : "2025-05-01T10:00:56+10:00",
        "total" : 7,
        "offset" : 0,
        "parameter" : [
          {
            "name" : "displayLanguage",
            "valueCode" : "en-US"
          },
          {
            "name" : "count",
            "valueInteger" : 1000
          },
          {
            "name" : "offset",
            "valueInteger" : 0
          },
          {
            "name" : "excludeNested",
            "valueBoolean" : false
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://loinc.org|2.80"
          },
          {
            "name" : "version",
            "valueUri" : "http://loinc.org|2.80"
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0"
          }
        ],
        "contains" : [
          {
            "system" : "http://loinc.org",
            "code" : "LA29518-0",
            "display" : "he/him/his/his/himself"
          },
          {
            "system" : "http://loinc.org",
            "code" : "LA29519-8",
            "display" : "she/her/her/hers/herself"
          },
          {
            "system" : "http://loinc.org",
            "code" : "LA29520-6",
            "display" : "they/them/their/theirs/themselves"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "unknown",
            "display" : "Unknown"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "asked-declined",
            "display" : "Asked But Declined"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "not-asked",
            "display" : "Not Asked"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "asked-unknown",
            "display" : "Asked But Unknown"
          }
        ]
      }
    },
    {
      "resourceType" : "ValueSet",
      "id" : "gender-identity-response-1",
      "url" : "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1",
      "identifier" : [
        {
          "system" : "urn:ietf:rfc:3986",
          "value" : "urn:oid:1.2.36.1.2001.1004.201.10271"
        }
      ],
      "version" : "1.1.0",
      "name" : "GenderIdentityResponse",
      "title" : "Gender Identity Response",
      "status" : "active",
      "experimental" : false,
      "date" : "2024-02-29",
      "publisher" : "Australian Digital Health Agency",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "email",
              "value" : "help@digitalhealth.gov.au"
            }
          ]
        }
      ],
      "description" : "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" : "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/.\n\n\"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. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material.  No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis 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. \n\nThis 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" : "http://snomed.info/sct",
            "concept" : [
              {
                "code" : "446151000124109"
              },
              {
                "code" : "446141000124107"
              },
              {
                "code" : "33791000087105"
              }
            ]
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "concept" : [
              {
                "code" : "unknown"
              },
              {
                "code" : "asked-declined"
              },
              {
                "code" : "not-asked"
              }
            ]
          }
        ]
      },
      "expansion" : {
        "identifier" : "urn:uuid:5cd85856-1ce5-43f2-afff-063f748c2c7d",
        "timestamp" : "2025-10-28T16:39:25+10:00",
        "offset" : 0,
        "parameter" : [
          {
            "name" : "displayLanguage",
            "valueCode" : "en"
          },
          {
            "name" : "count",
            "valueInteger" : 1000
          },
          {
            "name" : "offset",
            "valueInteger" : 0
          },
          {
            "name" : "excludeNested",
            "valueBoolean" : false
          },
          {
            "name" : "system-version",
            "valueUri" : "http://snomed.info/sct|http://snomed.info/sct/32506021000036107"
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031"
          },
          {
            "name" : "version",
            "valueUri" : "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031"
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0"
          }
        ],
        "contains" : [
          {
            "system" : "http://snomed.info/sct",
            "code" : "446151000124109",
            "display" : "Identifies as male gender"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "446141000124107",
            "display" : "Identifies as female gender"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "33791000087105",
            "display" : "Identifies as nonbinary gender"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "unknown",
            "display" : "Unknown"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "asked-declined",
            "display" : "Asked But Declined"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "not-asked",
            "display" : "Not Asked"
          }
        ]
      }
    },
    {
      "resourceType" : "ValueSet",
      "id" : "biological-sex-1",
      "meta" : {
        "profile" : [
          "http://hl7.org/fhir/StructureDefinition/shareablevalueset",
          "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4"
        ]
      },
      "url" : "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1",
      "identifier" : [
        {
          "system" : "urn:ietf:rfc:3986",
          "value" : "urn:oid:1.2.36.1.2001.1004.201.10198"
        }
      ],
      "version" : "1.1.0",
      "name" : "BiologicalSex",
      "title" : "Biological Sex",
      "status" : "active",
      "experimental" : false,
      "date" : "2024-11-30",
      "publisher" : "Australian Digital Health Agency",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "email",
              "value" : "help@digitalhealth.gov.au"
            }
          ]
        }
      ],
      "description" : "The Biological Sex value set includes values that represent the biological sex of an individual.",
      "copyright" : "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material.  No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.",
      "compose" : {
        "include" : [
          {
            "system" : "http://snomed.info/sct",
            "filter" : [
              {
                "property" : "constraint",
                "op" : "=",
                "value" : "^ 32570631000036107|Sex reference set|"
              }
            ]
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "concept" : [
              {
                "code" : "asked-unknown"
              },
              {
                "code" : "unknown"
              },
              {
                "code" : "asked-declined"
              },
              {
                "code" : "not-asked"
              }
            ]
          }
        ]
      },
      "expansion" : {
        "identifier" : "urn:uuid:3491de0c-49f2-4913-8909-a63c92d14c9d",
        "timestamp" : "2025-10-28T16:39:14+10:00",
        "offset" : 0,
        "parameter" : [
          {
            "name" : "displayLanguage",
            "valueCode" : "en"
          },
          {
            "name" : "count",
            "valueInteger" : 1000
          },
          {
            "name" : "offset",
            "valueInteger" : 0
          },
          {
            "name" : "excludeNested",
            "valueBoolean" : false
          },
          {
            "name" : "system-version",
            "valueUri" : "http://snomed.info/sct|http://snomed.info/sct/32506021000036107"
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031"
          },
          {
            "name" : "version",
            "valueUri" : "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20251031"
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0"
          }
        ],
        "contains" : [
          {
            "system" : "http://snomed.info/sct",
            "code" : "248152002",
            "display" : "Female"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "32570681000036106",
            "display" : "Indeterminate sex"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "32570691000036108",
            "display" : "Intersex"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "248153007",
            "display" : "Male"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "asked-unknown",
            "display" : "Asked But Unknown"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "unknown",
            "display" : "Unknown"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "asked-declined",
            "display" : "Asked But Declined"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/data-absent-reason",
            "code" : "not-asked",
            "display" : "Not Asked"
          }
        ]
      }
    },
    {
      "resourceType" : "ValueSet",
      "id" : "australian-states-territories-2",
      "meta" : {
        "profile" : [
          "http://hl7.org/fhir/StructureDefinition/shareablevalueset",
          "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4"
        ]
      },
      "url" : "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2",
      "identifier" : [
        {
          "system" : "urn:ietf:rfc:3986",
          "value" : "urn:oid:1.2.36.1.2001.1004.201.10026"
        }
      ],
      "version" : "2.0.2",
      "name" : "AustralianStatesAndTerritories",
      "title" : "Australian States and Territories",
      "status" : "active",
      "experimental" : false,
      "date" : "2020-05-31",
      "publisher" : "Australian Digital Health Agency",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "email",
              "value" : "help@digitalhealth.gov.au"
            }
          ]
        }
      ],
      "description" : "The Australian States and Territories value set includes values that represent the Australian states and territories.",
      "copyright" : "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/. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.",
      "compose" : {
        "include" : [
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "concept" : [
              {
                "code" : "ACT"
              },
              {
                "code" : "NSW"
              },
              {
                "code" : "NT"
              },
              {
                "code" : "OTHER"
              },
              {
                "code" : "QLD"
              },
              {
                "code" : "SA"
              },
              {
                "code" : "TAS"
              },
              {
                "code" : "VIC"
              },
              {
                "code" : "WA"
              }
            ]
          }
        ]
      },
      "expansion" : {
        "identifier" : "urn:uuid:148e9412-a321-4a6f-b911-7e7908be82af",
        "timestamp" : "2025-05-01T10:00:57+10:00",
        "total" : 9,
        "offset" : 0,
        "parameter" : [
          {
            "name" : "displayLanguage",
            "valueCode" : "en-US"
          },
          {
            "name" : "count",
            "valueInteger" : 1000
          },
          {
            "name" : "offset",
            "valueInteger" : 0
          },
          {
            "name" : "excludeNested",
            "valueBoolean" : false
          },
          {
            "name" : "used-codesystem",
            "valueUri" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3"
          }
        ],
        "contains" : [
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "ACT",
            "display" : "Australian Capital Territory"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "NSW",
            "display" : "New South Wales"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "NT",
            "display" : "Northern Territory"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "OTHER",
            "display" : "Other territories"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "QLD",
            "display" : "Queensland"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "SA",
            "display" : "South Australia"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "TAS",
            "display" : "Tasmania"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "VIC",
            "display" : "Victoria"
          },
          {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1",
            "code" : "WA",
            "display" : "Western Australia"
          }
        ]
      }
    }
  ],
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation",
      "valueCode" : "assemble-child"
    },
    {
      "extension" : [
        {
          "url" : "name",
          "valueCoding" : {
            "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code" : "patient"
          }
        },
        {
          "url" : "type",
          "valueCode" : "Patient"
        },
        {
          "url" : "description",
          "valueString" : "The patient that is to be used to pre-populate the form"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    },
    {
      "extension" : [
        {
          "url" : "name",
          "valueCoding" : {
            "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code" : "user"
          }
        },
        {
          "url" : "type",
          "valueCode" : "Practitioner"
        },
        {
          "url" : "description",
          "valueString" : "The practitioner user that is to be used to pre-populate the form"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    },
    {
      "extension" : [
        {
          "url" : "name",
          "valueCoding" : {
            "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code" : "encounter"
          }
        },
        {
          "url" : "type",
          "valueCode" : "Encounter"
        },
        {
          "url" : "description",
          "valueString" : "The encounter that is to be used to pre-populate the form"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    },
    {
      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString" : "age"
    },
    {
      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString" : "SexAtBirthCoding"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression" : {
        "name" : "PostalAddress",
        "language" : "text/fhirpath",
        "expression" : "%patient.address.where(type='postal')"
      }
    },
    {
      "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/version-algorithm",
        "code" : "semver"
      }
    }
  ],
  "url" : "http://www.health.gov.au/assessments/mbs/715/PatientDetails",
  "version" : "0.4.0",
  "name" : "PatientDetails",
  "title" : "Aboriginal and Torres Strait Islander Health Check - Patient Details",
  "status" : "draft",
  "experimental" : false,
  "subjectType" : ["Patient"],
  "date" : "2025-03-14",
  "publisher" : "AEHRC CSIRO",
  "contact" : [
    {
      "name" : "AEHRC CSIRO",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2"
        }
      ]
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "AU",
          "display" : "Australia"
        }
      ]
    }
  ],
  "copyright" : "Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved.\nThis content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.\nSee https://creativecommons.org/licenses/by-sa/4.0/.\n",
  "item" : [
    {
      "linkId" : "5b224753-9365-44e3-823b-9c17e7394005",
      "text" : "Patient Details",
      "type" : "group",
      "repeats" : false,
      "item" : [
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%resource.repeat(item).where(linkId='MarkComplete-32').answer.value = 'In progress' or %resource.repeat(item).where(linkId='MarkComplete-32').answer.value.empty()"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended",
                    "code" : "context-display"
                  }
                ]
              }
            }
          ],
          "linkId" : "CD-in-progress-32",
          "text" : "In progress",
          "_text" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString" : "<div title=\"In progress\" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n\t<div style=\"display: flex; flex-direction: row;\">\r\n\t\t<img width='24' height='24' src='data:image/svg+xml;base64,\r\n\t\ ' \r\n\t\tstyle=\"align-self: center;\"/>\r\n\t</div>\r\n</div>"
              }
            ]
          },
          "type" : "display"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%resource.repeat(item).where(linkId='MarkComplete-32').answer.value = 'Complete'"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended",
                    "code" : "context-display"
                  }
                ]
              }
            }
          ],
          "linkId" : "CD-complete-32",
          "text" : "Complete",
          "_text" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString" : "<div title=\"Complete\" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n\t<div style=\"display: flex; flex-direction: row;\">\r\n\t\t<img width='24' height='24' src='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiMyZTdkMzIiIGQ9Ik0yMCAxMmE4IDggMCAwIDEtOCA4YTggOCAwIDAgMS04LThhOCA4IDAgMCAxIDgtOGMuNzYgMCAxLjUuMTEgMi4yLjMxbDEuNTctMS41N0E5LjgyMiA5LjgyMiAwIDAgMCAxMiAyQTEwIDEwIDAgMCAwIDIgMTJhMTAgMTAgMCAwIDAgMTAgMTBhMTAgMTAgMCAwIDAgMTAtMTBNNy45MSAxMC4wOEw2LjUgMTEuNUwxMSAxNkwyMSA2bC0xLjQxLTEuNDJMMTEgMTMuMTdsLTMuMDktMy4wOVoiLz48L3N2Zz4='\r\n\t\tstyle=\"align-self: center;\"/>\r\n\t</div>\r\n</div>"
              }
            ]
          },
          "type" : "display"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%resource.repeat(item).where(linkId='MarkComplete-32').answer.value = 'Attention required'"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended",
                    "code" : "context-display"
                  }
                ]
              }
            }
          ],
          "linkId" : "CD-attention-32",
          "text" : "Attention required",
          "_text" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString" : "<div title=\"Attention required\" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n\t<div style=\"display: flex; flex-direction: row;\">\r\n\t\t<img width='24' height='24' src='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0MiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZD MTA3IiBzdHJva2Utd2lkdGg9IjgiLz48bGluZSB4MT0iNTAiIHkxPSIyOCIgeDI9IjUwIiB5Mj0iNjAiIHN0cm9rZT0iI0ZGQzEwNyIgc3Ryb2tlLXdpZHRoPSI4Ii8+PGNpcmNsZSBjeD0iNTAiIGN5PSI3NCIgcj0iNSIgZmlsbD0iI0ZGQzEwNyIvPjwvc3ZnPg=='\r\n\t\tstyle=\"align-self: center;\"/>\r\n\t</div>\r\n</div>"
              }
            ]
          },
          "type" : "display"
        },
        {
          "linkId" : "patientdetails-writebackinstruction",
          "text" : "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.",
          "_text" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><em>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.</em></div>"
              }
            ]
          },
          "type" : "display"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "(%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()"
              }
            }
          ],
          "linkId" : "17596726-34cf-4133-9960-7081e1d63558",
          "text" : "Name",
          "type" : "string",
          "repeats" : false,
          "readOnly" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "(%patient.name.where(use='usual').select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)).first()"
              }
            }
          ],
          "linkId" : "57093a06-62f7-4b8b-8cb4-2c9f451ac851",
          "text" : "Preferred name",
          "type" : "string",
          "repeats" : false,
          "readOnly" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%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"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "drop-down"
                  }
                ]
              }
            }
          ],
          "linkId" : "540b1034-7c9a-4aba-a9ef-afb77d445a58",
          "text" : "Preferred pronouns",
          "type" : "choice",
          "repeats" : false,
          "readOnly" : true,
          "answerValueSet" : "#australian-pronouns-1"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%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"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "drop-down"
                  }
                ]
              }
            }
          ],
          "linkId" : "f669a4fe-4818-429a-8847-d20da88d2bb3",
          "text" : "Gender identity",
          "type" : "choice",
          "repeats" : false,
          "readOnly" : true,
          "answerValueSet" : "#gender-identity-response-1"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%patient.gender"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "radio-button"
                  }
                ]
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
              "valueBoolean" : true
            }
          ],
          "linkId" : "418e4a02-de77-48a0-a92a-fe8fcc52b1aa",
          "text" : "Administrative gender",
          "type" : "choice",
          "repeats" : false,
          "answerValueSet" : "#administrative-gender"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%SexAtBirthCoding"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "drop-down"
                  }
                ]
              }
            }
          ],
          "linkId" : "56ef44bb-3d1d-4972-aad1-834b69185d61",
          "text" : "Sex assigned at birth",
          "type" : "choice",
          "repeats" : false,
          "readOnly" : true,
          "answerValueSet" : "#biological-sex-1"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%patient.birthDate"
              }
            }
          ],
          "linkId" : "90ad8f16-16e4-4438-a7aa-b3189f510da2",
          "text" : "Date of birth",
          "type" : "date",
          "repeats" : false,
          "readOnly" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "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)"
              }
            }
          ],
          "linkId" : "e2a16e4d-2765-4b61-b286-82cfc6356b30",
          "text" : "Age",
          "type" : "integer",
          "repeats" : false,
          "readOnly" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%patient.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/indigenous-status').value"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "radio-button"
                  }
                ]
              }
            }
          ],
          "linkId" : "8acde9f8-7a91-4f0c-9216-38531ec984ef",
          "text" : "Aboriginal and/or Torres Strait Islander status",
          "type" : "choice",
          "repeats" : false,
          "readOnly" : true,
          "answerValueSet" : "#AboriginalTorresStraitIslander"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age <= 24"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "check-box"
                  }
                ]
              }
            }
          ],
          "linkId" : "c8852db9-efe9-4102-96db-cef3a8be0a5f",
          "text" : "Parents/primary carer/s",
          "type" : "choice",
          "repeats" : true,
          "answerValueSet" : "#PrimaryCarerParentGrandparent"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age <= 24"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/entryFormat",
              "valueString" : "Details"
            }
          ],
          "linkId" : "7089c48e-4216-4089-a548-034cd585e4da",
          "text" : "Other family",
          "type" : "string",
          "repeats" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age <= 24"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/entryFormat",
              "valueString" : "Details"
            }
          ],
          "linkId" : "42b1f5e0-bf4a-47d9-86a4-f2fe946ac01f",
          "text" : "Other",
          "type" : "string",
          "repeats" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age <= 12"
              }
            }
          ],
          "linkId" : "06737e46-e880-4037-9a2c-bcd278cd70ba",
          "text" : "Parents/primary carer/s details",
          "type" : "group",
          "repeats" : true,
          "item" : [
            {
              "linkId" : "cc20ce96-af06-4cd7-aa9b-c2601a6169ad",
              "text" : "Name of parent/primary carer",
              "type" : "string",
              "repeats" : false
            },
            {
              "linkId" : "372d79bb-9d0b-42d2-a98c-cbe332bd3745",
              "text" : "Relationship to child",
              "type" : "string",
              "repeats" : false
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext",
              "valueExpression" : {
                "name" : "HomeAddressRepeat",
                "language" : "text/fhirpath",
                "expression" : "%patient.address.where(all(use='home' and (type.empty() or type!='postal')))"
              }
            }
          ],
          "linkId" : "f1262ade-843c-4eba-a86d-51a9c97d134b",
          "text" : "Home address",
          "type" : "group",
          "repeats" : false,
          "readOnly" : true,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%HomeAddressRepeat.extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').value"
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/questionnaire-item-control",
                        "code" : "check-box"
                      }
                    ]
                  }
                }
              ],
              "linkId" : "311d83bb-f22e-4f60-9b50-b6e38dd2059b",
              "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.extension:noFixedAddress",
              "text" : "No fixed address",
              "type" : "boolean",
              "repeats" : false
            },
            {
              "linkId" : "4e0dc185-f83e-4027-b7a8-ecb543d42c6d",
              "text" : "Home address",
              "_text" : {
                "extension" : [
                  {
                    "url" : "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden",
                    "valueBoolean" : true
                  }
                ]
              },
              "type" : "group",
              "enableWhen" : [
                {
                  "question" : "311d83bb-f22e-4f60-9b50-b6e38dd2059b",
                  "operator" : "!=",
                  "answerBoolean" : true
                }
              ],
              "repeats" : true,
              "item" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                      "valueExpression" : {
                        "language" : "text/fhirpath",
                        "expression" : "%HomeAddressRepeat.select(line.join(', '))"
                      }
                    }
                  ],
                  "linkId" : "2fee2d51-7828-4178-b8c1-35edd32ba338",
                  "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.line",
                  "text" : "Street address",
                  "type" : "string",
                  "repeats" : false
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                      "valueExpression" : {
                        "language" : "text/fhirpath",
                        "expression" : "%HomeAddressRepeat.city"
                      }
                    }
                  ],
                  "linkId" : "ddb65ed1-f4b2-4730-af2a-2f98bc73c76f",
                  "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.city",
                  "text" : "City",
                  "type" : "string",
                  "repeats" : false
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                      "valueExpression" : {
                        "language" : "text/fhirpath",
                        "expression" : "%HomeAddressRepeat.state"
                      }
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept" : {
                        "coding" : [
                          {
                            "system" : "http://hl7.org/fhir/questionnaire-item-control",
                            "code" : "drop-down"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId" : "d9a1236c-8d6e-4f20-a12a-9d5de5a1d0f6",
                  "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.state",
                  "text" : "State",
                  "type" : "choice",
                  "repeats" : false,
                  "answerValueSet" : "#australian-states-territories-2"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                      "valueExpression" : {
                        "language" : "text/fhirpath",
                        "expression" : "%HomeAddressRepeat.postalCode"
                      }
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/regex",
                      "valueString" : "matches('^[0-9]{4}$')"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/entryFormat",
                      "valueString" : "####"
                    }
                  ],
                  "linkId" : "3f61a1ea-1c74-4f52-8519-432ce861a74f",
                  "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.postalCode",
                  "text" : "Postcode",
                  "type" : "string",
                  "repeats" : false
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext",
              "valueExpression" : {
                "name" : "PostalAddressRepeat",
                "language" : "text/fhirpath",
                "expression" : "%patient.address.where(type='postal')"
              }
            },
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%PostalAddress.exists()"
              }
            }
          ],
          "linkId" : "edc081ea-b5ba-4234-9234-8ee598c2f95f",
          "text" : "Postal address",
          "type" : "group",
          "repeats" : true,
          "readOnly" : true,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%PostalAddressRepeat.use"
                  }
                }
              ],
              "linkId" : "622970f1-3cf1-4f0a-bf05-b00a08046eba",
              "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.use",
              "text" : "Purpose of use",
              "type" : "string",
              "repeats" : false
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%PostalAddressRepeat.select(line.join(', '))"
                  }
                }
              ],
              "linkId" : "2e8437cd-5ea0-4d44-8ab2-d2aa9ef18ba7",
              "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.line",
              "text" : "Street address",
              "type" : "string",
              "repeats" : false
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%PostalAddressRepeat.city"
                  }
                }
              ],
              "linkId" : "2bde25e5-2c4c-4c0c-b6f3-c6859535a764",
              "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.city",
              "text" : "City",
              "type" : "string",
              "repeats" : false
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%PostalAddressRepeat.state"
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/questionnaire-item-control",
                        "code" : "drop-down"
                      }
                    ]
                  }
                }
              ],
              "linkId" : "b41a8b11-8dbf-4999-9d0a-71d39240fed1",
              "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.state",
              "text" : "State",
              "type" : "choice",
              "repeats" : false,
              "answerValueSet" : "#australian-states-territories-2"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%PostalAddressRepeat.postalCode"
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/regex",
                  "valueString" : "matches('^[0-9]{4}$')"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/entryFormat",
                  "valueString" : "####"
                }
              ],
              "linkId" : "28b58e50-2a04-4192-9655-efc8d72f32fa",
              "definition" : "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.postalCode",
              "text" : "Postcode",
              "type" : "string",
              "repeats" : false
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%patient.telecom.where(system = 'phone' and use = 'home').value"
              }
            }
          ],
          "linkId" : "9541f0b0-f5ba-4fe7-a8e9-ad003cef897b",
          "text" : "Home phone",
          "type" : "string",
          "repeats" : true,
          "readOnly" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%patient.telecom.where(system = 'phone' and use = 'mobile').value"
              }
            }
          ],
          "linkId" : "4037a02b-4a85-40e0-9be6-5b17df1aac56",
          "text" : "Mobile phone",
          "type" : "string",
          "repeats" : true,
          "readOnly" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext",
              "valueExpression" : {
                "name" : "EmergencyContactRepeat",
                "language" : "text/fhirpath",
                "expression" : "%patient.contact.where(relationship.coding.exists(code = 'C'))"
              }
            }
          ],
          "linkId" : "c22390d3-1be6-4fd1-b775-6443b7239a6b",
          "text" : "Emergency contact",
          "type" : "group",
          "repeats" : true,
          "readOnly" : true,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%EmergencyContactRepeat.name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)"
                  }
                }
              ],
              "linkId" : "d7f2dd75-20c8-480f-8c22-71d604ebee8d",
              "text" : "Name",
              "type" : "string",
              "repeats" : false
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%age <= 12"
                  }
                }
              ],
              "linkId" : "aa35d559-f45b-4d35-9453-dd02e4a790f3",
              "text" : "Relationship to child",
              "type" : "string",
              "repeats" : false
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%age > 12"
                  }
                }
              ],
              "linkId" : "27099697-d6d1-42c0-bb0a-5e9ff7372a96",
              "text" : "Relationship to patient",
              "type" : "string",
              "repeats" : false
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%EmergencyContactRepeat.telecom.value"
                  }
                }
              ],
              "linkId" : "626e3723-6310-4b99-81c1-525676b027c8",
              "text" : "Phone",
              "type" : "string",
              "repeats" : true
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext",
              "valueExpression" : {
                "name" : "MedicareNumberRepeat",
                "language" : "text/fhirpath",
                "expression" : "%patient.identifier.where(type.coding.exists(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='MC'))"
              }
            }
          ],
          "linkId" : "df1475ea-bf7e-4bf0-a69f-7f9608c3ed3c",
          "text" : "Medicare number",
          "type" : "group",
          "repeats" : true,
          "readOnly" : true,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%MedicareNumberRepeat.value.substring(0,10)"
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/regex",
                  "valueString" : "matches('^[0-9]{10}$')"
                }
              ],
              "linkId" : "eb2a59ed-9632-4df1-b5b1-1e85c3b4b7cf",
              "text" : "Number",
              "type" : "string",
              "repeats" : false
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%MedicareNumberRepeat.value.substring(10,1)"
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/regex",
                  "valueString" : "matches('^[0-9]{1}$')"
                }
              ],
              "linkId" : "d6253253-a124-494e-a1d8-7ce02c69ec11",
              "text" : "Reference number",
              "type" : "string",
              "repeats" : false
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                  "valueExpression" : {
                    "language" : "text/fhirpath",
                    "expression" : "%MedicareNumberRepeat.period.end.toString()"
                  }
                }
              ],
              "linkId" : "c520e213-5313-42c3-860a-d30206620290",
              "text" : "Expiry",
              "type" : "string",
              "repeats" : false
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%patient.identifier.where(type.coding.exists(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='PEN')).value"
              }
            }
          ],
          "linkId" : "c1e4e967-c0aa-4280-b5d4-ab1f375ed9ac",
          "text" : "Pensioner Card Number",
          "type" : "string",
          "repeats" : false,
          "readOnly" : true,
          "maxLength" : 10
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%patient.identifier.where(type.coding.exists(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='HC')).value"
              }
            }
          ],
          "linkId" : "a7e97574-3cea-4dfa-bef2-2665e7748364",
          "text" : "Health Care Card Number",
          "type" : "string",
          "repeats" : false,
          "readOnly" : true,
          "maxLength" : 10
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%patient.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration').value"
              }
            }
          ],
          "linkId" : "83814495-3a81-43f4-88df-42186cce516a",
          "text" : "Registered for Closing the Gap PBS Co-payment Measure (CTG)",
          "type" : "boolean",
          "repeats" : false,
          "readOnly" : true
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age <= 5"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "radio-button"
                  }
                ]
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
              "valueCode" : "horizontal"
            }
          ],
          "linkId" : "e63547c6-1623-412f-963f-5f1ebf23563f",
          "text" : "Child has a birth certificate",
          "type" : "choice",
          "repeats" : false,
          "answerValueSet" : "#YesNoNA"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age >= 50"
              }
            }
          ],
          "linkId" : "a8143230-b30d-4b85-9805-5f2f73f2dffa",
          "text" : "My Aged Care",
          "type" : "group",
          "repeats" : false,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/questionnaire-item-control",
                        "code" : "radio-button"
                      }
                    ]
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
                  "valueCode" : "horizontal"
                }
              ],
              "linkId" : "7165c072-e3d8-4564-9d1d-d17f6807787c",
              "text" : "Registered for My Aged Care",
              "type" : "choice",
              "repeats" : false,
              "answerValueSet" : "#YesNoNA"
            },
            {
              "linkId" : "04e50521-dc85-4744-b7ab-6f8682aacb11",
              "text" : "My Aged Care Number",
              "type" : "string",
              "enableWhen" : [
                {
                  "question" : "7165c072-e3d8-4564-9d1d-d17f6807787c",
                  "operator" : "=",
                  "answerCoding" : {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0136",
                    "code" : "Y"
                  }
                }
              ],
              "repeats" : false
            }
          ]
        },
        {
          "linkId" : "2bfe50cb-7913-4f31-bce2-763c17ff8b1a",
          "text" : "National Disability Insurance Scheme",
          "type" : "group",
          "repeats" : false,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/questionnaire-item-control",
                        "code" : "radio-button"
                      }
                    ]
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
                  "valueCode" : "horizontal"
                }
              ],
              "linkId" : "924b4500-53ac-4c4e-831b-7ab5569ff981",
              "text" : "Registered for NDIS",
              "type" : "choice",
              "repeats" : false,
              "answerValueSet" : "#YesNoNA"
            },
            {
              "linkId" : "7379a0fd-d95b-4ecb-a781-9f43d1394f10",
              "text" : "NDIS Number",
              "type" : "string",
              "enableWhen" : [
                {
                  "question" : "924b4500-53ac-4c4e-831b-7ab5569ff981",
                  "operator" : "=",
                  "answerCoding" : {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0136",
                    "code" : "Y"
                  }
                }
              ],
              "repeats" : false
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "(%age <= 49) and (%age > 12)"
              }
            }
          ],
          "linkId" : "9bc882bc-e989-4600-9587-8089fb757641",
          "text" : "Children",
          "type" : "group",
          "repeats" : false,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/questionnaire-item-control",
                        "code" : "radio-button"
                      }
                    ]
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
                  "valueCode" : "horizontal"
                }
              ],
              "linkId" : "e90b436b-2751-4e07-a40c-adfe951b6528",
              "text" : "Do you have children?",
              "type" : "choice",
              "repeats" : false,
              "answerValueSet" : "#YesNoNA"
            },
            {
              "linkId" : "241f5fca-f61a-49bd-8972-52613c0e6d15",
              "text" : "Number of children",
              "type" : "integer",
              "enableWhen" : [
                {
                  "question" : "e90b436b-2751-4e07-a40c-adfe951b6528",
                  "operator" : "=",
                  "answerCoding" : {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0136",
                    "code" : "Y"
                  }
                }
              ],
              "repeats" : false
            },
            {
              "linkId" : "74ce4c60-31d6-4e78-9056-579937379451",
              "text" : "Number of children in your care",
              "type" : "integer",
              "enableWhen" : [
                {
                  "question" : "e90b436b-2751-4e07-a40c-adfe951b6528",
                  "operator" : "=",
                  "answerCoding" : {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0136",
                    "code" : "Y"
                  }
                }
              ],
              "repeats" : false
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age > 12"
              }
            }
          ],
          "linkId" : "2b5ae784-4341-4172-875d-1698cc8069f0",
          "text" : "Someone's carer",
          "type" : "group",
          "repeats" : false,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/questionnaire-item-control",
                        "code" : "radio-button"
                      }
                    ]
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
                  "valueCode" : "horizontal"
                }
              ],
              "linkId" : "a08271f1-194b-4fe9-91f9-4f3398858eb0",
              "text" : "Are you responsible for caring for someone else?",
              "type" : "choice",
              "repeats" : false,
              "answerValueSet" : "#YesNoNA"
            },
            {
              "linkId" : "4c14b158-3ae4-4994-8446-76e02640702c",
              "text" : "Details",
              "type" : "text",
              "enableWhen" : [
                {
                  "question" : "a08271f1-194b-4fe9-91f9-4f3398858eb0",
                  "operator" : "=",
                  "answerCoding" : {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0136",
                    "code" : "Y"
                  }
                }
              ],
              "repeats" : false
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age >= 50"
              }
            }
          ],
          "linkId" : "6c80c675-1320-4ca3-ae3f-51ad173da741",
          "text" : "Your carer",
          "type" : "group",
          "repeats" : false,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/questionnaire-item-control",
                        "code" : "radio-button"
                      }
                    ]
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
                  "valueCode" : "horizontal"
                }
              ],
              "linkId" : "d05558fb-a3cc-4bd6-b803-b672b36b9c51",
              "text" : "Do you have a carer?",
              "type" : "choice",
              "repeats" : false,
              "answerValueSet" : "#YesNoNA"
            },
            {
              "linkId" : "b9991e7e-ce03-465d-b4b0-5a1725b24e02",
              "text" : "Details",
              "type" : "text",
              "enableWhen" : [
                {
                  "question" : "d05558fb-a3cc-4bd6-b803-b672b36b9c51",
                  "operator" : "=",
                  "answerCoding" : {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0136",
                    "code" : "Y"
                  }
                }
              ],
              "repeats" : false
            }
          ]
        },
        {
          "linkId" : "3494631c-6b56-46dc-abf7-a17bfc1d025f",
          "text" : "Providers",
          "type" : "group",
          "repeats" : false,
          "item" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/questionnaire-item-control",
                        "code" : "radio-button"
                      }
                    ]
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
                  "valueCode" : "horizontal"
                }
              ],
              "linkId" : "41210be5-d441-4c44-b9c2-8dd94a44cbb4",
              "text" : "Are name and contact details of other key providers (eg case workers, support services) up to date?",
              "type" : "choice",
              "repeats" : false,
              "answerValueSet" : "#YesNoNA"
            },
            {
              "linkId" : "6733d6ec-5b6b-4ee2-a21e-0e9474c2b22b",
              "text" : "Details",
              "type" : "text",
              "repeats" : false
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression" : {
                "language" : "text/fhirpath",
                "expression" : "%age >= 50"
              }
            }
          ],
          "linkId" : "38f81a73-447f-4ecd-a8eb-6eccd9dee050",
          "text" : "Advance care planning",
          "type" : "group",
          "repeats" : false,
          "item" : [
            {
              "linkId" : "c023ef16-b554-4ed9-8993-1331e5f5a3b4",
              "text" : "Enduring Power of Attorney",
              "type" : "group",
              "repeats" : false,
              "item" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept" : {
                        "coding" : [
                          {
                            "system" : "http://hl7.org/fhir/questionnaire-item-control",
                            "code" : "radio-button"
                          }
                        ]
                      }
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
                      "valueCode" : "horizontal"
                    }
                  ],
                  "linkId" : "036eace9-ea83-46ec-9d01-f2093f710816",
                  "text" : "Enduring Power of Attorney",
                  "type" : "choice",
                  "repeats" : false,
                  "answerValueSet" : "#YesNoNA"
                },
                {
                  "linkId" : "83518215-7151-4365-b745-d7464bbb9528",
                  "text" : "Discussed today",
                  "type" : "text",
                  "repeats" : false
                }
              ]
            },
            {
              "linkId" : "c4f68251-26af-462f-879a-a69b449066ff",
              "text" : "Advance Health Directive",
              "type" : "group",
              "repeats" : false,
              "item" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept" : {
                        "coding" : [
                          {
                            "system" : "http://hl7.org/fhir/questionnaire-item-control",
                            "code" : "radio-button"
                          }
                        ]
                      }
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
                      "valueCode" : "horizontal"
                    }
                  ],
                  "linkId" : "b0632039-c12b-4748-9e94-52073590c0ba",
                  "text" : "Advance Health Directive",
                  "type" : "choice",
                  "repeats" : false,
                  "answerValueSet" : "#YesNoNA"
                },
                {
                  "linkId" : "c4bc2d84-e411-488d-9c0d-761f0377a026",
                  "text" : "Discussed today",
                  "type" : "text",
                  "repeats" : false
                }
              ]
            }
          ]
        },
        {
          "linkId" : "patientdetails-section-end-divider",
          "_text" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/rendering-style",
                "valueString" : "border-top: 1px solid #ccc;"
              }
            ]
          },
          "type" : "display"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "radio-button"
                  }
                ]
              }
            }
          ],
          "linkId" : "MarkComplete-32",
          "text" : "Section completion status",
          "type" : "choice",
          "repeats" : false,
          "answerOption" : [
            {
              "valueString" : "Complete"
            },
            {
              "valueString" : "In progress"
            },
            {
              "valueString" : "Attention required"
            }
          ]
        }
      ]
    }
  ]
}

```
