PACIO Advance Directive Interoperability Implementation Guide, published by HL7 Patient Empowerment Working Group. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/HL7/pacio-adi/ and changes regularly. See the Directory of published versions
Defining URL: | http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-PACPComposition |
Version: | 0.1.0 |
Name: | PADIPACPComposition |
Title: | ADI Personal Advance Care Plan Composition |
Status: | Active as of 2021-11-08T23:13:35+00:00 |
Definition: | This profile encompasses information that makes up the author’s advance care information plan. |
Publisher: | HL7 Patient Empowerment Working Group |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-PACPComposition
This profile defines the requirements for communicating a Personal Advance Care Plan using a [Composition] Resource. It is used to create a person generated document which is authored by the subject of the document (the patient). It contains information about the person’s goals, preferences, and priorities (GPPs) for care and treatment under certain future conditions.
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from PADIHeader
Summary
Mandatory: 5 elements (10 nested mandatory elements)
Must-Support: 24 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
This structure is derived from PADIHeader
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | PADIHeader | A set of resources composed into a single coherent clinical statement with clinical attestation | |
Slices for section | 1..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by pattern:code | |
section:All Slices | Content/Rules for all slices | |||
text | S | 1..1 | Narrative | Text summary of the section, for human interpretation |
section:healthcare_agent_appointment | SI | 1..1 | BackboneElement | Composition is broken into sections HCA-section-entries: If healthcare agent section entry exists, then the HCA consent entry and HCA relatedPerson entry must exist |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81335-2 | |
orderedBy | S | 0..1 | CodeableConcept | Order of section entries |
entry | S | 0..* | Reference(ADI Participant Consent | ADI Participant) | A reference to data that supports this section |
emptyReason | 0..1 | CodeableConcept | Why the section is empty Binding: No Healthcare Agent Included Reason (required) | |
section:gpp_personal_care_experience | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81338-6 | |
entry | S | 0..* | Reference(ADI Care Experience Preference | ADI Personal Priorities Organizer | ADI Personal Goal) | A reference to data that supports this section |
section:gpp_for_certain_health_condition | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81336-0 | |
entry | S | 0..* | Reference(ADI Preference Care Plan) | A reference to data that supports this section |
section:gpp_upon_death | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81337-8 | |
entry | S | 0..* | Reference(ADI Preference Care Plan | Personal Intervention Preference | ADI Personal Priorities Organizer | ADI Autopsy Observation | ADI Organ Donation | ADI Personal Goal) | A reference to data that supports this section |
section:additional_documentation | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 77599-9 | |
entry | 0..* | Reference(ADI Documentation Observation) | A reference to data that supports this section | |
section:witness_and_notary | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81339-4 | |
entry | 0..* | Reference(RelatedPerson) | A reference to data that supports this section | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | PADIHeader | A set of resources composed into a single coherent clinical statement with clinical attestation | |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | S | 1..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
composition-clinicaldocument-versionNumber | 0..* | string | Version-specific identifier for composition URL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber | |
padi-versionNumber-extension | S | 0..1 | integer | Version Number URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-versionNumber-extension |
padi-effective-date-extension | S | 0..1 | Period | Effective Date URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-effective-date-extension |
padi-jurisdiction-extension | 0..* | CodeableConcept | Jurisdiction URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-jurisdiction-extension Binding: Jurisdiction ValueSet (extensible) | |
padi-dataEnterer-extension | S | 0..1 | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson) | Data Enterer URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-dataEnterer-extension |
padi-informant-extension | S | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson) | Informant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-informant-extension |
padi-informationRecipient-extension | S | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | Information Recipient URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-informationRecipient-extension |
padi-participant-extension | S | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | RelatedPerson) | Participant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-participant-extension |
padi-performer-extension | S | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile) | Informant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-performer-extension |
padi-authorization-extension | S | 0..* | Reference(Consent) | Authorization URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-authorization-extension |
padi-order-extension | S | 0..* | Reference(ServiceRequest) | Order URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-order-extension |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣ | 1..1 | Identifier | Version-independent identifier for the Composition |
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. |
type | SΣ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Advance Directive Categories (extensible) |
category | SΣ | 1..1 | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. |
subject | SΣ | 1..1 | Reference(US Core Patient Profile) | Who and/or what the composition is about |
encounter | SΣ | 0..1 | Reference(US Core Encounter Profile) | Context of the Composition |
date | SΣ | 1..1 | dateTime | Composition editing time |
author | SΣ | 1..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | PractitionerRole | US Core Patient Profile | Device | RelatedPerson) | Who and/or what authored the composition |
title | SΣ | 1..1 | string | Human Readable name/title |
Slices for attester | 0..* | BackboneElement | Attests to accuracy of composition Slice: Unordered, Open by value:mode | |
attester:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-attestationInformation-extension | 1..1 | (Complex) | Attestation Information URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-attestationInformation-extension | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. | |
time | 0..1 | dateTime | When the composition was attested | |
party | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the composition | |
attester:legal_attester | S | 0..1 | BackboneElement | Attests to accuracy of composition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | S | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: legal |
time | 0..1 | dateTime | When the composition was attested | |
party | S | 1..1 | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | RelatedPerson | US Core Organization Profile) | Who attested the composition |
attester:notary_attester | S | 0..* | BackboneElement | Attests to accuracy of composition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | S | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: professional |
time | 0..1 | dateTime | When the composition was attested | |
party | S | 1..1 | Reference(RelatedPerson) | Who attested the composition |
attester:witness_attester | S | 0..* | BackboneElement | Attests to accuracy of composition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | S | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: personal |
time | 0..1 | dateTime | When the composition was attested | |
party | S | 1..1 | Reference(US Core Patient Profile | RelatedPerson) | Who attested the composition |
custodian | SΣ | 1..1 | Reference(US Core Organization Profile) | Organization which maintains the composition |
relatesTo | 0..* | BackboneElement | Relationships to other compositions/documents | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): The type of relationship between documents. | |
target[x] | 1..1 | Target of the relationship | ||
targetIdentifier | Identifier | |||
targetReference | Reference(Composition) | |||
event | Σ | 0..* | BackboneElement | The clinical service(s) being documented |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. |
period | Σ | 0..1 | Period | The period covered by the documentation |
detail | Σ | 0..* | Reference(Resource) | The event(s) being documented |
Slices for section | I | 1..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by pattern:code |
section:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | 0..1 | string | Label for section (e.g. for ToC) | |
code | 0..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | SI | 1..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | I | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:healthcare_agent_appointment | SI | 1..1 | BackboneElement | Composition is broken into sections HCA-section-entries: If healthcare agent section entry exists, then the HCA consent entry and HCA relatedPerson entry must exist |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81335-2 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | S | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. |
entry | SI | 0..* | Reference(ADI Participant Consent | ADI Participant) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: No Healthcare Agent Included Reason (required) |
section | I | 0..* | See section (Composition) | Nested Section |
section:gpp_personal_care_experience | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81338-6 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | SI | 0..* | Reference(ADI Care Experience Preference | ADI Personal Priorities Organizer | ADI Personal Goal) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:gpp_for_certain_health_condition | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81336-0 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | SI | 0..* | Reference(ADI Preference Care Plan) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:gpp_upon_death | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81337-8 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | SI | 0..* | Reference(ADI Preference Care Plan | Personal Intervention Preference | ADI Personal Priorities Organizer | ADI Autopsy Observation | ADI Organ Donation | ADI Personal Goal) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:additional_documentation | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 77599-9 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | I | 0..* | Reference(ADI Documentation Observation) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:witness_and_notary | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81339-4 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | I | 0..* | Reference(RelatedPerson) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | PADIHeader | A set of resources composed into a single coherent clinical statement with clinical attestation | |
language | 1..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
padi-versionNumber-extension | 0..1 | integer | Version Number URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-versionNumber-extension | |
padi-effective-date-extension | 0..1 | Period | Effective Date URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-effective-date-extension | |
padi-dataEnterer-extension | 0..1 | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson) | Data Enterer URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-dataEnterer-extension | |
padi-informant-extension | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson) | Informant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-informant-extension | |
padi-informationRecipient-extension | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | Information Recipient URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-informationRecipient-extension | |
padi-participant-extension | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | RelatedPerson) | Participant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-participant-extension | |
padi-performer-extension | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile) | Informant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-performer-extension | |
padi-authorization-extension | 0..* | Reference(Consent) | Authorization URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-authorization-extension | |
padi-order-extension | 0..* | Reference(ServiceRequest) | Order URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-order-extension | |
padi-clause-extension | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension | |
identifier | Σ | 1..1 | Identifier | Version-independent identifier for the Composition |
type | Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Advance Directive Categories (extensible) |
category | Σ | 1..1 | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. |
subject | Σ | 1..1 | Reference(US Core Patient Profile) | Who and/or what the composition is about |
encounter | Σ | 0..1 | Reference(US Core Encounter Profile) | Context of the Composition |
date | Σ | 1..1 | dateTime | Composition editing time |
author | Σ | 1..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | PractitionerRole | US Core Patient Profile | Device | RelatedPerson) | Who and/or what authored the composition |
title | Σ | 1..1 | string | Human Readable name/title |
attester:legal_attester | 0..1 | BackboneElement | Attests to accuracy of composition | |
mode | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: legal | |
party | 1..1 | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | RelatedPerson | US Core Organization Profile) | Who attested the composition | |
attester:notary_attester | 0..* | BackboneElement | Attests to accuracy of composition | |
mode | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: professional | |
party | 1..1 | Reference(RelatedPerson) | Who attested the composition | |
attester:witness_attester | 0..* | BackboneElement | Attests to accuracy of composition | |
mode | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: personal | |
party | 1..1 | Reference(US Core Patient Profile | RelatedPerson) | Who attested the composition | |
custodian | Σ | 1..1 | Reference(US Core Organization Profile) | Organization which maintains the composition |
Slices for section | I | 1..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by pattern:code |
section:All Slices | Content/Rules for all slices | |||
padi-clause-extension | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension | |
text | I | 1..1 | Narrative | Text summary of the section, for human interpretation |
section:healthcare_agent_appointment | I | 1..1 | BackboneElement | Composition is broken into sections HCA-section-entries: If healthcare agent section entry exists, then the HCA consent entry and HCA relatedPerson entry must exist |
padi-clause-extension | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension | |
title | 1..1 | string | Label for section (e.g. for ToC) | |
code | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81335-2 | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | I | 0..* | Reference(ADI Participant Consent | ADI Participant) | A reference to data that supports this section |
section:gpp_personal_care_experience | I | 0..1 | BackboneElement | Composition is broken into sections |
padi-clause-extension | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension | |
title | 1..1 | string | Label for section (e.g. for ToC) | |
code | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81338-6 | |
entry | I | 0..* | Reference(ADI Care Experience Preference | ADI Personal Priorities Organizer | ADI Personal Goal) | A reference to data that supports this section |
section:gpp_for_certain_health_condition | I | 0..1 | BackboneElement | Composition is broken into sections |
padi-clause-extension | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension | |
title | 1..1 | string | Label for section (e.g. for ToC) | |
code | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81336-0 | |
entry | I | 0..* | Reference(ADI Preference Care Plan) | A reference to data that supports this section |
section:gpp_upon_death | I | 0..1 | BackboneElement | Composition is broken into sections |
padi-clause-extension | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension | |
title | 1..1 | string | Label for section (e.g. for ToC) | |
code | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81337-8 | |
entry | I | 0..* | Reference(ADI Preference Care Plan | Personal Intervention Preference | ADI Personal Priorities Organizer | ADI Autopsy Observation | ADI Organ Donation | ADI Personal Goal) | A reference to data that supports this section |
section:additional_documentation | I | 0..1 | BackboneElement | Composition is broken into sections |
padi-clause-extension | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension | |
title | 1..1 | string | Label for section (e.g. for ToC) | |
code | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 77599-9 | |
section:witness_and_notary | I | 0..1 | BackboneElement | Composition is broken into sections |
padi-clause-extension | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension | |
title | 1..1 | string | Label for section (e.g. for ToC) | |
code | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81339-4 | |
Documentation for this format |
This structure is derived from PADIHeader
Summary
Mandatory: 5 elements (10 nested mandatory elements)
Must-Support: 24 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from PADIHeader
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | PADIHeader | A set of resources composed into a single coherent clinical statement with clinical attestation | |
Slices for section | 1..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by pattern:code | |
section:All Slices | Content/Rules for all slices | |||
text | S | 1..1 | Narrative | Text summary of the section, for human interpretation |
section:healthcare_agent_appointment | SI | 1..1 | BackboneElement | Composition is broken into sections HCA-section-entries: If healthcare agent section entry exists, then the HCA consent entry and HCA relatedPerson entry must exist |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81335-2 | |
orderedBy | S | 0..1 | CodeableConcept | Order of section entries |
entry | S | 0..* | Reference(ADI Participant Consent | ADI Participant) | A reference to data that supports this section |
emptyReason | 0..1 | CodeableConcept | Why the section is empty Binding: No Healthcare Agent Included Reason (required) | |
section:gpp_personal_care_experience | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81338-6 | |
entry | S | 0..* | Reference(ADI Care Experience Preference | ADI Personal Priorities Organizer | ADI Personal Goal) | A reference to data that supports this section |
section:gpp_for_certain_health_condition | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81336-0 | |
entry | S | 0..* | Reference(ADI Preference Care Plan) | A reference to data that supports this section |
section:gpp_upon_death | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81337-8 | |
entry | S | 0..* | Reference(ADI Preference Care Plan | Personal Intervention Preference | ADI Personal Priorities Organizer | ADI Autopsy Observation | ADI Organ Donation | ADI Personal Goal) | A reference to data that supports this section |
section:additional_documentation | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 77599-9 | |
entry | 0..* | Reference(ADI Documentation Observation) | A reference to data that supports this section | |
section:witness_and_notary | S | 0..1 | BackboneElement | Composition is broken into sections |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81339-4 | |
entry | 0..* | Reference(RelatedPerson) | A reference to data that supports this section | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | PADIHeader | A set of resources composed into a single coherent clinical statement with clinical attestation | |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | S | 1..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
composition-clinicaldocument-versionNumber | 0..* | string | Version-specific identifier for composition URL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber | |
padi-versionNumber-extension | S | 0..1 | integer | Version Number URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-versionNumber-extension |
padi-effective-date-extension | S | 0..1 | Period | Effective Date URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-effective-date-extension |
padi-jurisdiction-extension | 0..* | CodeableConcept | Jurisdiction URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-jurisdiction-extension Binding: Jurisdiction ValueSet (extensible) | |
padi-dataEnterer-extension | S | 0..1 | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson) | Data Enterer URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-dataEnterer-extension |
padi-informant-extension | S | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson) | Informant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-informant-extension |
padi-informationRecipient-extension | S | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | Information Recipient URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-informationRecipient-extension |
padi-participant-extension | S | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | RelatedPerson) | Participant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-participant-extension |
padi-performer-extension | S | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile) | Informant URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-performer-extension |
padi-authorization-extension | S | 0..* | Reference(Consent) | Authorization URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-authorization-extension |
padi-order-extension | S | 0..* | Reference(ServiceRequest) | Order URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-order-extension |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣ | 1..1 | Identifier | Version-independent identifier for the Composition |
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. |
type | SΣ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Advance Directive Categories (extensible) |
category | SΣ | 1..1 | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. |
subject | SΣ | 1..1 | Reference(US Core Patient Profile) | Who and/or what the composition is about |
encounter | SΣ | 0..1 | Reference(US Core Encounter Profile) | Context of the Composition |
date | SΣ | 1..1 | dateTime | Composition editing time |
author | SΣ | 1..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | PractitionerRole | US Core Patient Profile | Device | RelatedPerson) | Who and/or what authored the composition |
title | SΣ | 1..1 | string | Human Readable name/title |
Slices for attester | 0..* | BackboneElement | Attests to accuracy of composition Slice: Unordered, Open by value:mode | |
attester:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-attestationInformation-extension | 1..1 | (Complex) | Attestation Information URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-attestationInformation-extension | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. | |
time | 0..1 | dateTime | When the composition was attested | |
party | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the composition | |
attester:legal_attester | S | 0..1 | BackboneElement | Attests to accuracy of composition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | S | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: legal |
time | 0..1 | dateTime | When the composition was attested | |
party | S | 1..1 | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | RelatedPerson | US Core Organization Profile) | Who attested the composition |
attester:notary_attester | S | 0..* | BackboneElement | Attests to accuracy of composition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | S | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: professional |
time | 0..1 | dateTime | When the composition was attested | |
party | S | 1..1 | Reference(RelatedPerson) | Who attested the composition |
attester:witness_attester | S | 0..* | BackboneElement | Attests to accuracy of composition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | S | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Required Pattern: personal |
time | 0..1 | dateTime | When the composition was attested | |
party | S | 1..1 | Reference(US Core Patient Profile | RelatedPerson) | Who attested the composition |
custodian | SΣ | 1..1 | Reference(US Core Organization Profile) | Organization which maintains the composition |
relatesTo | 0..* | BackboneElement | Relationships to other compositions/documents | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): The type of relationship between documents. | |
target[x] | 1..1 | Target of the relationship | ||
targetIdentifier | Identifier | |||
targetReference | Reference(Composition) | |||
event | Σ | 0..* | BackboneElement | The clinical service(s) being documented |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. |
period | Σ | 0..1 | Period | The period covered by the documentation |
detail | Σ | 0..* | Reference(Resource) | The event(s) being documented |
Slices for section | I | 1..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by pattern:code |
section:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | 0..1 | string | Label for section (e.g. for ToC) | |
code | 0..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | SI | 1..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | I | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:healthcare_agent_appointment | SI | 1..1 | BackboneElement | Composition is broken into sections HCA-section-entries: If healthcare agent section entry exists, then the HCA consent entry and HCA relatedPerson entry must exist |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81335-2 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | S | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. |
entry | SI | 0..* | Reference(ADI Participant Consent | ADI Participant) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: No Healthcare Agent Included Reason (required) |
section | I | 0..* | See section (Composition) | Nested Section |
section:gpp_personal_care_experience | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81338-6 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | SI | 0..* | Reference(ADI Care Experience Preference | ADI Personal Priorities Organizer | ADI Personal Goal) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:gpp_for_certain_health_condition | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81336-0 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | SI | 0..* | Reference(ADI Preference Care Plan) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:gpp_upon_death | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81337-8 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | SI | 0..* | Reference(ADI Preference Care Plan | Personal Intervention Preference | ADI Personal Priorities Organizer | ADI Autopsy Observation | ADI Organ Donation | ADI Personal Goal) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:additional_documentation | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 77599-9 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | I | 0..* | Reference(ADI Documentation Observation) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
section:witness_and_notary | SI | 0..1 | BackboneElement | Composition is broken into sections |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
padi-clause-extension | S | 0..* | (Complex) | Clause URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-clause-extension |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | S | 1..1 | string | Label for section (e.g. for ToC) |
code | S | 1..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example): Classification of a section of a composition/document. Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 81339-4 | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. | |
entry | I | 0..* | Reference(RelatedPerson) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section |
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet / Code |
Composition.language | preferred | CommonLanguages Max Binding: AllLanguages |
Composition.status | required | CompositionStatus |
Composition.type | extensible | PADIAdvanceDirectiveCategoriesVS |
Composition.category | example | DocumentClassValueSet |
Composition.attester.mode | required | CompositionAttestationMode |
Composition.attester:legal_attester.mode | required | Pattern: legal |
Composition.attester:notary_attester.mode | required | Pattern: professional |
Composition.attester:witness_attester.mode | required | Pattern: personal |
Composition.relatesTo.code | required | DocumentRelationshipType |
Composition.event.code | example | ActCode |
Composition.section.code | example | DocumentSectionCodes |
Composition.section.mode | required | ListMode |
Composition.section.orderedBy | preferred | ListOrderCodes |
Composition.section.emptyReason | preferred | ListEmptyReasons |
Composition.section:healthcare_agent_appointment.code | example | Pattern: LOINC code 81335-2 |
Composition.section:healthcare_agent_appointment.mode | required | ListMode |
Composition.section:healthcare_agent_appointment.orderedBy | preferred | ListOrderCodes |
Composition.section:healthcare_agent_appointment.emptyReason | required | PADINoHealthcareAgentIncludedReasonVS |
Composition.section:gpp_personal_care_experience.code | example | Pattern: LOINC code 81338-6 |
Composition.section:gpp_personal_care_experience.mode | required | ListMode |
Composition.section:gpp_personal_care_experience.orderedBy | preferred | ListOrderCodes |
Composition.section:gpp_personal_care_experience.emptyReason | preferred | ListEmptyReasons |
Composition.section:gpp_for_certain_health_condition.code | example | Pattern: LOINC code 81336-0 |
Composition.section:gpp_for_certain_health_condition.mode | required | ListMode |
Composition.section:gpp_for_certain_health_condition.orderedBy | preferred | ListOrderCodes |
Composition.section:gpp_for_certain_health_condition.emptyReason | preferred | ListEmptyReasons |
Composition.section:gpp_upon_death.code | example | Pattern: LOINC code 81337-8 |
Composition.section:gpp_upon_death.mode | required | ListMode |
Composition.section:gpp_upon_death.orderedBy | preferred | ListOrderCodes |
Composition.section:gpp_upon_death.emptyReason | preferred | ListEmptyReasons |
Composition.section:additional_documentation.code | example | Pattern: LOINC code 77599-9 |
Composition.section:additional_documentation.mode | required | ListMode |
Composition.section:additional_documentation.orderedBy | preferred | ListOrderCodes |
Composition.section:additional_documentation.emptyReason | preferred | ListEmptyReasons |
Composition.section:witness_and_notary.code | example | Pattern: LOINC code 81339-4 |
Composition.section:witness_and_notary.mode | required | ListMode |
Composition.section:witness_and_notary.orderedBy | preferred | ListOrderCodes |
Composition.section:witness_and_notary.emptyReason | preferred | ListEmptyReasons |
Id | Path | Details | Requirements |
HCA-section-entries | Composition.section:healthcare_agent_appointment | If healthcare agent section entry exists, then the HCA consent entry and HCA relatedPerson entry must exist : entry.exists().not() or (entry.where($this.resolve() is Consent).exists() and entry.where($this.resolve() is relatedPerson).exists()) |