<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ext-aboriginalidentityindicator" />
  <url value="http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-aboriginalidentityindicator" />
  <version value="0.3.1" />
  <name value="ExtensionAboriginalIdentityIndicator" />
  <title value="Extension: Aboriginal Identity Indicator" />
  <status value="draft" />
  <date value="2024-08-09" />
  <publisher value="HL7 Canada - FHIR Implementation Work Group" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="https://infocentral.infoway-inforoute.ca/en/collaboration/wg/fhir-implementations" />
    </telecom>
  </contact>
  <description value="A code classifying the person's self identity as an aboriginal person" />
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166" />
      <code value="CA" />
    </coding>
  </jurisdiction>
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="Patient" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <definition value="A code classifying the person's self identity as an aboriginal person." />
      <comment value="This attribute is based on the belief of the person or the person reporting the attribute, not on any formal analysis of genetic, geneological or historical relationships as these would need to be captured as observations." />
      <min value="0" />
      <max value="1" />
      <isModifier value="false" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <min value="1" />
      <max value="1" />
      <fixedUri value="http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-aboriginalidentityindicator" />
    </element>
    <element id="Extension.valueCoding">
      <path value="Extension.valueCoding" />
      <definition value="Concepts classifying the person as an aboriginal sharing common history, traits or geographical origin" />
      <min value="1" />
      <max value="1" />
      <binding>
        <strength value="preferred" />
        <description value="One of [self-reported codes](https://fhir.infoway-inforoute.ca/ValueSet/aboriginalidentityindicator) identity as an aboriginal person" />
        <valueSet value="https://fhir.infoway-inforoute.ca/ValueSet/aboriginalidentityindicator" />
      </binding>
    </element>
    <element id="Extension.valueCoding.system">
      <path value="Extension.valueCoding.system" />
      <short value="Identity of the terminology system" />
      <min value="1" />
    </element>
    <element id="Extension.valueCoding.code">
      <path value="Extension.valueCoding.code" />
      <short value="Code defining aboriginal identity indicator concept" />
      <definition value="One of [self-reported codes](https://fhir.infoway-inforoute.ca/ValueSet/aboriginalidentityindicator) identity as an aboriginal person" />
      <min value="1" />
    </element>
    <element id="Extension.valueCoding.display">
      <path value="Extension.valueCoding.display" />
      <short value="Optional description of the aboriginal identity indicator code" />
      <definition value="Plain text representation of the aboriginal identity indicator concept" />
    </element>
  </differential>
</StructureDefinition>