dh-patient-core-1
type: StructureDefinition
node role: treeRoot
resource.id:
  value: dh-patient-core-1
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Name Flags Card. Type Description & Constraints Patient C 0..* AUBasePatient A patient in the context of electronic exchange of health information inv-dh-pat-01: At least one patient identifier shall be valid inv-dh-pat-02: At least one patient name shall have a family name inv-dh-pat-03: If present, a general practitioner shall at least have a reference, an identifier or a display extension:birthPlace S 0..1 birthPlace Place of Birth for patient extension:indigenousStatus S 0..1 AustralianIndigenousStatus Indigenous status extension:interpreterRequired S 0..1 interpreterRequired Whether the patient needs an interpreter extension:dateOfArrival S 0..1 DateOfArrivalAustralia Year of Arrival Slices for identifier SC 1..* Identifier, AUIHI, AUMedicareCardNumber, AUDVANumber, AUHealthCareCardNumber, AUPensionerConcessionCardNumber, AUCwlthSeniorsHealthCardNumber, AUMedicalRecordNumber, AUInsuranceMemberNumber Identifies this patient across multiple systems Slice: Unordered, Open by pattern:type identifier:ihi S 0..1 AUIHI Individual Healthcare Identifier (IHI) identifier:medicare S 0..1 AUMedicareCardNumber Medicare Card Number identifier:dva S 0..1 AUDVANumber Department of Veterans' Affairs (DVA) Number active 0..1 boolean Whether this patient's record is in active use Fixed Value: true name SC 1..* HumanName A name associated with the patient inv-dh-pat-04: At least text, family name, or given name shall be present telecom S 0..* ContactPoint A contact detail for the individual gender S 1..1 code male | female | other | unknown birthDate S 1..1 date Date of birth extended for time and accuracy indicator extension:accuracyIndicator S 0..1 DateAccuracyIndicator Date accuracy indicator extension:birthTime S 0..1 birthTime Time of day of birth address S 0..* AustralianAddress, Address An address for the individual communication S 0..* BackboneElement A language which may be used to communicate with the patient about his or her health language S 1..1 CodeableConcept The la…
structure definition.url:
  value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
structure definition.version:
  value: 1.0.0
structure definition.name:
  value: ADHAPatientCore
structure definition.title:
  value: ADHA Core Patient
structure definition.status:
  value: active
structure definition.experimental:
  value: false
structure definition.date:
  value: 2023-08-07T21:41:43+10:00
structure definition.publisher:
  value: Australian Digital Health Agency
structure definition.contact:
  index: 0
  contact detail.telecom:
    index: 0
    contact point.system:
      value: email
structure definition.description:
  value: The purpose of this profile is to provide a core representation of a patient for the electronic exchange of health information between individuals, healthcare providers, and the My Health Record system infrastructure in Australia.
structure definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: AU
structure definition.copyright:
  value: Copyright © 2022 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.mapping:
  index: 1
  structure definition.mapping.identity:
    value: cda
  structure definition.mapping.uri:
    value: http://hl7.org/v3/cda
  structure definition.mapping.name:
    value: CDA (R2)
structure definition.mapping:
  index: 2
  structure definition.mapping.identity:
    value: w5
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/fivews
  structure definition.mapping.name:
    value: FiveWs Pattern Mapping
structure definition.mapping:
  index: 3
  structure definition.mapping.identity:
    value: v2
  structure definition.mapping.uri:
    value: http://hl7.org/v2
  structure definition.mapping.name:
    value: HL7 v2 Mapping
structure definition.mapping:
  index: 4
  structure definition.mapping.identity:
    value: loinc
  structure definition.mapping.uri:
    value: http://loinc.org
  structure definition.mapping.name:
    value: LOINC code for the element
structure definition.kind:
  value: resource
structure definition.abstract:
  value: false
structure definition.type:
  value: Patient
structure definition.base definition:
  value: http://hl7.org.au/fhir/StructureDefinition/au-patient
  link: http://hl7.org.au/fhir/StructureDefinition/au-patient
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: Patient
    element definition.path:
      value: Patient
    element definition.short:
      value: A patient in the context of electronic exchange of health information
    element definition.definition:
      value: Demographics and other administrative information about an individual receiving care or other health-related services.
    element definition.alias:
      value: SubjectOfCare Client Resident
      index: 0
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Patient
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: dom-2
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      element definition.constraint.expression:
        value: contained.contained.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:contained)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: dom-3
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: 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
      element definition.constraint.expression:
        value: 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()
      element definition.constraint.xpath:
        value: 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='#'])]))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 2
      element definition.constraint.key:
        value: dom-4
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      element definition.constraint.expression:
        value: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 3
      element definition.constraint.key:
        value: dom-5
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a security label
      element definition.constraint.expression:
        value: contained.meta.security.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:security))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 4
      element.extension:
        index: 0
      element.extension:
        index: 1
      element definition.constraint.key:
        value: dom-6
      element definition.constraint.severity:
        value: warning
      element definition.constraint.human:
        value: A resource should have narrative for robust management
      element definition.constraint.expression:
        value: text.`div`.exists()
      element definition.constraint.xpath:
        value: exists(f:text/h:div)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 5
      element definition.constraint.key:
        value: inv-pat-0

