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

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

### Messages

Information | Composition.language | Example/preferred bindings differ at Composition.language using binding from AUBaseComposition
Information | Composition.type | Example/preferred bindings differ at Composition.type using binding from AUBaseComposition
Information | Composition.section.orderedBy | Example/preferred bindings differ at Composition.section.orderedBy using binding from AUBaseComposition
Information | Composition.section.emptyReason | Example/preferred bindings differ at Composition.section.emptyReason using binding from AUBaseComposition

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Composition |
copyright | HL7 Australia© 2018+; Licensed Under Creative Commons No Rights Reserved. |
description | This profile defines a composition structure that localises core concepts for use in an Australian context. The purpose of this profile is to provide national level agreement on core localised concepts. This profile does not force conformance to core localised concepts. It enables implementers and modellers to make their own rules, i.e. [profiling](http://hl7.org/fhir/profiling.html), about how to support these concepts for specific implementation needs. |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#AU |
kind | resource |
name | AUBaseComposition |
publisher | HL7 Australia |
purpose |  |
status | active |
title | AU Base Composition |
type | Composition |
url | http://hl7.org.au/fhir/StructureDefinition/au-composition |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Composition |  | 0..* | Composition | Composition for the Australian realm |  | 0..* | Composition | Composition for the Australian realm |
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 Composition.language using binding from AUBaseComposition
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 |
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 | Σ | 0..1 | Identifier | Version-independent identifier for the Composition | Σ | 0..1 | Identifier | Version-independent identifier for the Composition |
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): The workflow/clinical status of the composition. | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): The workflow/clinical status of the composition. |
type | Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: ?? (preferred): Type of a composition. | Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: ?? (preferred): Type of a composition. | Example/preferred bindings differ at Composition.type using binding from AUBaseComposition
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 | Σ | 0..1 | Reference(Resource) | Who and/or what the composition is about | Σ | 0..1 | Reference(Resource) | Who and/or what the composition is about |
encounter | Σ | 0..1 | Reference(Encounter) | Context of the Composition | Σ | 0..1 | Reference(Encounter) | Context of the Composition |
date | Σ | 1..1 | dateTime | Composition editing time | Σ | 1..1 | dateTime | Composition editing time |
author | Σ | 1..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the composition | Σ | 1..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the composition |
title | Σ | 1..1 | string | Human Readable name/title | Σ | 1..1 | string | Human Readable name/title |
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 |  | 0..* | BackboneElement | Attests to accuracy of composition |  | 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 |  | 1..1 | code | personal | professional | legal | official Binding: ?? (required): The way in which a person authenticated a composition. |  | 1..1 | code | personal | professional | legal | official Binding: ?? (required): The way in which a person authenticated a composition. |
time |  | 0..1 | dateTime | When the composition was attested |  | 0..1 | dateTime | When the composition was attested |
party |  | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the composition |  | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the composition |
custodian | Σ | 0..1 | Reference(Organization) | Organization which maintains the composition | Σ | 0..1 | Reference(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) | Target of the relationship |  | 1..1 | Identifier, Reference(Composition) | Target of the relationship |
event | Σ | 0..* | BackboneElement | The clinical service(s) being documented | Σ | 0..* | BackboneElement | The clinical service(s) being documented |
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 |
section | C | 0..* | BackboneElement | Composition is broken into sections | C | 0..* | BackboneElement | Composition is broken into sections |
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 |
title |  | 0..1 | string | Label for section (e.g. for ToC) |  | 0..1 | string | Label for section (e.g. for ToC) |
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 | C | 0..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 | C | 0..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. | Example/preferred bindings differ at Composition.section.orderedBy using binding from AUBaseComposition
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. | Example/preferred bindings differ at Composition.section.emptyReason using binding from AUBaseComposition
section | C | 0..* | See section (Composition) | Nested Section | C | 0..* | See section (Composition) | Nested Section |
Documentation for this format