## Profile Comparison between https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference vs https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference

Left: | AT APS DocumentReference (https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference)
Right: | AT APS DocumentReference (https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.0' vs '1.1.0'
Information | StructureDefinition.date | Values for date differ: '2026-02-16T11:31:16+00:00' vs '2026-02-17T12:24:21+00:00'
Error | DocumentReference.custodian | Type Mismatch: Reference([CanonicalType[https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-organization]]) vs Reference([CanonicalType[https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-organization]])
Error | DocumentReference.relatesTo.target | Type Mismatch: Reference([CanonicalType[https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference]]) vs Reference([CanonicalType[https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/DocumentReference |
copyright |  |
date | 2026-02-16T11:31:16+00:00 | 2026-02-17T12:24:21+00:00 | Values Differ
description | Das AT APS-Profil für die DocumentReference-Ressource berücksichtigt die österreichischen Vorgaben (z.B. Patient). |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#AT |
kind | resource |
name | AtApsDocumentReference |
publisher | ELGA GmbH |
purpose |  |
status | active |
title | AT APS DocumentReference |
type | DocumentReference |
url | https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference |
version | 1.0.0 | 1.1.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 | At APS DocumentReference |  | 0..* | DocumentReference | At APS DocumentReference |
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
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 | 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. |
docStatus | Σ | 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. |
type | Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (preferred): Precise type of clinical document. | Σ | 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. | Σ | 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) | Who/what is the subject of the document | Σ | 0..1 | Reference(AT APS Patient | AT APS Practitioner | Group | AT APS Device) | Who/what is the subject of the document |
date | Σ | 0..1 | instant | When this document reference was created | Σ | 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) | Who and/or what authored the document | Σ | 0..* | Reference(AT APS Practitioner | AT APS PractitionerRole | AT APS Organization | AT APS Device | AT APS Patient | RelatedPerson) | Who and/or what authored the document |
authenticator |  | 0..1 | Reference(AT APS Practitioner | AT APS PractitionerRole | AT APS Organization) | Who/what authenticated the document |  | 0..1 | Reference(AT APS Practitioner | AT APS PractitionerRole | AT APS Organization) | Who/what authenticated the document |
custodian |  | 0..1 | Reference(AT APS Organization) | Organization which maintains the document |  | 0..1 | Reference(AT APS Organization) | Organization which maintains the document | Type Mismatch: Reference([CanonicalType[https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-organization]]) vs Reference([CanonicalType[https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-organization]])
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(AT APS DocumentReference) | Target of the relationship | Σ | 1..1 | Reference(AT APS DocumentReference) | Target of the relationship | Type Mismatch: Reference([CanonicalType[https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference]]) vs Reference([CanonicalType[https://fhir.hl7.at/elga/aps/r4/StructureDefinition/at-aps-documentreference]])
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 |
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. |
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(AT APS Patient) | Patient demographics from source |  | 0..1 | Reference(AT APS Patient) | Patient demographics from source |
related |  | 0..* | Reference(Resource) | Related identifiers or resources |  | 0..* | Reference(Resource) | Related identifiers or resources |
Documentation for this format