value: true

value: 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.

value: error

value: If present, birth time's date shall be the birth date

value: 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()

index: 6
element definition.constraint.key:
  value: inv-dh-pat-01
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: At least one patient identifier shall be valid
element definition.constraint.expression:
  value: identifier.where(system.count() + value.count() >1).exists()
element definition.constraint.xpath:
  value: exists(f:identifier/f:system)
element definition.constraint.source:
  value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
  link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1

index: 7
element definition.constraint.key:
  value: inv-dh-pat-02
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: At least one patient name shall have a family name
element definition.constraint.expression:
  value: name.family.exists()
element definition.constraint.xpath:
  value: exists(f:name/f:family)
element definition.constraint.source:
  value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
  link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1

index: 8
element definition.constraint.key:
  value: inv-dh-pat-03
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: If present, a general practitioner shall at least have a reference, an identifier or a display
element definition.constraint.expression:
  value: generalPractitioner.exists() implies generalPractitioner.all($this.reference.exists() or $this.identifier.exists() or $this.display.exists())
element definition.constraint.xpath:
  value: not(exists(f:generalPractitioner)) or exists(f:generalPractitioner/f:reference) or exists(f:generalPractitioner/f:identifier) or exists(f:generalPractitioner/f:display)
element definition.constraint.source:
  value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
  link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1

value: false

value: false

index: 0
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: Entity. Role, or Act

index: 1
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: Patient[classCode=PAT]

index: 2
element definition.mapping.identity:
  value: cda
element definition.mapping.map:
  value: ClinicalDocument.recordTarget.patientRole

index: 1
element.id:
  value: Patient.id
element definition.path:
  value: Patient.id
element definition.short:
  value: Logical id of this artifact
element definition.definition:
  value: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
element definition.comment:
  value: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: id
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: 2
element.id:
  value: Patient.meta
element definition.path:
  value: Patient.meta
element definition.short:
  value: Metadata about the resource
element definition.definition:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.meta
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Meta
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: 3
element.id:
  value: Patient.implicitRules
element definition.path:
  value: Patient.implicitRules
element definition.short:
  value: A set of rules under which this content was created
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.implicitRules
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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
element definition.is summary:
  value: true

index: 4
element.id:
  value: Patient.language
element definition.path:
  value: Patient.language
element definition.short:
  value: Language of the resource content
element definition.definition:
  value: The base language in which the resource is written.
element definition.comment:
  value: 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).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.language
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    extension.value canonical:
      value: http://hl7.org/fhir/ValueSet/all-languages
      link: http://hl7.org/fhir/ValueSet/all-languages
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Language
  element.extension:
    index: 2
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: preferred
  element definition.binding.description:
    value: A human language.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/languages
    link: http://hl7.org/fhir/ValueSet/languages

index: 5
element.id:
  value: Patient.text
element definition.path:
  value: Patient.text
element definition.short:
  value: Text summary of the resource, for human interpretation
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: narrative
  index: 0
element definition.alias:
  value: html
  index: 1
element definition.alias:
  value: xhtml
  index: 2
element definition.alias:
  value: display
  index: 3
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Narrative
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Act.text?

index: 6
element.id:
  value: Patient.contained
element definition.path:
  value: Patient.contained
element definition.short:
  value: Contained, inline Resources
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: inline resources
  index: 0
element definition.alias:
  value: anonymous resources
  index: 1
element definition.alias:
  value: contained resources
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.contained
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Resource
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 7
element.id:
  value: Patient.extension
element definition.path:
  value: Patient.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 8
element.id:
  value: Patient.extension:birthPlace
element definition.path:
  value: Patient.extension
element definition.slice name:
  value: birthPlace
element definition.short:
  value: Place of Birth for patient
element definition.definition:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.must support:
  value: true
element definition.is modifier:
  value: false

index: 9
element.id:
  value: Patient.extension:indigenousStatus
element definition.path:
  value: Patient.extension
element definition.slice name:
  value: indigenousStatus
element definition.short:
  value: Indigenous status
element definition.definition:
  value: National Health Data Dictionary (NHDD) based indigenous status for a patient.
