## Profile Comparison between http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition vs http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition

Left: | AU PS Composition (http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition)
Right: | AU PS Composition (http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.1.0-preview' vs '0.2.0-preview'
Information | StructureDefinition.date | Values for date differ: '2025-03-10T12:43:34+00:00' vs '2025-06-19T06:07:05+10:00'
Warning | Composition.section.title | Elements differ in definition for mustSupport: 'false' vs 'true'
Information | Composition.section.title | Element minimum cardinalities differ: '0' vs '1'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org.au/fhir/StructureDefinition/au-composition |
copyright | Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2022+; Licensed Under Creative Commons No Rights Reserved. |
date | 2025-03-10T12:43:34+00:00 | 2025-06-19T06:07:05+10:00 | Values Differ
description | This profile sets minimum expectations for a Composition resource in the context of a patient summary in an Australian context. It is based on [AU Base Composition](http://hl7.org.au/fhir/StructureDefinition/au-composition) and imposes [Composition (IPS)](http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips). |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#AU |
kind | resource |
name | AUPSComposition |
publisher | HL7 Australia |
purpose |  |
status | draft |
title | AU PS Composition |
type | Composition |
url | http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition |
version | 0.1.0-preview | 0.2.0-preview | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Composition |  | 0..* | AUBaseComposition | Patient Summary composition This profile also imposes the profile Composition (IPS) |  | 0..* | AUBaseComposition | Patient Summary composition This profile also imposes the profile Composition (IPS) |
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 | S | 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 | S | 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 |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S Σ | 0..1 | Identifier | Version-independent identifier for the Composition | S Σ | 0..1 | Identifier | Version-independent identifier for the Composition |
status | ?!S Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): The workflow/clinical status of the composition. | ?!S Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): The workflow/clinical status of the composition. |
type | S Σ | 1..1 | ?? | Kind of composition ("Patient Summary") Binding: ?? (preferred): Type of a composition. Required Pattern: {"coding":[{"system":"http://loinc.org","code":"60591-5"}]} | S Σ | 1..1 | ?? | Kind of composition ("Patient Summary") Binding: ?? (preferred): Type of a composition. Required Pattern: {"coding":[{"system":"http://loinc.org","code":"60591-5"}]} |
category | Σ | 0..* | CodeableConcept | Categorization of Composition Binding: ?? (example): High-level kind of a clinical document at a macro level. | Σ | 0..* | CodeableConcept | Categorization of Composition Binding: ?? (example): High-level kind of a clinical document at a macro level. |
subject | S Σ | 1..1 | Reference(AU PS Patient) | Who and/or what the composition is about | S Σ | 1..1 | Reference(AU PS Patient) | Who and/or what the composition is about |
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 |
reference | S Σ C | 1..1 | string | Literal reference, Relative, internal or absolute URL | S Σ C | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
encounter | Σ | 0..1 | Reference(Encounter) | Context of the Composition | Σ | 0..1 | Reference(Encounter) | Context of the Composition |
date | S Σ | 1..1 | dateTime | Composition editing time | S Σ | 1..1 | dateTime | Composition editing time |
author | S Σ | 1..* | Reference(AU PS Practitioner | AU PS PractitionerRole | Device | AU PS Patient | AU PS RelatedPerson | AU PS Organization) | Who and/or what authored the patient summary | S Σ | 1..* | Reference(AU PS Practitioner | AU PS PractitionerRole | Device | AU PS Patient | AU PS RelatedPerson | AU PS Organization) | Who and/or what authored the patient summary |
title | S Σ | 1..1 | string | Patient Summary | S Σ | 1..1 | string | Patient Summary |
confidentiality | Σ | 0..1 | code | As defined by affinity domain Binding: ?? (required): Codes specifying the level of confidentiality of the composition. | Σ | 0..1 | code | As defined by affinity domain Binding: ?? (required): Codes specifying the level of confidentiality of the composition. |
attester | S | 0..* | BackboneElement | Attests to accuracy of composition | S | 0..* | BackboneElement | Attests to accuracy of composition |
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 |
mode | S | 1..1 | code | personal | professional | legal | official Binding: ?? (required): The way in which a person authenticated a composition. | S | 1..1 | code | personal | professional | legal | official Binding: ?? (required): The way in which a person authenticated a composition. |
time | S | 0..1 | dateTime | When the composition was attested | S | 0..1 | dateTime | When the composition was attested |
party | S | 0..1 | Reference(AU PS Patient | AU PS RelatedPerson | AU PS Practitioner | AU PS PractitionerRole | AU PS Organization) | Who attested the composition | S | 0..1 | Reference(AU PS Patient | AU PS RelatedPerson | AU PS Practitioner | AU PS PractitionerRole | AU PS Organization) | Who attested the composition |
custodian | S Σ | 0..1 | Reference(AU PS Organization) | Organization which maintains the composition | S Σ | 0..1 | Reference(AU PS Organization) | Organization which maintains the composition |
relatesTo |  | 0..* | BackboneElement | Relationships to other compositions/documents |  | 0..* | BackboneElement | Relationships to other compositions/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[x] |  | 1..1 | Identifier, Reference(Composition | Composition (IPS) | AU PS Composition) | Target of the relationship |  | 1..1 | Identifier, Reference(Composition | Composition (IPS) | AU PS Composition) | Target of the relationship |
Slices for event | Σ | 0..* | BackboneElement | The clinical service(s) being documented Slice: Unordered, Open by pattern:code | Σ | 0..* | BackboneElement | The clinical service(s) being documented Slice: Unordered, Open by pattern:code |
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 | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. |
period | Σ | 0..1 | Period | The period covered by the documentation | Σ | 0..1 | Period | The period covered by the documentation |
detail | Σ | 0..* | Reference(Resource) | The event(s) being documented | Σ | 0..* | Reference(Resource) | The event(s) being documented |
Slices for section | S C | 3..* | BackboneElement | Sections composing the patient summary Slice: Unordered, Open by pattern:code | S C | 3..* | BackboneElement | Sections composing the patient summary Slice: Unordered, Open by pattern:code |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title |  | 0..1 | string | Label for section (e.g. for ToC) | S | 1..1 | string | Label for section (e.g. for ToC) | Elements differ in definition for mustSupport: 'false' vs 'true' Element minimum cardinalities differ: '0' vs '1'
code |  | 0..1 | CodeableConcept | Classification of section (recommended) Binding: ?? (example): Classification of a section of a composition/document. |  | 0..1 | CodeableConcept | Classification of section (recommended) Binding: ?? (example): Classification of a section of a composition/document. |
author |  | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section |  | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section |
focus |  | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition |  | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition |
text | S C | 1..1 | Narrative | Text summary of the section, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | S C | 1..1 | Narrative | Text summary of the section, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
mode |  | 0..1 | code | working | snapshot | changes Binding: ?? (required): The processing mode that applies to this section. |  | 0..1 | code | working | snapshot | changes Binding: ?? (required): The processing mode that applies to this section. |
orderedBy |  | 0..1 | CodeableConcept | Order of section entries Binding: ?? (preferred): What order applies to the items in the entry. |  | 0..1 | CodeableConcept | Order of section entries Binding: ?? (preferred): What order applies to the items in the entry. |
entry | C | 0..* | Reference(Resource) | A reference to data that supports this section | C | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | C | 0..1 | CodeableConcept | Why the section is empty Binding: ?? (preferred): If a section is empty, why it is empty. | C | 0..1 | CodeableConcept | Why the section is empty Binding: ?? (preferred): If a section is empty, why it is empty. |
section | C | 0..0 |  |  | C | 0..0 |  |  |
Documentation for this format