A DocumentReference resource is used to describe a document that is made available to a healthcare system. A document is some sequence of bytes that is identifiable, establishes its own context (e.g., what subject, author, etc. can be displayed to the user), and has defined update management. The DocumentReference resource can be used with any document format that has a recognized mime type and that conforms to this definition.
Typically, DocumentReference resources are used in document indexing systems, such as IHE XDS , and are used to refer to:
In scope of the eHealth infrastructure the primary use of the DocumentReference resource is to contain or refer to information material used in relation to PlanDefinition and Questionnaire. This information material can be in the form of embedded material (of limited size) or references to videos, PDF-files or printed material.
See eHealth-plandefinition for further details.
The official URL for this profile is:
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference
This profile builds on DocumentReference.
This profile was published on Tue Oct 27 14:11:48 UTC 2020 as a draft by ehealth.sundhed.dk.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
Path | Conformance | ValueSet |
DocumentReference.language | extensible | Common Languages Max Binding: All Languages |
DocumentReference.status | required | DocumentReferenceStatus |
DocumentReference.docStatus | required | CompositionStatus |
DocumentReference.type | required | DocumentType |
DocumentReference.class | required | DocumentClass |
DocumentReference.relatesTo.code | required | DocumentRelationshipType |
DocumentReference.securityLabel | extensible | All Security Labels |
DocumentReference.content.format | required | FormatCodes |
DocumentReference.context.event | required | EventTypeCodes |
DocumentReference.context.facilityType | required | FacilityTypeCodes |
DocumentReference.context.practiceSetting | required | PracticeSettingCodes |
Id | Path | Details | Requirements |
dom-2 | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-1 | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain any narrative : contained.text.empty() | |
dom-4 | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-3 | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource : contained.where(('#'+id in %resource.descendants().reference).not()).empty() | |
ele-1 | DocumentReference.relatesTo | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | DocumentReference.content | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | DocumentReference.context | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | DocumentReference.context.related | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |