Skip to content

Content Source Extension

Canonicalhttps://fhir.apps.health/StructureDefinition/nexus-content-source
Statusdraft · 1.33.0
BaseExtension (constraint)
ContextDocumentReference.content (element), DiagnosticReport.presentedForm (element)
SourceFSH · JSON

Origin metadata for the file behind one DocumentReference.content or DiagnosticReport.presentedForm entry: the system the file was delivered through, the channel, and when the sender sent it.

Overview

On the content entry, not on the resource. A DocumentReference or DiagnosticReport may hold several renditions of one document and only one of them is the file that arrived; the others are produced locally. The extension rides the delivered rendition, so derived renditions carry nothing.

source is an opaque token, naming the delivery channel as the receiving pipeline knows it. HRM -- Ontario Health's Health Report Manager -- is the channel this shape was drawn from and the value carried in this guide's example. No value set is bound: the set of channels is a deployment fact, and a binding published here would make a deployment nonconformant the day it adds a feed. Match the values your deployment produces and pass through the rest.

channel is how the file came: a v3 ParticipationMode code -- FAXWRIT (fax and eFax), MAILWRIT (mail, including a scan of mailed paper), EMAILWRIT (email) or ELECTRONIC (an electronic feed such as HRM, Ontario Health's clinical report feed, or a portal). Bound extensible: where none of the four fits, another code may be used, preferably from ParticipationMode. sent is when the sender sent it, where the channel says (a fax header, an HRM message, a Bundle timestamp). Both are optional. Received time is not here: it is DocumentReference.date, or the extensions-pack event-recorded extension on a DiagnosticReport. See Incoming reports.

⚠ FIRST PASS -- do not treat this as a contract. The extension is published under a canonical minted for it, so nothing predates it: there is no earlier address for this shape and no legacy instance to reconcile against. A store holds instances of it from the point a delivery pipeline starts stamping them, and no sooner. Write source, and channel and sent where the delivery gives them, on the entry holding the delivered file.

Terminology bindings

Path Strength Value set
Extension.extension.value[x] extensible Delivery Channel