## Union of https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference and https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference

This is the set of resources that conform to either of the profiles AT APS DocumentReference (https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference) and AT APS DocumentReference (https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference). 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..* |  | At APS DocumentReference
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 | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference.
docStatus | Σ | 0..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): Status of the underlying document.
type | Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (preferred): Precise type of clinical document.
category | Σ | 0..* | CodeableConcept | Categorization of document Binding: ?? (example): High-level kind of a clinical document at a macro level.
subject | Σ | 0..1 | Reference(AT APS Patient | AT APS Practitioner | Group | AT APS Device | #sd-at-aps-patient-at-aps-patient) | Who/what is the subject of the document
date | Σ | 0..1 | instant | When this document reference was created
author | Σ | 0..* | Reference(AT APS Practitioner | AT APS PractitionerRole | AT APS Organization | AT APS Device | AT APS Patient | RelatedPerson | #sd-at-aps-practitioner-at-aps-practitioner) | Who and/or what authored the document
authenticator |  | 0..1 | Reference(AT APS Practitioner | AT APS PractitionerRole | AT APS Organization | #sd-at-aps-practitioner-at-aps-practitioner) | Who/what authenticated the document
custodian |  | 0..1 | Reference(AT APS Organization), Reference(AT APS 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(AT APS DocumentReference), Reference(AT APS 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
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(AT APS Patient | #sd-at-aps-patient-at-aps-patient) | Patient demographics from source
related |  | 0..* | Reference(Resource) | Related identifiers or resources
Documentation for this format