## Union of http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp and http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp

This is the set of resources that conform to either of the profiles DocumentReference: PCSP (http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp) and DocumentReference: PCSP (http://hl7.eu/fhir/ig/pcsp/StructureDefinition/DocumentReference-eu-pcsp). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DocumentReference |  | 0..* |  | A reference to a document
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 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.
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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
masterIdentifier | Σ | 0..1 | Identifier | Master Version Specific Identifier
identifier | Σ | 0..* | Identifier | Other identifiers for the document
status | ?!Σ | 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.
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"}]}
category | Σ | 0..* | CodeableConcept | Categorization of document Binding: ?? (example): High-level kind of a clinical document at a macro level.
subject | Σ | 1..1 | Reference(Patient: PCSP | #sd-Patient-eu-pcsp-Patient-eu-pcsp) | Who/what is the subject of the document
date | Σ | 0..1 | instant | When this reference was created
author | Σ | 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
custodian |  | 0..1 | Reference(Organization) | Organization which maintains the document
relatesTo | Σ | 0..* | BackboneElement | Relationships to other documents.
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 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.
target | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship
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.
content | Σ | 1..* | BackboneElement | Document referenced
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
attachment | Σ | 1..1 | Attachment | Where to access the document
extension |  | 0..* | Extension | Additional content defined by implementations
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
language | Σ | 1..1 | code | Human language of the content (BCP-47) Binding: ?? (preferred): A human language. Example General: en-AU
data |  | 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
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided)
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed)
title | Σ | 0..1 | string | Document title Example General: Official Corporate Logo
creation | Σ | 1..1 | dateTime | Date attachment was first created
format | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred): Document Format Codes.
context | Σ | 0..1 | BackboneElement | Clinical context of document
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
encounter |  | 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.
period | Σ | 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.
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).
sourcePatientInfo |  | 0..1 | Reference(Patient) | Patient demographics from source
related |  | 0..* | Reference(Condition: Primary Cancer | Procedure: Radiotherapy | #sd-Condition-primaryCancer-eu-pcsp-Condition-primaryCancer-eu-pcsp) | required for documents to be uploaded
Documentation for this format