Profile Comparison between http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr vs http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr

Left:CH Allergy Intolerance Composition Profile (http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr)
Right:CH Allergy Intolerance Composition Profile (http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr)

Messages

ErrorStructureDefinition.versionValues for version differ: '0.2.0' vs '1.0.0'
InformationComposition.sectionElement minimum cardinalities differ: '2' vs '1'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr
      .copyrightCC-BY-SA-4.0
        .date2021-04-09
          .descriptionDefinition of the composition for the allergy intolerance document
            .experimentalfalse
              .fhirVersion4.0.1
                .jurisdiction
                  ..jurisdiction[0]urn:iso:std:iso:3166#CH
                    .kindresource
                      .nameCHAllergyIntoleranceCompositionEPR
                        .publisherHL7 Switzerland
                          .purpose
                            .statusactive
                              .titleCH Allergy Intolerance Composition Profile
                                .typeComposition
                                  .urlhttp://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr
                                    .version0.2.01.0.0
                                    • Values Differ

                                    Structure

                                    NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                    .. Composition 0..*CHCoreCompositionEPRCH Allergy Intolerance Composition
                                    0..*CHCoreCompositionEPRCH Allergy Intolerance Composition
                                      ... 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 Σ1..1IdentifierIdentification number of the documentΣ1..1IdentifierIdentification number of the document
                                                      .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                        .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                        Slice: Unordered, Open by value:url
                                                        0..*ExtensionAdditional content defined by implementations
                                                        Slice: Unordered, Open by value:url
                                                          .... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
                                                          Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

                                                          ?!Σ0..1codeusual | official | temp | secondary | old (If known)
                                                          Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

                                                            .... type Σ0..1CodeableConceptDescription of identifier
                                                            Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                                                            Σ0..1CodeableConceptDescription of identifier
                                                            Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                                                              .... system Σ0..1uriThe namespace for the identifier value
                                                              Fixed Value: urn:ietf:rfc:3986
                                                              Σ0..1uriThe namespace for the identifier value
                                                              Fixed Value: urn:ietf:rfc:3986
                                                                .... value Σ0..1stringThe value that is unique
                                                                Example General: 123456
                                                                Σ0..1stringThe value that is unique
                                                                Example General: 123456
                                                                  .... period Σ0..1PeriodTime period when id is/was valid for useΣ0..1PeriodTime period when id is/was valid for use
                                                                    .... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)Σ0..1Reference(Organization)Organization that issued id (may be just text)
                                                                      ... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
                                                                      Binding: CompositionStatus (required): The workflow/clinical status of the composition.


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


                                                                      Fixed Value: final
                                                                        ... type Σ1..1CodeableConceptDocument type
                                                                        Binding: DocumentEntry.typeCode (required): Precise type of clinical document.


                                                                        Required Pattern: {"coding":[{"system":"http://snomed.info/sct","code":"722446000","display":"Allergy record (record artifact)"}]}
                                                                        Σ1..1CodeableConceptDocument type
                                                                        Binding: DocumentEntry.typeCode (required): Precise type of clinical document.


                                                                        Required Pattern: {"coding":[{"system":"http://snomed.info/sct","code":"722446000","display":"Allergy record (record artifact)"}]}
                                                                          ... category Σ0..*CodeableConceptCategorization of Composition
                                                                          Binding: DocumentClassValueSet (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 Σ1..1Reference(CH Core Patient Profile EPR)A patient for whom this document instance was createdΣ1..1Reference(CH Core Patient Profile EPR)A patient for whom this document instance was created
                                                                              .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                Slice: Unordered, Open by value:url
                                                                                0..*ExtensionAdditional content defined by implementations
                                                                                Slice: Unordered, Open by value:url
                                                                                  .... reference ΣI1..1stringLiteral reference, Relative, internal or absolute URLΣI1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                    .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                    Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                    Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                    Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                      .... identifier Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                        .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                          ... encounter Σ0..1Reference(CH Core Encounter Profile)Context of the CompositionΣ0..1Reference(CH Core Encounter Profile)Context of the Composition
                                                                                            ... date Σ1..1dateTimeThe document's creation date and timeΣ1..1dateTimeThe document's creation date and time
                                                                                              ... author Σ1..*Reference(CH Core Practitioner Profile EPR | CH Core Practitioner Role Profile | Device | CH Core Patient Profile EPR | RelatedPerson | CH Core Organization Profile EPR)The author of the document (person or device)
                                                                                              Σ1..*Reference(CH Core Practitioner Profile EPR | CH Core Practitioner Role Profile | Device | CH Core Patient Profile EPR | RelatedPerson | CH Core Organization Profile EPR)The author of the document (person or device)
                                                                                                .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                  .... ch-ext-epr-time 0..1dateTimeTimestamp of the authorship/data input
                                                                                                  URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
                                                                                                  Slice: Unordered, Open by value:url
                                                                                                  0..1dateTimeTimestamp of the authorship/data input
                                                                                                  URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
                                                                                                  Slice: Unordered, Open by value:url
                                                                                                    .... reference ΣI1..1stringLiteral reference, Relative, internal or absolute URLΣI1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                      .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                      Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                      Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                      Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                        .... identifier Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                          .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                            ... title Σ1..1string'Allergie Intoleranzen' in german or 'allergie intolérance' in french or 'allergie intolleranza' in italian or 'Allergy Intolerance' in english or titles in other languages are also allowedΣ1..1string'Allergie Intoleranzen' in german or 'allergie intolérance' in french or 'allergie intolleranza' in italian or 'Allergy Intolerance' in english or titles in other languages are also allowed
                                                                                                              ... confidentiality Σ1..1codeAs defined by affinity domain
                                                                                                              Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.

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

                                                                                                                .... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                  .... Slices for extension 0..*ExtensionExtension
                                                                                                                  Slice: Unordered, Open by value:url
                                                                                                                  0..*ExtensionExtension
                                                                                                                  Slice: Unordered, Open by value:url
                                                                                                                    .... value 0..1stringPrimitive value for code0..1stringPrimitive value for code
                                                                                                                      ... Slices for attester 0..*BackboneElementThe authenticator of the document (person)
                                                                                                                      Slice: Unordered, Open by value:mode
                                                                                                                      0..*BackboneElementThe authenticator of the document (person)
                                                                                                                      Slice: Unordered, Open by value:mode
                                                                                                                        .... 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: CompositionAttestationMode (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(CH Core Patient Profile | RelatedPerson | CH Core Practitioner Profile | CH Core Practitioner Role Profile | CH Core Organization Profile)Who attested the composition0..1Reference(CH Core Patient Profile | RelatedPerson | CH Core Practitioner Profile | CH Core Practitioner Role Profile | CH Core Organization Profile)Who attested the composition
                                                                                                                                    ..... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                      ..... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                      Slice: Unordered, Open by value:url
                                                                                                                                      0..*ExtensionAdditional content defined by implementations
                                                                                                                                      Slice: Unordered, Open by value:url
                                                                                                                                        ..... reference ΣI1..1stringLiteral reference, Relative, internal or absolute URLΣI1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                                                          ..... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                                                          Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                                                          Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                                                          Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                                                            ..... identifier Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                                                              ..... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                                                                ... custodian Σ1..1Reference(CH Core Organization Profile EPR)The organization in whose name the document has been createdΣ1..1Reference(CH Core Organization Profile EPR)The organization in whose name the document has been created
                                                                                                                                                  .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                                    .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                    Slice: Unordered, Open by value:url
                                                                                                                                                    0..*ExtensionAdditional content defined by implementations
                                                                                                                                                    Slice: Unordered, Open by value:url
                                                                                                                                                      .... reference ΣI1..1stringLiteral reference, Relative, internal or absolute URLΣI1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                                                                        .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                                                                        Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                                                                        Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                                                                        Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                                                                          .... identifier Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                                                                            .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                                                                              ... relatesTo 0..*BackboneElementRelationships to other compositions/documents
                                                                                                                                                              0..*BackboneElementRelationships to other compositions/documents
                                                                                                                                                                .... 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: DocumentRelationshipType (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(CH Core Composition Profile EPR)Target of the relationship1..1Identifier, Reference(CH Core Composition Profile EPR)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: v3 Code System ActCode (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 I2..*BackboneElementComposition is broken into sections
                                                                                                                                                                                        Slice: Unordered, Open by pattern:code
                                                                                                                                                                                        I1..*BackboneElementComposition is broken into sections
                                                                                                                                                                                        Slice: Unordered, Open by pattern:code
                                                                                                                                                                                        • Element minimum cardinalities differ: '2' vs '1'
                                                                                                                                                                                        .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                                                                          .... 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 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: DocumentSectionCodes (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(CH Core Practitioner Profile EPR | CH Core Practitioner Role Profile EPR | Device | CH Core Patient Profile EPR | RelatedPerson | CH Core Organization Profile EPR)Who and/or what authored the section
                                                                                                                                                                                                  0..*Reference(CH Core Practitioner Profile EPR | CH Core Practitioner Role Profile EPR | Device | CH Core Patient Profile EPR | RelatedPerson | CH Core Organization Profile EPR)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: ListMode (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: ListOrderCodes (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: ListEmptyReasons (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