HL7® FHIR® New Zealand Base Implementation Guide
3.1.0 - Draft

HL7® FHIR® New Zealand Base Implementation Guide, published by HL7 New Zealand. This guide is not an authorized publication; it is the continuous build for version 3.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7nz/nzbase/ and changes regularly. See the Directory of published versions

## Extension: Date of death

Official URL: http://hl7.org.nz/fhir/StructureDefinition/death-date | Version: 0.1.0
Active as of 2020-07-20 | Computable Name: Death_date
Copyright/Legal: HL7 New Zealand© 2020+; Licensed Under Creative Commons No Rights Reserved.

The date of death of the individual, plus the source of that information

Context of Use

This extension may be used on the following element(s)

- Element ID: `Practitioner`

Example of extension

    <extension url="http://hl7.org.nz/fhir/StructureDefinition/death-date">
        <extension url="date">
          <valueDateTime value="2021-01-01"/>
        </extension>
        <extension url="source">
          <valueCodeableConcept>
            <coding>
              <system value="https://standards.digital.health.nz/ns/information-source-code"/>
              <code value="DREG"/>
            </coding>
          </valueCodeableConcept>
        </extension>
      </extension>

Example instances

Practitioner with death date recorded

Usage info

Usages:

- Use this Extension: Practitioner resource for use in NZ
- Examples for this Extension: Practitioner/practitioner-death-date

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Date of death
Slices for extension |  |  |  | Content/Rules for all slices
extension:date |  | 0..1 | Extension | The date of death
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "date"
value[x] |  | 0..1 | dateTime | Value of extension
extension:source |  | 0..1 | Extension | The source of information
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "source"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Death date Information Source (preferred)
url |  | 1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/death-date"
value[x] |  | 0..0 |  | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Date of death
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:date |  | 0..1 | Extension | The date of death
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "date"
value[x] |  | 0..1 | dateTime | Value of extension
extension:source |  | 0..1 | Extension | The source of information
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "source"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Death date Information Source (preferred)
url |  | 1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/death-date"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: The date of death of the individual, plus the source of that information

- date: dateTime: The date of death
- source: CodeableConcept: The source of information

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Date of death
Slices for extension |  |  |  | Content/Rules for all slices
extension:date |  | 0..1 | Extension | The date of death
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "date"
value[x] |  | 0..1 | dateTime | Value of extension
extension:source |  | 0..1 | Extension | The source of information
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "source"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Death date Information Source (preferred)
url |  | 1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/death-date"
value[x] |  | 0..0 |  | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Date of death
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:date |  | 0..1 | Extension | The date of death
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "date"
value[x] |  | 0..1 | dateTime | Value of extension
extension:source |  | 0..1 | Extension | The source of information
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "source"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Death date Information Source (preferred)
url |  | 1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/death-date"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: The date of death of the individual, plus the source of that information

- date: dateTime: The date of death
- source: CodeableConcept: The source of information

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Extension.extension:source.​value[x] | Base | preferred | Death date Information Source | 📦1.0.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`