Attested Version Extension¶
| Canonical | https://fhir.apps.health/StructureDefinition/nexus-attested-version |
|---|---|
| Status | draft · 1.33.0 |
| Base | Extension (constraint) |
| Context | Composition.attester (element) |
| Source | FSH · JSON |
The meta.versionId of the Composition as this attester read it: the version their attestation
approves. Not the version the write recording the attester creates, which differs from the one read
only by the attester itself.
FSH
The authored source of truth: extensions/AttestedVersion.fsh (edit on GitHub). One FSH file may define several related artifacts.
// AttestedVersion.fsh
// Which version of a note an attester attested. A note is edited and signed again over its life, and
// a supervisor's sign-off approves the version they read and nothing after it. `attester.time` says
// WHEN; it cannot say WHAT, because a note's versions are not ordered by any clock a reader can trust
// and `meta.versionId` is opaque. So the version travels on the attester itself.
//
// IT IS THE VERSION READ, NOT THE VERSION WRITTEN. Recording the attester is itself a write, and it
// makes a new version whose only change is the attester. Naming that one would approve a version
// the attester never saw.
Extension: NexusAttestedVersion
Id: nexus-attested-version
Title: "Attested Version"
Description: """
The `meta.versionId` of the `Composition` as this attester read it: the version their attestation
approves. Not the version the write recording the attester creates, which differs from the one read
only by the attester itself.
Required on a supervisor's sign-off (`nexus-attestation-function` `VRF`), because a note is approved
per version and a sign-off never carries forward to a later edit. Optional on any other attester.
"""
* ^url = "https://fhir.apps.health/StructureDefinition/nexus-attested-version"
* ^status = #draft
* ^experimental = false
* ^publisher = "WELLSTAR Technologies Corp."
* ^context[0].type = #element
* ^context[0].expression = "Composition.attester"
* . ^short = "The meta.versionId of the note as the attester read it"
* value[x] 1..1
* value[x] only string