Profile Comparison between http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-composition vs http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-composition

Left:US Public Health Composition (http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-composition)
Right:US Public Health Composition (http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-composition)

Messages

ErrorStructureDefinition.versionValues for version differ: '2.0.0' vs '2.1.0'
InformationStructureDefinition.dateValues for date differ: '2022-01-18T12:57:33+00:00' vs '2022-08-31T17:40:18+00:00'
WarningComposition.identifierElements differ in definition: 'Public Health Composition identifier. This is equivalent to ClinicalDocument.setId in CDA. The id of the containing Bundle is equivalent to ClinicalDocument.id in CDA and Composition.sliceExtensionVersionNumber is equivalent to ClinicalDocument.versionNumber in CDA.' vs 'Public Health Composition identifier. This is equivalent to ClinicalDocument.setId in CDA. The identifier of the containing Bundle is equivalent to ClinicalDocument.id in CDA and Composition.sliceExtensionVersionNumber is equivalent to ClinicalDocument.versionNumber in CDA.'
ErrorComposition.subjectType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-patient]])
ErrorComposition.encounterType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter]])
ErrorComposition.authorType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-practitionerrole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-practitionerrole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device]])
ErrorComposition.custodianType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization]])

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Composition
      .copyright
        .date2022-01-18T12:57:33+00:002022-08-31T17:40:18+00:00
        • Values Differ
        .descriptionThis Composition profile represents a public health composition.
          .experimentalfalse
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#US
                  .kindresource
                    .nameUSPublicHealthComposition
                      .publisherHL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)
                        .purpose
                          .statusactive
                            .titleUS Public Health Composition
                              .typeComposition
                                .urlhttp://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-composition
                                  .version2.0.02.1.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                  .. Composition S0..*CompositionUS Public Health Composition Profile
                                  S0..*CompositionUS Public Health Composition Profile
                                    ... id Σ0..1stringLogical id of this artifactΣ0..1stringLogical id of this artifact
                                      ... meta Σ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                                        ... implicitRules ?!Σ0..1uriA set of rules under which this content was created?!Σ0..1uriA set of rules under which this content was created
                                          ... text 0..1NarrativeText summary of the resource, for human interpretation0..1NarrativeText summary of the resource, for human interpretation
                                            ... contained 0..*ResourceContained, inline Resources
                                            0..*ResourceContained, inline Resources
                                              ... Slices for extension 0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                              0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                                ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                                ?!0..*ExtensionExtensions that cannot be ignored
                                                  ... identifier SΣ1..1IdentifierPublic Health Composition identifierSΣ1..1IdentifierPublic Health Composition identifier
                                                  • Elements differ in definition: 'Public Health Composition identifier. This is equivalent to ClinicalDocument.setId in CDA. The id of the containing Bundle is equivalent to ClinicalDocument.id in CDA and Composition.sliceExtensionVersionNumber is equivalent to ClinicalDocument.versionNumber in CDA.' vs 'Public Health Composition identifier. This is equivalent to ClinicalDocument.setId in CDA. The identifier of the containing Bundle is equivalent to ClinicalDocument.id in CDA and Composition.sliceExtensionVersionNumber is equivalent to ClinicalDocument.versionNumber in CDA.'
                                                  ... status ?!SΣ1..1codepreliminary | final | amended | entered-in-error
                                                  Binding: todo (required): The workflow/clinical status of the composition.

                                                  ?!SΣ1..1codepreliminary | final | amended | entered-in-error
                                                  Binding: CompositionStatus (required): The workflow/clinical status of the composition.

                                                    ... type SΣ1..1CodeableConceptType of this public health report
                                                    Binding: todo (preferred): Type of a composition.

                                                    SΣ1..1CodeableConceptType of this public health report
                                                    Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.

                                                      ... category Σ0..*CodeableConceptCategorization of Composition
                                                      Binding: todo (example): High-level kind of a clinical document at a macro level.


                                                      Σ0..*CodeableConceptCategorization of Composition
                                                      Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.


                                                        ... subject SΣ1..1Reference(http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-patient)PatientSΣ1..1Reference(US Public Health Patient)Patient
                                                        • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-patient]])
                                                        ... encounter SΣ1..1Reference(http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter)Encounter related to the public health eventSΣ1..1Reference(US Public Health Encounter)Encounter related to the public health event
                                                        • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter]])
                                                        ... date SΣ1..1dateTimeComposition editing timeSΣ1..1dateTimeComposition editing time
                                                          ... author SΣ1..*Reference(http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-practitionerrole | http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner | http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization | Device)The author(s) of the document
                                                          SΣ1..*Reference(US Public Health PractitionerRole | US Core Practitioner Profile | US Public Health Organization | Device)The author(s) of the document
                                                          • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-practitionerrole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-practitionerrole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device]])
                                                          ... title SΣ1..1stringHuman Readable name/titleSΣ1..1stringHuman Readable name/title
                                                            ... confidentiality Σ0..1codeAs defined by affinity domain
                                                            Binding: todo (required): Codes specifying the level of confidentiality of the composition.

                                                            Σ0..1codeAs defined by affinity domain
                                                            Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.

                                                              ... attester 0..*BackboneElementAttests to accuracy of composition
                                                              0..*BackboneElementAttests to accuracy of composition
                                                                .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                  .... extension 0..*ExtensionAdditional content defined by implementations
                                                                  0..*ExtensionAdditional content defined by implementations
                                                                    .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                    ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                      .... mode 1..1codepersonal | professional | legal | official
                                                                      Binding: todo (required): The way in which a person authenticated a composition.

                                                                      1..1codepersonal | professional | legal | official
                                                                      Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.

                                                                        .... time 0..1dateTimeWhen the composition was attested0..1dateTimeWhen the composition was attested
                                                                          .... party 0..1Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization)Who attested the composition0..1Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization)Who attested the composition
                                                                            ... custodian SΣ0..1Reference(http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization)Organization which maintains the compositionSΣ0..1Reference(US Public Health Organization)Organization which maintains the composition
                                                                            • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization]])
                                                                            ... Slices for relatesTo S0..*BackboneElementRelationships to other compositions/documents
                                                                            Slice: Unordered, Open by value:code
                                                                            S0..*BackboneElementRelationships to other compositions/documents
                                                                            Slice: Unordered, Open by value:code
                                                                              .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                0..*ExtensionAdditional content defined by implementations
                                                                                  .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                  ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                    .... code 1..1codereplaces | transforms | signs | appends
                                                                                    Binding: todo (required): The type of relationship between documents.

                                                                                    1..1codereplaces | transforms | signs | appends
                                                                                    Binding: DocumentRelationshipType (required): The type of relationship between documents.

                                                                                      .... target[x] 1..1Identifier, Reference(Composition)Target of the relationship1..1Identifier, Reference(Composition)Target of the relationship
                                                                                        ... event Σ0..*BackboneElementThe clinical service(s) being documented
                                                                                        Σ0..*BackboneElementThe clinical service(s) being documented
                                                                                          .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                            .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                            0..*ExtensionAdditional content defined by implementations
                                                                                              .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                              ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                .... code Σ0..*CodeableConceptCode(s) that apply to the event being documented
                                                                                                Binding: todo (example): This list of codes represents the main clinical acts being documented.


                                                                                                Σ0..*CodeableConceptCode(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..1PeriodThe period covered by the documentationΣ0..1PeriodThe period covered by the documentation
                                                                                                    .... detail Σ0..*Reference(Resource)The event(s) being documented
                                                                                                    Σ0..*Reference(Resource)The event(s) being documented
                                                                                                      ... section I0..*BackboneElementComposition is broken into sections
                                                                                                      cmp-1: A section must contain at least one of text, entries, or sub-sections
                                                                                                      cmp-2: A section can only have an emptyReason if it is empty
                                                                                                      I0..*BackboneElementComposition is broken into sections
                                                                                                        .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                          .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                          0..*ExtensionAdditional content defined by implementations
                                                                                                            .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                            ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                              .... title 0..1stringLabel for section (e.g. for ToC)0..1stringLabel for section (e.g. for ToC)
                                                                                                                .... code 0..1CodeableConceptClassification of section (recommended)
                                                                                                                Binding: todo (example): Classification of a section of a composition/document.

                                                                                                                0..1CodeableConceptClassification 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..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
                                                                                                                      .... text I0..1NarrativeText summary of the section, for human interpretationI0..1NarrativeText summary of the section, for human interpretation
                                                                                                                        .... mode 0..1codeworking | snapshot | changes
                                                                                                                        Binding: todo (required): The processing mode that applies to this section.

                                                                                                                        0..1codeworking | snapshot | changes
                                                                                                                        Binding: ListMode (required): The processing mode that applies to this section.

                                                                                                                          .... orderedBy 0..1CodeableConceptOrder of section entries
                                                                                                                          Binding: todo (preferred): What order applies to the items in the entry.

                                                                                                                          0..1CodeableConceptOrder of section entries
                                                                                                                          Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

                                                                                                                            .... entry I0..*Reference(Resource)A reference to data that supports this section
                                                                                                                            I0..*Reference(Resource)A reference to data that supports this section
                                                                                                                              .... emptyReason I0..1CodeableConceptWhy the section is empty
                                                                                                                              Binding: todo (preferred): If a section is empty, why it is empty.

                                                                                                                              I0..1CodeableConceptWhy the section is empty
                                                                                                                              Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

                                                                                                                                .... section I0..*See section (Composition)Nested Section
                                                                                                                                I0..*See section (Composition)Nested Section

                                                                                                                                  doco Documentation for this format