FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: Questionnaire/PatientDetails

Packagecsiro.fhir.au.smartforms
Resource TypeQuestionnaire
IdPatientDetails
FHIR VersionR4
Sourcehttps://smartforms.csiro.au/ig/https://build.fhir.org/ig/aehrc/smart-forms-ig/Questionnaire-PatientDetails.html
URLhttp://www.health.gov.au/assessments/mbs/715/PatientDetails
Version0.3.0
Statusdraft
Date2025-03-14
NamePatientDetails
TitleAboriginal and Torres Strait Islander Health Check - Patient Details
Realmau
CopyrightCopyright © 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/.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: Questionnaire PatientDetails

LinkIDTextCardinalityTypeFlagsDescription & Constraintsdoco
.. PatientDetailsQuestionnairehttp://www.health.gov.au/assessments/mbs/715/PatientDetails#0.3.0
... 5b224753-9365-44e3-823b-9c17e7394005Patient Details0..1group
.... CD-in-progress-32In progress0..1displayEnable When: MarkComplete-32 !=
.... CD-complete-32Complete0..1displayEnable When: MarkComplete-32 =
.... patientdetails-writebackinstructionThis 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.0..1display
.... 17596726-34cf-4133-9960-7081e1d63558Name0..1stringiconicon
.... 57093a06-62f7-4b8b-8cb4-2c9f451ac851Preferred name0..1stringiconicon
.... 540b1034-7c9a-4aba-a9ef-afb77d445a58Preferred pronouns0..1choiceiconiconValue Set: Australian Pronouns
.... f669a4fe-4818-429a-8847-d20da88d2bb3Gender identity0..1choiceiconiconValue Set: Gender Identity Response
.... 418e4a02-de77-48a0-a92a-fe8fcc52b1aaAdministrative gender0..1choiceiconiconValue Set: AdministrativeGender
.... 56ef44bb-3d1d-4972-aad1-834b69185d61Sex assigned at birth0..1choiceiconiconValue Set: Biological Sex
.... 90ad8f16-16e4-4438-a7aa-b3189f510da2Date of birth0..1dateiconicon
.... e2a16e4d-2765-4b61-b286-82cfc6356b30Age0..1integericonicon
.... 8acde9f8-7a91-4f0c-9216-38531ec984efAboriginal and/or Torres Strait Islander status0..1choiceiconiconValue Set: Aboriginal and/or Torres Strait Islander
.... c8852db9-efe9-4102-96db-cef3a8be0a5fParents/primary carer/s0..*choiceValue Set: Primary Carer Of Parent Or Grandparent
.... 7089c48e-4216-4089-a548-034cd585e4daOther family0..*string
..... 70c45932-99dc-42a3-9650-4683892a0892details0..1display
.... 42b1f5e0-bf4a-47d9-86a4-f2fe946ac01fOther0..*string
..... dcbd3a54-9b68-4486-bf30-f6f1723bc39cdetails0..1display
.... 06737e46-e880-4037-9a2c-bcd278cd70baParents/primary carer/s details0..*group
..... cc20ce96-af06-4cd7-aa9b-c2601a6169adName of parent/primary carer0..1string
..... 372d79bb-9d0b-42d2-a98c-cbe332bd3745Relationship to child0..1string
.... f1262ade-843c-4eba-a86d-51a9c97d134bHome address0..1groupiconicon
..... 311d83bb-f22e-4f60-9b50-b6e38dd2059bNo fixed address0..1booleanDefinition: Address.extension:noFixedAddress
..... 4e0dc185-f83e-4027-b7a8-ecb543d42c6dHome address0..*groupEnable When: 311d83bb-f22e-4f60-9b50-b6e38dd2059b !=
...... 2fee2d51-7828-4178-b8c1-35edd32ba338Street address0..1stringDefinition: Address.line
...... ddb65ed1-f4b2-4730-af2a-2f98bc73c76fCity0..1stringDefinition: Address.city
...... d9a1236c-8d6e-4f20-a12a-9d5de5a1d0f6State0..1choiceDefinition: Address.state
Value Set: Australian States and Territories
...... 3f61a1ea-1c74-4f52-8519-432ce861a74fPostcode0..1stringDefinition: Address.postalCode
.... edc081ea-b5ba-4234-9234-8ee598c2f95fPostal address0..*groupiconicon
..... 622970f1-3cf1-4f0a-bf05-b00a08046ebaPurpose of use0..1stringDefinition: Address.use
..... 2e8437cd-5ea0-4d44-8ab2-d2aa9ef18ba7Address0..1stringDefinition: Address.line
..... 2bde25e5-2c4c-4c0c-b6f3-c6859535a764City0..1stringDefinition: Address.city
..... b41a8b11-8dbf-4999-9d0a-71d39240fed1State0..1choiceDefinition: Address.state
Value Set: Australian States and Territories
..... 28b58e50-2a04-4192-9655-efc8d72f32faPostcode0..1stringDefinition: Address.postalCode
.... 9541f0b0-f5ba-4fe7-a8e9-ad003cef897bHome phone0..*stringiconicon
.... 4037a02b-4a85-40e0-9be6-5b17df1aac56Mobile phone0..*stringiconicon
.... c22390d3-1be6-4fd1-b775-6443b7239a6bEmergency contact0..*groupiconicon
..... d7f2dd75-20c8-480f-8c22-71d604ebee8dName0..1string
..... aa35d559-f45b-4d35-9453-dd02e4a790f3Relationship to child0..1string
..... 27099697-d6d1-42c0-bb0a-5e9ff7372a96Relationship to patient0..1string
..... 626e3723-6310-4b99-81c1-525676b027c8Phone0..*string
.... df1475ea-bf7e-4bf0-a69f-7f9608c3ed3cMedicare number0..1groupiconicon
..... eb2a59ed-9632-4df1-b5b1-1e85c3b4b7cfNumber0..1string
..... d6253253-a124-494e-a1d8-7ce02c69ec11Reference number0..1string
..... c520e213-5313-42c3-860a-d30206620290Expiry0..1string
.... c1e4e967-c0aa-4280-b5d4-ab1f375ed9acPensioner Card Number0..1stringiconiconMax Length: 10
.... a7e97574-3cea-4dfa-bef2-2665e7748364Health Care Card Number0..1stringiconiconMax Length: 10
.... 83814495-3a81-43f4-88df-42186cce516aRegistered for Closing the Gap PBS Co-payment Measure (CTG)0..1booleaniconicon
.... e63547c6-1623-412f-963f-5f1ebf23563fChild has a birth certificate0..1choiceiconiconValue Set: Yes/No/NA
.... a8143230-b30d-4b85-9805-5f2f73f2dffaMy Aged Care0..1group
..... 7165c072-e3d8-4564-9d1d-d17f6807787cRegistered for My Aged Care0..1choiceiconiconValue Set: Yes/No/NA
..... 04e50521-dc85-4744-b7ab-6f8682aacb11My Aged Care Number0..1stringEnable When: 7165c072-e3d8-4564-9d1d-d17f6807787c =
.... 2bfe50cb-7913-4f31-bce2-763c17ff8b1aNational Disability Insurance Scheme0..1group
..... 924b4500-53ac-4c4e-831b-7ab5569ff981Registered for NDIS0..1choiceiconiconValue Set: Yes/No/NA
..... 7379a0fd-d95b-4ecb-a781-9f43d1394f10NDIS Number0..1stringEnable When: 924b4500-53ac-4c4e-831b-7ab5569ff981 =
.... 9bc882bc-e989-4600-9587-8089fb757641Children0..1group
..... e90b436b-2751-4e07-a40c-adfe951b6528Do you have children?0..1choiceiconiconValue Set: Yes/No/NA
..... 241f5fca-f61a-49bd-8972-52613c0e6d15Number of children0..1integerEnable When: e90b436b-2751-4e07-a40c-adfe951b6528 =
..... 74ce4c60-31d6-4e78-9056-579937379451Number of children in your care0..1integerEnable When: e90b436b-2751-4e07-a40c-adfe951b6528 =
.... 2b5ae784-4341-4172-875d-1698cc8069f0Someone's carer0..1group
..... a08271f1-194b-4fe9-91f9-4f3398858eb0Are you responsible for caring for someone else?0..1choiceiconiconValue Set: Yes/No/NA
..... 4c14b158-3ae4-4994-8446-76e02640702cDetails0..1textEnable When: a08271f1-194b-4fe9-91f9-4f3398858eb0 =
.... 6c80c675-1320-4ca3-ae3f-51ad173da741Your carer0..1group
..... d05558fb-a3cc-4bd6-b803-b672b36b9c51Do you have a carer?0..1choiceiconiconValue Set: Yes/No/NA
..... b9991e7e-ce03-465d-b4b0-5a1725b24e02Details0..1textEnable When: d05558fb-a3cc-4bd6-b803-b672b36b9c51 =
.... 3494631c-6b56-46dc-abf7-a17bfc1d025fProviders0..1group
..... 41210be5-d441-4c44-b9c2-8dd94a44cbb4Are name and contact details of other key providers (eg case workers, support services) up to date?0..1choiceiconiconValue Set: Yes/No/NA
..... 6733d6ec-5b6b-4ee2-a21e-0e9474c2b22bDetails0..1text
.... 38f81a73-447f-4ecd-a8eb-6eccd9dee050Advance care planning0..1group
..... c023ef16-b554-4ed9-8993-1331e5f5a3b4Enduring Power of Attorney0..1group
...... 036eace9-ea83-46ec-9d01-f2093f710816Enduring Power of Attorney0..1choiceiconiconValue Set: Yes/No/NA
...... 83518215-7151-4365-b745-d7464bbb9528Discussed today0..1text
..... c4f68251-26af-462f-879a-a69b449066ffAdvance Health Directive0..1group
...... b0632039-c12b-4748-9e94-52073590c0baAdvance Health Directive0..1choiceiconiconValue Set: Yes/No/NA
...... c4bc2d84-e411-488d-9c0d-761f0377a026Discussed today0..1text
.... MarkComplete-32Mark section as complete0..1boolean