element definition.comment:
  value: See [Australian Institute of Health and Welfare (AIHW) Person—Indigenous status (ID 602543)](https://meteor.aihw.gov.au/content/index.phtml/itemId/602543) for further information.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/indigenous-status
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/indigenous-status
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.must support:
  value: true
element definition.is modifier:
  value: false

index: 10
element.id:
  value: Patient.extension:closingTheGapRegistration
element definition.path:
  value: Patient.extension
element definition.slice name:
  value: closingTheGapRegistration
element definition.short:
  value: Closing the Gap co-payment eligibility indicator
element definition.definition:
  value: Indication of eligibility for the Closing the Gap co-payment.
element definition.comment:
  value: See [Australian Institute of Health and Welfare (AIHW) Patient—Closing the Gap co-payment eligibility indicator (ID 603671)](https://meteor.aihw.gov.au/content/index.phtml/itemId/603671) for further information.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false

index: 11
element.id:
  value: Patient.extension:mothersMaidenName
element definition.path:
  value: Patient.extension
element definition.slice name:
  value: mothersMaidenName
element definition.short:
  value: Mother's Maiden name
element definition.definition:
  value: Mother's maiden (unmarried) name, commonly collected to help verify patient identity.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-6
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Role relationship to entity with maiden name (?)

index: 12
element.id:
  value: Patient.extension:interpreterRequired
element definition.path:
  value: Patient.extension
element definition.slice name:
  value: interpreterRequired
element definition.short:
  value: Whether the patient needs an interpreter
element definition.definition:
  value: This Patient requires an interpreter to communicate healthcare information to the practitioner.
element definition.comment:
  value: The Patient does not speak the default language of the organization, and hence requires an interpreter. If the patient has other languages in the Communications list, then that would be the type of interpreter required.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.must support:
  value: true
element definition.is modifier:
  value: false

index: 13
element.id:
  value: Patient.extension:dateOfArrival
element definition.path:
  value: Patient.extension
element definition.slice name:
  value: dateOfArrival
element definition.short:
  value: Year of Arrival
element definition.definition:
  value: 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.
element definition.comment:
  value: 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) and the [Australian Institute of Health and Welfare (AIHW) Person—year of first arrival in Australia (ID 269447)](https://meteor.aihw.gov.au/content/index.phtml/itemId/269447) for further materials.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/date-of-arrival
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/date-of-arrival
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.must support:
  value: true
element definition.is modifier:
  value: false

index: 14
element.id:
  value: Patient.modifierExtension
element definition.path:
  value: Patient.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 15
element.id:
  value: Patient.identifier
element definition.path:
  value: Patient.identifier
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: pattern
    element definition.slicing.discriminator.path:
      value: type
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Identifies this patient across multiple systems
element definition.definition:
  value: An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.
element definition.requirements:
  value: Patients are almost always assigned specific numerical identifiers.
element definition.min:
  value: 1
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/Identifier
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/Identifier
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-ihi
    index: 1
    link: http://hl7.org.au/fhir/StructureDefinition/au-ihi
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber
    index: 2
    link: http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-dvanumber
    index: 3
    link: http://hl7.org.au/fhir/StructureDefinition/au-dvanumber
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber
    index: 4
    link: http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber
    index: 5
    link: http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-cwlthseniorshealthcardnumber
    index: 6
    link: http://hl7.org.au/fhir/StructureDefinition/au-cwlthseniorshealthcardnumber
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-medicalrecordnumber
    index: 7
    link: http://hl7.org.au/fhir/StructureDefinition/au-medicalrecordnumber
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-insurancemembernumber
    index: 8
    link: http://hl7.org.au/fhir/StructureDefinition/au-insurancemembernumber
element definition.condition:
  value: ele-1
  index: 0
element definition.condition:
  value: inv-dh-pat-01
  index: 1
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX / EI (occasionally, more often EI maps to a resource id or a URL)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: Identifier

index: 16
element.id:
  value: Patient.identifier:ihi
element definition.path:
  value: Patient.identifier
element definition.slice name:
  value: ihi
element definition.short:
  value: Individual Healthcare Identifier (IHI)
element definition.definition:
  value: Individual Healthcare Identifier (IHI) assigned under the HI Service to a patient.
element definition.requirements:
  value: Patients are almost always assigned specific numerical identifiers.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-ihi
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/au-ihi
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: inv-ihi-value-0
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: IHI shall be an exactly 16 digit number
  element definition.constraint.expression:
    value: value.matches('^([0-9]{16})$')
  element definition.constraint.source:
    value: http://hl7.org.au/fhir/StructureDefinition/au-ihi
    link: http://hl7.org.au/fhir/StructureDefinition/au-ihi
element definition.constraint:
  index: 2
  element definition.constraint.key:
    value: inv-ihi-value-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: IHI prefix is 800360
  element definition.constraint.expression:
    value: value.startsWith('800360')
  element definition.constraint.source:
    value: http://hl7.org.au/fhir/StructureDefinition/au-ihi
    link: http://hl7.org.au/fhir/StructureDefinition/au-ihi
element definition.constraint:
  index: 3
  element definition.constraint.key:
    value: inv-ihi-value-2
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: IHI shall pass the Luhn algorithm check
  element definition.constraint.expression:
    value: (((select(value.substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(1,1).toInteger())+(select(value.substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(3,1).toInteger())+(select(value.substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(5,1).toInteger())+(select(value.substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(7,1).toInteger())+(select(value.substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(9,1).toInteger())+(select(value.substring(10,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(11,1).toInteger())+(select(value.substring(12,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(13,1).toInteger())+(select(value.substring(14,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(15,1).toInteger()))mod 10=0)
  element definition.constraint.source:
    value: http://hl7.org.au/fhir/StructureDefinition/au-ihi
    link: http://hl7.org.au/fhir/StructureDefinition/au-ihi
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX / EI (occasionally, more often EI maps to a resource id or a URL)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: Identifier

index: 17
element.id:
  value: Patient.identifier:medicare
element definition.path:
  value: Patient.identifier
element definition.slice name:
  value: medicare
element definition.short:
  value: Medicare Card Number
element definition.definition:
  value: Medicare card number as either the the 10 digit Medicare card number or the 11 digit number (includes the individual reference number (IRN)). A Medicare card is provided to individuals who are enrolled in Medicare.
element definition.requirements:
  value: Patients are almost always assigned specific numerical identifiers.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX / EI (occasionally, more often EI maps to a resource id or a URL)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: Identifier

index: 18
element.id:
  value: Patient.identifier:dva
element definition.path:
  value: Patient.identifier
element definition.slice name:
  value: dva
element definition.short:
  value: Department of Veterans' Affairs (DVA) Number
element definition.definition:
  value: Department of Veterans’ Affairs (DVA) file number displayed on a Veteran Card.
element definition.requirements:
  value: Patients are almost always assigned specific numerical identifiers.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-dvanumber
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/au-dvanumber
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX / EI (occasionally, more often EI maps to a resource id or a URL)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: Identifier

index: 19
element.id:
  value: Patient.active
element definition.path:
  value: Patient.active
element definition.short:
  value: Whether this patient's record is in active use
element definition.definition:
  value: Whether this patient record is in active use. Many 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. It is often used to filter patient lists to exclude inactive patients Deceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.
element definition.comment:
  value: If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.
element definition.requirements:
  value: Need to be able to mark a patient record as not to be used because it was created in error.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.active
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: boolean
element definition.meaning when missing:
  value: This resource is generally assumed to be active if no value is provided for the active element
element definition.fixed boolean:
  value: true
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.status
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: statusCode
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 20
element.id:
  value: Patient.name
element definition.path:
  value: Patient.name
element definition.short:
  value: A name associated with the patient
element definition.definition:
  value: A name associated with the individual.
element definition.comment:
  value: 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.
element definition.requirements:
  value: Need to be able to track the patient by multiple names. Examples are your official name and a partner name.
element definition.min:
  value: 1
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.name
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: HumanName
element definition.condition:
  value: inv-dh-pat-02
  index: 0
element definition.condition:
  value: inv-dh-pat-04
  index: 1
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: inv-dh-pat-04
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: At least text, family name, or given name shall be present
  element definition.constraint.expression:
    value: text.exists() or family.exists() or given.exists()
  element definition.constraint.xpath:
    value: exists(f:text) or exists(f:family) or exists(f:given)
  element definition.constraint.source:
    value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
    link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-5, PID-9
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: name
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: .patient.name

index: 21
element.id:
  value: Patient.telecom
element definition.path:
  value: Patient.telecom
element definition.short:
  value: A contact detail for the individual
element definition.definition:
  value: A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.
element definition.comment:
  value: 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).
element definition.requirements:
  value: People have (primary) ways to contact them in some way such as phone, email.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.telecom
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: ContactPoint
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-13, PID-14, PID-40
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: telecom
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: .telecom

index: 22
element.id:
  value: Patient.gender
element definition.path:
  value: Patient.gender
element definition.short:
  value: male | female | other | unknown
element definition.definition:
  value: Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
element definition.comment:
  value: 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.
element definition.requirements:
  value: Needed for identification of the individual, in combination with (at least) name and birth date.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.gender
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: AdministrativeGender
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: The gender of a person used for administrative purposes.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-8
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: .patient.administrativeGenderCode

index: 23
element.id:
  value: Patient.birthDate
element definition.path:
  value: Patient.birthDate
element definition.short:
  value: Date of birth extended for time and accuracy indicator
element definition.definition:
  value: The date of birth for the individual.
element definition.comment:
  value: 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).
element definition.requirements:
  value: Age of the individual drives many clinical processes. May include accuracy indicator and specific birth time.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.birthDate
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: date
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-7
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: .patient.birthTime
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: loinc
  element definition.mapping.map:
    value: 21112-8

index: 24
element.id:
  value: Patient.birthDate.id
element definition.path:
  value: Patient.birthDate.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 25
element.id:
  value: Patient.birthDate.extension
element definition.path:
  value: Patient.birthDate.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 26
element.id:
  value: Patient.birthDate.extension:accuracyIndicator
element definition.path:
  value: Patient.birthDate.extension
element definition.slice name:
  value: accuracyIndicator
element definition.short:
  value: Date accuracy indicator
element definition.definition:
  value: General date accuracy indicator coding.
element definition.comment:
  value: In some circumstances, systems may capture date or dateTime data that has unknown or estimated parts. This coding indicates the accuracy of the day, month and year parts. See [Australian Institute of Health and Welfare (AIHW) Date—accuracy indicator (ID 294418)](https://meteor.aihw.gov.au/content/index.phtml/itemId/294418) for further information.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.must support:
  value: true
element definition.is modifier:
  value: false

index: 27
element.id:
  value: Patient.birthDate.extension:birthTime
element definition.path:
  value: Patient.birthDate.extension
element definition.slice name:
  value: birthTime
element definition.short:
  value: Time of day of birth
element definition.definition:
  value: The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/patient-birthTime
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/patient-birthTime
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.must support:
  value: true
element definition.is modifier:
  value: false

index: 28
element.id:
  value: Patient.birthDate.value
element definition.path:
  value: Patient.birthDate.value
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Primitive value for date
element definition.definition:
  value: The actual value
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: date.value
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: date
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/regex
    extension.value string:
      value: ([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]))?)?
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.Date
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 29
element.id:
  value: Patient.deceased[x]
element definition.path:
  value: Patient.deceased[x]
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: type
    element definition.slicing.discriminator.path:
      value: $this
  element definition.slicing.ordered:
    value: false
  element definition.slicing.rules:
    value: closed
element definition.short:
  value: Indicates if the individual is deceased or not
element definition.definition:
  value: Indicates if the individual is deceased or not. Deceased date accuracy indicator is optional.
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.deceased[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: boolean
element definition.type:
  index: 1
  element definition.type.code:
    value: dateTime
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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.
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-30 (bool) and PID-29 (datetime)
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 30
element.id:
  value: Patient.deceased[x]:deceasedBoolean
element definition.path:
  value: Patient.deceased[x]
element definition.slice name:
  value: deceasedBoolean
element definition.short:
  value: Deceased indicator
element definition.definition:
  value: Boolean indicator if the individual is deceased or not.
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.deceased[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: boolean
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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.
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-30 (bool) and PID-29 (datetime)
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 31
element.id:
  value: Patient.deceased[x]:deceasedDateTime
element definition.path:
  value: Patient.deceased[x]
element definition.slice name:
  value: deceasedDateTime
element definition.short:
  value: Deceased date time
element definition.definition:
  value: Individual deceased date-time with optional accuracy indicator.
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.deceased[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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.
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-30 (bool) and PID-29 (datetime)
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 32
element.id:
  value: Patient.deceased[x]:deceasedDateTime.id
element definition.path:
  value: Patient.deceased[x].id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references)
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 33
element.id:
  value: Patient.deceased[x]:deceasedDateTime.extension
element definition.path:
  value: Patient.deceased[x].extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 34
element.id:
  value: Patient.deceased[x]:deceasedDateTime.extension:accuracyIndicator
element definition.path:
  value: Patient.deceased[x].extension
element definition.slice name:
  value: accuracyIndicator
element definition.short:
  value: Deceased date accuracy indicator
element definition.definition:
  value: General date accuracy indicator coding.
element definition.comment:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false

index: 35
element.id:
  value: Patient.deceased[x]:deceasedDateTime.value
element definition.path:
  value: Patient.deceased[x].value
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Primitive value for dateTime
element definition.definition:
  value: The actual value
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: dateTime.value
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: dateTime
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/regex
    extension.value string:
      value: ([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)))?)?)?
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.DateTime
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 36
element.id:
  value: Patient.address
element definition.path:
  value: Patient.address
element definition.short:
  value: An address for the individual
element definition.definition:
  value: An Australian address expressed using postal conventions (as opposed to GPS or other location definition formats).
element definition.comment:
  value: 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).
element definition.requirements:
  value: May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.address
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Address
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-address
    index: 0
    link: http://hl7.org.au/fhir/StructureDefinition/au-address
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/Address
    index: 1
    link: http://hl7.org/fhir/StructureDefinition/Address
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: inv-add-0
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: The address shall at least have text or a line
  element definition.constraint.expression:
    value: text.exists() or line.exists()
  element definition.constraint.source:
    value: http://hl7.org.au/fhir/StructureDefinition/au-address
    link: http://hl7.org.au/fhir/StructureDefinition/au-address
element definition.constraint:
  index: 2
  element definition.constraint.key:
    value: inv-add-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: If asserting no fixed address, the type shall be 'physical'
  element definition.constraint.expression:
    value: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
  element definition.constraint.source:
    value: http://hl7.org.au/fhir/StructureDefinition/au-address
    link: http://hl7.org.au/fhir/StructureDefinition/au-address
element definition.constraint:
  index: 3
  element definition.constraint.key:
    value: inv-add-2
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: If asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS'
  element definition.constraint.expression:
    value: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
  element definition.constraint.source:
    value: http://hl7.org.au/fhir/StructureDefinition/au-address
    link: http://hl7.org.au/fhir/StructureDefinition/au-address
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: XAD
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: AD
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: Address

index: 37
element.id:
  value: Patient.maritalStatus
element definition.path:
  value: Patient.maritalStatus
element definition.short:
  value: Marital (civil) status of a patient
element definition.definition:
  value: This field contains a patient's most recent marital (civil) status.
element definition.requirements:
  value: Most, if not all systems capture it.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.maritalStatus
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: MaritalStatus
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: The domestic partnership status of a person.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/marital-status
    link: http://hl7.org/fhir/ValueSet/marital-status
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-16
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN]/maritalStatusCode
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: .patient.maritalStatusCode

index: 38
element.id:
  value: Patient.multipleBirth[x]
element definition.path:
  value: Patient.multipleBirth[x]
element definition.short:
  value: Whether patient is part of a multiple birth
element definition.definition:
  value: Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).
element definition.comment:
  value: 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).
element definition.requirements:
  value: For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.multipleBirth[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: boolean
element definition.type:
  index: 1
  element definition.type.code:
    value: integer
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-24 (bool), PID-25 (integer)
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 39
element.id:
  value: Patient.photo
element definition.path:
  value: Patient.photo
element definition.short:
  value: Image of the patient
element definition.definition:
  value: Image of the patient.
element definition.comment:
  value: Guidelines: * Use id photos, not clinical photos. * Limit dimensions to thumbnail. * Keep byte count low to ease resource updates.
element definition.requirements:
  value: Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.photo
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Attachment
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: OBX-5 - needs a profile
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 40
element.id:
  value: Patient.contact
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
  extension.value string:
    value: Contact
element definition.path:
  value: Patient.contact
element definition.short:
  value: A contact party (e.g. guardian, partner, friend) for the patient
element definition.definition:
  value: A contact party (e.g. guardian, partner, friend) for the patient.
element definition.comment:
  value: 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.
element definition.requirements:
  value: Need to track people you can contact about the patient.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.contact
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: pat-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: SHALL at least contain a contact's details or a reference to an organization
  element definition.constraint.expression:
    value: name.exists() or telecom.exists() or address.exists() or organization.exists()
  element definition.constraint.xpath:
    value: exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 41
element.id:
  value: Patient.contact.id
element definition.path:
  value: Patient.contact.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 42
element.id:
  value: Patient.contact.extension
element definition.path:
  value: Patient.contact.extension
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 43
element.id:
  value: Patient.contact.modifierExtension
element definition.path:
  value: Patient.contact.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  value: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 44
element.id:
  value: Patient.contact.relationship
element definition.path:
  value: Patient.contact.relationship
element definition.short:
  value: The kind of relationship
element definition.definition:
  value: The nature of the relationship between the patient and the contact person.
element definition.requirements:
  value: Used to determine which contact person is the most relevant to approach, depending on circumstances.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.contact.relationship
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element definition.binding.strength:
    value: extensible
  element definition.binding.value set:
    value: https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3
    link: https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: NK1-7, NK1-3
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: code
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 45
element.id:
  value: Patient.contact.name
element definition.path:
  value: Patient.contact.name
element definition.short:
  value: A name associated with the contact person
element definition.definition:
  value: A name associated with the contact person.
element definition.requirements:
  value: Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.contact.name
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: HumanName
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: NK1-2
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: name
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 46
element.id:
  value: Patient.contact.telecom
element definition.path:
  value: Patient.contact.telecom
element definition.short:
  value: A contact detail for the person
element definition.definition:
  value: A contact detail for the person, e.g. a telephone number or an email address.
element definition.comment:
  value: 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.
element definition.requirements:
  value: People have (primary) ways to contact them in some way such as phone, email.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.contact.telecom
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: ContactPoint
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: NK1-5, NK1-6, NK1-40
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: telecom
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 47
element.id:
  value: Patient.contact.address
element definition.path:
  value: Patient.contact.address
element definition.short:
  value: Address for the contact person
element definition.definition:
  value: An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.
element definition.comment:
  value: 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).
element definition.requirements:
  value: Need to keep track where the contact person can be contacted per postal mail or visited.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.contact.address
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Address
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/Address
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/Address
  element definition.type.profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-address
    index: 1
    link: http://hl7.org.au/fhir/StructureDefinition/au-address
element definition.condition:
  value: ele-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: XAD
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: AD
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: Address

index: 48
element.id:
  value: Patient.contact.gender
element definition.path:
  value: Patient.contact.gender
element definition.short:
  value: male | female | other | unknown
element definition.definition:
  value: Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.
element definition.requirements:
  value: Needed to address the person correctly.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.contact.gender
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: AdministrativeGender
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: The gender of a person used for administrative purposes.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: NK1-15
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 49
element.id:
  value: Patient.contact.organization
element definition.path:
  value: Patient.contact.organization
element definition.short:
  value: Organization that is associated with the contact
element definition.definition:
  value: Organization on behalf of which the contact is acting or for which the contact is working.
element definition.requirements:
  value: For guardians or business related contacts, the organization is relevant.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.contact.organization
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Organization
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/Organization
element definition.condition:
  value: pat-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: NK1-13, NK1-30, NK1-31, NK1-32, NK1-41
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: scoper
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 50
element.id:
  value: Patient.contact.period
element definition.path:
  value: Patient.contact.period
element definition.short:
  value: The period during which this contact person or organization is valid to be contacted relating to this patient
element definition.definition:
  value: The period during which this contact person or organization is valid to be contacted relating to this patient.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.contact.period
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: effectiveTime
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 51
element.id:
  value: Patient.communication
element definition.path:
  value: Patient.communication
element definition.short:
  value: A language which may be used to communicate with the patient about his or her health
element definition.definition:
  value: A language which may be used to communicate with the patient about his or her health.
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.communication
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: LanguageCommunication
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: patient.languageCommunication

index: 52
element.id:
  value: Patient.communication.id
element definition.path:
  value: Patient.communication.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 53
element.id:
  value: Patient.communication.extension
element definition.path:
  value: Patient.communication.extension
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 54
element.id:
  value: Patient.communication.modifierExtension
element definition.path:
  value: Patient.communication.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  value: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 55
element.id:
  value: Patient.communication.language
element definition.path:
  value: Patient.communication.language
element definition.short:
  value: The language which can be used to communicate with the patient about his or her health
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.requirements:
  value: Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.communication.language
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element definition.binding.strength:
    value: extensible
  element definition.binding.value set:
    value: https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2
    link: https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-15, LAN-2
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: .languageCode

index: 56
element.id:
  value: Patient.communication.preferred
element definition.path:
  value: Patient.communication.preferred
element definition.short:
  value: Language preference indicator
element definition.definition:
  value: Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).
element definition.comment:
  value: This language is specifically identified for communicating healthcare information.
element definition.requirements:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.communication.preferred
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: boolean
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-15
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: preferenceInd
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: .preferenceInd

index: 57
element.id:
  value: Patient.generalPractitioner
element definition.path:
  value: Patient.generalPractitioner
element definition.short:
  value: Patient's nominated primary care provider
element definition.definition:
  value: Patient's nominated care provider.
element definition.comment:
  value: 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. Multiple 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. Jurisdictions may decide that they can profile this down to 1 if desired, or 1 per type.
element definition.alias:
  value: careProvider
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.generalPractitioner
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1
    index: 0
    link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1
  element definition.type.target profile:
    value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-practitionerrole-core-1
    index: 1
    link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-practitionerrole-core-1
element definition.condition:
  value: inv-dh-pat-03
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PD1-4
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: subjectOf.CareEvent.performer.AssignedEntity
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 58
element.id:
  value: Patient.managingOrganization
element definition.path:
  value: Patient.managingOrganization
element definition.short:
  value: Organization that is the custodian of the patient record
element definition.definition:
  value: Organization that is the custodian of the patient record.
element definition.comment:
  value: 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).
element definition.requirements:
  value: Need to know who recognizes this patient record, manages and updates it.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.managingOrganization
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Organization
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/Organization
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: scoper
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: .providerOrganization

index: 59
element.id:
  value: Patient.link
element definition.path:
  value: Patient.link
element definition.short:
  value: Link to a Patient or RelatedPerson resource that concerns the same actual person
element definition.definition:
  value: Link to a Patient or RelatedPerson resource that concerns the same actual person.
element definition.comment:
  value: There is no assumption that linked patient records have mutual links.
element definition.requirements:
  value: There are multiple use cases: * Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and * Distribution of patient information across multiple servers.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Patient.link
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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'
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: outboundLink
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 60
element.id:
  value: Patient.link.id
element definition.path:
  value: Patient.link.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 61
element.id:
  value: Patient.link.extension
element definition.path:
  value: Patient.link.extension
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 62
element.id:
  value: Patient.link.modifierExtension
element definition.path:
  value: Patient.link.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  value: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 63
element.id:
  value: Patient.link.other
element definition.path:
  value: Patient.link.other
element definition.short:
  value: The other patient or related person resource that the link refers to
element definition.definition:
  value: The other patient resource that the link refers to.
element definition.comment:
  value: Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.link.other
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    extension.value boolean:
      value: false
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Patient
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/Patient
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    index: 1
    link: http://hl7.org/fhir/StructureDefinition/RelatedPerson
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-3, MRG-1
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: id
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

index: 64
element.id:
  value: Patient.link.type
element definition.path:
  value: Patient.link.type
element definition.short:
  value: replaced-by | replaces | refer | seealso
element definition.definition:
  value: The type of link between this patient resource and another patient resource.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Patient.link.type
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: LinkType
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: The type of link between this patient resource and another patient resource.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/link-type|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: typeCode
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: cda
  element definition.mapping.map:
    value: n/a

structure definition.differential.element:
  index: 0
  element.id:
    value: Patient
  element definition.path:
    value: Patient
  element definition.short:
    value: A patient in the context of electronic exchange of health information
  element definition.constraint:
    index: 0
    element definition.constraint.key:
      value: inv-dh-pat-01
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: At least one patient identifier shall be valid
    element definition.constraint.expression:
      value: identifier.where(system.count() + value.count() >1).exists()
    element definition.constraint.xpath:
      value: exists(f:identifier/f:system)
    element definition.constraint.source:
      value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
      link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
  element definition.constraint:
    index: 1
    element definition.constraint.key:
      value: inv-dh-pat-02
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: At least one patient name shall have a family name
    element definition.constraint.expression:
      value: name.family.exists()
    element definition.constraint.xpath:
      value: exists(f:name/f:family)
    element definition.constraint.source:
      value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
      link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
  element definition.constraint:
    index: 2
    element definition.constraint.key:
      value: inv-dh-pat-03
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: If present, a general practitioner shall at least have a reference, an identifier or a display
    element definition.constraint.expression:
      value: generalPractitioner.exists() implies generalPractitioner.all($this.reference.exists() or $this.identifier.exists() or $this.display.exists())
    element definition.constraint.xpath:
      value: not(exists(f:generalPractitioner)) or exists(f:generalPractitioner/f:reference) or exists(f:generalPractitioner/f:identifier) or exists(f:generalPractitioner/f:display)
    element definition.constraint.source:
      value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
      link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
structure definition.differential.element:
  index: 1
  element.id:
    value: Patient.extension:birthPlace
  element definition.path:
    value: Patient.extension
  element definition.slice name:
    value: birthPlace
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 2
  element.id:
    value: Patient.extension:indigenousStatus
  element definition.path:
    value: Patient.extension
  element definition.slice name:
    value: indigenousStatus
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 3
  element.id:
    value: Patient.extension:interpreterRequired
  element definition.path:
    value: Patient.extension
  element definition.slice name:
    value: interpreterRequired
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 4
  element.id:
    value: Patient.extension:dateOfArrival
  element definition.path:
    value: Patient.extension
  element definition.slice name:
    value: dateOfArrival
  element definition.short:
    value: Year of Arrival
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 5
  element.id:
    value: Patient.identifier
  element definition.path:
    value: Patient.identifier
  element definition.slicing:
    element definition.slicing.discriminator:
      index: 0
      element definition.slicing.discriminator.type:
        value: pattern
      element definition.slicing.discriminator.path:
        value: type
    element definition.slicing.rules:
      value: open
  element definition.min:
    value: 1
  element definition.condition:
    value: inv-dh-pat-01
    index: 0
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 6
  element.id:
    value: Patient.identifier:ihi
  element definition.path:
    value: Patient.identifier
  element definition.slice name:
    value: ihi
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Identifier
    element definition.type.profile:
      value: http://hl7.org.au/fhir/StructureDefinition/au-ihi
      index: 0
      link: http://hl7.org.au/fhir/StructureDefinition/au-ihi
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 7
  element.id:
    value: Patient.identifier:medicare
  element definition.path:
    value: Patient.identifier
  element definition.slice name:
    value: medicare
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Identifier
    element definition.type.profile:
      value: http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber
      index: 0
      link: http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 8
  element.id:
    value: Patient.identifier:dva
  element definition.path:
    value: Patient.identifier
  element definition.slice name:
    value: dva
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Identifier
    element definition.type.profile:
      value: http://hl7.org.au/fhir/StructureDefinition/au-dvanumber
      index: 0
      link: http://hl7.org.au/fhir/StructureDefinition/au-dvanumber
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 9
  element.id:
    value: Patient.active
  element definition.path:
    value: Patient.active
  element definition.fixed boolean:
    value: true
structure definition.differential.element:
  index: 10
  element.id:
    value: Patient.name
  element definition.path:
    value: Patient.name
  element definition.comment:
    value: 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.
  element definition.min:
    value: 1
  element definition.condition:
    value: inv-dh-pat-02
    index: 0
  element definition.condition:
    value: inv-dh-pat-04
    index: 1

index: 0
element definition.constraint.key:
  value: inv-dh-pat-04
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: At least text, family name, or given name shall be present
element definition.constraint.expression:
  value: text.exists() or family.exists() or given.exists()
element definition.constraint.xpath:
  value: exists(f:text) or exists(f:family) or exists(f:given)
element definition.constraint.source:
  value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1
  link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1

value: true

index: 11
element.id:
  value: Patient.telecom
element definition.path:
  value: Patient.telecom
element definition.must support:
  value: true

index: 12
element.id:
  value: Patient.gender
element definition.path:
  value: Patient.gender
element definition.min:
  value: 1
element definition.must support:
  value: true

index: 13
element.id:
  value: Patient.birthDate
element definition.path:
  value: Patient.birthDate
element definition.min:
  value: 1
element definition.must support:
  value: true

index: 14
element.id:
  value: Patient.birthDate.extension:accuracyIndicator
element definition.path:
  value: Patient.birthDate.extension
element definition.slice name:
  value: accuracyIndicator
element definition.must support:
  value: true

index: 15
element.id:
  value: Patient.birthDate.extension:birthTime
element definition.path:
  value: Patient.birthDate.extension
element definition.slice name:
  value: birthTime
element definition.must support:
  value: true

index: 16
element.id:
  value: Patient.address
element definition.path:
  value: Patient.address
element definition.must support:
  value: true

index: 17
element.id:
  value: Patient.communication
element definition.path:
  value: Patient.communication
element definition.must support:
  value: true

index: 18
element.id:
  value: Patient.communication.language
element definition.path:
  value: Patient.communication.language
element definition.must support:
  value: true

index: 19
element.id:
  value: Patient.communication.preferred
element definition.path:
  value: Patient.communication.preferred
element definition.must support:
  value: true

index: 20
element.id:
  value: Patient.generalPractitioner
element definition.path:
  value: Patient.generalPractitioner
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1
    index: 0
    link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1
  element definition.type.target profile:
    value: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-practitionerrole-core-1
    index: 1
    link: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-practitionerrole-core-1
element definition.condition:
  value: inv-dh-pat-03
  index: 0
element definition.must support:
  value: true