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/fhir-pacio-adi/ and changes regularly. See the Directory of published versions
| Page standards status: Informative |
Healthcare documents are not static files sitting in a folder. They evolve, version, move between systems, gain or lose authority, become replaced or revoked. Healthcare documents, also called “clinical documents”, are a durable collection of clinical/legal assertions traveling through a distributed trust and policy ecosystem. A clinical document represents an attestable snapshot of information at a point in time, even though the underlying healthcare record may continue to evolve. These documents must remain discoverable and trustworthy over long periods of time.
Document life cycle management is best thought of as a living and breathing system.
Clinical documents have six key characteristics:
To manage clinical documents safely and reliably across distributed systems and over time, three foundational capabilities are required:
Together, persistent identity, lifecycle status management, and metadata indexing form the foundational capabilities required to safely manage healthcare documents over time.
These mechanisms allow healthcare systems to preserve historical integrity, maintain longitudinal continuity, support legal and clinical trust, and enable reliable information exchange across distributed healthcare ecosystems.
Clinical documents therefore represent more than static files or exchanged messages. They are durable clinical/legal assertions whose identity, status, discoverability, and authority must be continuously managed throughout their lifecycle within a distributed trust and policy ecosystem.
To identify a document over time, a document’s identity needs to support two fundamental needs:
A document’s identifiers need to make it possible to move between these two ways of interacting with a document in an accurate way so that the version instances of a logical document can be processed and understood together in the correct temporal order to represent the logical document with fidelity.
For this reason, documents utilize two types of identifiers. One identifier identifies a document instance, and another identifier identifies the logical document this document instance is a part of. The version independent identifier, called the “set id”, identifies the set of document instances that make up the logical document. Each document instances has an additional identifier called “versionNumber” which can be used to put the documents instances that make of the logical document in the right temporal order.
To identify a document over time, a document’s identity needs to support two fundamental needs:
A document’s identifiers need to make it possible to move between these two ways of interacting with a document in an accurate way so that the version instances of a logical document can be processed and understood together in the correct temporal order to represent the logical document with fidelity.
For this reason, documents utilize two types of identifiers. One identifier identifies a document instance, and another identifier identifies the logical document this document instance is a part of. The version independent identifier, called the “set id”, identifies the set of document instances that make up the logical document. Each document instances has an additional identifier called “versionNumber” which can be used to put the documents instances that make of the logical document in the right temporal order.
These document identifiers enable the document’s identity to be persistent over time. It is important to remember the persistence of a document identifier does not necessarily imply persistence of a fixed document artifact. Persistence of identity is distinct from persistence of content. A document with the same logical identity over time may contain different content over time.
Additionally, it is essential to recognize not all “registered healthcare documents” exist as persistent stored artifacts at the time they are indexed. Some “registered documents” represent the potential to generate a document dynamically when requested. These are commonly referred to as “On-Demand” documents. A “On-Demand” document does not actually exist although some metadata about it exists to enables its existence to be requested.
When talking about a document’s identity it’s important to separate two different scenarios:
The document identifiers described above are associated with existing frozen document artifacts.
On-Demand documents will be explained further in the chapter on metadata indexing and discovery.
Persistent identity allows healthcare systems to recognize and relate document instances across time as part of the same logical document. However, identity alone is insufficient to safely manage clinical documents over long periods of time.
Healthcare systems must also understand the current standing, authority, availability, and usability of a document as it evolves throughout its lifecycle. This is accomplished through the use of document status.
Document status provides important contextual meaning about a document instance and its relationship to the logical document over time. Status allows systems and users to determine whether a document:
Without lifecycle status management, systems may be unable to determine:
Document status is also a complex topic that requires distinguishing between two related but separate concepts:
This is a subtle but very important distinction. A document instance may represent the current version of a logical document, or it may later become superseded by a newer document instance within the same logical document lineage.
This distinction is handled in document management systems through the use of distinct metadata. The status of a document instance reflects its completion lifecycle as a snapshot artifact. The status associated with the logical document reflects the collective management state of the document instances that belong to that logical document lineage.
One key point to remember is that changes in document lifecycle status do not erase historical reality. A replaced document still exists. A revoked consent still once was an authorization to disclose information or perform a care intervention. An amended directive still may have influenced prior decisions. A deprecated document may still be legally relevant historically.
Once published, a document instance remains a permanent historical artifact, even if its lifecycle status later changes.
In practice, healthcare interoperability standards may use multiple overlapping status models. The simplified lifecycle states below are intended to illustrate the core concepts relevant to document lifecycle management for an instance of a document.
| Document Instance Lifecycle Status |
Meaning |
|---|---|
| Draft | Under development and not yet finalized |
| Final | Officially completed and available for use |
| Amended | Modified to correct or change prior content |
| Revoked | Authority or validity has been withdrawn |
| Deprecated | Retained for historical, legal, or audit purposes, but no longer recommended for current clinical use |
| Entered-in-Error | Wrongly created as part of the logical document |
While other statuses like Amended, Revoked, and Deprecated acknowledge the document was valid at a prior time, Entered-in-Error asserts the document instance should never have existed as part of the logical document.
Versions of a single logical document may have these statuses associated with it:
| Logical Document Lifecycle Status |
Meaning |
|---|---|
| Current | The current version of the logical document |
| Superseded | A prior instance of this logical document which has now been replaced by a newer version |
| Entered-in-Error | Wrongly created as part of the patient’s record |
Replacement creates a new document instance and changes the lifecycle standing of prior instances to “superseded”, but it does not alter the content or lifecycle status of a previously published document instance. A previous final version of a document may be replaced with a new finalized version of the same logical document.
One subtle but important insight: an entered-in-error status for a document instance often breaks the normal logical document lineage model.
Version replacements usually occur in a temporal sequence as a logical document evolves over time. However, Entered-in-error status indicates that a document instance was not intended to participate in the logical document’s valid lifecycle progression. However, if superseded by a new final document, then the new correct version of the logical document will prevail.
As the final “terminal state” of a document, entered-in-error means the document should never have existed as part of the patient’s record in the first place.
This distinction is architecturally important because it affects the expected functionality required to perform document management properly over time.
Persistent identity and lifecycle status management make it possible to understand what a document is and how it evolves over time. However, healthcare systems must also be able to discover, track, retrieve, and manage documents across distributed environments that may span multiple organizations, repositories, jurisdictions, and periods of time.
This capability is enabled through the use of metadata indexing and discovery mechanisms.
Rather than relying solely on the document content itself, document management systems maintain metadata that describes important characteristics of documents and their relationships over time. This metadata allows systems to:
Metadata indexing systems function as a continuously maintained catalog of document knowledge. In many cases, the indexing system may know that a document exists and understand important details about it, even when the document content itself is stored elsewhere or has not yet been generated.
The metadata associated with a document commonly includes:
This metadata enables healthcare systems to safely manage document lifecycles over long periods of time while supporting discoverability across distributed trust ecosystems.
Metadata indexing systems play a critical role in maintaining the lineage of logical documents as document instances evolve over time.
Through the use of identifiers, version tracking, lifecycle status, and document relationships, metadata indexing systems allow healthcare systems to:
Without metadata indexing, document management would degrade into isolated collections of unrelated files with little ability to understand their clinical, legal, or temporal relationships.
Metadata indexing systems also support a special category of registered documents known as On-Demand documents.
Unlike persistent document instances, an On-Demand document may not exist as a stored immutable artifact at the time it is indexed. Instead, the metadata registry contains information describing the capability to dynamically generate the document when requested.
This distinction is important because:
Examples of On-Demand documents may include:
In these cases, the metadata registry manages the persistent identity and discoverability of the document creation potential, even though a fixed document artifact may not yet exist.