<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ext-deceased" />
  <url value="http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-deceased" />
  <version value="0.3.1" />
  <name value="ExtensionDeceased" />
  <title value="Extension: Individual is deceased flag or date" />
  <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="This extension indicates if the individual is deceased or not" />
  <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="Practitioner" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <definition value="Deceased indicator - An assertion that an individual is deceased or not" />
      <comment value="Implementers should recognize that the determination of whether this should be considered a modifierExtension is ongoing. Since Modifier Extensions should have extreme caution in their application and are further nuanced by the use cases in the implementing registry systems, this extension has been shifted back to a regular extension to align to use in existing implementations. Implementers who are considering using this extension in their guidance are required to review the [FHIR Guidance on Modifier Extensions])(https://www.hl7.org/fhir/R4/extensibility.html#modifierExtension) before including this extension in their profile. Implementers should also be aware of the Practitioner.deceased[x] R5 concept and that the CA Baseline is monitoring changes in the element to determine if the approach to this extension requires a shift." />
      <min value="0" />
      <max value="1" />
    </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-deceased" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <definition value="Boolean flag or date representing an assertion" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="date" />
      </type>
    </element>
  </differential>
</StructureDefinition>