Profile Comparison between http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire vs http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire

Left:SDCBaseQuestionnaire (http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire)
Right:SDC Base Questionnaire (http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire)

Messages

ErrorStructureDefinition.versionValues for version differ: '3.0.0' vs '4.0.0-ballot'
InformationStructureDefinition.statusValues for status differ: 'draft' vs 'active'
InformationStructureDefinition.dateValues for date differ: '2022-03-08T18:33:14+00:00' vs '2024-12-17T01:55:34+00:00'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International - FHIR Infrastructure Work Group' vs 'HL7 International / FHIR Infrastructure'
ErrorStructureDefinition.baseDefinitionValues for baseDefinition differ: 'http://hl7.org/fhir/StructureDefinition/Questionnaire' vs 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnairecommon'
InformationStructureDefinition.definitionValues for definition differ: 'Sets minimum expectations for questionnaire support for SDC-conformant systems, regardless of which SDC capabilities they're making use of.' vs 'A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.'
InformationStructureDefinition.commentValues for comment differ: 'When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.' vs 'When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group. This is optional only to support form assembly situations where the text may be generated from another source. In an assembled Questionnaire, it should always be present.'
WarningQuestionnaire.item.textElements differ in definition for mustSupport: 'true' vs 'false'
WarningQuestionnaire.item.maxLengthElements differ in definition for mustSupport: 'true' vs 'false'
WarningQuestionnaire.item.answerOption.value[x]Elements differ in definition for mustSupport: 'false' vs 'true'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Questionnairehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnairecommon
    • Values Differ
    .copyright
      .date2022-03-08T18:33:14+00:002024-12-17T01:55:34+00:00
      • Values Differ
      .descriptionSets minimum expectations for questionnaire support for SDC-conformant systems, regardless of which SDC capabilities they're making use of.Sets minimum expectations for questionnaire support for SDC-conformant systems for 'standard' (non-adaptive) Questionnaires, regardless of which SDC capabilities they're making use of.
      • Values Differ
      .experimental
        .fhirVersion4.0.1
          .jurisdiction
            ..jurisdiction[0]http://unstats.un.org/unsd/methods/m49/m49.htm#001
              .kindresource
                .nameSDCBaseQuestionnaire
                  .publisherHL7 International - FHIR Infrastructure Work GroupHL7 International / FHIR Infrastructure
                  • Values Differ
                  .purpose
                    .statusdraftactive
                    • Values Differ
                    .titleSDC Base Questionnaire
                    • Added the item 'SDC Base Questionnaire'
                    .typeQuestionnaire
                      .urlhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire
                        .version3.0.04.0.0-ballot
                        • Values Differ

                        Structure

                        NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                        .. Questionnaire C0..*QuestionnaireA structured set of questions
                        que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
                        que-2: The link ids for groups and questions must be unique within the questionnaire
                        C0..*SDCQuestionnaireCommonA structured set of questions
                        que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
                        que-2: The link ids for groups and questions must be unique within the questionnaire
                        cnl-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
                        sdc-2: If version is present, versionAlgorithm must be present.
                        sdc-3: Semver is the preferred version algorithm - package machinery doesn't work well with artifacts using alternate versioning schemes
                          ... id Σ0..1stringLogical 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 SΣ1..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)SΣC1..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
                                          cnl-1: Warning Questionnaire.url URL should not contain | or # - these characters make processing canonical references problematic
                                            ... identifier Σ0..*IdentifierAdditional identifier for the questionnaire
                                            Σ0..*IdentifierAdditional identifier for the questionnaire
                                              ... version SΣ0..1stringBusiness version of the questionnaireSΣ0..1stringBusiness version of the questionnaire
                                                ... name ΣC0..1stringName for this questionnaire (computer friendly)ΣC0..1stringName for this questionnaire (computer friendly)
                                                  ... title SΣ0..1stringName for this questionnaire (human friendly)SΣ0..1stringName for this questionnaire (human friendly)
                                                    ... derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
                                                    0..*canonical(Questionnaire)Instantiates protocol or definition
                                                      ... status ?!SΣ1..1codedraft | active | retired | unknown
                                                      Binding: ?? (required): The lifecycle status of an artifact.

                                                      ?!SΣ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
                                                          ... subjectType SΣ0..*codeResource that can be subject of QuestionnaireResponse
                                                          Binding: ?? (required): One of the resource types defined as part of this version of FHIR.


                                                          SΣ0..*codeResource that can be subject of QuestionnaireResponse
                                                          Binding: ?? (required): One of the resource types defined as part of this version of FHIR.


                                                            ... 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 questionnaire0..1markdownNatural language description of the questionnaire
                                                                    ... 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 questionnaire (if applicable)
                                                                      Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.


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


                                                                        ... purpose 0..1markdownWhy this questionnaire is defined0..1markdownWhy this questionnaire is defined
                                                                          ... copyright 0..1markdownUse and/or publishing restrictions0..1markdownUse and/or publishing restrictions
                                                                            ... approvalDate 0..1dateWhen the questionnaire was approved by publisher0..1dateWhen the questionnaire was approved by publisher
                                                                              ... lastReviewDate 0..1dateWhen the questionnaire was last reviewed0..1dateWhen the questionnaire was last reviewed
                                                                                ... effectivePeriod Σ0..1PeriodWhen the questionnaire is expected to be usedΣ0..1PeriodWhen the questionnaire is expected to be used
                                                                                  ... code Σ0..*CodingConcept that represents the overall questionnaire
                                                                                  Binding: ?? (example): Codes for questionnaires, groups and individual questions.


                                                                                  Σ0..*CodingConcept that represents the overall questionnaire
                                                                                  Binding: ?? (example): Codes for questionnaires, groups and individual questions.


                                                                                    ... item SC0..*BackboneElementQuestions and sections within the Questionnaire
                                                                                    que-1: Group items must have nested items, display items cannot have nested items
                                                                                    que-3: Display items cannot have a "code" asserted
                                                                                    que-4: A question cannot have both answerOption and answerValueSet
                                                                                    que-5: Only 'choice' and 'open-choice' items can have answerValueSet
                                                                                    que-6: Required and repeat aren't permitted for display items
                                                                                    que-8: Initial values can't be specified for groups or display items
                                                                                    que-9: Read-only can't be specified for "display" items
                                                                                    que-10: Maximum length can only be declared for simple question types
                                                                                    que-11: If one or more answerOption is present, initial[x] must be missing
                                                                                    que-12: If there are more than one enableWhen, enableBehavior must be specified
                                                                                    que-13: Can only have multiple initial values for repeating items
                                                                                    sdc-1: An item cannot have an answerExpression if answerOption or answerValueSet is already present.
                                                                                    SC0..*BackboneElementQuestions and sections within the Questionnaire
                                                                                    que-1: Group items must have nested items, display items cannot have nested items
                                                                                    que-3: Display items cannot have a "code" asserted
                                                                                    que-4: A question cannot have both answerOption and answerValueSet
                                                                                    que-5: Only 'choice' and 'open-choice' items can have answerValueSet
                                                                                    que-6: Required and repeat aren't permitted for display items
                                                                                    que-8: Initial values can't be specified for groups or display items
                                                                                    que-9: Read-only can't be specified for "display" items
                                                                                    que-10: Maximum length can only be declared for simple question types
                                                                                    que-11: If one or more answerOption is present, initial[x] must be missing
                                                                                    que-12: If there are more than one enableWhen, enableBehavior must be specified
                                                                                    que-13: Can only have multiple initial values for repeating items
                                                                                    sdc-1: An item cannot have an answerExpression if answerOption or answerValueSet is already present.
                                                                                    que-1a: Group items must have nested items when Questionanire is complete
                                                                                    que-1b: Groups should have items
                                                                                    que-1c: Display items cannot have child items
                                                                                    que-14: Can only have answerConstraint if answerOption, answerValueSet, or answerExpression are present. (This is a warning because other extensions may serve the same purpose)
                                                                                      .... 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
                                                                                            .... linkId S1..1stringUnique id for item in questionnaireSC1..1stringUnique id for item in questionnaire
                                                                                            que-15: Link ids must be 255 characters or less
                                                                                              .... definition 0..1uriElementDefinition - details for the item0..1uriElementDefinition - details for the item
                                                                                                .... code C0..*CodingCorresponding concept for this item in a terminology
                                                                                                Binding: ?? (example): Codes for questionnaires, groups and individual questions.


                                                                                                C0..*CodingCorresponding concept for this item in a terminology
                                                                                                Binding: ?? (example): Codes for questionnaires, groups and individual questions.


                                                                                                  .... prefix S0..1stringE.g. "1(a)", "2.5.3"S0..1stringE.g. "1(a)", "2.5.3"
                                                                                                    .... text S0..1stringPrimary text for the item0..1stringPrimary text for the item
                                                                                                    • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                    .... type S1..1codegroup | display | boolean | decimal | integer | date | dateTime +
                                                                                                    Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions.

                                                                                                    S1..1codegroup | display | boolean | decimal | integer | date | dateTime +
                                                                                                    Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions.

                                                                                                      .... enableWhen ?!C0..*BackboneElementOnly allow data when
                                                                                                      que-7: If the operator is 'exists', the value must be a boolean
                                                                                                      ?!C0..*BackboneElementOnly allow data when
                                                                                                      que-7: If the operator is 'exists', the value must be a boolean
                                                                                                        ..... 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
                                                                                                              ..... question 1..1stringQuestion that determines whether item is enabled1..1stringQuestion that determines whether item is enabled
                                                                                                                ..... operator 1..1codeexists | = | != | > | < | >= | <=
                                                                                                                Binding: ?? (required): The criteria by which a question is enabled.

                                                                                                                1..1codeexists | = | != | > | < | >= | <=
                                                                                                                Binding: ?? (required): The criteria by which a question is enabled.

                                                                                                                  ..... answer[x] C1..1boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource)Value for question comparison based on operator
                                                                                                                  Binding: ?? (example): Allowed values to answer questions.

                                                                                                                  C1..1boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource)Value for question comparison based on operator
                                                                                                                  Binding: ?? (example): Allowed values to answer questions.

                                                                                                                    .... enableBehavior C0..1codeall | any
                                                                                                                    Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.

                                                                                                                    C0..1codeall | any
                                                                                                                    Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.

                                                                                                                      .... required SC0..1booleanWhether the item must be included in data resultsSC0..1booleanWhether the item must be included in data results
                                                                                                                        .... repeats SC0..1booleanWhether the item may repeatSC0..1booleanWhether the item may repeat
                                                                                                                          .... readOnly SC0..1booleanDon't allow human editingSC0..1booleanDon't allow human editing
                                                                                                                            .... maxLength SC0..1integerNo more than this many charactersC0..1integerNo more than this many characters
                                                                                                                            • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                            .... answerValueSet SC0..1canonical(SDC ValueSet)Valueset containing permitted answersSC0..1canonical(SDC Value Set)Valueset containing permitted answers
                                                                                                                              .... answerOption SC0..*BackboneElementPermitted answer
                                                                                                                              SC0..*BackboneElementPermitted answer
                                                                                                                                ..... 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
                                                                                                                                      ..... value[x] 1..1integer, date, time, string, Coding, Reference(Resource)Answer value
                                                                                                                                      Binding: ?? (example): Allowed values to answer questions.

                                                                                                                                      S1..1integer, date, time, string, Coding, Reference(Resource)Answer value
                                                                                                                                      Binding: ?? (example): Allowed values to answer questions.

                                                                                                                                      • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                                                                                      ..... initialSelected 0..1booleanWhether option is selected by default0..1booleanWhether option is selected by default
                                                                                                                                        .... initial SC0..*BackboneElementInitial value(s) when item is first rendered
                                                                                                                                        SC0..*BackboneElementInitial value(s) when item is first rendered
                                                                                                                                          ..... 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
                                                                                                                                                ..... value[x] S1..1boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)Actual value for initializing the question
                                                                                                                                                Binding: ?? (example): Allowed values to answer questions.

                                                                                                                                                S1..1boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)Actual value for initializing the question
                                                                                                                                                Binding: ?? (example): Allowed values to answer questions.

                                                                                                                                                  .... item SC0..*See item (Questionnaire)Nested questionnaire items
                                                                                                                                                  SC0..*See item (Questionnaire)Nested questionnaire items

                                                                                                                                                    doco Documentation for this format