PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ps@0.1.0-preview
    http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient
{
  "description": "This profile sets minimum expectations for a Patient resource in the context of a patient summary in an Australian context. It is based on the [AU Base Patient](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-patient.html) profile, and applies the constraints of [AU Core Patient](http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient) and [Patient (IPS)](http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips).",
  "_filename": "StructureDefinition-au-ps-patient.json",
  "package_name": "hl7.fhir.au.ps",
  "date": "2025-03-10T12:43:34+00:00",
  "derivation": "constraint",
  "publisher": "HL7 Australia",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "AU",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "AUPSPatient",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://loinc.org",
    "name": "LOINC code for the element",
    "identity": "loinc"
  } ],
  "abstract": false,
  "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2022+; Licensed Under Creative Commons No Rights Reserved.",
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "AU PS Patient",
  "package_version": "0.1.0-preview",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 0
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile",
    "valueCanonical": "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile",
    "valueCanonical": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "draft",
    "_valueCode": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://hl7.org.au/fhir/ps/ImplementationGuide/hl7.fhir.au.ps"
      } ]
    }
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-3",
        "human": "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",
        "xpath": "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='#'])]))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "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()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "xpath": "not(exists(f:contained/*/f:meta/f:security))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "xpath": "exists(f:text/h:div)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "warning",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean": true
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown": "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."
        } ],
        "expression": "text.`div`.exists()"
      }, {
        "key": "inv-pat-0",
        "human": "If present, birth time's date shall be the birth date",
        "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient",
        "severity": "error",
        "expression": "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()"
      }, {
        "key": "inv-pat-1",
        "human": "Individual gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply",
        "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient",
        "severity": "warning",
        "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').all(extension('value').value.memberOf('https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1'))"
      }, {
        "key": "inv-pat-2",
        "human": "Individual pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply",
        "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient",
        "severity": "warning",
        "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-pronouns').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-pronouns').all(extension('value').value.memberOf('https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1'))"
      }, {
        "key": "inv-pat-3",
        "human": "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",
        "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient",
        "severity": "warning",
        "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('type').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').all(extension('type').value.memberOf('http://terminology.hl7.org.au/ValueSet/rsg-type'))"
      }, {
        "key": "inv-pat-4",
        "human": "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",
        "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient",
        "severity": "warning",
        "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('sourceDocument').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').all(extension('sourceDocument').value.memberOf('http://terminology.hl7.org.au/ValueSet/rsg-source-document-type'))"
      }, {
        "key": "inv-pat-5",
        "human": "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",
        "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient",
        "severity": "warning",
        "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('jurisdiction').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').all(extension('jurisdiction').value.memberOf('http://terminology.hl7.org.au/ValueSet/jurisdiction-extended'))"
      }, {
        "key": "au-core-pat-01",
        "human": "At least one patient identifier shall be valid, or if not available, the Data Absent Reason extension shall be present",
        "severity": "error",
        "expression": "(identifier.where(system.count() + value.count() >1)).exists() xor identifier.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
      }, {
        "key": "au-core-pat-02",
        "human": "At least one patient name shall have a family name, or if not available, the Data Absent Reason extension shall be present",
        "severity": "error",
        "expression": "name.family.exists() xor name.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
      } ],
      "path": "Patient",
      "min": 0,
      "definition": "Demographics and other administrative information about an individual receiving care or other health-related services.",
      "isModifier": false,
      "short": "A patient in the context of electronic exchange of health information",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Patient[classCode=PAT]",
        "identity": "rim"
      }, {
        "map": "ClinicalDocument.recordTarget.patientRole",
        "identity": "cda"
      } ],
      "alias": [ "SubjectOfCare Client Resident" ],
      "max": "*",
      "id": "Patient",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient"
      },
      "isSummary": false
    }, {
      "path": "Patient.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "max": "1",
      "id": "Patient.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.meta",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "Patient.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.implicitRules",
      "min": 0,
      "definition": "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.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Patient.implicitRules",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isModifierReason": "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",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        } ],
        "description": "A human language."
      },
      "max": "1",
      "id": "Patient.language",
      "comment": "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.text",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "Patient.text",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      },
      "isSummary": false
    }, {
      "path": "Patient.contained",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "Patient.contained",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Place of Birth for patient",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" ]
      } ],
      "sliceName": "birthPlace",
      "max": "1",
      "id": "Patient.extension:birthPlace",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "National Health Data Dictionary (NHDD) based indigenous status for a person.",
      "isModifier": false,
      "short": "Indigenous status",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/indigenous-status" ]
      } ],
      "mustSupport": true,
      "sliceName": "indigenousStatus",
      "max": "1",
      "id": "Patient.extension:indigenousStatus",
      "condition": [ "ele-1" ],
      "comment": "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).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "Veteran / Australian Defence Force (ADF) status for a person.",
      "isModifier": false,
      "short": "Veteran / Australian Defence Force (ADF) status",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/veteran-status" ]
      } ],
      "sliceName": "veteranStatus",
      "max": "*",
      "id": "Patient.extension:veteranStatus",
      "condition": [ "ele-1" ],
      "comment": "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).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "Indication of eligibility for the Closing the Gap co-payment.",
      "isModifier": false,
      "short": "Closing the Gap co-payment eligibility indicator",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration" ]
      } ],
      "sliceName": "closingTheGapRegistration",
      "max": "1",
      "id": "Patient.extension:closingTheGapRegistration",
      "condition": [ "ele-1" ],
      "comment": "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).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "Mother's maiden (unmarried) name, commonly collected to help verify patient identity.",
      "isModifier": false,
      "short": "Mother's Maiden name",
      "mapping": [ {
        "map": "PID-6",
        "identity": "v2"
      }, {
        "map": "Role relationship to entity with maiden name (?)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" ]
      } ],
      "sliceName": "mothersMaidenName",
      "max": "1",
      "id": "Patient.extension:mothersMaidenName",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Whether an interpreter is required",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired" ]
      } ],
      "sliceName": "interpreterRequired",
      "max": "1",
      "id": "Patient.extension:interpreterRequired",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "The date a person first arrived in Australia, from another country, with the intention of living in Australia for one year or more",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/date-of-arrival" ]
      } ],
      "sliceName": "dateOfArrival",
      "max": "1",
      "id": "Patient.extension:dateOfArrival",
      "condition": [ "ele-1" ],
      "comment": "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).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "An individual's personal sense of being a man, woman, boy, girl, nonbinary, or something else.",
      "isModifier": false,
      "short": "Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity" ]
      } ],
      "mustSupport": true,
      "sliceName": "genderIdentity",
      "max": "*",
      "id": "Patient.extension:genderIdentity",
      "condition": [ "inv-pat-1" ],
      "comment": "This represents an individual’s identity, ascertained by asking them what that identity is.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "The pronouns to use when referring to an individual in verbal or written communication.",
      "isModifier": false,
      "short": "Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/individual-pronouns" ]
      } ],
      "mustSupport": true,
      "sliceName": "individualPronouns",
      "max": "*",
      "id": "Patient.extension:individualPronouns",
      "condition": [ "inv-pat-2" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "A sex or gender property for the individual from a document or other record",
      "isModifier": false,
      "short": "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",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender" ]
      } ],
      "sliceName": "recordedSexOrGender",
      "max": "*",
      "id": "Patient.extension:recordedSexOrGender",
      "condition": [ "inv-pat-3", "inv-pat-4", "inv-pat-5" ],
      "comment": "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://build.fhir.org/ig/hl7au/au-fhir-base/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://build.fhir.org/ig/hl7au/au-fhir-base/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://build.fhir.org/ig/hl7au/au-fhir-base/ValueSet-au-jurisdiction-extended.html) value set if any of the codes within the value set can apply.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.modifierExtension",
      "requirements": "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).",
      "min": 0,
      "definition": "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.modifierExtension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.identifier",
      "requirements": "Patients are almost always assigned specific numerical identifiers.",
      "min": 1,
      "definition": "An identifier for this patient.",
      "isModifier": false,
      "short": "Identifies this patient across multiple systems",
      "mapping": [ {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": "PID-3",
        "identity": "v2"
      }, {
        "map": "id",
        "identity": "rim"
      }, {
        "map": ".id",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "type",
          "type": "pattern"
        } ]
      },
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/Identifier", "http://hl7.org.au/fhir/StructureDefinition/au-ihi", "http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber", "http://hl7.org.au/fhir/StructureDefinition/au-dvanumber", "http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber", "http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber", "http://hl7.org.au/fhir/StructureDefinition/au-cwlthseniorshealthcardnumber", "http://hl7.org.au/fhir/StructureDefinition/au-medicalrecordnumber", "http://hl7.org.au/fhir/StructureDefinition/au-insurancemembernumber" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.identifier",
      "condition": [ "au-core-pat-01" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.identifier",
      "requirements": "Patients are almost always assigned specific numerical identifiers.",
      "min": 0,
      "definition": "An identifier for this patient.",
      "isModifier": false,
      "short": "Identifies this patient across multiple systems",
      "mapping": [ {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": "PID-3",
        "identity": "v2"
      }, {
        "map": "id",
        "identity": "rim"
      }, {
        "map": ".id",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/au-ihi" ]
      } ],
      "mustSupport": true,
      "sliceName": "ihi",
      "max": "1",
      "id": "Patient.identifier:ihi",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.identifier",
      "requirements": "Patients are almost always assigned specific numerical identifiers.",
      "min": 0,
      "definition": "An identifier for this patient.",
      "isModifier": false,
      "short": "Identifies this patient across multiple systems",
      "mapping": [ {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": "PID-3",
        "identity": "v2"
      }, {
        "map": "id",
        "identity": "rim"
      }, {
        "map": ".id",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber" ]
      } ],
      "mustSupport": true,
      "sliceName": "medicare",
      "max": "1",
      "id": "Patient.identifier:medicare",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.identifier",
      "requirements": "Patients are almost always assigned specific numerical identifiers.",
      "min": 0,
      "definition": "An identifier for this patient.",
      "isModifier": false,
      "short": "Identifies this patient across multiple systems",
      "mapping": [ {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": "PID-3",
        "identity": "v2"
      }, {
        "map": "id",
        "identity": "rim"
      }, {
        "map": ".id",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/au-dvanumber" ]
      } ],
      "mustSupport": true,
      "sliceName": "dva",
      "max": "1",
      "id": "Patient.identifier:dva",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.active",
      "requirements": "Need to be able to mark a patient record as not to be used because it was created in error.",
      "min": 0,
      "definition": "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.",
      "isModifier": true,
      "short": "Whether this patient's record is in active use",
      "mapping": [ {
        "map": "FiveWs.status",
        "identity": "w5"
      }, {
        "map": "statusCode",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element",
      "max": "1",
      "id": "Patient.active",
      "comment": "If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.active"
      },
      "isModifierReason": "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",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "au-core-pat-03",
        "human": "At least text, family name, or given name shall be present, or if neither is available, the Data Absent Reason extension shall be present",
        "severity": "error",
        "expression": "(text.exists() or family.exists() or given.exists()) xor extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
      }, {
        "key": "ips-pat-1",
        "human": "Patient.name.given, Patient.name.family or Patient.name.text SHALL be present",
        "severity": "error",
        "expression": "family.exists() or given.exists() or text.exists()"
      } ],
      "path": "Patient.name",
      "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.",
      "min": 1,
      "definition": "A name associated with the individual.",
      "isModifier": false,
      "short": "A name associated with the patient",
      "mapping": [ {
        "map": "PID-5, PID-9",
        "identity": "v2"
      }, {
        "map": "name",
        "identity": "rim"
      }, {
        "map": ".patient.name",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "HumanName"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.name",
      "condition": [ "au-core-pat-02" ],
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.name"
      },
      "isSummary": true
    }, {
      "path": "Patient.name.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.name.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.name.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.name.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.name.use",
      "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
      "min": 0,
      "definition": "Identifies the purpose for this name.",
      "isModifier": true,
      "short": "usual | official | temp | nickname | anonymous | old | maiden",
      "mapping": [ {
        "map": "XPN.7, but often indicated by which field contains the name",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./NamePurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NameUse"
        } ],
        "description": "The use of a human name."
      },
      "max": "1",
      "id": "Patient.name.use",
      "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.use"
      },
      "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.name.text",
      "requirements": "A renderable, unencoded form.",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Text representation of the full name",
      "mapping": [ {
        "map": "implied by XPN.11",
        "identity": "v2"
      }, {
        "map": "./formatted",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Patient.name.text",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.name.family",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Family name (often called 'Surname')",
      "mapping": [ {
        "map": "XPN.1/FN.1",
        "identity": "v2"
      }, {
        "map": "./part[partType = FAM]",
        "identity": "rim"
      }, {
        "map": "./FamilyName",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "alias": [ "surname" ],
      "max": "1",
      "id": "Patient.name.family",
      "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.family"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.name.given",
      "min": 0,
      "definition": "Given name.",
      "isModifier": false,
      "short": "Given names (not always 'first'). Includes middle names",
      "mapping": [ {
        "map": "XPN.2 + XPN.3",
        "identity": "v2"
      }, {
        "map": "./part[partType = GIV]",
        "identity": "rim"
      }, {
        "map": "./GivenNames",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "alias": [ "first name", "middle name" ],
      "max": "*",
      "id": "Patient.name.given",
      "comment": "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.",
      "orderMeaning": "Given Names appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.given"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.name.prefix",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Parts that come before the name",
      "mapping": [ {
        "map": "XPN.5",
        "identity": "v2"
      }, {
        "map": "./part[partType = PFX]",
        "identity": "rim"
      }, {
        "map": "./TitleCode",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Patient.name.prefix",
      "orderMeaning": "Prefixes appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.prefix"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.name.suffix",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Parts that come after the name",
      "mapping": [ {
        "map": "XPN/4",
        "identity": "v2"
      }, {
        "map": "./part[partType = SFX]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Patient.name.suffix",
      "orderMeaning": "Suffixes appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.suffix"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.name.period",
      "requirements": "Allows names to be placed in historical context.",
      "min": 0,
      "definition": "Indicates the period of time when this name was valid for the named person.",
      "isModifier": false,
      "short": "Time period when name was/is in use",
      "mapping": [ {
        "map": "XPN.13 + XPN.14",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.name.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.period"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.telecom",
      "requirements": "People have (primary) ways to contact them in some way such as phone, email.",
      "min": 0,
      "definition": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.",
      "isModifier": false,
      "short": "A contact detail for the individual",
      "mapping": [ {
        "map": "PID-13, PID-14, PID-40",
        "identity": "v2"
      }, {
        "map": "telecom",
        "identity": "rim"
      }, {
        "map": ".telecom",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "ContactPoint"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.telecom",
      "comment": "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).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.telecom"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.gender",
      "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date.",
      "min": 1,
      "definition": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.",
      "isModifier": false,
      "short": "male | female | other | unknown",
      "mapping": [ {
        "map": "PID-8",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender",
        "identity": "rim"
      }, {
        "map": ".patient.administrativeGenderCode",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AdministrativeGender"
        } ],
        "description": "The gender of a person used for administrative purposes."
      },
      "max": "1",
      "id": "Patient.gender",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.gender"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.birthDate",
      "requirements": "Age of the individual drives many clinical processes. May include accuracy indicator and specific birth time.",
      "min": 1,
      "definition": "The date of birth for the individual.",
      "isModifier": false,
      "short": "Date of birth extended for time and accuracy indicator",
      "mapping": [ {
        "map": "PID-7",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime",
        "identity": "rim"
      }, {
        "map": ".patient.birthTime",
        "identity": "cda"
      }, {
        "map": "21112-8",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Patient.birthDate",
      "condition": [ "inv-pat-0" ],
      "comment": "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.birthDate"
      },
      "isSummary": true
    }, {
      "path": "Patient.birthDate.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "isModifier": false,
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.birthDate.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.birthDate.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.birthDate.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.birthDate.extension",
      "min": 0,
      "definition": "General date accuracy indicator coding.",
      "isModifier": false,
      "short": "Birth date accuracy indicator",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator" ]
      } ],
      "sliceName": "accuracyIndicator",
      "max": "1",
      "id": "Patient.birthDate.extension:accuracyIndicator",
      "condition": [ "ele-1" ],
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.birthDate.extension",
      "min": 0,
      "definition": "The time of day that the patient was born. This includes the date to ensure that the timezone information can be communicated effectively.",
      "isModifier": false,
      "short": "Birth time",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-birthTime" ]
      } ],
      "sliceName": "birthTime",
      "max": "1",
      "id": "Patient.birthDate.extension:birthTime",
      "condition": [ "inv-pat-0" ],
      "comment": "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)",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.birthDate.value",
      "min": 0,
      "definition": "The actual value",
      "isModifier": false,
      "short": "Primitive value for date",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.Date",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "date"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/regex",
          "valueString": "([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]))?)?"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.birthDate.value",
      "base": {
        "max": "1",
        "min": 0,
        "path": "date.value"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.deceased[x]",
      "requirements": "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.",
      "min": 0,
      "definition": "Indicates if the individual is deceased or not. Deceased date accuracy indicator is optional.",
      "isModifier": true,
      "short": "Indicates if the individual is deceased or not",
      "mapping": [ {
        "map": "PID-30  (bool) and PID-29 (datetime)",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "closed",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "boolean"
      }, {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "Patient.deceased[x]",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.deceased[x]"
      },
      "isModifierReason": "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.",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.deceased[x]",
      "requirements": "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.",
      "min": 0,
      "definition": "Boolean indicator if the individual is deceased or not.",
      "isModifier": true,
      "short": "Deceased indicator",
      "mapping": [ {
        "map": "PID-30  (bool) and PID-29 (datetime)",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "sliceName": "deceasedBoolean",
      "max": "1",
      "id": "Patient.deceased[x]:deceasedBoolean",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.deceased[x]"
      },
      "isModifierReason": "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.",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.deceased[x]",
      "requirements": "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.",
      "min": 0,
      "definition": "Individual deceased date-time with optional accuracy indicator.",
      "isModifier": true,
      "short": "Deceased date time",
      "mapping": [ {
        "map": "PID-30  (bool) and PID-29 (datetime)",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "sliceName": "deceasedDateTime",
      "max": "1",
      "id": "Patient.deceased[x]:deceasedDateTime",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.deceased[x]"
      },
      "isModifierReason": "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.",
      "isSummary": true
    }, {
      "path": "Patient.deceased[x].id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "isModifier": false,
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.deceased[x]:deceasedDateTime.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.deceased[x].extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.deceased[x]:deceasedDateTime.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.deceased[x].extension",
      "min": 0,
      "definition": "General date accuracy indicator coding.",
      "isModifier": false,
      "short": "Deceased date accuracy indicator",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator" ]
      } ],
      "sliceName": "accuracyIndicator",
      "max": "1",
      "id": "Patient.deceased[x]:deceasedDateTime.extension:accuracyIndicator",
      "condition": [ "ele-1" ],
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.deceased[x].value",
      "min": 0,
      "definition": "The actual value",
      "isModifier": false,
      "short": "Primitive value for dateTime",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.DateTime",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "dateTime"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/regex",
          "valueString": "([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)))?)?)?"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.deceased[x]:deceasedDateTime.value",
      "base": {
        "max": "1",
        "min": 0,
        "path": "dateTime.value"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.address",
      "requirements": "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.",
      "min": 0,
      "definition": "An address for the individual.",
      "isModifier": false,
      "short": "An address for the individual",
      "mapping": [ {
        "map": "PID-11",
        "identity": "v2"
      }, {
        "map": "addr",
        "identity": "rim"
      }, {
        "map": ".addr",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Address",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/au-address", "http://hl7.org/fhir/StructureDefinition/Address" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.address",
      "comment": "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).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.address"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.maritalStatus",
      "requirements": "Most, if not all systems capture it.",
      "min": 0,
      "definition": "This field contains a patient's most recent marital (civil) status.",
      "isModifier": false,
      "short": "Marital (civil) status of a patient",
      "mapping": [ {
        "map": "PID-16",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN]/maritalStatusCode",
        "identity": "rim"
      }, {
        "map": ".patient.maritalStatusCode",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/marital-status",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MaritalStatus"
        } ],
        "description": "The domestic partnership status of a person."
      },
      "max": "1",
      "id": "Patient.maritalStatus",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.maritalStatus"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.multipleBirth[x]",
      "requirements": "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.",
      "min": 0,
      "definition": "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).",
      "isModifier": false,
      "short": "Whether patient is part of a multiple birth",
      "mapping": [ {
        "map": "PID-24 (bool), PID-25 (integer)",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd,  player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "boolean"
      }, {
        "code": "integer"
      } ],
      "max": "1",
      "id": "Patient.multipleBirth[x]",
      "comment": "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.multipleBirth[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.photo",
      "requirements": "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.",
      "min": 0,
      "definition": "Image of the patient.",
      "isModifier": false,
      "short": "Image of the patient",
      "mapping": [ {
        "map": "OBX-5 - needs a profile",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Attachment"
      } ],
      "max": "*",
      "id": "Patient.photo",
      "comment": "Guidelines:\n* Use id photos, not clinical photos.\n* Limit dimensions to thumbnail.\n* Keep byte count low to ease resource updates.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.photo"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "pat-1",
        "human": "SHALL at least contain a contact's details or a reference to an organization",
        "xpath": "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)",
        "source": "http://hl7.org/fhir/StructureDefinition/Patient",
        "severity": "error",
        "expression": "name.exists() or telecom.exists() or address.exists() or organization.exists()"
      } ],
      "path": "Patient.contact",
      "requirements": "Need to track people you can contact about the patient.",
      "min": 0,
      "definition": "A contact party (e.g. guardian, partner, friend) for the patient.",
      "isModifier": false,
      "short": "A contact party (e.g. guardian, partner, friend) for the patient",
      "mapping": [ {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Patient.contact",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.contact"
      },
      "isSummary": false
    }, {
      "path": "Patient.contact.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.contact.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.contact.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.contact.modifierExtension",
      "requirements": "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).",
      "min": 0,
      "definition": "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Patient.contact.modifierExtension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.contact.relationship",
      "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
      "min": 0,
      "definition": "The nature of the relationship between the patient and the contact person.",
      "isModifier": false,
      "short": "The kind of relationship",
      "mapping": [ {
        "map": "NK1-7, NK1-3",
        "identity": "v2"
      }, {
        "map": "code",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3"
      },
      "max": "*",
      "id": "Patient.contact.relationship",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.contact.relationship"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.contact.name",
      "requirements": "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.",
      "min": 0,
      "definition": "A name associated with the contact person.",
      "isModifier": false,
      "short": "A name associated with the contact person",
      "mapping": [ {
        "map": "NK1-2",
        "identity": "v2"
      }, {
        "map": "name",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "HumanName"
      } ],
      "max": "1",
      "id": "Patient.contact.name",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.name"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.contact.telecom",
      "requirements": "People have (primary) ways to contact them in some way such as phone, email.",
      "min": 0,
      "definition": "A contact detail for the person, e.g. a telephone number or an email address.",
      "isModifier": false,
      "short": "A contact detail for the person",
      "mapping": [ {
        "map": "NK1-5, NK1-6, NK1-40",
        "identity": "v2"
      }, {
        "map": "telecom",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "ContactPoint"
      } ],
      "max": "*",
      "id": "Patient.contact.telecom",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.contact.telecom"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.contact.address",
      "requirements": "Need to keep track where the contact person can be contacted per postal mail or visited.",
      "min": 0,
      "definition": "Address for the contact person.",
      "isModifier": false,
      "short": "Address for the contact person",
      "mapping": [ {
        "map": "NK1-4",
        "identity": "v2"
      }, {
        "map": "addr",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Address",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/Address", "http://hl7.org.au/fhir/StructureDefinition/au-address" ]
      } ],
      "max": "1",
      "id": "Patient.contact.address",
      "comment": "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.address"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.contact.gender",
      "requirements": "Needed to address the person correctly.",
      "min": 0,
      "definition": "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.",
      "isModifier": false,
      "short": "male | female | other | unknown",
      "mapping": [ {
        "map": "NK1-15",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AdministrativeGender"
        } ],
        "description": "The gender of a person used for administrative purposes."
      },
      "max": "1",
      "id": "Patient.contact.gender",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.gender"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.contact.organization",
      "requirements": "For guardians or business related contacts, the organization is relevant.",
      "min": 0,
      "definition": "Organization on behalf of which the contact is acting or for which the contact is working.",
      "isModifier": false,
      "short": "Organization that is associated with the contact",
      "mapping": [ {
        "map": "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41",
        "identity": "v2"
      }, {
        "map": "scoper",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "1",
      "id": "Patient.contact.organization",
      "condition": [ "pat-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.organization"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.contact.period",
      "min": 0,
      "definition": "The period during which this contact person or organization is valid to be contacted relating to this patient.",
      "isModifier": false,
      "short": "The period during which this contact person or organization is valid to be contacted relating to this patient",
      "mapping": [ {
        "map": "effectiveTime",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.contact.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.period"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.communication",
      "requirements": "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.",
      "min": 0,
      "definition": "A language which may be used to communicate with the patient about his or her health.",
      "isModifier": false,
      "short": "A language which may be used to communicate with the patient about his or her health",
      "mapping": [ {
        "map": "LanguageCommunication",
        "identity": "rim"
      }, {
        "map": "patient.languageCommunication",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.communication",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.communication"
      },
      "isSummary": false
    }, {
      "path": "Patient.communication.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.communication.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.communication.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.communication.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.communication.modifierExtension",
      "requirements": "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).",
      "min": 0,
      "definition": "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Patient.communication.modifierExtension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.communication.language",
      "requirements": "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.",
      "min": 1,
      "definition": "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.",
      "isModifier": false,
      "short": "The language which can be used to communicate with the patient about his or her health",
      "mapping": [ {
        "map": "PID-15, LAN-2",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code",
        "identity": "rim"
      }, {
        "map": ".languageCode",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "extensible",
        "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2"
      },
      "max": "1",
      "id": "Patient.communication.language",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Patient.communication.language"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.communication.preferred",
      "requirements": "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.",
      "min": 0,
      "definition": "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).",
      "isModifier": false,
      "short": "Language preference indicator",
      "mapping": [ {
        "map": "PID-15",
        "identity": "v2"
      }, {
        "map": "preferenceInd",
        "identity": "rim"
      }, {
        "map": ".preferenceInd",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Patient.communication.preferred",
      "comment": "This language is specifically identified for communicating healthcare information.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.communication.preferred"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.generalPractitioner",
      "min": 0,
      "definition": "Patient's nominated care provider.",
      "isModifier": false,
      "short": "Patient's nominated primary care provider",
      "mapping": [ {
        "map": "PD1-4",
        "identity": "v2"
      }, {
        "map": "subjectOf.CareEvent.performer.AssignedEntity",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ]
      } ],
      "mustSupport": true,
      "alias": [ "careProvider" ],
      "max": "*",
      "id": "Patient.generalPractitioner",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.generalPractitioner"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.managingOrganization",
      "requirements": "Need to know who recognizes this patient record, manages and updates it.",
      "min": 0,
      "definition": "Organization that is the custodian of the patient record.",
      "isModifier": false,
      "short": "Organization that is the custodian of the patient record",
      "mapping": [ {
        "map": "scoper",
        "identity": "rim"
      }, {
        "map": ".providerOrganization",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "1",
      "id": "Patient.managingOrganization",
      "comment": "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.managingOrganization"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.link",
      "requirements": "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.",
      "min": 0,
      "definition": "Link to a Patient or RelatedPerson resource that concerns the same actual person.",
      "isModifier": true,
      "short": "Link to a Patient or RelatedPerson resource that concerns the same actual person",
      "mapping": [ {
        "map": "outboundLink",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Patient.link",
      "comment": "There is no assumption that linked patient records have mutual links.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.link"
      },
      "isModifierReason": "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'",
      "isSummary": true
    }, {
      "path": "Patient.link.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.link.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.link.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.link.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.link.modifierExtension",
      "requirements": "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).",
      "min": 0,
      "definition": "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Patient.link.modifierExtension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.link.other",
      "min": 1,
      "definition": "The other patient resource that the link refers to.",
      "isModifier": false,
      "short": "The other patient or related person resource that the link refers to",
      "mapping": [ {
        "map": "PID-3, MRG-1",
        "identity": "v2"
      }, {
        "map": "id",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean": false
        } ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "max": "1",
      "id": "Patient.link.other",
      "comment": "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Patient.link.other"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Patient.link.type",
      "min": 1,
      "definition": "The type of link between this patient resource and another patient resource.",
      "isModifier": false,
      "short": "replaced-by | replaces | refer | seealso",
      "mapping": [ {
        "map": "typeCode",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/link-type|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "LinkType"
        } ],
        "description": "The type of link between this patient resource and another patient resource."
      },
      "max": "1",
      "id": "Patient.link.type",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Patient.link.type"
      },
      "isSummary": true
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "5.1.0-preview"
    } ]
  },
  "status": "draft",
  "id": "4b2f8876-905d-477f-b7ba-fe0dc7f43e92",
  "kind": "resource",
  "url": "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient",
  "version": "0.1.0-preview",
  "differential": {
    "element": [ {
      "id": "Patient",
      "path": "Patient",
      "short": "A patient in the context of electronic exchange of health information",
      "constraint": [ {
        "key": "au-core-pat-01",
        "human": "At least one patient identifier shall be valid, or if not available, the Data Absent Reason extension shall be present",
        "severity": "error",
        "expression": "(identifier.where(system.count() + value.count() >1)).exists() xor identifier.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
      }, {
        "key": "au-core-pat-02",
        "human": "At least one patient name shall have a family name, or if not available, the Data Absent Reason extension shall be present",
        "severity": "error",
        "expression": "name.family.exists() xor name.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
      } ]
    }, {
      "id": "Patient.extension:indigenousStatus",
      "path": "Patient.extension",
      "sliceName": "indigenousStatus",
      "mustSupport": true
    }, {
      "id": "Patient.extension:genderIdentity",
      "path": "Patient.extension",
      "short": "Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply",
      "sliceName": "genderIdentity",
      "mustSupport": true
    }, {
      "id": "Patient.extension:individualPronouns",
      "path": "Patient.extension",
      "short": "Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply",
      "sliceName": "individualPronouns",
      "mustSupport": true
    }, {
      "id": "Patient.identifier",
      "min": 1,
      "path": "Patient.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "type",
          "type": "pattern"
        } ]
      },
      "condition": [ "au-core-pat-01" ],
      "mustSupport": true
    }, {
      "id": "Patient.identifier:ihi",
      "max": "1",
      "path": "Patient.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/au-ihi" ]
      } ],
      "sliceName": "ihi",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:medicare",
      "max": "1",
      "path": "Patient.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber" ]
      } ],
      "sliceName": "medicare",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:dva",
      "max": "1",
      "path": "Patient.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://hl7.org.au/fhir/StructureDefinition/au-dvanumber" ]
      } ],
      "sliceName": "dva",
      "mustSupport": true
    }, {
      "id": "Patient.name",
      "min": 1,
      "path": "Patient.name",
      "comment": "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.",
      "condition": [ "au-core-pat-02" ],
      "constraint": [ {
        "key": "au-core-pat-03",
        "human": "At least text, family name, or given name shall be present, or if neither is available, the Data Absent Reason extension shall be present",
        "severity": "error",
        "expression": "(text.exists() or family.exists() or given.exists()) xor extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
      }, {
        "key": "ips-pat-1",
        "human": "Patient.name.given, Patient.name.family or Patient.name.text SHALL be present",
        "severity": "error",
        "expression": "family.exists() or given.exists() or text.exists()"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.name.use",
      "path": "Patient.name.use",
      "mustSupport": true
    }, {
      "id": "Patient.name.text",
      "path": "Patient.name.text",
      "mustSupport": true
    }, {
      "id": "Patient.name.family",
      "path": "Patient.name.family",
      "mustSupport": true
    }, {
      "id": "Patient.name.given",
      "path": "Patient.name.given",
      "mustSupport": true
    }, {
      "id": "Patient.telecom",
      "path": "Patient.telecom",
      "mustSupport": true
    }, {
      "id": "Patient.gender",
      "min": 1,
      "path": "Patient.gender",
      "mustSupport": true
    }, {
      "id": "Patient.birthDate",
      "min": 1,
      "path": "Patient.birthDate",
      "mustSupport": true
    }, {
      "id": "Patient.address",
      "path": "Patient.address",
      "mustSupport": true
    }, {
      "id": "Patient.communication",
      "path": "Patient.communication",
      "mustSupport": true
    }, {
      "id": "Patient.communication.language",
      "path": "Patient.communication.language",
      "mustSupport": true
    }, {
      "id": "Patient.communication.preferred",
      "path": "Patient.communication.preferred",
      "mustSupport": true
    }, {
      "id": "Patient.generalPractitioner",
      "path": "Patient.generalPractitioner",
      "mustSupport": true
    } ]
  },
  "contact": [ {
    "name": "HL7 Australia FHIR Work Group",
    "telecom": [ {
      "use": "work",
      "value": "https://confluence.hl7.org/display/HAFWG",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-patient"
}