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

Left:Electronic Initial Case Report Composition (http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-composition)
Right:Electronic Initial Case Report Composition (http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-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.extensionElements differ in definition for mustSupport: 'false' vs 'true'
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/eicr-encounter]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-encounter]])
WarningComposition.authorElements differ in short: 'The author(s) of the document' vs 'The author(s) of the document. Where a trigger occurs outside of an encounter the author will be a US Public Health PractitionerRole and represent the Provider and Facility for reporting purposes.'
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]])
WarningComposition.sectionElements differ in definition for mustSupport: 'false' vs 'true'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-composition
      .copyright
        .date2022-01-18T12:57:33+00:002022-08-31T17:40:18+00:00
        • Values Differ
        .descriptionThis Composition profile represents an electronic initial case report (eICR). It is based on and further constrains the US Public Health Composition.
          .experimentalfalse
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#US
                  .kindresource
                    .nameEICRComposition
                      .publisherHL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)
                        .purpose
                          .statusactive
                            .titleElectronic Initial Case Report Composition
                              .typeComposition
                                .urlhttp://hl7.org/fhir/us/ecr/StructureDefinition/eicr-composition
                                  .version2.0.02.1.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                  .. Composition S0..*eICR Composition Profile
                                  S0..*USPublicHealthCompositioneICR 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
                                              S0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                              • Elements differ in definition for mustSupport: 'false' vs 'true'
                                              ... 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..1CodeableConceptPublic Health Case Report
                                                  Binding: todo (preferred): Type of a composition.


                                                  Required Pattern: {"coding":[{"system":"http://loinc.org","code":"55751-2"}]}
                                                  SΣ1..1CodeableConceptPublic Health Case Report
                                                  Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.


                                                  Required Pattern: {"coding":[{"system":"http://loinc.org","code":"55751-2"}]}
                                                    ... 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/eicr-encounter)Encounter related to the public health eventSΣ1..1Reference(eICR Encounter)Encounter related to the public health event
                                                      • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-encounter]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-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. Where a trigger occurs outside of an encounter the author will be a US Public Health PractitionerRole and represent the Provider and Facility for reporting purposes.
                                                        • Elements differ in short: 'The author(s) of the document' vs 'The author(s) of the document. Where a trigger occurs outside of an encounter the author will be a US Public Health PractitionerRole and represent the Provider and Facility for reporting purposes.'
                                                        • 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Σ1..1Reference(http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization)Organization which maintains the compositionSΣ1..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
                                                                                                    ... Slices for section I0..*BackboneElementComposition is broken into sections
                                                                                                    Slice: Unordered, Open by value:code
                                                                                                    SI0..*BackboneElementComposition is broken into sections
                                                                                                    Slice: Unordered, Open by value:code
                                                                                                    • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                                                    .... 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