XpanDH Hospital Discharge Report
0.1.0 - ci-build 150

XpanDH Hospital Discharge Report, published by XpanDH Project. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/xpandh-hdr/ and changes regularly. See the Directory of published versions

## Logical Model: HdrEHNAdvanceDirectives - Detailed Descriptions

Draft as of 2025-10-10

Definitions for the HDRAdvanceDirectives logical model.

- Key Elements Table
- Differential Elements Table
- Snapshot Elements Table

Guidance on how to interpret the contents of this table can be foundhere

0. HDRAdvanceDirectives
Definition | Hospital Discharge Report - Advance Directives - A.2.1 eHN Maturity Level: 0 Draft
Short | A.2.1 - Advance Directives (eHN)
Control | 0..*
Is Modifier | false
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. HDRAdvanceDirectives.livingWill
Definition | Only directives being expressed during current inpatient stay. Multiple records of living wills could be provided.
Short | A.2.1.1 - Living will
Control | 1..*
Type | BackboneElement
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
4. HDRAdvanceDirectives.livingWill.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
6. HDRAdvanceDirectives.livingWill.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | 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.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count())) ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
Slicing | This element introduces a set of slices on `HDRAdvanceDirectives.livingWill.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
8. HDRAdvanceDirectives.livingWill.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | 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.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count())) ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
10. HDRAdvanceDirectives.livingWill.date
Definition | The date and time on which the living will was recorded.
Short | A.2.1.1.1 - Date and time
Control | 1..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
12. HDRAdvanceDirectives.livingWill.type
Definition | Type of a living will, e.g. Do not resuscitate, donorship statement, power of attorney etc.
Short | A.2.1.1.2 - Type
Comments | SNOMED CT
Control | 1..1
Type | CodeableConcept
14. HDRAdvanceDirectives.livingWill.comment
Definition | Comment on the living will.
Short | A.2.1.1.3 - Comment
Control | 0..1
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
16. HDRAdvanceDirectives.livingWill.conditions
Definition | The problem or disorder to which the living will applies. Multiple fields could be provided.
Short | A.2.1.1.4 - Related conditions
Comments | ICD-10* SNOMED CT Orphacode if rare disease is diagnosed
Control | 0..*
Type | CodeableConcept
18. HDRAdvanceDirectives.livingWill.document
Definition | Scanned source document with the living will and the patient's signature, such as a PDF.
Short | A.2.1.1.5 - Living will document
Control | 1..1
Type | BackboneElement

Guidance on how to interpret the contents of this table can be foundhere

0. HDRAdvanceDirectives
Definition | Hospital Discharge Report - Advance Directives - A.2.1 eHN Maturity Level: 0 Draft
Short | A.2.1 - Advance Directives (eHN)
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. HDRAdvanceDirectives.livingWill
Definition | Only directives being expressed during current inpatient stay. Multiple records of living wills could be provided.
Short | A.2.1.1 - Living will
Control | 1..*
Type | BackboneElement
4. HDRAdvanceDirectives.livingWill.date
Definition | The date and time on which the living will was recorded.
Short | A.2.1.1.1 - Date and time
Control | 1..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
6. HDRAdvanceDirectives.livingWill.type
Definition | Type of a living will, e.g. Do not resuscitate, donorship statement, power of attorney etc.
Short | A.2.1.1.2 - Type
Comments | SNOMED CT
Control | 1..1
Type | CodeableConcept
8. HDRAdvanceDirectives.livingWill.comment
Definition | Comment on the living will.
Short | A.2.1.1.3 - Comment
Control | 0..1
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
10. HDRAdvanceDirectives.livingWill.conditions
Definition | The problem or disorder to which the living will applies. Multiple fields could be provided.
Short | A.2.1.1.4 - Related conditions
Comments | ICD-10* SNOMED CT Orphacode if rare disease is diagnosed
Control | 0..*
Type | CodeableConcept
12. HDRAdvanceDirectives.livingWill.document
Definition | Scanned source document with the living will and the patient's signature, such as a PDF.
Short | A.2.1.1.5 - Living will document
Control | 1..1
Type | BackboneElement

Guidance on how to interpret the contents of this table can be foundhere

0. HDRAdvanceDirectives
Definition | Hospital Discharge Report - Advance Directives - A.2.1 eHN Maturity Level: 0 Draft
Short | A.2.1 - Advance Directives (eHN)
Control | 0..*
Is Modifier | false
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. HDRAdvanceDirectives.livingWill
Definition | Only directives being expressed during current inpatient stay. Multiple records of living wills could be provided.
Short | A.2.1.1 - Living will
Control | 1..*
Type | BackboneElement
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
4. HDRAdvanceDirectives.livingWill.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
6. HDRAdvanceDirectives.livingWill.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | 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.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
Slicing | This element introduces a set of slices on `HDRAdvanceDirectives.livingWill.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
8. HDRAdvanceDirectives.livingWill.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | 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.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
10. HDRAdvanceDirectives.livingWill.date
Definition | The date and time on which the living will was recorded.
Short | A.2.1.1.1 - Date and time
Control | 1..1
Type | dateTime
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
12. HDRAdvanceDirectives.livingWill.type
Definition | Type of a living will, e.g. Do not resuscitate, donorship statement, power of attorney etc.
Short | A.2.1.1.2 - Type
Comments | SNOMED CT
Control | 1..1
Type | CodeableConcept
14. HDRAdvanceDirectives.livingWill.comment
Definition | Comment on the living will.
Short | A.2.1.1.3 - Comment
Control | 0..1
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
16. HDRAdvanceDirectives.livingWill.conditions
Definition | The problem or disorder to which the living will applies. Multiple fields could be provided.
Short | A.2.1.1.4 - Related conditions
Comments | ICD-10* SNOMED CT Orphacode if rare disease is diagnosed
Control | 0..*
Type | CodeableConcept
18. HDRAdvanceDirectives.livingWill.document
Definition | Scanned source document with the living will and the patient's signature, such as a PDF.
Short | A.2.1.1.5 - Living will document
Control | 1..1
Type | BackboneElement