doco Documentation for this format

Contained Resources


ValueSet #YesNoNA

Expansion based on codesystem expandedYes-NoIndicator v2.1.0 (CodeSystem)

This value set contains 3 concepts

CodeSystemDisplay (en-US)Definition
  Yhttp://terminology.hl7.org/CodeSystem/v2-0532YesYes
  Nhttp://terminology.hl7.org/CodeSystem/v2-0532NoNo
  NAhttp://terminology.hl7.org/CodeSystem/v2-0532N/Anot applicable

ValueSet #AboriginalTorresStraitIslander

Expansion based on codesystem australian-indigenous-status-1 version1.0.3

This value set contains 3 concepts

CodeSystemDisplay (en-US)
  1https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1Aboriginal
  2https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1Torres Strait Islander
  3https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1Aboriginal and Torres Strait Islander

ValueSet #PrimaryCarerParentGrandparent

This value set contains 4 concepts

CodeSystemDisplay (en-US)Definition
  MTHhttp://terminology.hl7.org/CodeSystem/v3-RoleCodemother

The player of the role is a female who conceives, gives birth to, or raises and nurtures the scoping entity (child).

  FTHhttp://terminology.hl7.org/CodeSystem/v3-RoleCodefather

The player of the role is a male who begets or raises or nurtures the scoping entity (child).

  GRPRNhttp://terminology.hl7.org/CodeSystem/v3-RoleCodegrandparent

