| Left: | ehealth-transformation-documentreference (http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-transformation-documentreference) | 
| Right: | ehealth-transformation-documentreference (http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-transformation-documentreference) | 
| Error | StructureDefinition.version | Values for version differ: '5.0.1' vs '6.0.0' | 
| Information | StructureDefinition.date | Values for date differ: '2025-08-12T12:53:07+00:00' vs '2025-10-23T10:15:36+00:00' | 
| Error | StructureDefinition.baseDefinition | Values for baseDefinition differ: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference' vs 'http://hl7.org/fhir/StructureDefinition/DocumentReference' | 
| Information | DocumentReference.language | Example/preferred bindings differ at DocumentReference.language using binding from ehealth-transformation-documentreference | 
| Error | DocumentReference.subject | Type Mismatch: Reference([CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient], CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group], CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device]]) vs Reference([CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient], CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group], CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device]]) | 
| Error | DocumentReference.context.sourcePatientInfo | Type Mismatch: Reference([CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient]]) vs Reference([CanonicalType[http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient]]) | 
| Name | Value | Comments | |
|---|---|---|---|
 abstract | false | ||
 baseDefinition | http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference | http://hl7.org/fhir/StructureDefinition/DocumentReference | 
  | 
 copyright | |||
 date | 2025-08-12T12:53:07+00:00 | 2025-10-23T10:15:36+00:00 | 
  | 
 description | |||
 experimental | |||
 fhirVersion | 4.0.1 | ||
 jurisdiction | |||
![]()  jurisdiction[0] | urn:iso:std:iso:3166#DK | ||
 kind | resource | ||
 name | ehealth-transformation-documentreference | ||
 publisher | Den telemedicinske infrastruktur (eHealth Infrastructure) | ||
 purpose | |||
 status | active | ||
 title | |||
 type | DocumentReference | ||
 url | http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-transformation-documentreference | ||
 version | 5.0.1 | 6.0.0 | 
  | 
| Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments![]()  | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()  | 0..* | ehealth-documentreference | A reference to a document | 0..* | DocumentReference | A reference to a document | |||||||||||
![]() ![]()  | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact | |||||||||
![]() ![]()  | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource | |||||||||
![]() ![]()  | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
![]() ![]()  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. 
  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. 
  | 
  | ||||||||||
![]() ![]()  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements  | |||||||||||
![]() ![]()  | 0..* | Resource | Contained, inline Resources | 0..* | Resource | Contained, inline Resources | |||||||||||
![]() ![]()  | 0..* | Extension | Extension Slice: Unordered, Open by value:url  | 0..* | Extension | Extension Slice: Unordered, Open by value:url  | |||||||||||
![]() ![]()  | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
![]() ![]()  | Σ | 0..1 | Identifier | Master Version Specific Identifier | Σ | 0..1 | Identifier | Master Version Specific Identifier | |||||||||
![]() ![]()  | Σ | 0..* | Identifier | Other identifiers for the document | Σ | 0..* | Identifier | Other identifiers for the document | |||||||||
![]() ![]()  | ?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference.  | ?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference.  | |||||||||
![]() ![]()  | Σ | 0..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): Status of the underlying document.  | Σ | 0..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): Status of the underlying document.  | |||||||||
![]() ![]()  | Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (required)  | Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (required)  | |||||||||
![]() ![]()  | Σ | 0..1 | CodeableConcept | Categorization of document Binding: ?? (required)  | Σ | 0..1 | CodeableConcept | Categorization of document Binding: ?? (required)  | |||||||||
![]() ![]()  | Σ | 0..1 | Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device) {r} | Who/what is the subject of the document | Σ | 0..1 | Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device) {r} | Who/what is the subject of the document | 
  | ||||||||
![]() ![]()  | Σ | 0..1 | instant | When this document reference was created | Σ | 0..1 | instant | When this document reference was created | |||||||||
![]() ![]()  | Σ | 0..* | Reference(ehealth-practitioner | ehealth-organization | ehealth-device | ehealth-patient | ehealth-relatedperson) {r} | Who and/or what authored the document | Σ | 0..* | Reference(ehealth-practitioner | ehealth-organization | ehealth-device | ehealth-patient | ehealth-relatedperson) {r} | Who and/or what authored the document | |||||||||
![]() ![]()  | 0..1 | Reference(ehealth-practitioner | ehealth-organization) {r} | Who/what authenticated the document | 0..1 | Reference(ehealth-practitioner | ehealth-organization) {r} | Who/what authenticated the document | |||||||||||
![]() ![]()  | 0..1 | Reference(ehealth-organization) {r} | Organization which maintains the document | 0..1 | Reference(ehealth-organization) {r} | Organization which maintains the document | |||||||||||
![]() ![]()  | Σ | 0..* | BackboneElement | Relationships to other documents | Σ | 0..* | BackboneElement | Relationships to other documents | |||||||||
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
![]() ![]() ![]()  | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
![]() ![]() ![]()  | Σ | 1..1 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents.  | Σ | 1..1 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents.  | |||||||||
![]() ![]() ![]()  | Σ | 1..1 | Reference(ehealth-documentreference) | Target of the relationship | Σ | 1..1 | Reference(ehealth-documentreference) | Target of the relationship | |||||||||
![]() ![]()  | Σ | 0..1 | string | Human-readable description | Σ | 0..1 | string | Human-readable description | |||||||||
![]() ![]()  | Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.  | Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.  | |||||||||
![]() ![]()  | Σ | 1..* | BackboneElement | Document referenced | Σ | 1..* | BackboneElement | Document referenced | |||||||||
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
![]() ![]() ![]()  | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
![]() ![]() ![]()  | Σ | 1..1 | Attachment | Where to access the document | Σ | 1..1 | Attachment | Where to access the document | |||||||||
![]() ![]() ![]()  | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (required)  | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (required)  | |||||||||
![]() ![]()  | Σ | 0..1 | BackboneElement | Clinical context of document | Σ | 0..1 | BackboneElement | Clinical context of document | |||||||||
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
![]() ![]() ![]()  | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
![]() ![]() ![]()  | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document  content | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document  content | |||||||||||
![]() ![]() ![]()  | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (required)  | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (required)  | |||||||||||
![]() ![]() ![]()  | Σ | 0..1 | Period | Time of service that is being documented | Σ | 0..1 | Period | Time of service that is being documented | |||||||||
![]() ![]() ![]()  | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (required)  | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (required)  | |||||||||||
![]() ![]() ![]()  | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (required)  | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (required)  | |||||||||||
![]() ![]() ![]()  | 0..1 | Reference(ehealth-patient) | Patient demographics from source | 0..1 | Reference(ehealth-patient) | Patient demographics from source | 
  | ||||||||||
![]() ![]() ![]()  | 0..* | Reference(Resource) | Related identifiers or resources | 0..* | Reference(Resource) | Related identifiers or resources | |||||||||||
  Documentation for this format | |||||||||||||||||