## Profile Comparison between http://fhir.hl7.nl/zorgviewer/StructureDefinition/DocumentReference vs http://fhir.hl7.nl/zorgviewer/StructureDefinition/DocumentReference

Left: | DocumentReference (http://fhir.hl7.nl/zorgviewer/StructureDefinition/DocumentReference)
Right: | DocumentReference (http://fhir.hl7.nl/zorgviewer/StructureDefinition/DocumentReference)

### Messages

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://nictiz.nl/fhir/StructureDefinition/IHE.MHD.Minimal.DocumentReference |
copyright |  |
description | Verwijzingen naar document | Verwijzingen naar documenten en Correspondentie | Values Differ
experimental |  |
fhirVersion | 3.0.2 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#NL |
kind | resource |
name | DocumentReference |
publisher | RIVO-NN HL7NL |
purpose |  |
status | active |
title | DocumentReference |
type | DocumentReference |
url | http://fhir.hl7.nl/zorgviewer/StructureDefinition/DocumentReference |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
DocumentReference | C | 0..* |  | A reference to a document Constraints: zv-dr-1 | C | 0..* | Nictiz.IHE.MHD.Minimal.DocumentReference | A reference to a document Constraints: zv-dr-1 |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 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 |
language |  | 0..1 | code | Language of the resource content Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 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 |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
masterIdentifier | S Σ | 1..1 | Identifier | Master Version Specific Identifier | S Σ | 1..1 | Identifier | Master Version Specific Identifier |
identifier | S Σ | 0..* | Identifier | Other identifiers for the document | S Σ | 0..* | Identifier | Other identifiers for the document |
status | ?!S Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference. | ?!S Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference. |
docStatus | Σ | 0..0 |  | preliminary | final | appended | amended | entered-in-error Binding: ?? (required): Status of the underlying document. | Σ | 0..0 |  | preliminary | final | appended | amended | entered-in-error Binding: ?? (required): Status of the underlying document. |
type | S Σ | 1..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (extensible) | S Σ | 1..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (extensible) |
class | S Σ | 0..1 | CodeableConcept | Categorization of document Binding: ?? (extensible) | S Σ | 0..1 | CodeableConcept | Categorization of document Binding: ?? (extensible) |
subject | S Σ | 0..1 | Reference(Patient) {r, b} | Who/what is the subject of the document | S Σ | 0..1 | Reference(Patient) {r, b} | Who/what is the subject of the document |
created | Σ | 0..0 |  | Document creation time | Σ | 0..0 |  | Document creation time |
indexed | S Σ | 1..1 | instant | When this document reference was created | S Σ | 1..1 | instant | When this document reference was created |
author | S Σ | 0..* | Reference(Practitioner | Organization) {c} | Who and/or what authored the document | S Σ | 0..* | Reference(Practitioner | Organization) {c} | Who and/or what authored the document |
authenticator | Σ | 0..1 | Reference() {c} | Who/what authenticated the document | Σ | 0..1 | Reference() {c} | Who/what authenticated the document |
custodian | Σ | 0..0 |  | Organization which maintains the document | Σ | 0..0 |  | Organization which maintains the document |
relatesTo | ?!S Σ | 0..* | BackboneElement | Relationships to other documents | ?!S Σ | 0..* | BackboneElement | Relationships to other documents |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
code | Σ | 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. |
target | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship |
description | S Σ | 0..1 | string | Human-readable description (title) | S Σ | 0..1 | string | Human-readable description (title) |
securityLabel | S Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | S Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
content | S Σ | 1..1 | BackboneElement | Document referenced | S Σ | 1..1 | BackboneElement | Document referenced |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
attachment | S Σ C | 1..1 | Attachment | Where to access the document Constraints: zv-dr-2 | S Σ C | 1..1 | Attachment | Where to access the document Constraints: zv-dr-2 |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
contentType | S Σ | 1..1 | code | Mime type of the content, with charset etc. Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | S Σ | 1..1 | code | Mime type of the content, with charset etc. Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png |
language | S Σ | 0..1 | code | Human language of the content (BCP-47) Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
Example General: en-AU | S Σ | 0..1 | code | Human language of the content (BCP-47) Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
Example General: en-AU |
data |  | 0..0 |  | Data inline, base64ed |  | 0..0 |  | Data inline, base64ed |
url | S Σ | 1..1 | uri | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | S Σ | 1..1 | uri | Uri where the data can be found Example General: http://www.acme.com/logo-small.png |
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) |
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
title | Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo |
creation | Σ | 0..0 |  | Date attachment was first created | Σ | 0..0 |  | Date attachment was first created |
format | S Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred): Document Format Codes. | S Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred): Document Format Codes. |
context | Σ | 0..1 | BackboneElement | Clinical context of document | Σ | 0..1 | BackboneElement | Clinical context of document |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
encounter | Σ | 0..1 | Reference(Encounter) | Context of the document content | Σ | 0..1 | Reference(Encounter) | Context of the document content |
event | Σ | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. | Σ | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. |
period | S Σ | 0..1 | Period | Time of service that is being documented | S Σ | 0..1 | Period | Time of service that is being documented |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
start | S Σ C | 0..1 | dateTime | Starting time with inclusive boundary | S Σ C | 0..1 | dateTime | Starting time with inclusive boundary |
end | Σ C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | Σ C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
facilityType | S Σ | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type. | S Σ | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type. |
practiceSetting | S Σ | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty). | S Σ | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty). |
sourcePatientInfo | S Σ | 0..1 | Reference() {c} | Patient demographics from source | S Σ | 0..1 | Reference() {c} | Patient demographics from source |
related | Σ | 0..* | BackboneElement | Related identifiers or resources | Σ | 0..* | BackboneElement | Related identifiers or resources |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..1 | Identifier | Identifier of related objects or events | Σ | 0..1 | Identifier | Identifier of related objects or events |
ref | Σ | 0..1 | Reference(Resource) | Related Resource | Σ | 0..1 | Reference(Resource) | Related Resource |
Documentation for this format