The player of the role is a parent of the scoping person's mother or father.

  NAhttp://terminology.hl7.org/CodeSystem/v3-NullFlavornot applicable

Known to have no proper value (e.g., last menstrual period for a male).


ValueSet #administrative-gender

Expansion based on codesystem AdministrativeGender v4.0.1 (CodeSystem)

This value set contains 4 concepts

CodeSystemDisplay (en-US)Definitionv2 map for AdministrativeGenderv3 map for AdministrativeGender
  malehttp://hl7.org/fhir/administrative-genderMaleMale.~http://terminology.hl7.org/5.5.0/ValueSet-v2-0001.html~http://terminology.hl7.org/5.5.0/ValueSet-v3-AdministrativeGender.html
  femalehttp://hl7.org/fhir/administrative-genderFemaleFemale.~http://terminology.hl7.org/5.5.0/ValueSet-v2-0001.html~http://terminology.hl7.org/5.5.0/ValueSet-v3-AdministrativeGender.html
  otherhttp://hl7.org/fhir/administrative-genderOtherOther.<http://terminology.hl7.org/5.5.0/ValueSet-v2-0001.html
<http://terminology.hl7.org/5.5.0/ValueSet-v2-0001.html
<http://terminology.hl7.org/5.5.0/ValueSet-v3-AdministrativeGender.html
  unknownhttp://hl7.org/fhir/administrative-genderUnknownUnknown.~http://terminology.hl7.org/5.5.0/ValueSet-v2-0001.html~http://terminology.hl7.org/5.5.0/ValueSet-v3-AdministrativeGender.html

