Profile Comparison between http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition vs http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition

Left:CQL StructureDefinition (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition)
Right:CQL StructureDefinition (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition)

Messages

ErrorStructureDefinition.versionValues for version differ: '1.0.0-ballot' vs '1.0.0-snapshot'
InformationStructureDefinition.dateValues for date differ: '2023-12-20T01:19:04+00:00' vs '2024-04-06T09:37:49+11:00'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/StructureDefinition
      .copyright
        .date2023-12-20T01:19:04+00:002024-04-06T09:37:49+11:00
        • Values Differ
        .descriptionSupports configuration of model info information for a StructureDefinition
          .experimentalfalse
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]http://unstats.un.org/unsd/methods/m49/m49.htm#001
                  .kindresource
                    .nameCQLStructureDefinition
                      .publisherHL7 International / Clinical Decision Support
                        .purpose
                          .statusactive
                            .titleCQL StructureDefinition
                              .typeStructureDefinition
                                .urlhttp://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition
                                  .version1.0.0-ballot1.0.0-snapshot
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. StructureDefinition C1..1StructureDefinitionStructural Definition
                                  sdf-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
                                  sdf-1: Element paths must be unique unless the structure is a constraint
                                  sdf-15a: If the first element in a differential has no "." in the path and it's not a logical model, it has no type
                                  sdf-4: If the structure is not abstract, then there SHALL be a baseDefinition
                                  sdf-5: If the structure defines an extension then the structure must have context information
                                  sdf-6: A structure must have either a differential, or a snapshot (or both)
                                  sdf-9: In any snapshot or differential, no label, code or requirements on an element without a "." in the path (e.g. the first element)
                                  sdf-11: If there's a type, its content must match the path name in the first element of a snapshot
                                  sdf-14: All element definitions must have an id
                                  sdf-15: The first element in a snapshot has no type unless model is a logical model.
                                  sdf-16: All element definitions must have unique ids (snapshot)
                                  sdf-17: All element definitions must have unique ids (diff)
                                  sdf-18: Context Invariants can only be used for extensions
                                  sdf-19: FHIR Specification models only use FHIR defined types
                                  sdf-21: Default values can only be specified on specializations
                                  sdf-22: FHIR Specification models never have default values
                                  sdf-23: No slice name on root
                                  C1..1StructureDefinitionStructural Definition
                                  sdf-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
                                  sdf-1: Element paths must be unique unless the structure is a constraint
                                  sdf-15a: If the first element in a differential has no "." in the path and it's not a logical model, it has no type
                                  sdf-4: If the structure is not abstract, then there SHALL be a baseDefinition
                                  sdf-5: If the structure defines an extension then the structure must have context information
                                  sdf-6: A structure must have either a differential, or a snapshot (or both)
                                  sdf-9: In any snapshot or differential, no label, code or requirements on an element without a "." in the path (e.g. the first element)
                                  sdf-11: If there's a type, its content must match the path name in the first element of a snapshot
                                  sdf-14: All element definitions must have an id
                                  sdf-15: The first element in a snapshot has no type unless model is a logical model.
                                  sdf-16: All element definitions must have unique ids (snapshot)
                                  sdf-17: All element definitions must have unique ids (diff)
                                  sdf-18: Context Invariants can only be used for extensions
                                  sdf-19: FHIR Specification models only use FHIR defined types
                                  sdf-21: Default values can only be specified on specializations
                                  sdf-22: FHIR Specification models never have default values
                                  sdf-23: No slice name on root
                                    ... id Σ0..1idLogical id of this artifactΣ0..1idLogical 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
                                          ... language 0..1codeLanguage of the resource content
                                          Binding: ?? (preferred): A human language.

                                          Additional BindingsPurpose
                                          ??Max Binding
                                          0..1codeLanguage of the resource content
                                          Binding: ?? (preferred): A human language.

                                          Additional BindingsPurpose
                                          ??Max Binding
                                            ... 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
                                                    ... url Σ1..1uriCanonical identifier for this structure definition, represented as a URI (globally unique)Σ1..1uriCanonical identifier for this structure definition, represented as a URI (globally unique)
                                                      ... identifier Σ0..*IdentifierAdditional identifier for the structure definition
                                                      Σ0..*IdentifierAdditional identifier for the structure definition
                                                        ... version Σ0..1stringBusiness version of the structure definitionΣ0..1stringBusiness version of the structure definition
                                                          ... name ΣC1..1stringName for this structure definition (computer friendly)ΣC1..1stringName for this structure definition (computer friendly)
                                                            ... title Σ0..1stringName for this structure definition (human friendly)Σ0..1stringName for this structure definition (human friendly)
                                                              ... status ?!Σ1..1codedraft | active | retired | unknown
                                                              Binding: ?? (required): The lifecycle status of an artifact.

                                                              ?!Σ1..1codedraft | active | retired | unknown
                                                              Binding: ?? (required): The lifecycle status of an artifact.

                                                                ... experimental Σ0..1booleanFor testing purposes, not real usageΣ0..1booleanFor testing purposes, not real usage
                                                                  ... date Σ0..1dateTimeDate last changedΣ0..1dateTimeDate last changed
                                                                    ... publisher Σ0..1stringName of the publisher (organization or individual)Σ0..1stringName of the publisher (organization or individual)
                                                                      ... contact Σ0..*ContactDetailContact details for the publisher
                                                                      Σ0..*ContactDetailContact details for the publisher
                                                                        ... description 0..1markdownNatural language description of the structure definition0..1markdownNatural language description of the structure definition
                                                                          ... useContext Σ0..*UsageContextThe context that the content is intended to support
                                                                          Σ0..*UsageContextThe context that the content is intended to support
                                                                            ... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for structure definition (if applicable)
                                                                            Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.


                                                                            Σ0..*CodeableConceptIntended jurisdiction for structure definition (if applicable)
                                                                            Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.


                                                                              ... purpose 0..1markdownWhy this structure definition is defined0..1markdownWhy this structure definition is defined
                                                                                ... copyright 0..1markdownUse and/or publishing restrictions0..1markdownUse and/or publishing restrictions
                                                                                  ... keyword Σ0..*CodingAssist with indexing and finding
                                                                                  Binding: ?? (extensible): Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example).


                                                                                  Σ0..*CodingAssist with indexing and finding
                                                                                  Binding: ?? (extensible): Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example).


                                                                                    ... fhirVersion Σ0..1codeFHIR Version this StructureDefinition targets
                                                                                    Binding: ?? (required): All published FHIR Versions.

                                                                                    Σ0..1codeFHIR Version this StructureDefinition targets
                                                                                    Binding: ?? (required): All published FHIR Versions.

                                                                                      ... mapping C0..*BackboneElementExternal specification that the content is mapped to
                                                                                      sdf-2: Must have at least a name or a uri (or both)
                                                                                      C0..*BackboneElementExternal specification that the content is mapped to
                                                                                      sdf-2: Must have at least a name or a uri (or both)
                                                                                        .... 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
                                                                                              .... identity 1..1idInternal id when this mapping is used1..1idInternal id when this mapping is used
                                                                                                .... uri C0..1uriIdentifies what this mapping refers toC0..1uriIdentifies what this mapping refers to
                                                                                                  .... name C0..1stringNames what this mapping refers toC0..1stringNames what this mapping refers to
                                                                                                    .... comment 0..1stringVersions, Issues, Scope limitations etc.0..1stringVersions, Issues, Scope limitations etc.
                                                                                                      ... kind Σ1..1codeprimitive-type | complex-type | resource | logical
                                                                                                      Binding: ?? (required): Defines the type of structure that a definition is describing.

                                                                                                      Σ1..1codeprimitive-type | complex-type | resource | logical
                                                                                                      Binding: ?? (required): Defines the type of structure that a definition is describing.

                                                                                                        ... abstract Σ1..1booleanWhether the structure is abstractΣ1..1booleanWhether the structure is abstract
                                                                                                          ... context ΣC0..*BackboneElementIf an extension, where it can be used in instances
                                                                                                          ΣC0..*BackboneElementIf an extension, where it can be used in instances
                                                                                                            .... 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
                                                                                                                  .... type Σ1..1codefhirpath | element | extension
                                                                                                                  Binding: ?? (required): How an extension context is interpreted.

                                                                                                                  Σ1..1codefhirpath | element | extension
                                                                                                                  Binding: ?? (required): How an extension context is interpreted.

                                                                                                                    .... expression Σ1..1stringWhere the extension can be used in instancesΣ1..1stringWhere the extension can be used in instances
                                                                                                                      ... contextInvariant ΣC0..*stringFHIRPath invariants - when the extension can be used
                                                                                                                      ΣC0..*stringFHIRPath invariants - when the extension can be used
                                                                                                                        ... type ΣC1..1uriType defined or constrained by this structure
                                                                                                                        Binding: ?? (extensible): Either a resource or a data type, including logical model types.

                                                                                                                        ΣC1..1uriType defined or constrained by this structure
                                                                                                                        Binding: ?? (extensible): Either a resource or a data type, including logical model types.

                                                                                                                          ... baseDefinition ΣC0..1canonical(StructureDefinition)Definition that this type is constrained/specialized fromΣC0..1canonical(StructureDefinition)Definition that this type is constrained/specialized from
                                                                                                                            ... derivation Σ0..1codespecialization | constraint - How relates to base definition
                                                                                                                            Binding: ?? (required): How a type relates to its baseDefinition.

                                                                                                                            Σ0..1codespecialization | constraint - How relates to base definition
                                                                                                                            Binding: ?? (required): How a type relates to its baseDefinition.

                                                                                                                              ... snapshot C0..1BackboneElementSnapshot view of the structure
                                                                                                                              sdf-3: Each element definition in a snapshot must have a formal definition and cardinalities
                                                                                                                              sdf-8: All snapshot elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models
                                                                                                                              sdf-8b: All snapshot elements must have a base definition
                                                                                                                              C0..1BackboneElementSnapshot view of the structure
                                                                                                                              sdf-3: Each element definition in a snapshot must have a formal definition and cardinalities
                                                                                                                              sdf-8: All snapshot elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models
                                                                                                                              sdf-8b: All snapshot elements must have a base definition
                                                                                                                                .... 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
                                                                                                                                      .... element C1..*ElementDefinitionDefinition of elements in the resource (if no StructureDefinition)
                                                                                                                                      sdf-10: provide either a binding reference or a description (or both)
                                                                                                                                      C1..*ElementDefinitionDefinition of elements in the resource (if no StructureDefinition)
                                                                                                                                      sdf-10: provide either a binding reference or a description (or both)
                                                                                                                                        ... differential C0..1BackboneElementDifferential view of the structure
                                                                                                                                        sdf-20: No slicing on the root element
                                                                                                                                        sdf-8a: In any differential, all the elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models
                                                                                                                                        C0..1BackboneElementDifferential view of the structure
                                                                                                                                        sdf-20: No slicing on the root element
                                                                                                                                        sdf-8a: In any differential, all the elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models
                                                                                                                                          .... 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
                                                                                                                                                .... element 1..*ElementDefinitionDefinition of elements in the resource (if no StructureDefinition)
                                                                                                                                                1..*ElementDefinitionDefinition of elements in the resource (if no StructureDefinition)

                                                                                                                                                  doco Documentation for this format