ReferralRequestResponse

eRS-DocumentReference-1

eRS-DocumentReference-1

DocumentReference
Definition

A reference to a document

Control 0..*
Type DocumentReference
Comments

Usually, this is used for documents other than those defined by FHIR.

DocumentReference.type
Definition

A category assigned to indicate if an attachment was added to a Referral Request by the referrer or the provider

Control 1..1
Binding

Category type of document

The codes SHALL be taken from http://fhir.nhs.net/ValueSet/ers-attachmenttype-1

Type CodeableConcept
Comments

Key metadata element describing the document, used in searching/filtering.

DocumentReference.type.coding
Definition

A reference to a code defined by a terminology system.

Control 1..1
Type Coding
Requirements

Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true.

DocumentReference.type.coding.system
Definition

The identification of the code system that defines the meaning of the symbol in the code.

Control 1..1
Type Uri
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.

Fixed Value http://fhir.nhs.net/ValueSet/ers-attachmenttype-1
DocumentReference.type.coding.code
Definition

A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

Control 1..1
Type Code
Requirements

Need to refer to a particular code in the system.

Comments
Example REFERRER
DocumentReference.type.coding.display
Definition

A representation of the meaning of the code in the system, following the rules of the system.

Control 1..1
Type String
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments
Example Referrer
DocumentReference.indexed
Definition

When the document reference was created

Control 1..1
Type Instant
Comments

Referencing/indexing time is used for tracking, organizing versions and searching.

Example 2016-09-05T13:24:53+00:00
DocumentReference.status
Definition

The status of this document reference.

Control 1..1
Binding

The status of the document reference.

The codes SHALL be taken from http://hl7.org/fhir/ValueSet/document-reference-status

Type Code
Is Modifier True
Comments

This is the status of the DocumentReference object, which might be independent from the docStatus element.

Example current
DocumentReference.description
Definition

Human-readable description of the source document. This is sometimes known as the "title".

Control 0..1
Type String
Requirements

Helps humans to assess whether the document is of interest.

Comments

What the document is about, rather than a terse summary of the document. It is commonly the case that records do not have a title and are collectively referred to by the display name of Record code (e.g. a "consultation" or "progress note").

Example Clinical comment as entered by clinician
DocumentReference.content
Definition

The document and format referenced. There may be multiple content element repetitions, each with a different format.

Control 1..*
Type BackboneElement
Comments
DocumentReference.content.modifierExtension
Definition

May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Control 0..*
Type Extension
Is Modifier True
Aliases extensions, user content, modifiers
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

DocumentReference.content.attachment
Definition

The document or url of the document along with critical metadata to prove content has integrity.

Control 1..1
Type Attachment
Comments
DocumentReference.content.attachment.extension(attachedBy)
Definition

The clinician responsible for the attachment

Control 1..1
Type Extension
Comments
DocumentReference.content.attachment.contentType
Definition

Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.

Control 1..1
Binding

The mime type of an attachment. Any valid mime type is allowed.

The codes SHALL be taken from http://www.rfc-editor.org/bcp/bcp13.txt

Type Code
Requirements

Processors of the data need to be able to know how to interpret the data.

Comments
Example text/plain
DocumentReference.content.attachment.url
Definition

An alternative location where the data can be accessed.

Control 1..1
Type Uri
Requirements

The data needs to be transmitted by reference.

Comments

If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.

Example Binary/att-100763-5345434
DocumentReference.content.attachment.size
Definition

The number of bytes of data that make up this attachment.

Control 1..1
Type UnsignedInt
Requirements

Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.

Comments

The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.

Example 23000
DocumentReference.content.attachment.title
Definition

A label or set of text to display in place of the data.

Control 1..1
Type String
Requirements

Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.

Comments
Example clinical-comment.txt
DocumentReference.content.attachment.creation
Definition

The date that the attachment was first created

Control 1..1
Type DateTime
Requirements

This is often tracked as an integrity issue for use of the attachment.

Comments