ValueSet #australian-pronouns-1

This value set contains 7 concepts

CodeSystemDisplay (en-US)Definition
  LA29518-0http://loinc.orghe/him/his/his/himself
  LA29519-8http://loinc.orgshe/her/her/hers/herself
  LA29520-6http://loinc.orgthey/them/their/theirs/themselves
  unknownhttp://terminology.hl7.org/CodeSystem/data-absent-reasonUnknownThe value is expected to exist but is not known.
  asked-declinedhttp://terminology.hl7.org/CodeSystem/data-absent-reasonAsked But DeclinedThe source was asked but declined to answer.
  not-askedhttp://terminology.hl7.org/CodeSystem/data-absent-reasonNot AskedThe workflow didn't lead to this value being known.
  asked-unknownhttp://terminology.hl7.org/CodeSystem/data-absent-reasonAsked But UnknownThe source was asked but does not know the value.

ValueSet #gender-identity-response-1

Expansion based on:

This value set expansion contains 6 concepts.

CodeSystemDisplay (en-US)Definition
  446151000124109http://snomed.info/sctIdentifies as male gender
  446141000124107http://snomed.info/sctIdentifies as female gender
  33791000087105http://snomed.info/sctIdentifies as nonbinary gender
  unknownhttp://terminology.hl7.org/CodeSystem/data-absent-reasonUnknownThe value is expected to exist but is not known.
  asked-declinedhttp://terminology.hl7.org/CodeSystem/data-absent-reasonAsked But DeclinedThe source was asked but declined to answer.
  not-askedhttp://terminology.hl7.org/CodeSystem/data-absent-reasonNot AskedThe workflow didn't lead to this value being known.

ValueSet #biological-sex-1

Profiles: Shareable ValueSet, https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4

Expansion based on SNOMED CT Australian Edition edition 30-Apr 2025

This value set expansion contains 4 concepts.

CodeSystemDisplay (en-US)
  248152002http://snomed.info/sctFemale
  32570681000036106http://snomed.info/sctIndeterminate sex
  32570691000036108http://snomed.info/sctIntersex
  248153007http://snomed.info/sctMale

ValueSet #australian-states-territories-2

Profiles: Shareable ValueSet, https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4

Expansion based on codesystem australian-states-territories-1 version1.1.3

This value set contains 9 concepts

CodeSystemDisplay (en-US)
  ACThttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1Australian Capital Territory
  NSWhttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1New South Wales
  NThttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1Northern Territory
  OTHERhttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1Other territories
  QLDhttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1Queensland
  SAhttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1South Australia
  TAShttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1Tasmania
  VIChttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1Victoria
  WAhttps://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1Western Australia

Source

