Resource Profile: DocumentReference - AuthorizationTemplate
General information
Scope and Usage
This profile can be used to carry information about a template for authorizing a person to act on another person's behalf. The actual template is provided as a base64 encoded string.
Boundaries and Relationships
A Consent - PowerOfAttorney references a NDIAuthorizationTemplate as source reference.
Profile
| NDIAuthorizationTemplate (DocumentReference) | C | DocumentReference | |
| id | Σ | 0..1 | id |
| meta | Σ | 0..1 | Meta |
| implicitRules | Σ ?! | 0..1 | uri |
| language | 0..1 | codeBinding | |
| text | C | 0..1 | Narrative |
| contained | C | 0..* | Resource |
| extension | C | 0..* | Extension |
| modifierExtension | Σ ?! C | 0..* | Extension |
| identifier | Σ C | 0..* | Identifier |
| version | Σ | 0..1 | string |
| basedOn | C | 0..* | Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription) |
| status | S Σ ?! | 1..1 | codeBinding |
| docStatus | Σ | 0..1 | codeBinding |
| modality | Σ | 0..* | CodeableConceptBinding |
| type | Σ | 0..1 | CodeableConceptBinding |
| category | S Σ | 1..* | CodeableConcept |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| coding | S Σ C | 0..1 | Coding |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| system | S Σ | 1..1 | uri |
| version | Σ | 0..1 | string |
| code | S Σ C | 1..1 | code |
| display | Σ C | 0..1 | string |
| userSelected | Σ | 0..1 | boolean |
| text | S Σ | 0..1 | string |
| subject | Σ C | 0..1 | Reference(Resource) |
| context | C | 0..* | Reference(Appointment | Encounter | EpisodeOfCare) |
| event | 0..* | CodeableReference | |
| bodySite | Σ | 0..* | CodeableReference(BodyStructure) |
| facilityType | C | 0..1 | CodeableConcept |
| practiceSetting | C | 0..1 | CodeableConcept |
| period | S Σ C | 1..1 | Period |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| start | S Σ C | 1..1 | dateTime |
| end | S Σ C | 0..1 | dateTime |
| date | Σ | 0..1 | instant |
| author | S Σ C | 0..1 | Reference(Organization) |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| reference | Σ C | 0..1 | string |
| type | Σ | 0..1 | uriBinding |
| identifier | S Σ C | 1..1 | Identifier |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| use | Σ ?! | 0..1 | codeBinding |
| type | Σ | 0..1 | CodeableConceptBinding |
| system | S Σ | 1..1 | uri |
| value | S Σ C | 1..1 | string |
| period | Σ C | 0..1 | Period |
| assigner | Σ C | 0..1 | Reference(Organization) |
| display | Σ C | 0..1 | string |
| attester | 0..* | BackboneElement | |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| modifierExtension | Σ ?! C | 0..* | Extension |
| mode | 1..1 | CodeableConceptBinding | |
| time | 0..1 | dateTime | |
| party | C | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) |
| custodian | C | 0..1 | Reference(Organization) |
| relatesTo | Σ | 0..* | BackboneElement |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| modifierExtension | Σ ?! C | 0..* | Extension |
| code | Σ | 1..1 | CodeableConceptBinding |
| target | Σ C | 1..1 | Reference(DocumentReference) |
| description | S Σ | 0..1 | markdown |
| securityLabel | Σ | 0..* | CodeableConcept |
| content | S Σ | 1..1 | BackboneElement |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| modifierExtension | Σ ?! C | 0..* | Extension |
| attachment | S Σ C | 1..1 | Attachment |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| contentType | Σ C | 0..1 | codeBinding |
| language | Σ | 0..1 | codeBinding |
| data | S C | 1..1 | base64Binary |
| url | Σ | 0..1 | url |
| size | Σ | 0..1 | integer64 |
| hash | Σ | 0..1 | base64Binary |
| title | Σ | 0..1 | string |
| creation | Σ | 0..1 | dateTime |
| height | 0..1 | positiveInt | |
| width | 0..1 | positiveInt | |
| frames | 0..1 | positiveInt | |
| duration | 0..1 | decimal | |
| pages | 0..1 | positiveInt | |
| profile | Σ | 0..* | BackboneElement |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| modifierExtension | Σ ?! C | 0..* | Extension |
| value[x] | Σ | 1..1 | Binding |
| valueCanonical | canonical | ||
| valueCoding | Coding | ||
| valueUri | uri |
| DocumentReference | C | |
| Short | A reference to a document | |
| Definition | 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. | |
| Cardinality | 0..* | |
| Comments | Usually, this is used for documents other than those defined by FHIR. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.id | Σ | |
| Short | Logical id of this artifact | |
| Definition | The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. | |
| Cardinality | 0..1 | |
| Type | id | |
| Summary | True | |
| Comments | Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.meta | Σ | |
| Short | Metadata about the resource | |
| Definition | The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource. | |
| Cardinality | 0..1 | |
| Type | Meta | |
| Summary | True | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.implicitRules | Σ ?! | |
| Short | A set of rules under which this content was created | |
| Definition | A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. | |
| Cardinality | 0..1 | |
| Type | uri | |
| Modifier | True | |
| Summary | True | |
| Comments | Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.language | ||
| Short | Language of the resource content | |
| Definition | The base language in which the resource is written. | |
| Cardinality | 0..1 | |
| Type | code | |
| Binding | IETF language tag for a human language | |
| Comments | Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute). | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.text | C | |
| Short | Text summary of the resource, for human interpretation | |
| Definition | A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. | |
| Cardinality | 0..1 | |
| Type | Narrative | |
| Alias | narrative, html, xhtml, display | |
| Comments | Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: dom-6 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.contained | C | |
| Short | Contained, inline Resources | |
| Definition | These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning. | |
| Cardinality | 0..* | |
| Type | Resource | |
| Alias | inline resources, anonymous resources, contained resources | |
| Comments | This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: dom-2, dom-4, dom-3, dom-5 | |
| Mappings |
| |
| DocumentReference.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.modifierExtension | Σ ?! C | |
| Short | Extensions that cannot be ignored | |
| Definition | May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). | |
| Cardinality | 0..* | |
| Type | Extension | |
| Modifier | True | |
| Summary | True | |
| Alias | extensions, user content | |
| Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.identifier | Σ C | |
| Short | Business identifiers for the document | |
| Definition | Other business identifiers associated with the document, including version independent identifiers. | |
| Cardinality | 0..* | |
| Type | Identifier | |
| Summary | True | |
| Requirements | Document identifiers usually assigned by the source of the document, or other business identifiers such as XDS DocumentEntry.uniqueId and DocumentEntry.entryUUID. These identifiers are specific to this instance of the document. | |
| Comments | The structure and format of this identifier would be consistent with the specification corresponding to the format of the document. (e.g. for a DICOM standard document, a 64-character numeric UID; for an HL7 CDA format, the CDA Document Id root and extension). | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.version | Σ | |
| Short | An explicitly assigned identifer of a variation of the content in the DocumentReference | |
| Definition | An explicitly assigned identifer of a variation of the content in the DocumentReference. | |
| Cardinality | 0..1 | |
| Type | string | |
| Summary | True | |
| Comments | While each resource, including the DocumentReference itself, has its own version identifier, this is a formal identifier for the logical version of the DocumentReference as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.basedOn | C | |
| Short | Procedure that caused this media to be created | |
| Definition | A procedure that is fulfilled in whole or in part by the creation of this media. | |
| Cardinality | 0..* | |
| Type | Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription) | |
| Alias | fulfills | |
| Requirements | Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon. | |
| Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.status | S Σ ?! | |
| Short | current | superseded | entered-in-error | |
| Definition | The status of this document reference. | |
| Cardinality | 1..1 | |
| Type | code | |
| Binding | The status of the document reference. | |
| Must Support | True | |
| Modifier | True | |
| Summary | True | |
| Comments | This is the status of the DocumentReference object, which might be independent from the docStatus element. This element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.docStatus | Σ | |
| Short | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown | |
| Definition | The status of the underlying document. | |
| Cardinality | 0..1 | |
| Type | code | |
| Binding | Status of the underlying document. | |
| Summary | True | |
| Comments | The document that is pointed to might be in various lifecycle states. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.modality | Σ | |
| Short | Imaging modality used | |
| Definition | Imaging modality used. This may include both acquisition and non-acquisition modalities. | |
| Cardinality | 0..* | |
| Type | CodeableConcept | |
| Binding | Type of acquired data in the instance. http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_33.html (extensible) | |
| Summary | True | |
| Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.type | Σ | |
| Short | Kind of document (LOINC if possible) | |
| Definition | Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced. | |
| Cardinality | 0..1 | |
| Type | CodeableConcept | |
| Binding | Precise type of clinical document. | |
| Summary | True | |
| Comments | Key metadata element describing the document that describes he exact type of document. Helps humans to assess whether the document is of interest when viewing a list of documents. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category | S Σ | |
| Short | Categorization of document | |
| Definition | A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type. | |
| Cardinality | 1..* | |
| Type | CodeableConcept | |
| Binding | High-level kind of document at a macro level. | |
| Must Support | True | |
| Summary | True | |
| Alias | class, classCode | |
| Comments | Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.category.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.coding | S Σ C | |
| Short | Code defined by a terminology system | |
| Definition | A reference to a code defined by a terminology system. | |
| Cardinality | 0..1 | |
| Type | Coding | |
| Must Support | True | |
| Summary | True | |
| Requirements | Allows for alternative encodings within a code system, and translations to other code systems. | |
| 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 labeled as UserSelected = true. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.coding.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.category.coding.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.coding.system | S Σ | |
| Short | Identity of the terminology system | |
| Definition | The identification of the code system that defines the meaning of the symbol in the code. | |
| Cardinality | 1..1 | |
| Type | uri | |
| Must Support | True | |
| Summary | True | |
| 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 be an absolute reference to some definition that establishes the system clearly and unambiguously. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.coding.version | Σ | |
| Short | Version of the system - if relevant | |
| Definition | The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. | |
| Cardinality | 0..1 | |
| Type | string | |
| Summary | True | |
| Comments | Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.coding.code | S Σ C | |
| Short | Symbol in syntax defined by the system | |
| 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). | |
| Cardinality | 1..1 | |
| Type | code | |
| Must Support | True | |
| Summary | True | |
| Requirements | Need to refer to a particular code in the system. | |
| Comments | Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size | |
| Conditions | The cardinality or value of this element may be affected by these constraints: cod-1 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.coding.display | Σ C | |
| Short | Representation defined by the system | |
| Definition | A representation of the meaning of the code in the system, following the rules of the system. | |
| Cardinality | 0..1 | |
| Type | string | |
| Summary | True | |
| Requirements | Need to be able to carry a human-readable meaning of the code for readers that do not know the system. | |
| Comments | Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size | |
| Conditions | The cardinality or value of this element may be affected by these constraints: cod-1 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.coding.userSelected | Σ | |
| Short | If this coding was chosen directly by the user | |
| Definition | Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays). | |
| Cardinality | 0..1 | |
| Type | boolean | |
| Summary | True | |
| Requirements | This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing. | |
| Comments | Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.category.text | S Σ | |
| Short | Plain text representation of the concept | |
| Definition | A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. | |
| Cardinality | 0..1 | |
| Type | string | |
| Must Support | True | |
| Summary | True | |
| Requirements | The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source. | |
| Comments | Very often the text is the same as a displayName of one of the codings. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.subject | Σ C | |
| Short | Who/what is the subject of the document | |
| Definition | Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). | |
| Cardinality | 0..1 | |
| Type | Reference(Resource) | |
| Summary | True | |
| Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.context | C | |
| Short | Context of the document content | |
| Definition | Describes the clinical encounter or type of care that the document content is associated with. | |
| Cardinality | 0..* | |
| Type | Reference(Appointment | Encounter | EpisodeOfCare) | |
| Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: docRef-1, docRef-2 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.event | ||
| Short | Main clinical acts documented | |
| Definition | This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the type Code, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. | |
| Cardinality | 0..* | |
| Type | CodeableReference | |
| Binding | This list of codes represents the main clinical acts being documented. | |
| Comments | An event can further specialize the act inherent in the type, such as where it is simply "Procedure Report" and the procedure was a "colonoscopy". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.bodySite | Σ | |
| Short | Body part included | |
| Definition | The anatomic structures included in the document. | |
| Cardinality | 0..* | |
| Type | CodeableReference(BodyStructure) | |
| Binding | SNOMED CT Body site concepts | |
| Summary | True | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.facilityType | C | |
| Short | Kind of facility where patient was seen | |
| Definition | The kind of facility where the patient was seen. | |
| Cardinality | 0..1 | |
| Type | CodeableConcept | |
| Binding | XDS Facility Type. | |
| Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: docRef-1 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.practiceSetting | C | |
| Short | Additional details about where the content was created (e.g. clinical specialty) | |
| Definition | This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty. | |
| Cardinality | 0..1 | |
| Type | CodeableConcept | |
| Binding | Additional details about where the content was created (e.g. clinical specialty). | |
| Requirements | This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content. | |
| Comments | This element should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: docRef-2 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.period | S Σ C | |
| Short | Time of service that is being documented | |
| Definition | The time period over which the service that is described by the document was provided. | |
| Cardinality | 1..1 | |
| Type | Period | |
| Must Support | True | |
| Summary | True | |
| Comments | A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.period.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.period.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.period.start | S Σ C | |
| Short | Starting time with inclusive boundary | |
| Definition | The start of the period. The boundary is inclusive. | |
| Cardinality | 1..1 | |
| Type | dateTime | |
| Must Support | True | |
| Summary | True | |
| Comments | If the low element is missing, the meaning is that the low boundary is not known. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: per-1 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.period.end | S Σ C | |
| Short | End time with inclusive boundary, if not ongoing | |
| Definition | The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time. | |
| Cardinality | 0..1 | |
| Type | dateTime | |
| Must Support | True | |
| Summary | True | |
| Comments | The end value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03. | |
| Meaning when missing | If the end of the period is missing, it means that the period is ongoing | |
| Conditions | The cardinality or value of this element may be affected by these constraints: per-1 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.date | Σ | |
| Short | When this document reference was created | |
| Definition | When the document reference was created. | |
| Cardinality | 0..1 | |
| Type | instant | |
| Summary | True | |
| Alias | indexed | |
| Comments | Referencing/indexing time is used for tracking, organizing versions and searching. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author | S Σ C | |
| Short | Who and/or what authored the document | |
| Definition | Identifies who is responsible for adding the information to the document. | |
| Cardinality | 0..1 | |
| Type | Reference(Organization) | |
| Must Support | True | |
| Summary | True | |
| Comments | Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant). | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.author.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.reference | Σ C | |
| Short | Literal reference, Relative, internal or absolute URL | |
| Definition | A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. | |
| Cardinality | 0..1 | |
| Type | string | |
| Summary | True | |
| Comments | Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ref-2, ref-1 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.type | Σ | |
| Short | Type the reference refers to (e.g. "Patient") - must be a resource in resources | |
| Definition | The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources). | |
| Cardinality | 0..1 | |
| Type | uri | |
| Binding | Aa resource (or, for logical models, the URI of the logical model). | |
| Summary | True | |
| Comments | This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.identifier | S Σ C | |
| Short | Logical reference, when literal reference is not known | |
| Definition | An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference. | |
| Cardinality | 1..1 | |
| Type | Identifier | |
| Must Support | True | |
| Summary | True | |
| Comments | When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any). This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ref-2 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.identifier.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.author.identifier.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.identifier.use | Σ ?! | |
| Short | usual | official | temp | secondary | old (If known) | |
| Definition | The purpose of this identifier. | |
| Cardinality | 0..1 | |
| Type | code | |
| Binding | Identifies the purpose for this identifier, if known . | |
| Modifier | True | |
| Summary | True | |
| Requirements | Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers. | |
| Comments | Applications can assume that an identifier is permanent unless it explicitly says that it is temporary. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.identifier.type | Σ | |
| Short | Description of identifier | |
| Definition | A coded type for the identifier that can be used to determine which identifier to use for a specific purpose. | |
| Cardinality | 0..1 | |
| Type | CodeableConcept | |
| Binding | A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |
| Summary | True | |
| Requirements | Allows users to make use of identifiers when the identifier system is not known. | |
| Comments | This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.identifier.system | S Σ | |
| Short | The namespace for the identifier value | |
| Definition | Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique. | |
| Cardinality | 1..1 | |
| Type | uri | |
| Must Support | True | |
| Summary | True | |
| Requirements | There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers. | |
| Comments | Identifier.system is always case sensitive. | |
| Constraints |
| |
| Examples | Generalhttp://www.acme.com/identifiers/patient | |
| Mappings |
| |
| DocumentReference.author.identifier.value | S Σ C | |
| Short | The value that is unique | |
| Definition | The portion of the identifier typically relevant to the user and which is unique within the context of the system. | |
| Cardinality | 1..1 | |
| Type | string | |
| Must Support | True | |
| Summary | True | |
| Comments | If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the http://hl7.org/fhir/StructureDefinition/rendered-value). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ident-1 | |
| Constraints |
| |
| Examples | General123456 | |
| Mappings |
| |
| DocumentReference.author.identifier.period | Σ C | |
| Short | Time period when id is/was valid for use | |
| Definition | Time period during which identifier is/was valid for use. | |
| Cardinality | 0..1 | |
| Type | Period | |
| Summary | True | |
| Comments | A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.identifier.assigner | Σ C | |
| Short | Organization that issued id (may be just text) | |
| Definition | Organization that issued/manages the identifier. | |
| Cardinality | 0..1 | |
| Type | Reference(Organization) | |
| Summary | True | |
| Comments | The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.author.display | Σ C | |
| Short | Text alternative for the resource | |
| Definition | Plain text narrative that identifies the resource in addition to the resource reference. | |
| Cardinality | 0..1 | |
| Type | string | |
| Summary | True | |
| Comments | This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ref-2 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.attester | ||
| Short | Attests to accuracy of the document | |
| Definition | A participant who has authenticated the accuracy of the document. | |
| Cardinality | 0..* | |
| Type | BackboneElement | |
| Requirements | Identifies responsibility for the accuracy of the document content. | |
| Comments | Only list each attester once. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.attester.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.attester.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.attester.modifierExtension | Σ ?! C | |
| Short | Extensions that cannot be ignored even if unrecognized | |
| 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). | |
| Cardinality | 0..* | |
| Type | Extension | |
| Modifier | True | |
| Summary | True | |
| Alias | extensions, user content, modifiers | |
| Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. | |
| 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. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.attester.mode | ||
| Short | personal | professional | legal | official | |
| Definition | The type of attestation the authenticator offers. | |
| Cardinality | 1..1 | |
| Type | CodeableConcept | |
| Binding | The way in which a person authenticated a document. | |
| Requirements | Indicates the level of authority of the attestation. | |
| Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.attester.time | ||
| Short | When the document was attested | |
| Definition | When the document was attested by the party. | |
| Cardinality | 0..1 | |
| Type | dateTime | |
| Requirements | Identifies when the information in the document was deemed accurate. (Things may have changed since then.). | |
| Comments | UTC offset is allowed for dates and partial dates | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.attester.party | C | |
| Short | Who attested the document | |
| Definition | Who attested the document in the specified way. | |
| Cardinality | 0..1 | |
| Type | Reference(Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | |
| Requirements | Identifies who has taken on the responsibility for accuracy of the document content. | |
| Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.custodian | C | |
| Short | Organization which maintains the document | |
| Definition | Identifies the organization or group who is responsible for ongoing maintenance of and access to the document. | |
| Cardinality | 0..1 | |
| Type | Reference(Organization) | |
| Comments | Identifies the logical organization (software system, vendor, or department) to go to find the current version, where to report issues, etc. This is different from the physical location (URL, disk drive, or server) of the document, which is the technical location of the document, which host may be delegated to the management of some other organization. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.relatesTo | Σ | |
| Short | Relationships to other documents | |
| Definition | Relationships that this document has with other document references that already exist. | |
| Cardinality | 0..* | |
| Type | BackboneElement | |
| Summary | True | |
| Comments | This element is labeled as a modifier because documents that append to other documents are incomplete on their own. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.relatesTo.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.relatesTo.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.relatesTo.modifierExtension | Σ ?! C | |
| Short | Extensions that cannot be ignored even if unrecognized | |
| 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). | |
| Cardinality | 0..* | |
| Type | Extension | |
| Modifier | True | |
| Summary | True | |
| Alias | extensions, user content, modifiers | |
| Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. | |
| 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. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.relatesTo.code | Σ | |
| Short | The relationship type with another document | |
| Definition | The type of relationship that this document has with anther document. | |
| Cardinality | 1..1 | |
| Type | CodeableConcept | |
| Binding | The type of relationship between the documents. | |
| Summary | True | |
| Comments | If this document appends another document, then the document cannot be fully understood without also accessing the referenced document. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.relatesTo.target | Σ C | |
| Short | Target of the relationship | |
| Definition | The target document of this relationship. | |
| Cardinality | 1..1 | |
| Type | Reference(DocumentReference) | |
| Summary | True | |
| Comments | References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.description | S Σ | |
| Short | Human-readable description | |
| Definition | Human-readable description of the source document. | |
| Cardinality | 0..1 | |
| Type | markdown | |
| Must Support | True | |
| Summary | True | |
| Requirements | Helps humans to assess whether the document is of interest. | |
| Comments | What the document is about, a terse summary of the document. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.securityLabel | Σ | |
| Short | Document security-tags | |
| Definition | A set of Security-Tag codes specifying the level of privacy/security of the Document found at DocumentReference.content.attachment.url. Note that DocumentReference.meta.security contains the security labels of the data elements in DocumentReference, while DocumentReference.securityLabel contains the security labels for the document the reference refers to. The distinction recognizes that the document may contain sensitive information, while the DocumentReference is metadata about the document and thus might not be as sensitive as the document. For example: a psychotherapy episode may contain highly sensitive information, while the metadata may simply indicate that some episode happened. | |
| Cardinality | 0..* | |
| Type | CodeableConcept | |
| Binding | Example Security Labels from the Healthcare Privacy and Security Classification System. | |
| Summary | True | |
| Requirements | Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended. | |
| Comments | The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce. In the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content | S Σ | |
| Short | Document referenced | |
| Definition | The document and format referenced. If there are multiple content element repetitions, these must all represent the same document in different format, or attachment metadata. | |
| Cardinality | 1..1 | |
| Type | BackboneElement | |
| Must Support | True | |
| Summary | True | |
| Requirements | Note that .relatesTo may also include references to other DocumentReference with a transforms relationship to represent the same document in multiple formats. | |
| Comments | content element shall not contain different versions of the same content. For version handling use multiple DocumentReference with .relatesTo. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.content.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.modifierExtension | Σ ?! C | |
| Short | Extensions that cannot be ignored even if unrecognized | |
| 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). | |
| Cardinality | 0..* | |
| Type | Extension | |
| Modifier | True | |
| Summary | True | |
| Alias | extensions, user content, modifiers | |
| Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. | |
| 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. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment | S Σ C | |
| Short | Where to access the document | |
| Definition | The document or URL of the document along with critical metadata to prove content has integrity. | |
| Cardinality | 1..1 | |
| Type | Attachment | |
| Must Support | True | |
| Summary | True | |
| Comments | When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as "Signed Procedure Consent". | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.content.attachment.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.contentType | Σ C | |
| Short | Mime type of the content, with charset etc. | |
| 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. | |
| Cardinality | 0..1 | |
| Type | code | |
| Binding | BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) | |
| Summary | True | |
| Requirements | Processors of the data need to be able to know how to interpret the data. | |
| Comments | Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size | |
| Conditions | The cardinality or value of this element may be affected by these constraints: att-1 | |
| Constraints |
| |
| Examples | Generaltext/plain; charset=UTF-8, image/png | |
| Mappings |
| |
| DocumentReference.content.attachment.language | Σ | |
| Short | Human language of the content (BCP-47) | |
| Definition | The human language of the content. The value can be any valid value according to BCP 47. | |
| Cardinality | 0..1 | |
| Type | code | |
| Binding | IETF language tag for a human language. | |
| Summary | True | |
| Requirements | Users need to be able to choose between the languages in a set of attachments. | |
| Comments | Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size | |
| Constraints |
| |
| Examples | Generalen-AU | |
| Mappings |
| |
| DocumentReference.content.attachment.data | S C | |
| Short | The actual template | |
| Definition | The actual data of the attachment - a sequence of bytes, base64 encoded. | |
| Cardinality | 1..1 | |
| Type | base64Binary | |
| Must Support | True | |
| Requirements | The data needs to able to be transmitted inline. | |
| Comments | The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON. | |
| Conditions | The cardinality or value of this element may be affected by these constraints: att-1 | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.url | Σ | |
| Short | Uri where the data can be found | |
| Definition | A location where the data can be accessed. | |
| Cardinality | 0..1 | |
| Type | url | |
| Summary | True | |
| 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. | |
| Constraints |
| |
| Examples | Generalhttp://www.acme.com/logo-small.png | |
| Mappings |
| |
| DocumentReference.content.attachment.size | Σ | |
| Short | Number of bytes of content (if url provided) | |
| Definition | The number of bytes of data that make up this attachment (before base64 encoding, if that is done). | |
| Cardinality | 0..1 | |
| Type | integer64 | |
| Summary | True | |
| 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. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.hash | Σ | |
| Short | Hash of the data (sha-1, base64ed) | |
| Definition | The calculated hash of the data using SHA-1. Represented using base64. | |
| Cardinality | 0..1 | |
| Type | base64Binary | |
| Summary | True | |
| Requirements | Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version). | |
| Comments | The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see Provenance.signature for mechanism to protect a resource with a digital signature. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.title | Σ | |
| Short | Label to display in place of the data | |
| Definition | A label or set of text to display in place of the data. | |
| Cardinality | 0..1 | |
| Type | string | |
| Summary | True | |
| 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 | May sometimes be derived from the source filename. | |
| Constraints |
| |
| Examples | GeneralOfficial Corporate Logo | |
| Mappings |
| |
| DocumentReference.content.attachment.creation | Σ | |
| Short | Date attachment was first created | |
| Definition | The date that the attachment was first created. | |
| Cardinality | 0..1 | |
| Type | dateTime | |
| Summary | True | |
| Requirements | This is often tracked as an integrity issue for use of the attachment. | |
| Comments | UTC offset is allowed for dates and partial dates | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.height | ||
| Short | Height of the image in pixels (photo/video) | |
| Definition | Height of the image in pixels (photo/video). | |
| Cardinality | 0..1 | |
| Type | positiveInt | |
| Comments | 32 bit number; for values larger than this, use decimal | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.width | ||
| Short | Width of the image in pixels (photo/video) | |
| Definition | Width of the image in pixels (photo/video). | |
| Cardinality | 0..1 | |
| Type | positiveInt | |
| Comments | 32 bit number; for values larger than this, use decimal | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.frames | ||
| Short | Number of frames if > 1 (photo) | |
| Definition | The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required. | |
| Cardinality | 0..1 | |
| Type | positiveInt | |
| Comments | if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.duration | ||
| Short | Length in seconds (audio / video) | |
| Definition | The duration of the recording in seconds - for audio and video. | |
| Cardinality | 0..1 | |
| Type | decimal | |
| Comments | The duration might differ from occurrencePeriod if recording was paused. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.attachment.pages | ||
| Short | Number of printed pages | |
| Definition | The number of pages when printed. | |
| Cardinality | 0..1 | |
| Type | positiveInt | |
| Comments | 32 bit number; for values larger than this, use decimal | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.profile | Σ | |
| Short | Content profile rules for the document | |
| Definition | An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType. | |
| Cardinality | 0..* | |
| Type | BackboneElement | |
| Summary | True | |
| Alias | format, formatCode | |
| Comments | Note that IHE often issues URNs for formatCode codes, not all documents can be identified by a URI. For FHIR content, .profile should indicate the structureDefinition profile canonical URI(s) that the content complies with. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.profile.id | ||
| Short | Unique id for inter-element referencing | |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |
| Cardinality | 0..1 | |
| Type | string | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 | |
| Mappings |
| |
| DocumentReference.content.profile.extension | C | |
| Short | Additional content defined by implementations | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |
| Cardinality | 0..* | |
| Type | Extension | |
| Alias | extensions, user content | |
| 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. | |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.profile.modifierExtension | Σ ?! C | |
| Short | Extensions that cannot be ignored even if unrecognized | |
| 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). | |
| Cardinality | 0..* | |
| Type | Extension | |
| Modifier | True | |
| Summary | True | |
| Alias | extensions, user content, modifiers | |
| Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. | |
| 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. | |
| Constraints |
| |
| Mappings |
| |
| DocumentReference.content.profile.value[x] | Σ | |
| Short | Code|uri|canonical | |
| Definition | Code|uri|canonical. | |
| Cardinality | 1..1 | |
| Type | canonical | Coding | uri | |
| Binding | Document Format Codes. http://terminology.hl7.org/ValueSet/v3-HL7FormatCodes (preferred) | |
| Summary | True | |
| Constraints |
| |
| Mappings |
| |
Details
The red must-support flag ("S") indicates that the element is expected in some use cases, and a missing flag that the element is never used.
The actual template data is supplied in the content.attachment.data element as base 64 encoded.
ValueSet bindings
The following table shows the elements in the profile that should be populated with codes as well as what value sets contain the valid codes for the respective elements. The strength indicates whether it is recommended or required to choose a code from the defined value set.
Validation rules
The table below contains validation rules for the format of a NDIAuthorizationDocument along with corresponding error messages. The error messages are returned in an OperationOutcome. An OperationOutcome contains an array of issues where each issue has a details element containing an error message and when relevant an expression element containing the path to the element which the error pertains to.
Examples
Access patient summary
The following example of NDIAuthorizationTemplate shows a template for authorizing access to patient summary, as seen in the category element. The template is created by an organization with organization identifier 2021005489, as seen in the author element.
| DocumentReference |
| id : 15cdd584-cd02-4fa9-98cd-6482f6f2f564 |
| status : current |
| category |
| text : Patientöversikt |
| period |
| start : 2026-02-17T00:00:00+02:00 |
| author |
| identifier |
| system : urn:oid:2.5.4.97 |
| value : 2021005489 |
| description : Åtkomst till min hälsadata |
| content |
| attachment |
| data : dGVzdAoKCnRlc3Rkb2MKCgp0ZXN0ZG9jMQoKCnRlc3Rkb2My |
Supported operations
Query operations
Supported Queries
GET [base]/DocumentReference/[LogicalId]returns the DocumentReference with the supplied logical ID if found, an OperationOutcome if not.GET [base]/DocumentReference?[parameters]returns a Bundle of all DocumentReferences that match the supplied parameters. Will be an empty Bundle if none are found.
Search parameters
| Parameter | Description | Example |
|---|---|---|
Validation rules
Validation messages are error, information or success messages that are returned as a result of an operation. These messages are returned in a OperationOutcome resource.
| Parameter | Error message | Description | Severity |
|---|---|---|---|