AU Core Implementation Guide
2.0.0 - Working Standard

AU Core Implementation Guide - Downloaded Version 2.0.0 See the Directory of published versions

## Resource Profile: AUCorePatient - TTL Profile

Page standards status: Trial-use | Maturity Level: 2

TTL representation of the au-core-patient resource profile.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "au-core-patient"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition au-core-patient</b></p><a name=\"au-core-patient\"> </a><a name=\"hcau-core-patient\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient\">Patient</a><a name=\"Patient\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( au-core-pat-01, au-core-pat-02 )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-patient.html\">AUBasePatient</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A patient in the context of electronic exchange of health information<br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"At least one patient identifier shall be valid, or if not available, the Data Absent Reason extension shall be present\" class=\"constraint\">au-core-pat-01</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"At least one patient name shall have a family name, or if not available, the Data Absent Reason extension shall be present\" class=\"constraint\">au-core-pat-02</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for extension<a name=\"Patient.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Content/Rules for all slices</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.extension:indigenousStatus\" title=\"Slice indigenousStatus\">extension:indigenousStatus</a><a name=\"Patient.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-indigenous-status.html\" title=\"Extension\">AustralianIndigenousStatus</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Indigenous status</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.extension:genderIdentity\" title=\"Slice genderIdentity\">extension:genderIdentity</a><a name=\"Patient.extension.3\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-individual-genderIdentity.html\" title=\"Extension\">PGenderIdentity(5.2.0)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.extension:individualPronouns\" title=\"Slice individualPronouns\">extension:individualPronouns</a><a name=\"Patient.extension.4\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-individual-pronouns.html\" title=\"Extension\">Pronouns(5.2.0)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic; font-style: italic\" href=\"StructureDefinition-au-core-patient-definitions.html#Patient.identifier\">Slices for identifier</a><a name=\"Patient.identifier\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red; font-style: italic\" title=\"This element has obligations and must be supported\">SO</span><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; font-style: italic; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; font-style: italic\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( au-core-pat-01 )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"font-style: italic\">1</span><span style=\"font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\" title=\"Identifier\">Identifier</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-ihi.html\" title=\"Identifier\">AUIHI</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-medicarecardnumber.html\" title=\"Identifier\">AUMedicareCardNumber</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-dvanumber.html\" title=\"Identifier\">AUDVANumber</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-healthcarecardnumber.html\" title=\"Identifier\">AUHealthCareCardNumber</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-pensionerconcessioncardnumber.html\" title=\"Identifier\">AUPensionerConcessionCardNumber</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-cwlthseniorshealthcardnumber.html\" title=\"Identifier\">AUCwlthSeniorsHealthCardNumber</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-medicalrecordnumber.html\" title=\"Identifier\">AUMedicalRecordNumber</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-insurancemembernumber.html\" title=\"Identifier\">AUInsuranceMemberNumber</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-pi.html\" title=\"Identifier\">AUPatientInternalIdentifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">Identifies this patient across multiple systems</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by pattern:type</span><table style=\"font-style: italic\" class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.identifier:ihi\" title=\"Slice ihi\">identifier:ihi</a><a name=\"Patient.identifier.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span>..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-ihi.html\" title=\"Identifier\">AUIHI</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Identifies this patient across multiple systems</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.identifier:medicare\" title=\"Slice medicare\">identifier:medicare</a><a name=\"Patient.identifier.3\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-medicarecardnumber.html\" title=\"Identifier\">AUMedicareCardNumber</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Identifies this patient across multiple systems</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.identifier:dva\" title=\"Slice dva\">identifier:dva</a><a name=\"Patient.identifier.4\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span>..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-dvanumber.html\" title=\"Identifier\">AUDVANumber</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Identifies this patient across multiple systems</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.name\">name</a><a name=\"Patient.name\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( au-core-pat-03, au-core-pat-02 )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#HumanName\">HumanName</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A name associated with the patient</span><br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"At least text, family name, or given name shall be present, or if neither is available, the Data Absent Reason extension shall be present\" class=\"constraint\">au-core-pat-03</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.name.use\">use</a><a name=\"Patient.name.use\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">usual | official | temp | nickname | anonymous | old | maiden</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.name.text\">text</a><a name=\"Patient.name.text\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Text representation of the full name</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.name.family\">family</a><a name=\"Patient.name.family\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Family name (often called 'Surname')</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.name.given\">given</a><a name=\"Patient.name.given\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Given names (not always 'first'). Includes middle names</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.telecom\">telecom</a><a name=\"Patient.telecom\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#ContactPoint\">ContactPoint</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A contact detail for the individual</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.telecom.system\">system</a><a name=\"Patient.telecom.system\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">phone | fax | email | pager | url | sms | other</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.telecom.value\">value</a><a name=\"Patient.telecom.value\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The actual contact point details</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.telecom.use\">use</a><a name=\"Patient.telecom.use\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">home | work | temp | old | mobile - purpose of this contact point</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.gender\">gender</a><a name=\"Patient.gender\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">male | female | other | unknown</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.birthDate\">birthDate</a><a name=\"Patient.birthDate\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Date of birth extended for time and accuracy indicator</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.address\">address</a><a name=\"Patient.address\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-address.html\" title=\"Address\">AustralianAddress</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Address\" title=\"Address\">Address</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">An address for the individual</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.communication\">communication</a><a name=\"Patient.communication\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A language which may be used to communicate with the patient about his or her health</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.communication.language\">language</a><a name=\"Patient.communication.language\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The language which can be used to communicate with the patient about his or her health</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-core-patient-definitions.html#Patient.communication.preferred\">preferred</a><a name=\"Patient.communication.preferred\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Language preference indicator</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-responder.html\">AU Core Responder</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-core-actor-requester.html\">AU Core Requester</a></td></tr></table></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>     ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 2     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "trial-use" ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core>         ]       ] )     ]
      ] ) ; #
      fhir:url [
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient>
      ] ; #
      fhir:version [ fhir:v "2.0.0"] ; #
      fhir:name [ fhir:v "AUCorePatient"] ; #
      fhir:title [ fhir:v "AU Core Patient"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2026-01-28T05:31:23+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 Australia"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 Australia FHIR Work Group" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://confluence.hl7.org/display/HAFWG" ] ;
    fhir:use [ fhir:v "work" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This profile sets minimum expectations for a Patient resource to record, search, and fetch basic demographics and other administrative information about an individual patient. It is based on the [AU Base Patient](https://hl7.org.au/fhir/6.0.0/StructureDefinition-au-patient.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Patient when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
    fhir:l <urn:iso:std:iso:3166>       ] ;
    fhir:code [ fhir:v "AU" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2022+; Licensed Under Creative Commons No Rights Reserved."] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
    fhir:l <http://hl7.org/v3>     ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/v3/cda"^^xsd:anyURI ;
    fhir:l <http://hl7.org/v3/cda>     ] ;
    fhir:name [ fhir:v "CDA (R2)" ]
      ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/fivews>     ] ;
    fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
      ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/v2"^^xsd:anyURI ;
    fhir:l <http://hl7.org/v2>     ] ;
    fhir:name [ fhir:v "HL7 v2 Mapping" ]
      ] [
    fhir:identity [ fhir:v "loinc" ] ;
    fhir:uri [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>     ] ;
    fhir:name [ fhir:v "LOINC code for the element" ]
      ] ) ; #
      fhir:kind [ fhir:v "resource"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [
    fhir:v "Patient"^^xsd:anyURI ;
    fhir:l fhir:Patient
      ] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "6.0.0"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "Patient" ] ;
    fhir:path [ fhir:v "Patient" ] ;
    fhir:short [ fhir:v "A patient in the context of electronic exchange of health information" ] ;
    fhir:definition [ fhir:v "Demographics and other administrative information about an individual receiving care or other health-related services." ] ;
          ( fhir:alias [ fhir:v "SubjectOfCare Client Resident" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "dom-2" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
    fhir:expression [ fhir:v "contained.contained.empty()" ] ;
    fhir:xpath [ fhir:v "not(parent::f:contained and f:contained)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-3" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ;
    fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-4" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
    fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-5" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
    fhir:expression [ fhir:v "contained.meta.security.empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:security))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice>           ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation>           ] ;
    fhir:value [
    a fhir:Markdown ;
    fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."           ]         ] ) ;
    fhir:key [ fhir:v "dom-6" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "A resource should have narrative for robust management" ] ;
    fhir:expression [ fhir:v "text.`div`.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:text/h:div)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "inv-pat-0" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If present, birth time's date shall be the birth date" ] ;
    fhir:expression [ fhir:v "birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').exists() implies birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').value.toString().substring(0,10) = birthDate.toString()" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>         ]       ] [
    fhir:key [ fhir:v "inv-pat-1" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "Individual gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply" ] ;
    fhir:expression [ fhir:v "extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').extension('value').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').extension('value').value.all(memberOf('https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1'))" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>         ]       ] [
    fhir:key [ fhir:v "inv-pat-2" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "Individual pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply" ] ;
    fhir:expression [ fhir:v "extension('http://hl7.org/fhir/StructureDefinition/individual-pronouns').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-pronouns').extension('value').value.all(memberOf('https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1'))" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>         ]       ] [
    fhir:key [ fhir:v "inv-pat-3" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "Recorded sex or gender type shall be a member of the AU Recorded Sex or Gender Type value set if any codes within that value set can apply" ] ;
    fhir:expression [ fhir:v "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('type').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('type').value.all(memberOf('http://terminology.hl7.org.au/ValueSet/rsg-type'))" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>         ]       ] [
    fhir:key [ fhir:v "inv-pat-4" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "Recorded sex or gender source document type shall be a member of the AU Recorded Sex or Gender (RSG) Source Document Type value set if any codes within that value set can apply" ] ;
    fhir:expression [ fhir:v "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('sourceDocument').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('sourceDocument').value.ofType(CodeableConcept).all(memberOf('http://terminology.hl7.org.au/ValueSet/rsg-source-document-type'))" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>         ]       ] [
    fhir:key [ fhir:v "inv-pat-5" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "Recorded sex or gender jurisdiction shall be a member of the Jurisdiction ValueSet - AU Extended value set if any codes within that value set can apply" ] ;
    fhir:expression [ fhir:v "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('jurisdiction').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('jurisdiction').value.all(memberOf('http://terminology.hl7.org.au/ValueSet/jurisdiction-extended'))" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>         ]       ] [
    fhir:key [ fhir:v "inv-pat-6" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "Recorded sex or gender source shall be a member of the AU Recorded Sex or Gender (RSG) Source value set if any codes within that value set can apply" ] ;
    fhir:expression [ fhir:v "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('source').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('source').value.ofType(CodeableConcept).all(memberOf('http://terminology.hl7.org.au/ValueSet/rsg-source'))" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>         ]       ] [
    fhir:key [ fhir:v "au-core-pat-01" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "At least one patient identifier shall be valid, or if not available, the Data Absent Reason extension shall be present" ] ;
    fhir:expression [ fhir:v "(identifier.where(system.count() + value.count() >1)).exists() xor identifier.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()" ] ;
    fhir:xpath [ fhir:v "(exists(f:identifier/f:system) and exists(f:identifier/f:value)) and not(exists(f:identifier/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])) or not(exists(f:identifier/f:system) and exists(f:identifier/f:value)) and exists(f:identifier/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])" ]       ] [
    fhir:key [ fhir:v "au-core-pat-02" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "At least one patient name shall have a family name, or if not available, the Data Absent Reason extension shall be present" ] ;
    fhir:expression [ fhir:v "name.family.exists() xor name.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()" ] ;
    fhir:xpath [ fhir:v "(exists(f:name/f:family) and not(exists(f:name/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))) or (not(exists(f:name/f:family)) and exists(f:name/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Entity. Role, or Act" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Patient[classCode=PAT]" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument.recordTarget.patientRole" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.id" ] ;
    fhir:path [ fhir:v "Patient.id" ] ;
    fhir:short [ fhir:v "Logical id of this artifact" ] ;
    fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
    fhir:comment [ fhir:v "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "id"^^xsd:anyURI ;
    fhir:l fhir:id           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.meta" ] ;
    fhir:path [ fhir:v "Patient.meta" ] ;
    fhir:short [ fhir:v "Metadata about the resource" ] ;
    fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.meta" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Meta"^^xsd:anyURI ;
    fhir:l fhir:Meta         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.implicitRules" ] ;
    fhir:path [ fhir:v "Patient.implicitRules" ] ;
    fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
    fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ;
    fhir:comment [ fhir:v "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.implicitRules" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "uri"^^xsd:anyURI ;
    fhir:l fhir:uri         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.language" ] ;
    fhir:path [ fhir:v "Patient.language" ] ;
    fhir:short [ fhir:v "Language of the resource content" ] ;
    fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
    fhir:comment [ fhir:v "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.language" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/ValueSet/all-languages"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/all-languages>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Language"           ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "A human language." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/languages|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/languages?version=4.0.1>         ]       ]     ] [
    fhir:id [ fhir:v "Patient.text" ] ;
    fhir:path [ fhir:v "Patient.text" ] ;
    fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ;
    fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
    fhir:comment [ fhir:v "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ;
          ( fhir:alias [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Narrative"^^xsd:anyURI ;
    fhir:l fhir:Narrative         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.text?" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contained" ] ;
    fhir:path [ fhir:v "Patient.contained" ] ;
    fhir:short [ fhir:v "Contained, inline Resources" ] ;
    fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ;
    fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ;
          ( fhir:alias [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.contained" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Resource"^^xsd:anyURI ;
    fhir:l fhir:Resource         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.extension" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:birthPlace" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "birthPlace" ] ;
    fhir:short [ fhir:v "Place of Birth for patient" ] ;
    fhir:definition [ fhir:v "The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/patient-birthPlace>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:indigenousStatus" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "indigenousStatus" ] ;
    fhir:short [ fhir:v "Indigenous status" ] ;
    fhir:definition [ fhir:v "National Health Data Dictionary (NHDD) based indigenous status for a person." ] ;
    fhir:comment [ fhir:v "This concept is equivalent to Australian Institute of Health and Welfare data element 602543 [Person—Indigenous status, code N](https://meteor.aihw.gov.au/content/index.phtml/itemId/602543)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/indigenous-status"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/indigenous-status>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:veteranStatus" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "veteranStatus" ] ;
    fhir:short [ fhir:v "Veteran / Australian Defence Force (ADF) status" ] ;
    fhir:definition [ fhir:v "Veteran / Australian Defence Force (ADF) status for a person." ] ;
    fhir:comment [ fhir:v "This concept is equivalent to Australian Institute of Health and Welfare data element 737931 [Person—ADF veteran status, code N](https://meteor.aihw.gov.au/content/737931)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/veteran-status"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/veteran-status>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:closingTheGapRegistration" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "closingTheGapRegistration" ] ;
    fhir:short [ fhir:v "Closing the Gap co-payment eligibility indicator" ] ;
    fhir:definition [ fhir:v "Indication of eligibility for the Closing the Gap co-payment." ] ;
    fhir:comment [ fhir:v "This concept is equivalent to Australian Institute of Health and Welfare data element 603671 [Patient—Closing the Gap co-payment eligibility indicator](https://meteor.aihw.gov.au/content/index.phtml/itemId/603671)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:mothersMaidenName" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "mothersMaidenName" ] ;
    fhir:short [ fhir:v "Mother's Maiden name" ] ;
    fhir:definition [ fhir:v "Mother's maiden (unmarried) name, commonly collected to help verify patient identity." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-6" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Role relationship to entity with maiden name (?)" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.extension:interpreterRequired" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "interpreterRequired" ] ;
    fhir:short [ fhir:v "Whether an interpreter is required" ] ;
    fhir:definition [ fhir:v "Indicates whether an interpreter is required to facilitate communication in a healthcare setting. While this extension is named patient-interpreterRequired for backwards compatibility, it may also be used on RelatedPerson, Practitioner, and Encounter." ] ;
    fhir:comment [ fhir:v "The individual does not speak the default language of the organization, and hence requires an interpreter. If other languages are in the Communications list, then that would be the type of interpreter required.\r\r*While this extension is named patient-interpreterRequired for backwards compatibility, it may also be used on RelatedPerson, Practitioner, and Encounter.*\r\rWhen used on Patient, RelatedPerson, or Practitioner, it indicates a default or assumed need for an interpreter.\rWhen used on Encounter, it indicates that an interpreter is needed to facilitate communication between some participants in that Encounter.\rThe encounter-level evaluation of whether an interpreter is needed might involve evaluating the language proficiencies of the participants." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:dateOfArrival" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "dateOfArrival" ] ;
    fhir:short [ fhir:v "The date a person first arrived in Australia, from another country, with the intention of living in Australia for one year or more" ] ;
    fhir:definition [ fhir:v "The date a person first arrived in Australia, from another country, with the intention of living in Australia for one year or more. This date is captured once for a person and is not subsequently updated with subsequent arrivals." ] ;
    fhir:comment [ fhir:v "See [Australian Bureau of Statics (ABS) 1200.0.55.007 - Year of Arrival Standard, 2014, Version 1.5](https://www.abs.gov.au/statistics/standards/year-arrival-standard/2014-version-15) for further information. This concept is equivalent to Australian Institute of Health and Welfare data element 269447 [Person—year of first arrival in Australia](https://meteor.aihw.gov.au/content/index.phtml/itemId/269447)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/date-of-arrival"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/date-of-arrival>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:genderIdentity" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "genderIdentity" ] ;
    fhir:short [ fhir:v "Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply" ] ;
    fhir:definition [ fhir:v "An individual's personal sense of being a man, woman, boy, girl, nonbinary, or something else." ] ;
    fhir:comment [ fhir:v "This represents an individual’s identity, ascertained by asking them what that identity is." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/individual-genderIdentity>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "inv-pat-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:individualPronouns" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "individualPronouns" ] ;
    fhir:short [ fhir:v "Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply" ] ;
    fhir:definition [ fhir:v "The pronouns to use when referring to an individual in verbal or written communication." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/individual-pronouns"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/individual-pronouns>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "inv-pat-2" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:recordedSexOrGender" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "recordedSexOrGender" ] ;
    fhir:short [ fhir:v "Recorded sex or gender type shall be a member of the AU Recorded Sex or Gender Type value set if any codes within that value set can apply. Recorded sex or gender source document type shall be a member of the AU Recorded Sex or Gender (RSG) Source Document Type value set if any codes within that value set can apply. Recorded sex or gender jurisdiction shall be a member of the Jurisdiction - ValueSet AU Extended value set if any codes within that value set can apply. Recorded sex or gender source shall be a member of the AU Recorded Sex or Gender (RSG) Source value set if any codes within that value set can apply." ] ;
    fhir:definition [ fhir:v "A sex or gender property for the individual from a document or other record" ] ;
    fhir:comment [ fhir:v "The type of recorded sex or gender is populated in the `extension:type.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [AU Recorded Sex or Gender Type](https://hl7.org.au/fhir/6.0.0/ValueSet-rsg-type.html) value set if any of the codes within the value set can apply.\n\nThe document from which the sex or gender property was acquired is populated in the `extension:sourceDocument.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [AU Recorded Sex or Gender (RSG) Source Document Type](https://hl7.org.au/fhir/6.0.0/ValueSet-rsg-source-document-type.html) value set if any of the codes within the value set can apply.\n\nThe jurisdiction that issued the document where the sex or gender was acquired is populated in the `extension:jurisdiction.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [Jurisdiction ValueSet - AU Extended](https://hl7.org.au/fhir/6.0.0/ValueSet-au-jurisdiction-extended.html) value set if any of the codes within the value set can apply.\n\nThe non-document source from which the sex or gender property was acquired is populated in the `extension:source.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [AU Recorded Sex or Gender (RSG) Source](https://hl7.org.au/fhir/6.0.0/ValueSet-rsg-source.html) value set if any of the codes within the value set can apply." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "inv-pat-3" ] [ fhir:v "inv-pat-4" ] [ fhir:v "inv-pat-5" ] [ fhir:v "inv-pat-6" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.extension:sexParameterForClinicalUse" ] ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "sexParameterForClinicalUse" ] ;
    fhir:short [ fhir:v "A context-specific sex parameter for clinical use" ] ;
    fhir:definition [ fhir:v "A parameter that provides guidance on how a recipient should apply settings or reference ranges that are derived from observable information such as an organ inventory, recent hormone lab tests, genetic testing, menstrual status, obstetric history, etc.." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.modifierExtension" ] ;
    fhir:path [ fhir:v "Patient.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
    fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.identifier" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "pattern" ] ;
    fhir:path [ fhir:v "type" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Identifies this patient across multiple systems" ] ;
    fhir:definition [ fhir:v "An identifier for this patient." ] ;
    fhir:requirements [ fhir:v "Patients are almost always assigned specific numerical identifiers." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Identifier"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Identifier>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-ihi"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-ihi>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-dvanumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-dvanumber>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-cwlthseniorshealthcardnumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-cwlthseniorshealthcardnumber>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-medicalrecordnumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-medicalrecordnumber>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-insurancemembernumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-insurancemembernumber>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-pi"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-pi>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "au-core-pat-01" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "id" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".id" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.identifier:ihi" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:sliceName [ fhir:v "ihi" ] ;
    fhir:short [ fhir:v "Identifies this patient across multiple systems" ] ;
    fhir:definition [ fhir:v "An identifier for this patient." ] ;
    fhir:requirements [ fhir:v "Patients are almost always assigned specific numerical identifiers." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-ihi"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-ihi>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "id" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".id" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.identifier:medicare" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:sliceName [ fhir:v "medicare" ] ;
    fhir:short [ fhir:v "Identifies this patient across multiple systems" ] ;
    fhir:definition [ fhir:v "An identifier for this patient." ] ;
    fhir:requirements [ fhir:v "Patients are almost always assigned specific numerical identifiers." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "id" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".id" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.identifier:dva" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:sliceName [ fhir:v "dva" ] ;
    fhir:short [ fhir:v "Identifies this patient across multiple systems" ] ;
    fhir:definition [ fhir:v "An identifier for this patient." ] ;
    fhir:requirements [ fhir:v "Patients are almost always assigned specific numerical identifiers." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-dvanumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-dvanumber>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "id" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".id" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.active" ] ;
    fhir:path [ fhir:v "Patient.active" ] ;
    fhir:short [ fhir:v "Whether this patient's record is in active use" ] ;
    fhir:definition [ fhir:v "Whether this patient record is in active use. \nMany systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.\n\nIt is often used to filter patient lists to exclude inactive patients\n\nDeceased patients may also be marked as inactive for the same reasons, but may be active for some time after death." ] ;
    fhir:comment [ fhir:v "If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient." ] ;
    fhir:requirements [ fhir:v "Need to be able to mark a patient record as not to be used because it was created in error." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.active" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "boolean"^^xsd:anyURI ;
    fhir:l fhir:boolean         ]       ] ) ;
    fhir:meaningWhenMissing [ fhir:v "This resource is generally assumed to be active if no value is provided for the active element" ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid" ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.status" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "statusCode" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name" ] ;
    fhir:short [ fhir:v "A name associated with the patient" ] ;
    fhir:definition [ fhir:v "A name associated with the individual." ] ;
    fhir:comment [ fhir:v "A patient may have multiple names with different uses or applicable periods. At least one name SHOULD be the name the patient is considered to have for administrative and record keeping purposes - family name is used to enable matching against patient records." ] ;
    fhir:requirements [ fhir:v "Need to be able to track the patient by multiple names. Examples are your official name and a partner name." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "HumanName"^^xsd:anyURI ;
    fhir:l fhir:HumanName         ]       ] ) ;
          ( fhir:condition [ fhir:v "au-core-pat-02" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "au-core-pat-03" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "At least text, family name, or given name shall be present, or if neither is available, the Data Absent Reason extension shall be present" ] ;
    fhir:expression [ fhir:v "(text.exists() or family.exists() or given.exists()) xor extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()" ] ;
    fhir:xpath [ fhir:v "(exists(f:text) or exists(f:family) or exists(f:given)) and not (exists(f:text) and exists(f:family) and exists(f:given)) or exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-5, PID-9" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "name" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".patient.name" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.id" ] ;
    fhir:path [ fhir:v "Patient.name.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.extension" ] ;
    fhir:path [ fhir:v "Patient.name.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.use" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name.use" ] ;
    fhir:short [ fhir:v "usual | official | temp | nickname | anonymous | old | maiden" ] ;
    fhir:definition [ fhir:v "Identifies the purpose for this name." ] ;
    fhir:comment [ fhir:v "Applications can assume that a name is current unless it explicitly says that it is temporary or old." ] ;
    fhir:requirements [ fhir:v "Allows the appropriate name for a particular context of use to be selected from among a set of names." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HumanName.use" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one" ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "NameUse"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The use of a human name." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/name-use|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/name-use?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XPN.7, but often indicated by which field contains the name" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "unique(./use)" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./NamePurpose" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.text" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name.text" ] ;
    fhir:short [ fhir:v "Text representation of the full name" ] ;
    fhir:definition [ fhir:v "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts." ] ;
    fhir:comment [ fhir:v "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present,  no content is included in the text that isn't found in a part." ] ;
    fhir:requirements [ fhir:v "A renderable, unencoded form." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HumanName.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "implied by XPN.11" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./formatted" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.family" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name.family" ] ;
    fhir:short [ fhir:v "Family name (often called 'Surname')" ] ;
    fhir:definition [ fhir:v "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father." ] ;
    fhir:comment [ fhir:v "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures)." ] ;
          ( fhir:alias [ fhir:v "surname" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HumanName.family" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XPN.1/FN.1" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./part[partType = FAM]" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./FamilyName" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.given" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name.given" ] ;
    fhir:short [ fhir:v "Given names (not always 'first'). Includes middle names" ] ;
    fhir:definition [ fhir:v "Given name." ] ;
    fhir:comment [ fhir:v "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations.  This element is not called \"first name\" since given names do not always come first." ] ;
          ( fhir:alias [ fhir:v "first name" ] [ fhir:v "middle name" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HumanName.given" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
    fhir:orderMeaning [ fhir:v "Given Names appear in the correct order for presenting the name" ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XPN.2 + XPN.3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./part[partType = GIV]" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./GivenNames" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.prefix" ] ;
    fhir:path [ fhir:v "Patient.name.prefix" ] ;
    fhir:short [ fhir:v "Parts that come before the name" ] ;
    fhir:definition [ fhir:v "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HumanName.prefix" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
    fhir:orderMeaning [ fhir:v "Prefixes appear in the correct order for presenting the name" ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XPN.5" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./part[partType = PFX]" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./TitleCode" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.suffix" ] ;
    fhir:path [ fhir:v "Patient.name.suffix" ] ;
    fhir:short [ fhir:v "Parts that come after the name" ] ;
    fhir:definition [ fhir:v "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HumanName.suffix" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
    fhir:orderMeaning [ fhir:v "Suffixes appear in the correct order for presenting the name" ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XPN/4" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./part[partType = SFX]" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.name.period" ] ;
    fhir:path [ fhir:v "Patient.name.period" ] ;
    fhir:short [ fhir:v "Time period when name was/is in use" ] ;
    fhir:definition [ fhir:v "Indicates the period of time when this name was valid for the named person." ] ;
    fhir:requirements [ fhir:v "Allows names to be placed in historical context." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HumanName.period" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Period"^^xsd:anyURI ;
    fhir:l fhir:Period         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XPN.13 + XPN.14" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./StartDate and ./EndDate" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.telecom" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.telecom" ] ;
    fhir:short [ fhir:v "A contact detail for the individual" ] ;
    fhir:definition [ fhir:v "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted." ] ;
    fhir:comment [ fhir:v "A Patient may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently and also to help with identification. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone)." ] ;
    fhir:requirements [ fhir:v "People have (primary) ways to contact them in some way such as phone, email." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.telecom" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "ContactPoint"^^xsd:anyURI ;
    fhir:l fhir:ContactPoint         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-13, PID-14, PID-40" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "telecom" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".telecom" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.telecom.id" ] ;
    fhir:path [ fhir:v "Patient.telecom.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.telecom.extension" ] ;
    fhir:path [ fhir:v "Patient.telecom.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.telecom.system" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.telecom.system" ] ;
    fhir:short [ fhir:v "phone | fax | email | pager | url | sms | other" ] ;
    fhir:definition [ fhir:v "Telecommunications form for contact point - what communications system is required to make use of the contact." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ContactPoint.system" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:condition [ fhir:v "cpt-2" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "ContactPointSystem"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "Telecommunications form for contact point." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/contact-point-system?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XTN.3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./scheme" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./ContactPointType" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.telecom.value" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.telecom.value" ] ;
    fhir:short [ fhir:v "The actual contact point details" ] ;
    fhir:definition [ fhir:v "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." ] ;
    fhir:comment [ fhir:v "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." ] ;
    fhir:requirements [ fhir:v "Need to support legacy numbers that are not in a tightly controlled format." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ContactPoint.value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XTN.1 (or XTN.12)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./url" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./Value" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.telecom.use" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.telecom.use" ] ;
    fhir:short [ fhir:v "home | work | temp | old | mobile - purpose of this contact point" ] ;
    fhir:definition [ fhir:v "Identifies the purpose for the contact point." ] ;
    fhir:comment [ fhir:v "Applications can assume that a contact is current unless it explicitly says that it is temporary or old." ] ;
    fhir:requirements [ fhir:v "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ContactPoint.use" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one" ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "ContactPointUse"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "Use of contact point." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/contact-point-use?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "XTN.2 - but often indicated by field" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "unique(./use)" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./ContactPointPurpose" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.telecom.rank" ] ;
    fhir:path [ fhir:v "Patient.telecom.rank" ] ;
    fhir:short [ fhir:v "Specify preferred order of use (1 = highest)" ] ;
    fhir:definition [ fhir:v "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values." ] ;
    fhir:comment [ fhir:v "Note that rank does not necessarily follow the order in which the contacts are represented in the instance." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ContactPoint.rank" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "positiveInt"^^xsd:anyURI ;
    fhir:l fhir:positiveInt         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.telecom.period" ] ;
    fhir:path [ fhir:v "Patient.telecom.period" ] ;
    fhir:short [ fhir:v "Time period when the contact point was/is in use" ] ;
    fhir:definition [ fhir:v "Time period when the contact point was/is in use." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ContactPoint.period" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Period"^^xsd:anyURI ;
    fhir:l fhir:Period         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./StartDate and ./EndDate" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.gender" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.gender" ] ;
    fhir:short [ fhir:v "male | female | other | unknown" ] ;
    fhir:definition [ fhir:v "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes." ] ;
    fhir:comment [ fhir:v "The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female.  Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.)  However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice.  Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects.  For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a \"hard\" error.  See the Patient Gender and Sex section for additional information about communicating patient gender and sex." ] ;
    fhir:requirements [ fhir:v "Needed for identification of the individual, in combination with (at least) name and birth date." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.gender" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "AdministrativeGender"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The gender of a person used for administrative purposes." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/administrative-gender?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-8" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".patient.administrativeGenderCode" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.birthDate" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.birthDate" ] ;
    fhir:short [ fhir:v "Date of birth extended for time and accuracy indicator" ] ;
    fhir:definition [ fhir:v "The date of birth for the individual." ] ;
    fhir:comment [ fhir:v "At least an estimated year should be provided as a guess if the real DOB is unknown  There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternity/infant care systems)." ] ;
    fhir:requirements [ fhir:v "Age of the individual drives many clinical processes. May include accuracy indicator and specific birth time." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.birthDate" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "date"^^xsd:anyURI ;
    fhir:l fhir:date         ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-pat-0" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-7" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".patient.birthTime" ]       ] [
    fhir:identity [ fhir:v "loinc" ] ;
    fhir:map [ fhir:v "21112-8" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.birthDate.id" ] ;
    fhir:path [ fhir:v "Patient.birthDate.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
    fhir:definition [ fhir:v "unique id for the element within a resource (for internal references)" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.birthDate.extension" ] ;
    fhir:path [ fhir:v "Patient.birthDate.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.birthDate.extension:accuracyIndicator" ] ;
    fhir:path [ fhir:v "Patient.birthDate.extension" ] ;
    fhir:sliceName [ fhir:v "accuracyIndicator" ] ;
    fhir:short [ fhir:v "Birth date accuracy indicator" ] ;
    fhir:definition [ fhir:v "General date accuracy indicator coding." ] ;
    fhir:comment [ fhir:v "In some circumstances, systems may only have date or datetime data that has unknown or estimated parts.  This coding establishes the accuracy of the day, month and year parts." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.birthDate.extension:birthTime" ] ;
    fhir:path [ fhir:v "Patient.birthDate.extension" ] ;
    fhir:sliceName [ fhir:v "birthTime" ] ;
    fhir:short [ fhir:v "Birth time" ] ;
    fhir:definition [ fhir:v "The time of day that the patient was born. This includes the date to ensure that the timezone information can be communicated effectively." ] ;
    fhir:comment [ fhir:v "The patient prefix on the extension was retained to ensure backward compatibility with existing data (the content itself is provided to assist in sharing data across patient resources effectively)" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthTime"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/patient-birthTime>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "inv-pat-0" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.birthDate.value" ] ;
    fhir:path [ fhir:v "Patient.birthDate.value" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Primitive value for date" ] ;
    fhir:definition [ fhir:v "The actual value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "date.value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "date"^^xsd:anyURI ;
    fhir:l fhir:date           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/regex>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?"           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.Date"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.Date>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.deceased[x]" ] ;
    fhir:path [ fhir:v "Patient.deceased[x]" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "type" ] ;
    fhir:path [ fhir:v "$this" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "closed" ]       ] ;
    fhir:short [ fhir:v "Indicates if the individual is deceased or not" ] ;
    fhir:definition [ fhir:v "Indicates if the individual is deceased or not. Deceased date accuracy indicator is optional." ] ;
    fhir:comment [ fhir:v "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive." ] ;
    fhir:requirements [ fhir:v "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.deceased[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "boolean"^^xsd:anyURI ;
    fhir:l fhir:boolean         ]       ] [
    fhir:code [
    fhir:v "dateTime"^^xsd:anyURI ;
    fhir:l fhir:dateTime         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different." ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-30  (bool) and PID-29 (datetime)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.deceased[x]:deceasedBoolean" ] ;
    fhir:path [ fhir:v "Patient.deceased[x]" ] ;
    fhir:sliceName [ fhir:v "deceasedBoolean" ] ;
    fhir:short [ fhir:v "Deceased indicator" ] ;
    fhir:definition [ fhir:v "Boolean indicator if the individual is deceased or not." ] ;
    fhir:comment [ fhir:v "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive." ] ;
    fhir:requirements [ fhir:v "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.deceased[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "boolean"^^xsd:anyURI ;
    fhir:l fhir:boolean         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different." ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-30  (bool) and PID-29 (datetime)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.deceased[x]:deceasedDateTime" ] ;
    fhir:path [ fhir:v "Patient.deceased[x]" ] ;
    fhir:sliceName [ fhir:v "deceasedDateTime" ] ;
    fhir:short [ fhir:v "Deceased date time" ] ;
    fhir:definition [ fhir:v "Individual deceased date-time with optional accuracy indicator." ] ;
    fhir:comment [ fhir:v "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive." ] ;
    fhir:requirements [ fhir:v "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.deceased[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "dateTime"^^xsd:anyURI ;
    fhir:l fhir:dateTime         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different." ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-30  (bool) and PID-29 (datetime)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.deceased[x]:deceasedDateTime.id" ] ;
    fhir:path [ fhir:v "Patient.deceased[x].id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
    fhir:definition [ fhir:v "unique id for the element within a resource (for internal references)" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.deceased[x]:deceasedDateTime.extension" ] ;
    fhir:path [ fhir:v "Patient.deceased[x].extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.deceased[x]:deceasedDateTime.extension:accuracyIndicator" ] ;
    fhir:path [ fhir:v "Patient.deceased[x].extension" ] ;
    fhir:sliceName [ fhir:v "accuracyIndicator" ] ;
    fhir:short [ fhir:v "Deceased date accuracy indicator" ] ;
    fhir:definition [ fhir:v "General date accuracy indicator coding." ] ;
    fhir:comment [ fhir:v "In some circumstances, systems may only have date or datetime data that has unknown or estimated parts.  This coding establishes the accuracy of the day, month and year parts." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.deceased[x]:deceasedDateTime.value" ] ;
    fhir:path [ fhir:v "Patient.deceased[x].value" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Primitive value for dateTime" ] ;
    fhir:definition [ fhir:v "The actual value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "dateTime.value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "dateTime"^^xsd:anyURI ;
    fhir:l fhir:dateTime           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/regex>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.DateTime"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.DateTime>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Patient.address" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.address" ] ;
    fhir:short [ fhir:v "An address for the individual" ] ;
    fhir:definition [ fhir:v "An address for the individual." ] ;
    fhir:comment [ fhir:v "The address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the Location resource)." ] ;
    fhir:requirements [ fhir:v "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.address" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Address"^^xsd:anyURI ;
    fhir:l fhir:Address         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-address"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-address>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Address"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Address>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-11" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "addr" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".addr" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.maritalStatus" ] ;
    fhir:path [ fhir:v "Patient.maritalStatus" ] ;
    fhir:short [ fhir:v "Marital (civil) status of a patient" ] ;
    fhir:definition [ fhir:v "This field contains a patient's most recent marital (civil) status." ] ;
    fhir:requirements [ fhir:v "Most, if not all systems capture it." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.maritalStatus" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "MaritalStatus"           ]         ] ) ;
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "The domestic partnership status of a person." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/marital-status|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/marital-status?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-16" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN]/maritalStatusCode" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".patient.maritalStatusCode" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.multipleBirth[x]" ] ;
    fhir:path [ fhir:v "Patient.multipleBirth[x]" ] ;
    fhir:short [ fhir:v "Whether patient is part of a multiple birth" ] ;
    fhir:definition [ fhir:v "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer)." ] ;
    fhir:comment [ fhir:v "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated)." ] ;
    fhir:requirements [ fhir:v "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.multipleBirth[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "boolean"^^xsd:anyURI ;
    fhir:l fhir:boolean         ]       ] [
    fhir:code [
    fhir:v "integer"^^xsd:anyURI ;
    fhir:l fhir:integer         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-24 (bool), PID-25 (integer)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd,  player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.photo" ] ;
    fhir:path [ fhir:v "Patient.photo" ] ;
    fhir:short [ fhir:v "Image of the patient" ] ;
    fhir:definition [ fhir:v "Image of the patient." ] ;
    fhir:comment [ fhir:v "Guidelines:\n* Use id photos, not clinical photos.\n* Limit dimensions to thumbnail.\n* Keep byte count low to ease resource updates." ] ;
    fhir:requirements [ fhir:v "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.photo" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Attachment"^^xsd:anyURI ;
    fhir:l fhir:Attachment         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBX-5 - needs a profile" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact" ] ;
    fhir:path [ fhir:v "Patient.contact" ] ;
    fhir:short [ fhir:v "A contact party (e.g. guardian, partner, friend) for the patient" ] ;
    fhir:definition [ fhir:v "A contact party (e.g. guardian, partner, friend) for the patient." ] ;
    fhir:comment [ fhir:v "Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact." ] ;
    fhir:requirements [ fhir:v "Need to track people you can contact about the patient." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.contact" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "BackboneElement"^^xsd:anyURI ;
    fhir:l fhir:BackboneElement         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "pat-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "SHALL at least contain a contact's details or a reference to an organization" ] ;
    fhir:expression [ fhir:v "name.exists() or telecom.exists() or address.exists() or organization.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Patient>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.id" ] ;
    fhir:path [ fhir:v "Patient.contact.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.extension" ] ;
    fhir:path [ fhir:v "Patient.contact.extension" ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.modifierExtension" ] ;
    fhir:path [ fhir:v "Patient.contact.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
    fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.relationship" ] ;
    fhir:path [ fhir:v "Patient.contact.relationship" ] ;
    fhir:short [ fhir:v "The kind of relationship" ] ;
    fhir:definition [ fhir:v "The nature of the relationship between the patient and the contact person." ] ;
    fhir:requirements [ fhir:v "Used to determine which contact person is the most relevant to approach, depending on circumstances." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.contact.relationship" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3"^^xsd:anyURI ;
    fhir:l <https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "NK1-7, NK1-3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "code" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.name" ] ;
    fhir:path [ fhir:v "Patient.contact.name" ] ;
    fhir:short [ fhir:v "A name associated with the contact person" ] ;
    fhir:definition [ fhir:v "A name associated with the contact person." ] ;
    fhir:requirements [ fhir:v "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.contact.name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "HumanName"^^xsd:anyURI ;
    fhir:l fhir:HumanName         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "NK1-2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "name" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.telecom" ] ;
    fhir:path [ fhir:v "Patient.contact.telecom" ] ;
    fhir:short [ fhir:v "A contact detail for the person" ] ;
    fhir:definition [ fhir:v "A contact detail for the person, e.g. a telephone number or an email address." ] ;
    fhir:comment [ fhir:v "Contact may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification." ] ;
    fhir:requirements [ fhir:v "People have (primary) ways to contact them in some way such as phone, email." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.contact.telecom" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "ContactPoint"^^xsd:anyURI ;
    fhir:l fhir:ContactPoint         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "NK1-5, NK1-6, NK1-40" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "telecom" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.address" ] ;
    fhir:path [ fhir:v "Patient.contact.address" ] ;
    fhir:short [ fhir:v "Address for the contact person" ] ;
    fhir:definition [ fhir:v "Address for the contact person." ] ;
    fhir:comment [ fhir:v "The address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the Location resource)." ] ;
    fhir:requirements [ fhir:v "Need to keep track where the contact person can be contacted per postal mail or visited." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.contact.address" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Address"^^xsd:anyURI ;
    fhir:l fhir:Address         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Address"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Address>         ] [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-address"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-address>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "NK1-4" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "addr" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.gender" ] ;
    fhir:path [ fhir:v "Patient.contact.gender" ] ;
    fhir:short [ fhir:v "male | female | other | unknown" ] ;
    fhir:definition [ fhir:v "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes." ] ;
    fhir:requirements [ fhir:v "Needed to address the person correctly." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.contact.gender" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "AdministrativeGender"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The gender of a person used for administrative purposes." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/administrative-gender?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "NK1-15" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.organization" ] ;
    fhir:path [ fhir:v "Patient.contact.organization" ] ;
    fhir:short [ fhir:v "Organization that is associated with the contact" ] ;
    fhir:definition [ fhir:v "Organization on behalf of which the contact is acting or for which the contact is working." ] ;
    fhir:requirements [ fhir:v "For guardians or business related contacts, the organization is relevant." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.contact.organization" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=4.0.1>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "pat-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "scoper" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.contact.period" ] ;
    fhir:path [ fhir:v "Patient.contact.period" ] ;
    fhir:short [ fhir:v "The period during which this contact person or organization is valid to be contacted relating to this patient" ] ;
    fhir:definition [ fhir:v "The period during which this contact person or organization is valid to be contacted relating to this patient." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.contact.period" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Period"^^xsd:anyURI ;
    fhir:l fhir:Period         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "effectiveTime" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.communication" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.communication" ] ;
    fhir:short [ fhir:v "A language which may be used to communicate with the patient about his or her health" ] ;
    fhir:definition [ fhir:v "A language which may be used to communicate with the patient about his or her health." ] ;
    fhir:comment [ fhir:v "If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes, then you need multiple Patient.Communication associations.   For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required." ] ;
    fhir:requirements [ fhir:v "If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency are important things to keep track of both for patient and other persons of interest." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.communication" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "BackboneElement"^^xsd:anyURI ;
    fhir:l fhir:BackboneElement         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "LanguageCommunication" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "patient.languageCommunication" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.communication.id" ] ;
    fhir:path [ fhir:v "Patient.communication.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.communication.extension" ] ;
    fhir:path [ fhir:v "Patient.communication.extension" ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.communication.modifierExtension" ] ;
    fhir:path [ fhir:v "Patient.communication.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
    fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.communication.language" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.communication.language" ] ;
    fhir:short [ fhir:v "The language which can be used to communicate with the patient about his or her health" ] ;
    fhir:definition [ fhir:v "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English." ] ;
    fhir:comment [ fhir:v "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type." ] ;
    fhir:requirements [ fhir:v "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.communication.language" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2"^^xsd:anyURI ;
    fhir:l <https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-15, LAN-2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".languageCode" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.communication.preferred" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient?version=2.0.0>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.communication.preferred" ] ;
    fhir:short [ fhir:v "Language preference indicator" ] ;
    fhir:definition [ fhir:v "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)." ] ;
    fhir:comment [ fhir:v "This language is specifically identified for communicating healthcare information." ] ;
    fhir:requirements [ fhir:v "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.communication.preferred" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "boolean"^^xsd:anyURI ;
    fhir:l fhir:boolean         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-15" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "preferenceInd" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".preferenceInd" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.generalPractitioner" ] ;
    fhir:path [ fhir:v "Patient.generalPractitioner" ] ;
    fhir:short [ fhir:v "Patient's nominated primary care provider" ] ;
    fhir:definition [ fhir:v "Patient's nominated care provider." ] ;
    fhir:comment [ fhir:v "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles.  It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.\nMultiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a \"fly-in/fly-out\" worker that has the onsite GP also included with his home GP to remain aware of medical issues.\n\nJurisdictions may decide that they can profile this down to 1 if desired, or 1 per type." ] ;
          ( fhir:alias [ fhir:v "careProvider" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.generalPractitioner" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PD1-4" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "subjectOf.CareEvent.performer.AssignedEntity" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.managingOrganization" ] ;
    fhir:path [ fhir:v "Patient.managingOrganization" ] ;
    fhir:short [ fhir:v "Organization that is the custodian of the patient record" ] ;
    fhir:definition [ fhir:v "Organization that is the custodian of the patient record." ] ;
    fhir:comment [ fhir:v "There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association)." ] ;
    fhir:requirements [ fhir:v "Need to know who recognizes this patient record, manages and updates it." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.managingOrganization" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "scoper" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v ".providerOrganization" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.link" ] ;
    fhir:path [ fhir:v "Patient.link" ] ;
    fhir:short [ fhir:v "Link to a Patient or RelatedPerson resource that concerns the same actual person" ] ;
    fhir:definition [ fhir:v "Link to a Patient or RelatedPerson resource that concerns the same actual person." ] ;
    fhir:comment [ fhir:v "There is no assumption that linked patient records have mutual links." ] ;
    fhir:requirements [ fhir:v "There are multiple use cases:   \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and \n* Distribution of patient information across multiple servers." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.link" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "BackboneElement"^^xsd:anyURI ;
    fhir:l fhir:BackboneElement         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'" ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "outboundLink" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.link.id" ] ;
    fhir:path [ fhir:v "Patient.link.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.link.extension" ] ;
    fhir:path [ fhir:v "Patient.link.extension" ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.link.modifierExtension" ] ;
    fhir:path [ fhir:v "Patient.link.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
    fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
    fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.link.other" ] ;
    fhir:path [ fhir:v "Patient.link.other" ] ;
    fhir:short [ fhir:v "The other patient or related person resource that the link refers to" ] ;
    fhir:definition [ fhir:v "The other patient resource that the link refers to." ] ;
    fhir:comment [ fhir:v "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.link.other" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy>           ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v false           ]         ] ) ;
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-3, MRG-1" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "id" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Patient.link.type" ] ;
    fhir:path [ fhir:v "Patient.link.type" ] ;
    fhir:short [ fhir:v "replaced-by | replaces | refer | seealso" ] ;
    fhir:definition [ fhir:v "The type of link between this patient resource and another patient resource." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Patient.link.type" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "LinkType"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The type of link between this patient resource and another patient resource." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/link-type|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/link-type?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "typeCode" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "Patient" ] ;
    fhir:path [ fhir:v "Patient" ] ;
    fhir:short [ fhir:v "A patient in the context of electronic exchange of health information" ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "au-core-pat-01" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "At least one patient identifier shall be valid, or if not available, the Data Absent Reason extension shall be present" ] ;
    fhir:expression [ fhir:v "(identifier.where(system.count() + value.count() >1)).exists() xor identifier.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()" ] ;
    fhir:xpath [ fhir:v "(exists(f:identifier/f:system) and exists(f:identifier/f:value)) and not(exists(f:identifier/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])) or not(exists(f:identifier/f:system) and exists(f:identifier/f:value)) and exists(f:identifier/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])" ]       ] [
    fhir:key [ fhir:v "au-core-pat-02" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "At least one patient name shall have a family name, or if not available, the Data Absent Reason extension shall be present" ] ;
    fhir:expression [ fhir:v "name.family.exists() xor name.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()" ] ;
    fhir:xpath [ fhir:v "(exists(f:name/f:family) and not(exists(f:name/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))) or (not(exists(f:name/f:family)) and exists(f:name/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient>         ]       ] )     ] [
    fhir:id [ fhir:v "Patient.extension:indigenousStatus" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "indigenousStatus" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.extension:genderIdentity" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "genderIdentity" ] ;
    fhir:short [ fhir:v "Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.extension:individualPronouns" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.extension" ] ;
    fhir:sliceName [ fhir:v "individualPronouns" ] ;
    fhir:short [ fhir:v "Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.identifier" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "pattern" ] ;
    fhir:path [ fhir:v "type" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:condition [ fhir:v "au-core-pat-01" ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.identifier:ihi" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:sliceName [ fhir:v "ihi" ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-ihi"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-ihi>         ] )       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.identifier:medicare" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:sliceName [ fhir:v "medicare" ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber>         ] )       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.identifier:dva" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.identifier" ] ;
    fhir:sliceName [ fhir:v "dva" ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-dvanumber"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-dvanumber>         ] )       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name" ] ;
    fhir:comment [ fhir:v "A patient may have multiple names with different uses or applicable periods. At least one name SHOULD be the name the patient is considered to have for administrative and record keeping purposes - family name is used to enable matching against patient records." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:condition [ fhir:v "au-core-pat-02" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "au-core-pat-03" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "At least text, family name, or given name shall be present, or if neither is available, the Data Absent Reason extension shall be present" ] ;
    fhir:expression [ fhir:v "(text.exists() or family.exists() or given.exists()) xor extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()" ] ;
    fhir:xpath [ fhir:v "(exists(f:text) or exists(f:family) or exists(f:given)) and not (exists(f:text) and exists(f:family) and exists(f:given)) or exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])" ] ;
    fhir:source [
    fhir:v "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.name.use" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name.use" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.name.text" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name.text" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.name.family" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name.family" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.name.given" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.name.given" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.telecom" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.telecom" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.telecom.system" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.telecom.system" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.telecom.value" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.telecom.value" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.telecom.use" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.telecom.use" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.gender" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.gender" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.birthDate" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.birthDate" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.address" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.address" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.communication" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.communication" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.communication.language" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.communication.language" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Patient.communication.preferred" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "Patient.communication.preferred" ] ;
    fhir:mustSupport [ fhir:v true ]     ] )
      ] . #