{
  "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"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "YesNoNA",
      "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",
            "concept": [
              {
                "code": "Y",
                "display": "Yes"
              },
              {
                "code": "N",
                "display": "No"
              },
              {
                "code": "NA",
                "display": "N/A"
              }
            ]
          }
        ]
      },
      "expansion": {
        "identifier": "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439",
        "timestamp": "2025-05-01T10:00:47+10:00",
        "total": 3,
        "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/v2-0532|2.1.0"
          }
        ],
        "contains": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v2-0532",
            "code": "Y",
            "display": "Yes"
          },
          {
            "system": "http://terminology.hl7.org/CodeSystem/v2-0532",
            "code": "N",
            "display": "No"
          },
          {
            "system": "http://terminology.hl7.org/CodeSystem/v2-0532",
            "code": "NA",
            "display": "N/A"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "AboriginalTorresStraitIslander",
      "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",
            "concept": [
              {
                "code": "1",
                "display": "Aboriginal"
              },
              {
                "code": "2",
                "display": "Torres Strait Islander"
              },
              {
                "code": "3",
                "display": "Aboriginal and Torres Strait Islander"
              }
            ]
          }
        ]
      },
      "expansion": {
        "identifier": "urn:uuid:eb422e76-71e8-48b0-a191-73285ddb91cc",
        "timestamp": "2025-05-01T10:00:56+10:00",
        "total": 3,
        "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-indigenous-status-1|1.0.3"
          }
        ],
        "contains": [
          {
            "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
            "code": "1",
            "display": "Aboriginal"
          },
          {
            "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
            "code": "2",
            "display": "Torres Strait Islander"
          },
          {
            "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
            "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-valueset",
            "valueUri": "null"
          },
          {
            "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:81810018-2ec2-4e42-adcc-6aab69e7750c",
        "timestamp": "2025-05-01T10:00:58+10:00",
        "offset": 0,
        "parameter": [
          {
            "name": "displayLanguage",
            "valueCode": "en-US"
          },
          {
            "name": "count",
            "valueInteger": 1000
          },
          {
            "name": "offset",
            "valueInteger": 0
          },
          {
            "name": "excludeNested",
            "valueBoolean": false
          },
          {
            "name": "used-valueset",
            "valueUri": "null"
          },
          {
            "name": "used-codesystem",
            "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"
          },
          {
            "name": "version",
            "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"
          },
          {
            "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.0.0",
      "name": "BiologicalSex",
      "title": "Biological Sex",
      "status": "active",
      "experimental": false,
      "date": "2020-12-31",
      "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|"
              }
            ]
          }
        ]
      },
      "expansion": {
        "identifier": "urn:uuid:9a0c2291-6dd8-4778-9099-4622f64fa897",
        "timestamp": "2025-05-01T10:00:49+10:00",
        "offset": 0,
        "parameter": [
          {
            "name": "displayLanguage",
            "valueCode": "en-US"
          },
          {
            "name": "count",
            "valueInteger": 1000
          },
          {
            "name": "offset",
            "valueInteger": 0
          },
          {
            "name": "excludeNested",
            "valueBoolean": false
          },
          {
            "name": "used-valueset",
            "valueUri": "null"
          },
          {
            "name": "used-codesystem",
            "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"
          },
          {
            "name": "version",
            "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430"
          }
        ],
        "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"
          }
        ]
      }
    },
    {
      "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.3.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/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\tPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiM3NTc1NzUiIGQ9Im0xNS44NCAxMC4ybC0xLjAxIDEuMDFsLTIuMDctMi4wM2wxLjAxLTEuMDJjLjItLjIxLjU0LS4yMi43OCAwbDEuMjkgMS4yNWMuMjEuMjEuMjIuNTUgMCAuNzlNOCAxMy45MWw0LjE3LTQuMTlsMi4wNyAyLjA4bC00LjE2IDQuMkg4di0yLjA5TTEzIDJ2MmM0LjM5LjU0IDcuNSA0LjUzIDYuOTYgOC45MkE4LjAxNCA4LjAxNCAwIDAgMSAxMyAxOS44OHYyYzUuNS0uNiA5LjQ1LTUuNTQgOC44NS0xMS4wM0MyMS4zMyA2LjE5IDE3LjY2IDIuNSAxMyAybS0yIDBjLTEuOTYuMTgtMy44MS45NS01LjMzIDIuMkw3LjEgNS43NGMxLjEyLS45IDIuNDctMS40OCAzLjktMS42OHYtMk00LjI2IDUuNjdBOS44MSA5LjgxIDAgMCAwIDIuMDUgMTFoMmMuMTktMS40Mi43NS0yLjc3IDEuNjQtMy45TDQuMjYgNS42N00yLjA2IDEzYy4yIDEuOTYuOTcgMy44MSAyLjIxIDUuMzNsMS40Mi0xLjQzQTguMDAyIDguMDAyIDAgMCAxIDQuMDYgMTNoLTJtNSA1LjM3bC0xLjM5IDEuMzdBOS45OTQgOS45OTQgMCAwIDAgMTEgMjJ2LTJhOC4wMDIgOC4wMDIgMCAwIDEtMy45LTEuNjNoLS4wNFoiLz48L3N2Zz4=' \r\n\t\tstyle=\"align-self: center;\"/>\r\n\t</div>\r\n</div>"
              }
            ]
          },
          "type": "display",
          "enableWhen": [
            {
              "question": "MarkComplete-32",
              "operator": "!=",
              "answerBoolean": true
            }
          ]
        },
        {
          "extension": [
            {
              "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=\"Section completed\" 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",
          "enableWhen": [
            {
              "question": "MarkComplete-32",
              "operator": "=",
              "answerBoolean": true
            }
          ]
        },
        {
          "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"
              }
            }
          ],
          "linkId": "7089c48e-4216-4089-a548-034cd585e4da",
          "text": "Other family",
          "type": "string",
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "prompt"
                      }
                    ]
                  }
                }
              ],
              "linkId": "70c45932-99dc-42a3-9650-4683892a0892",
              "text": "details",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
              "valueExpression": {
                "language": "text/fhirpath",
                "expression": "%age <= 24"
              }
            }
          ],
          "linkId": "42b1f5e0-bf4a-47d9-86a4-f2fe946ac01f",
          "text": "Other",
          "type": "string",
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "prompt"
                      }
                    ]
                  }
                }
              ],
              "linkId": "dcbd3a54-9b68-4486-bf30-f6f1723bc39c",
              "text": "details",
              "type": "display"
            }
          ]
        },
        {
          "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}[%content%]#39;)"
                    },
                    {
                      "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": "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}[%content%]#39;)"
                },
                {
                  "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
            }
          ]
        },
        {
          "linkId": "df1475ea-bf7e-4bf0-a69f-7f9608c3ed3c",
          "text": "Medicare number",
          "type": "group",
          "repeats": false,
          "readOnly": true,
          "item": [
            {
              "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='MC')).value.substring(0,10)"
                  }
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/regex",
                  "valueString": "matches('^[0-9]{10}[%content%]#39;)"
                }
              ],
              "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": "%patient.identifier.where(type.coding.exists(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='MC')).value.substring(10,1)"
                  }
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/regex",
                  "valueString": "matches('^[0-9]{1}[%content%]#39;)"
                }
              ],
              "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": "%patient.identifier.where(type.coding.exists(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='MC')).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": "MarkComplete-32",
          "text": "Mark section as complete",
          "_text": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n    <style type=\"text/css\">\r\n        .alert {\r\n            padding: 0.875rem;\r\n            margin-bottom: 1rem;\r\n            font-size: 0.875rem;\r\n            color: #29712D;\r\n            border-radius: 0.5rem;\r\n            background-color: #D9E8DA;\r\n            font-weight: 700;\r\n        max-width: 205px;\r\n        }\r\n    </style>\r\n</head>\r\n<body>\r\n<div class=\"alert\">Mark section as complete</div>\r\n</body>\r\n</div>"
              }
            ]
          },
          "type": "boolean",
          "repeats": false
        }
      ]
    }
  ]
}