preBallot - The specification is currently in ballot review and subject to change. . . . For a full list of available versions, see the Directory of published versions
DocumentReference (CA:eReC)
Links
Profile
Derived from
http://hl7.org/fhir/StructureDefinition/DocumentReference
Description
A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this "document" encompasses any serialized object with a mime-type, it includes formal patient-centric documents (CDA), clinical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare. The DocumentReference resource provides metadata about the document so that the document can be discovered and managed. The actual content may be inline base64 encoded data or provided by direct reference.
References to this resource
Resource Content
DocumentReference | DocumentReference | ||
identifier | S | ||
system | S | 1.. | |
value | S | 1.. | |
status | S | Pattern | |
type | S | ||
subject | S | Reference(Patient) | |
reference | S | ||
identifier | S | ||
system | S | 1.. | |
value | S | 1.. | |
date | S | ||
author | S | Reference(Practitioner | PractitionerRole) | |
reference | S | ||
identifier | S | ||
system | S | 1.. | |
value | S | 1.. | |
content | S | ||
attachment | S | ||
context | S | 1..1 | |
related | S | 1..1 | Reference(ServiceRequest) |
reference | S | ||
identifier | S | ||
system | S | 1.. | |
value | S | 1.. |
DocumentReference | I | DocumentReference | |
id | Σ | 0..1 | string |
meta | Σ | 0..1 | Meta |
implicitRules | Σ ?! | 0..1 | uri |
language | 0..1 | codeBinding | |
text | 0..1 | Narrative | |
contained | 0..* | Resource | |
extension | I | 0..* | Extension |
modifierExtension | ?! I | 0..* | Extension |
masterIdentifier | Σ | 0..1 | Identifier |
identifier | S Σ | 0..* | Identifier |
id | 0..1 | string | |
extension | I | 0..* | Extension |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | S Σ | 1..1 | uri |
value | S Σ | 1..1 | string |
period | Σ | 0..1 | Period |
assigner | Σ | 0..1 | Reference(Organization) |
status | S Σ ?! | 1..1 | codeBindingPattern |
docStatus | Σ | 0..1 | codeBinding |
type | S Σ | 0..1 | CodeableConceptBinding |
category | Σ | 0..* | CodeableConcept |
subject | S Σ | 0..1 | Reference(Patient) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | S Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | S Σ | 0..1 | Identifier |
id | 0..1 | string | |
extension | I | 0..* | Extension |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | S Σ | 1..1 | uri |
value | S Σ | 1..1 | string |
period | Σ | 0..1 | Period |
assigner | Σ | 0..1 | Reference(Organization) |
display | Σ | 0..1 | string |
date | S Σ | 0..1 | instant |
author | S Σ | 0..* | Reference(Practitioner | PractitionerRole) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | S Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | S Σ | 0..1 | Identifier |
id | 0..1 | string | |
extension | I | 0..* | Extension |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | S Σ | 1..1 | uri |
value | S Σ | 1..1 | string |
period | Σ | 0..1 | Period |
assigner | Σ | 0..1 | Reference(Organization) |
display | Σ | 0..1 | string |
authenticator | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | |
custodian | 0..1 | Reference(Organization) | |
relatesTo | Σ | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
code | Σ | 1..1 | codeBinding |
target | Σ | 1..1 | Reference(DocumentReference) |
description | Σ | 0..1 | string |
securityLabel | Σ | 0..* | CodeableConceptBinding |
content | S Σ | 1..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
attachment | S Σ | 1..1 | Attachment |
format | Σ | 0..1 | CodingBinding |
context | S Σ | 1..1 | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
encounter | 0..* | Reference(Encounter | EpisodeOfCare) | |
event | 0..* | CodeableConcept | |
period | Σ | 0..1 | Period |
facilityType | 0..1 | CodeableConcept | |
practiceSetting | 0..1 | CodeableConcept | |
sourcePatientInfo | 0..1 | Reference(Patient) | |
related | S | 1..1 | Reference(ServiceRequest) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | S Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | S Σ | 0..1 | Identifier |
id | 0..1 | string | |
extension | I | 0..* | Extension |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | S Σ | 1..1 | uri |
value | S Σ | 1..1 | string |
period | Σ | 0..1 | Period |
assigner | Σ | 0..1 | Reference(Organization) |
display | Σ | 0..1 | string |
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="CA-eReC-DocumentReference" /> <url value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-DocumentReference" /> <name value="DocumentReference" /> <status value="draft" /> <description value="A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this "document" encompasses any serialized object with a mime-type, it includes formal patient-centric documents (CDA), clinical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare. The DocumentReference resource provides metadata about the document so that the document can be discovered and managed. The actual content may be inline base64 encoded data or provided by direct reference." /> <fhirVersion value="4.0.1" /> <kind value="resource" /> <abstract value="false" /> <type value="DocumentReference" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DocumentReference" /> <derivation value="constraint" /> <differential> <element id="DocumentReference.identifier"> <path value="DocumentReference.identifier" /> <mustSupport value="true" /> </element> <element id="DocumentReference.identifier.system"> <path value="DocumentReference.identifier.system" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="DocumentReference.identifier.value"> <path value="DocumentReference.identifier.value" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="DocumentReference.status"> <path value="DocumentReference.status" /> <patternCode value="current" /> <mustSupport value="true" /> </element> <element id="DocumentReference.type"> <path value="DocumentReference.type" /> <mustSupport value="true" /> </element> <element id="DocumentReference.subject"> <path value="DocumentReference.subject" /> <type> <code value="Reference" /> <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient" /> </type> <mustSupport value="true" /> </element> <element id="DocumentReference.subject.reference"> <path value="DocumentReference.subject.reference" /> <mustSupport value="true" /> </element> <element id="DocumentReference.subject.identifier"> <path value="DocumentReference.subject.identifier" /> <mustSupport value="true" /> </element> <element id="DocumentReference.subject.identifier.system"> <path value="DocumentReference.subject.identifier.system" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="DocumentReference.subject.identifier.value"> <path value="DocumentReference.subject.identifier.value" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="DocumentReference.date"> <path value="DocumentReference.date" /> <mustSupport value="true" /> </element> <element id="DocumentReference.author"> <path value="DocumentReference.author" /> <type> <code value="Reference" /> <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner" /> <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole" /> </type> <mustSupport value="true" /> </element> <element id="DocumentReference.author.reference"> <path value="DocumentReference.author.reference" /> <mustSupport value="true" /> </element> <element id="DocumentReference.author.identifier"> <path value="DocumentReference.author.identifier" /> <mustSupport value="true" /> </element> <element id="DocumentReference.author.identifier.system"> <path value="DocumentReference.author.identifier.system" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="DocumentReference.author.identifier.value"> <path value="DocumentReference.author.identifier.value" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="DocumentReference.content"> <path value="DocumentReference.content" /> <mustSupport value="true" /> </element> <element id="DocumentReference.content.attachment"> <path value="DocumentReference.content.attachment" /> <mustSupport value="true" /> </element> <element id="DocumentReference.context"> <path value="DocumentReference.context" /> <min value="1" /> <max value="1" /> <mustSupport value="true" /> </element> <element id="DocumentReference.context.related"> <path value="DocumentReference.context.related" /> <min value="1" /> <max value="1" /> <type> <code value="Reference" /> <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest" /> </type> <mustSupport value="true" /> </element> <element id="DocumentReference.context.related.reference"> <path value="DocumentReference.context.related.reference" /> <mustSupport value="true" /> </element> <element id="DocumentReference.context.related.identifier"> <path value="DocumentReference.context.related.identifier" /> <mustSupport value="true" /> </element> <element id="DocumentReference.context.related.identifier.system"> <path value="DocumentReference.context.related.identifier.system" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="DocumentReference.context.related.identifier.value"> <path value="DocumentReference.context.related.identifier.value" /> <min value="1" /> <mustSupport value="true" /> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "id": "CA-eReC-DocumentReference", "url": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-DocumentReference", "name": "DocumentReference", "status": "draft", "description": "A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this \"document\" encompasses any serialized object with a mime-type, it includes formal patient-centric documents (CDA), clinical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare. The DocumentReference resource provides metadata about the document so that the document can be discovered and managed. The actual content may be inline base64 encoded data or provided by direct reference.", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, "type": "DocumentReference", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference", "derivation": "constraint", "differential": { "element": [ { "id": "DocumentReference.identifier", "path": "DocumentReference.identifier", "mustSupport": true }, { "id": "DocumentReference.identifier.system", "path": "DocumentReference.identifier.system", "min": 1, "mustSupport": true }, { "id": "DocumentReference.identifier.value", "path": "DocumentReference.identifier.value", "min": 1, "mustSupport": true }, { "id": "DocumentReference.status", "path": "DocumentReference.status", "patternCode": "current", "mustSupport": true }, { "id": "DocumentReference.type", "path": "DocumentReference.type", "mustSupport": true }, { "id": "DocumentReference.subject", "path": "DocumentReference.subject", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient" ] } ], "mustSupport": true }, { "id": "DocumentReference.subject.reference", "path": "DocumentReference.subject.reference", "mustSupport": true }, { "id": "DocumentReference.subject.identifier", "path": "DocumentReference.subject.identifier", "mustSupport": true }, { "id": "DocumentReference.subject.identifier.system", "path": "DocumentReference.subject.identifier.system", "min": 1, "mustSupport": true }, { "id": "DocumentReference.subject.identifier.value", "path": "DocumentReference.subject.identifier.value", "min": 1, "mustSupport": true }, { "id": "DocumentReference.date", "path": "DocumentReference.date", "mustSupport": true }, { "id": "DocumentReference.author", "path": "DocumentReference.author", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner", "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole" ] } ], "mustSupport": true }, { "id": "DocumentReference.author.reference", "path": "DocumentReference.author.reference", "mustSupport": true }, { "id": "DocumentReference.author.identifier", "path": "DocumentReference.author.identifier", "mustSupport": true }, { "id": "DocumentReference.author.identifier.system", "path": "DocumentReference.author.identifier.system", "min": 1, "mustSupport": true }, { "id": "DocumentReference.author.identifier.value", "path": "DocumentReference.author.identifier.value", "min": 1, "mustSupport": true }, { "id": "DocumentReference.content", "path": "DocumentReference.content", "mustSupport": true }, { "id": "DocumentReference.content.attachment", "path": "DocumentReference.content.attachment", "mustSupport": true }, { "id": "DocumentReference.context", "path": "DocumentReference.context", "min": 1, "max": "1", "mustSupport": true }, { "id": "DocumentReference.context.related", "path": "DocumentReference.context.related", "min": 1, "max": "1", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest" ] } ], "mustSupport": true }, { "id": "DocumentReference.context.related.reference", "path": "DocumentReference.context.related.reference", "mustSupport": true }, { "id": "DocumentReference.context.related.identifier", "path": "DocumentReference.context.related.identifier", "mustSupport": true }, { "id": "DocumentReference.context.related.identifier.system", "path": "DocumentReference.context.related.identifier.system", "min": 1, "mustSupport": true }, { "id": "DocumentReference.context.related.identifier.value", "path": "DocumentReference.context.related.identifier.value", "min": 1, "mustSupport": true } ] } }
Terminology bindings
Constraints
Path | Id | Grade | Details | Expression |
---|---|---|---|---|
DocumentReference; DocumentReference; DocumentReference; DocumentReference; DocumentReference; DocumentReference.meta; DocumentReference.implicitRules; DocumentReference.language; DocumentReference.text; DocumentReference.extension; DocumentReference.extension; DocumentReference.modifierExtension; DocumentReference.modifierExtension; DocumentReference.masterIdentifier; DocumentReference.identifier; DocumentReference.identifier.extension; DocumentReference.identifier.extension; DocumentReference.identifier.use; DocumentReference.identifier.type; DocumentReference.identifier.system; DocumentReference.identifier.value; DocumentReference.identifier.period; DocumentReference.identifier.assigner; DocumentReference.status; DocumentReference.docStatus; DocumentReference.type; DocumentReference.category; DocumentReference.subject; DocumentReference.subject.extension; DocumentReference.subject.extension; DocumentReference.subject.reference; DocumentReference.subject.type; DocumentReference.subject.identifier; DocumentReference.subject.identifier.extension; DocumentReference.subject.identifier.extension; DocumentReference.subject.identifier.use; DocumentReference.subject.identifier.type; DocumentReference.subject.identifier.system; DocumentReference.subject.identifier.value; DocumentReference.subject.identifier.period; DocumentReference.subject.identifier.assigner; DocumentReference.subject.display; DocumentReference.date; DocumentReference.author; DocumentReference.author.extension; DocumentReference.author.extension; DocumentReference.author.reference; DocumentReference.author.type; DocumentReference.author.identifier; DocumentReference.author.identifier.extension; DocumentReference.author.identifier.extension; DocumentReference.author.identifier.use; DocumentReference.author.identifier.type; DocumentReference.author.identifier.system; DocumentReference.author.identifier.value; DocumentReference.author.identifier.period; DocumentReference.author.identifier.assigner; DocumentReference.author.display; DocumentReference.authenticator; DocumentReference.custodian; DocumentReference.relatesTo; DocumentReference.relatesTo.extension; DocumentReference.relatesTo.extension; DocumentReference.relatesTo.modifierExtension; DocumentReference.relatesTo.modifierExtension; DocumentReference.relatesTo.code; DocumentReference.relatesTo.target; DocumentReference.description; DocumentReference.securityLabel; DocumentReference.content; DocumentReference.content.extension; DocumentReference.content.extension; DocumentReference.content.modifierExtension; DocumentReference.content.modifierExtension; DocumentReference.content.attachment; DocumentReference.content.format; DocumentReference.context; DocumentReference.context.extension; DocumentReference.context.extension; DocumentReference.context.modifierExtension; DocumentReference.context.modifierExtension; DocumentReference.context.encounter; DocumentReference.context.event; DocumentReference.context.period; DocumentReference.context.facilityType; DocumentReference.context.practiceSetting; DocumentReference.context.sourcePatientInfo; DocumentReference.context.related; DocumentReference.context.related.extension; DocumentReference.context.related.extension; DocumentReference.context.related.reference; DocumentReference.context.related.type; DocumentReference.context.related.identifier; DocumentReference.context.related.identifier.extension; DocumentReference.context.related.identifier.extension; DocumentReference.context.related.identifier.use; DocumentReference.context.related.identifier.type; DocumentReference.context.related.identifier.system; DocumentReference.context.related.identifier.value; DocumentReference.context.related.identifier.period; DocumentReference.context.related.identifier.assigner; DocumentReference.context.related.display | dom-2; dom-3; dom-4; dom-5; dom-6; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1 | error; error; error; error; warning; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error | If the resource is contained in another resource, it SHALL NOT contain nested Resources; If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource; If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated; If a resource is contained in another resource, it SHALL NOT have a security label; A resource should have narrative for robust management; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children | contained.contained.empty(); contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty(); contained.meta.versionId.empty() and contained.meta.lastUpdated.empty(); contained.meta.security.empty(); text.`div`.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()) |
Usage
The primary use of the DocumentReference in this IG is to exchange binary .content
(attachments to ServiceRequests) in DirectMessaging integrations.
In the referral workflow multiple, large binary files could potentially be referenced as ServiceRequest.supportingInfo
. To reduce message size, message performance and scalability, implementers are strongly recommended to use .content.attachment.url
to enable asyncronous retrieval of binary attachments from a secure server instead of passing attachments within a message as base64 .content.attachment.data
. For further background and discussion about potential approaches see: https://infocentral.infoway-inforoute.ca/en/resources/docs/3551-documentreference/view-document
Notes
.id
- Used to uniquely identify the resource
- If a persistent identity for the resource is not available to use when constructing a message Bundle for transmission via Direct Messaging, a UUID SHOULD be used in this element (with a corresponding value in
Bundle.entry.fullUrl
)
.identifier
- MAY be populated to share business identifers used to reference this resource in subsequent messages
identifier.system
andidentifier.value
SHALL be mustSupport whenever there is a reference or identifier present
.status
- Populate with a fixed value "current"
.type
- Type of document being referenced (i.e. Patient Summary)
.subject
- MAY be used to associate the DocumentReference with the Patient it is about
- Where
.subject
is populated, it SHALL reference the same Patient resource asServiceRequest.subject
- For DirectMessaging integrations, this element SHALL
.reference
a resource included in the message as aBundle.entry
.date
- Populate with the instant in time when the DocumentReference was created for transmission to the recipient
- Format: YYYY-MM-DDThh:mm:ss.sss+zz:zz (e.g. 2015-02-07T13:28:17.239+02:00 or 2017-01-01T00:00:00Z).
.content.attachment
- This is the document referenced
- Implementers SHOULD use
.content.attachment.url
to enable the recipient to securely retrieve a binary attachment after the message is received instead of passing large documents as base64.content.attachment.data
- For further background and discussion about potential approaches see: https://infocentral.infoway-inforoute.ca/en/resources/docs/3551-documentreference/view-document