## Profile Comparison between http://hl7.org/fhir/us/davinci-pcde/StructureDefinition/profile-composition vs http://hl7.org/fhir/us/davinci-pcde/StructureDefinition/profile-composition

Left: | PCDE Coverage Transition Composition Profile (http://hl7.org/fhir/us/davinci-pcde/StructureDefinition/profile-composition)
Right: | PCDE Coverage Transition Composition Profile (http://hl7.org/fhir/us/davinci-pcde/StructureDefinition/profile-composition)

### Messages

Information | StructureDefinition.date | Values for date differ: '2020-12-23T03:19:05+00:00' vs '2022-08-29T14:43:13+00:00'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Composition |
copyright |  |
date | 2020-12-23T03:19:05+00:00 | 2022-08-29T14:43:13+00:00 | Values Differ
description | Constraints on Composition to define the root and table of contents for a Coverage Transition Document |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | PCDEComposition |
publisher | HL7 International - Financial Management Work Group |
purpose |  |
status | active |
title | PCDE Coverage Transition Composition Profile |
type | Composition |
url | http://hl7.org/fhir/us/davinci-pcde/StructureDefinition/profile-composition |
version | 1.0.0 |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | L Type | L Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Composition |  | 0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation |  | 0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation |
id | Σ | 0..1 | string | Logical id of this artifact | Σ | 0..1 | string | 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: todo (preferred): A human language.
Additional Bindings | Purpose
todo | Max Binding
|  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |
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 |
identifier | Σ | 0..1 | Identifier | Version-independent identifier for the Composition | Σ | 0..1 | Identifier | Version-independent identifier for the Composition |
status | ?!S Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: todo (required): The workflow/clinical status of the composition. Fixed Value: final | ?!S Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. Fixed Value: final |
type | S Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: todo (preferred): Type of a composition. Required Pattern: {"coding":[{"system":"http://hl7.org/fhir/us/davinci-pcde/CodeSystem/PCDEtempCodes","code":"pcde"}]} | S Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. Required Pattern: {"coding":[{"system":"http://hl7.org/fhir/us/davinci-pcde/CodeSystem/PCDEtempCodes","code":"pcde"}]} |
category | Σ | 0..* | CodeableConcept | Categorization of Composition Binding: todo (example): High-level kind of a clinical document at a macro level. | Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. |
subject | S Σ | 1..1 | Reference(http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient) | Who and/or what the composition is about | S Σ | 1..1 | Reference(US Core Patient Profile) | 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 | S Σ | 1..1 | dateTime | Composition editing time | S Σ | 1..1 | dateTime | Composition editing time |
author | S Σ | 1..* | Reference(http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner | http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole | http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization) | Who and/or what authored the composition | S Σ | 1..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile) | Who and/or what authored the composition |
title | S Σ | 1..1 | string | Coverage Decision Exchange Document (patient name, date) | S Σ | 1..1 | string | Coverage Decision Exchange Document (patient name, date) |
confidentiality | Σ | 0..1 | code | As defined by affinity domain Binding: todo (required): Codes specifying the level of confidentiality of the composition. | Σ | 0..1 | code | As defined by affinity domain Binding: v3.ConfidentialityClassification (2014-03-26) (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: todo (required): The way in which a person authenticated a composition. |  | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (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: todo (required): The type of relationship between documents. |  | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (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 | S Σ | 0..* | BackboneElement | The clinical service(s) being documented | S Σ | 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: todo (example): This list of codes represents the main clinical acts being documented. | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: v3 Code System ActCode (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 | S Σ | 0..* | Reference(http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage) | The event(s) being documented | S Σ | 0..* | Reference(HRex Coverage Profile) | The event(s) being documented |
Slices for section | S I | 0..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by value:code | S I | 0..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by value: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 |
title | S | 1..1 | string | Label for section (e.g. for ToC) | S | 1..1 | string | Label for section (e.g. for ToC) |
code |  | 0..1 | CodeableConcept | Classification of section (recommended) Binding: todo (example): Classification of a section of a composition/document. |  | 0..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (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 | I | 0..1 | Narrative | Text summary of the section, for human interpretation | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode |  | 0..1 | code | working | snapshot | changes Binding: todo (required): The processing mode that applies to this section. |  | 0..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this section. |
orderedBy |  | 0..1 | CodeableConcept | Order of section entries Binding: todo (preferred): What order applies to the items in the entry. |  | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred): What order applies to the items in the entry. |
entry | I | 0..* | Reference(Resource) | A reference to data that supports this section | I | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: todo (preferred): If a section is empty, why it is empty. | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty. |
section | I | 0..* | See section (Composition) | Nested Section | I | 0..* | See section (Composition) | Nested Section |
Documentation for this format