PACIO Advance Healthcare Directive Interoperability Implementation Guide
2.0.0-ballot - STU 2 – Ballot

PACIO Advance Healthcare Directive Interoperability Implementation Guide, published by HL7 International / Patient Empowerment. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/pacio-adi/ and changes regularly. See the Directory of published versions

## Extension: Clause

Official URL: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-clause-extension | Version: 2.0.0-ballot
Standards status: Trial-use | Maturity Level: 2 | Computable Name: ClauseExtension

A clause or set of clauses relevant to the resource or element being extended

Context of Use

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

- Element ID: `Bundle`
- Element ID: `Composition`
- Element ID: `Consent`

Usage info

Usages:

- Use this Extension: ADI Composition Header and ADI Healthcare Agent Consent
- Examples for this Extension: Bundle/PMO-Example-Smith-Johnson-Bundle2 and Composition/PMO-Example-Smith-Johnson-PMOComposition1

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

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

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

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Clause
extension |  | 1..* | Extension | Extension
Slices for extension |  |  |  | Content/Rules for all slices
extension:Title |  | 0..1 | Extension | Section in which clauses are presented.
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Title"
value[x] |  | 1..1 | string | Value of extension
extension:Type |  | 0..1 | Extension | Type of clause.
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Type"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: ADIClauseTypeVS (extensible)
extension:Policy |  | 0..* | Extension | Link to the policies related to the clause
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Policy"
value[x] | S | 1..1 | Reference() | Value of extension
extension:Clause |  | 1..* | Extension | A human readable clause.
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Clause"
value[x] | S | 1..1 | markdown | Value of extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-clause-extension"
value[x] |  | 0..0 |  |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Clause
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:Title |  | 0..1 | Extension | Section in which clauses are presented.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Title"
value[x] |  | 1..1 | string | Value of extension
extension:Type |  | 0..1 | Extension | Type of clause.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Type"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: ADIClauseTypeVS (extensible)
extension:Policy |  | 0..* | Extension | Link to the policies related to the clause
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Policy"
value[x] | S | 1..1 | Reference() | Value of extension
extension:Clause |  | 1..* | Extension | A human readable clause.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Clause"
value[x] | S | 1..1 | markdown | Value of extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-clause-extension"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: A clause or set of clauses relevant to the resource or element being extended

- Title: string: An Extension
- Type: CodeableConcept: An Extension
- Policy: Reference: An Extension
- Clause: markdown: An Extension

Maturity: 2

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Clause
extension |  | 1..* | Extension | Extension
Slices for extension |  |  |  | Content/Rules for all slices
extension:Title |  | 0..1 | Extension | Section in which clauses are presented.
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Title"
value[x] |  | 1..1 | string | Value of extension
extension:Type |  | 0..1 | Extension | Type of clause.
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Type"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: ADIClauseTypeVS (extensible)
extension:Policy |  | 0..* | Extension | Link to the policies related to the clause
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Policy"
value[x] | S | 1..1 | Reference() | Value of extension
extension:Clause |  | 1..* | Extension | A human readable clause.
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Clause"
value[x] | S | 1..1 | markdown | Value of extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-clause-extension"
value[x] |  | 0..0 |  |
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Clause
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:Title |  | 0..1 | Extension | Section in which clauses are presented.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Title"
value[x] |  | 1..1 | string | Value of extension
extension:Type |  | 0..1 | Extension | Type of clause.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Type"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: ADIClauseTypeVS (extensible)
extension:Policy |  | 0..* | Extension | Link to the policies related to the clause
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Policy"
value[x] | S | 1..1 | Reference() | Value of extension
extension:Clause |  | 1..* | Extension | A human readable clause.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "Clause"
value[x] | S | 1..1 | markdown | Value of extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-clause-extension"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: A clause or set of clauses relevant to the resource or element being extended

- Title: string: An Extension
- Type: CodeableConcept: An Extension
- Policy: Reference: An Extension
- Clause: markdown: An Extension

Maturity: 2

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Extension.extension:Type.value[x] | extensible | ADIClauseTypeVS `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.14` From https://vsac.nlm.nih.gov

#### Constraints

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