## Profile Comparison between http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp vs http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp

Left: | DocumentReference: PCSP (http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp)
Right: | DocumentReference: PCSP (http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.1.0' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2023-01-26T09:50:21+01:00' vs '2026-01-16T12:01:48+00:00'
Information | DocumentReference.language | Example/preferred bindings differ at DocumentReference.language using binding from DocumentReferencePcsp
Information | DocumentReference.content.attachment.language | Example/preferred bindings differ at DocumentReference.content.attachment.language using binding from DocumentReferencePcsp
Information | DocumentReference.content.format | Example/preferred bindings differ at DocumentReference.content.format using binding from DocumentReferencePcsp

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/DocumentReference |
copyright |  |
date | 2023-01-26T09:50:21+01:00 | 2026-01-16T12:01:48+00:00 | Values Differ
description | This profile defines how to embed a PDF PCSP Survivor Passport in FHIR for the purpose of the PanCareSurPass project. This profile can be aslo used for send attachments (e.g Raditherapy reports or HDR) to the platform |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#150 |
kind | resource |
name | DocumentReferencePcsp |
publisher | PanCareSurPass Project |
purpose |  |
status | active |
title | DocumentReference: PCSP |
type | DocumentReference |
url | http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp |
version | 0.1.0 | 1.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
DocumentReference |  | 0..* | DocumentReference | A reference to a document |  | 0..* | DocumentReference | A reference to a document |
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: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
| Example/preferred bindings differ at DocumentReference.language using binding from DocumentReferencePcsp
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 | Σ | 0..1 | Identifier | Master Version Specific Identifier | Σ | 0..1 | Identifier | Master Version Specific Identifier |
identifier | Σ | 0..* | Identifier | Other identifiers for the document | Σ | 0..* | Identifier | Other identifiers for the document |
status | ?!Σ | 1..1 | code | The status of this reference Binding: ?? (required): The status of the document reference. | ?!Σ | 1..1 | code | The status of this reference Binding: ?? (required): The status of the document reference. |
docStatus | Σ | 0..1 | code | The status of the document Binding: ?? (required): Status of the underlying document. | Σ | 0..1 | code | The status of the document Binding: ?? (required): Status of the underlying document. |
type | Σ | 1..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (extensible) Example Passport: {"coding":[{"system":"http://hl7.eu/fhir/ig/pcsp/CodeSystem/cs-generic-eu-pcsp","code":"surpass","display":"Childhood Cancer Survivor Passport"}]} | Σ | 1..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (extensible) Example Passport: {"coding":[{"system":"http://hl7.eu/fhir/ig/pcsp/CodeSystem/cs-generic-eu-pcsp","code":"surpass","display":"Childhood Cancer Survivor Passport"}]} |
category | Σ | 0..* | CodeableConcept | Categorization of document Binding: ?? (example): High-level kind of a clinical document at a macro level. | Σ | 0..* | CodeableConcept | Categorization of document Binding: ?? (example): High-level kind of a clinical document at a macro level. |
subject | Σ | 1..1 | Reference(Patient: PCSP) | Who/what is the subject of the document | Σ | 1..1 | Reference(Patient: PCSP) | Who/what is the subject of the document |
date | Σ | 0..1 | instant | When this reference was created | Σ | 0..1 | instant | When this reference was created |
author | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Who and/or what authored the document | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Who and/or what authored the document |
authenticator |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who/what authenticated the document |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who/what authenticated the document |
custodian |  | 0..1 | Reference(Organization) | Organization which maintains the document |  | 0..1 | Reference(Organization) | Organization which maintains the document |
relatesTo | Σ | 0..* | BackboneElement | Relationships to other documents. | Σ | 0..* | BackboneElement | Relationships to other documents. |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
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 | Σ | 0..1 | string | Human-readable description | Σ | 0..1 | string | Human-readable description |
securityLabel | Σ | 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. |
content | Σ | 1..* | BackboneElement | Document referenced | Σ | 1..* | BackboneElement | Document referenced |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
attachment | Σ | 1..1 | Attachment | Where to access the document | Σ | 1..1 | Attachment | Where to access the document |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
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 | Σ | 0..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 Example PDF: application/pdf | Σ | 0..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 Example PDF: application/pdf |
language | Σ | 1..1 | code | Human language of the content (BCP-47) Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
Example General: en-AU | Σ | 1..1 | code | Human language of the content (BCP-47) Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
Example General: en-AU | Example/preferred bindings differ at DocumentReference.content.attachment.language using binding from DocumentReferencePcsp
data |  | 1..1 | base64Binary | Data inline, base64ed |  | 1..1 | base64Binary | Data inline, base64ed |
url | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | Σ | 0..1 | url | 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 | Document title Example General: Official Corporate Logo | Σ | 0..1 | string | Document title Example General: Official Corporate Logo |
creation | Σ | 1..1 | dateTime | Date attachment was first created | Σ | 1..1 | dateTime | Date attachment was first created |
format | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred): Document Format Codes. | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred): Document Format Codes. | Example/preferred bindings differ at DocumentReference.content.format using binding from DocumentReferencePcsp
context | Σ | 0..1 | BackboneElement | Clinical context of document | Σ | 0..1 | BackboneElement | Clinical context of document |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
encounter |  | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content |  | 0..* | Reference(Encounter | EpisodeOfCare) | 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 | Σ | 0..1 | Period | Time of service that is being documented | Σ | 0..1 | Period | Time of service that is being documented |
facilityType |  | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type. |  | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type. |
practiceSetting |  | 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). |  | 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 |  | 0..1 | Reference(Patient) | Patient demographics from source |  | 0..1 | Reference(Patient) | Patient demographics from source |
related |  | 0..* | Reference(Condition: Primary Cancer | Procedure: Radiotherapy) | required for documents to be uploaded |  | 0..* | Reference(Condition: Primary Cancer | Procedure: Radiotherapy) | required for documents to be uploaded |
Documentation for this format