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: Version Number

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

Advance Directive Information VersionNumber Extension represents a string using the dateTime of the document to version successive replacement documents.

Context of Use

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

- Element ID: `DocumentReference`

Usage info

Usages:

- Use this Extension: ADI Document Reference
- Examples for this Extension: DocumentReference/Example-Smith-Johnson-DocRef-DocumentReference

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 | Version Number
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-docVersionNumber-extension"
Slices for value[x] |  | 1..1 | string | Value of extension Slice: Unordered, Open by type:$this
value[x]:valueString | S | 1..1 | string | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Version Number
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-docVersionNumber-extension"
Slices for value[x] |  | 1..1 | string | Value of extension Slice: Unordered, Closed by type:$this
value[x]:valueString | S | 1..1 | string | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type string: Advance Directive Information VersionNumber Extension represents a string using the dateTime of the document to version successive replacement documents.

Maturity: 2

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Version Number
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-docVersionNumber-extension"
Slices for value[x] |  | 1..1 | string | Value of extension Slice: Unordered, Open by type:$this
value[x]:valueString | S | 1..1 | string | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Version Number
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-docVersionNumber-extension"
Slices for value[x] |  | 1..1 | string | Value of extension Slice: Unordered, Closed by type:$this
value[x]:valueString | S | 1..1 | string | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type string: Advance Directive Information VersionNumber Extension represents a string using the dateTime of the document to version successive replacement documents.

Maturity: 2

Other representations of profile: CSV, Excel, Schematron

#### 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() |