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'
InformationStructureDefinition.statusValues for status differ: 'draft' vs 'active'
InformationStructureDefinition.dateValues for date differ: '2022-03-08T18:33:14+00:00' vs '2026-03-24T16:16:08+11: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.'
InformationQuestionnaire.languageExample/preferred bindings differ at Questionnaire.language using binding from SDCBaseQuestionnaire
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:002026-03-24T16:16:08+11: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 / 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
                        • Values Differ

                        Structure

                        NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                        Questionnaire C0..*QuestionnaireA structured set of questions
                        C0..*SDCQuestionnaireCommonA structured set of questions
                          Questionnaire.id This element is included in summaries. 0..1idLogical id of this artifact This element is included in summaries. 0..1idLogical id of this artifact
                            Questionnaire.meta This element is included in summaries. 0..1MetaMetadata about the resource This element is included in summaries. 0..1MetaMetadata about the resource
                              Questionnaire.implicitRules This element is a modifier element. This element is included in summaries. 0..1uriA set of rules under which this content was created This element is a modifier element. This element is included in summaries. 0..1uriA set of rules under which this content was created
                                Questionnaire.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
                                • Example/preferred bindings differ at Questionnaire.language using binding from SDCBaseQuestionnaire
                                Questionnaire.text 0..1NarrativeText summary of the resource, for human interpretation
                                This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                0..1NarrativeText summary of the resource, for human interpretation
                                This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                  Questionnaire.contained 0..*ResourceContained, inline Resources
                                  0..*ResourceContained, inline Resources
                                    Questionnaire.Slices for extension 0..*ExtensionExtension
                                    Slice: Unordered, Open by value:url
                                    0..*ExtensionExtension
                                    Slice: Unordered, Open by value:url
                                      Questionnaire.modifierExtension This element is a modifier element. 0..*ExtensionExtensions that cannot be ignored
                                      This element is a modifier element. 0..*ExtensionExtensions that cannot be ignored
                                        Questionnaire.url This element must be supported. This element is included in summaries. 1..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique) This element must be supported. This element is included in summaries. C1..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
                                          Questionnaire.identifier This element is included in summaries. 0..*IdentifierAdditional identifier for the questionnaire
                                          This element is included in summaries. 0..*IdentifierAdditional identifier for the questionnaire
                                            Questionnaire.version This element must be supported. This element is included in summaries. 0..1stringBusiness version of the questionnaire This element must be supported. This element is included in summaries. 0..1stringBusiness version of the questionnaire
                                              Questionnaire.name This element is included in summaries. C0..1stringName for this questionnaire (computer friendly) This element is included in summaries. C0..1stringName for this questionnaire (computer friendly)
                                                Questionnaire.title This element must be supported. This element is included in summaries. 0..1stringName for this questionnaire (human friendly) This element must be supported. This element is included in summaries. 0..1stringName for this questionnaire (human friendly)
                                                  Questionnaire.derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
                                                  0..*canonical(Questionnaire)Instantiates protocol or definition
                                                    Questionnaire.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1codedraft | active | retired | unknown
                                                    Binding: ?? (required): The lifecycle status of an artifact.
                                                    This element is a modifier element. This element must be supported. This element is included in summaries. 1..1codedraft | active | retired | unknown
                                                    Binding: ?? (required): The lifecycle status of an artifact.
                                                      Questionnaire.experimental This element is included in summaries. 0..1booleanFor testing purposes, not real usage This element is included in summaries. 0..1booleanFor testing purposes, not real usage
                                                        Questionnaire.subjectType This element must be supported. This element is included in summaries. 0..*codeResource that can be subject of QuestionnaireResponse
                                                        Binding: ?? (required): One of the resource types defined as part of this version of FHIR.
                                                        This element must be supported. This element is included in summaries. 0..*codeResource that can be subject of QuestionnaireResponse
                                                        Binding: ?? (required): One of the resource types defined as part of this version of FHIR.
                                                          Questionnaire.subjectType.id 0..1stringxml:id (or equivalent in JSON)
                                                          • Added this element
                                                          Questionnaire.subjectType.Slices for extension 0..*ExtensionExtension
                                                          Slice: Unordered, Open by value:url
                                                          • Added this element
                                                          Questionnaire.subjectType.value 0..1stringPrimitive value for code
                                                          • Added this element
                                                          Questionnaire.date This element is included in summaries. 0..1dateTimeDate last changed This element is included in summaries. 0..1dateTimeDate last changed
                                                            Questionnaire.publisher This element is included in summaries. 0..1stringName of the publisher (organization or individual) This element is included in summaries. 0..1stringName of the publisher (organization or individual)
                                                              Questionnaire.contact This element is included in summaries. 0..*ContactDetailContact details for the publisher
                                                              This element is included in summaries. 0..*ContactDetailContact details for the publisher
                                                                Questionnaire.description 0..1markdownNatural language description of the questionnaire0..1markdownNatural language description of the questionnaire
                                                                  Questionnaire.useContext This element is included in summaries. 0..*UsageContextThe context that the content is intended to support
                                                                  This element is included in summaries. 0..*UsageContextThe context that the content is intended to support
                                                                    Questionnaire.jurisdiction This element is included in summaries. 0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
                                                                    Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.
                                                                    This element is included in summaries. 0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
                                                                    Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.
                                                                      Questionnaire.purpose 0..1markdownWhy this questionnaire is defined0..1markdownWhy this questionnaire is defined
                                                                        Questionnaire.copyright 0..1markdownUse and/or publishing restrictions0..1markdownUse and/or publishing restrictions
                                                                          Questionnaire.approvalDate 0..1dateWhen the questionnaire was approved by publisher0..1dateWhen the questionnaire was approved by publisher
                                                                            Questionnaire.lastReviewDate 0..1dateWhen the questionnaire was last reviewed0..1dateWhen the questionnaire was last reviewed
                                                                              Questionnaire.effectivePeriod This element is included in summaries. 0..1PeriodWhen the questionnaire is expected to be used This element is included in summaries. 0..1PeriodWhen the questionnaire is expected to be used
                                                                                Questionnaire.code This element is included in summaries. 0..*CodingConcept that represents the overall questionnaire
                                                                                Binding: ?? (example): Codes for questionnaires, groups and individual questions.
                                                                                This element is included in summaries. 0..*CodingConcept that represents the overall questionnaire
                                                                                Binding: ?? (example): Codes for questionnaires, groups and individual questions.
                                                                                  Questionnaire.item This element must be supported. C0..*BackboneElementQuestions and sections within the Questionnaire
                                                                                  Constraints: sdc-1
                                                                                  This element must be supported. C0..*BackboneElementQuestions and sections within the Questionnaire
                                                                                    Questionnaire.item.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                      Questionnaire.item.Slices for extension 0..*ExtensionExtension
                                                                                      Slice: Unordered, Open by value:url
                                                                                      0..*ExtensionExtension
                                                                                      Slice: Unordered, Open by value:url
                                                                                        Questionnaire.item.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                        This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                          Questionnaire.item.linkId This element must be supported. 1..1stringUnique id for item in questionnaire This element must be supported. C1..1stringUnique id for item in questionnaire
                                                                                            Questionnaire.item.definition 0..1uriElementDefinition - details for the item0..1uriElementDefinition - details for the item
                                                                                              Questionnaire.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.
                                                                                                Questionnaire.item.prefix This element must be supported. 0..1stringE.g. "1(a)", "2.5.3" This element must be supported. 0..1stringE.g. "1(a)", "2.5.3"
                                                                                                  Questionnaire.item.text This element must be supported. 0..1stringPrimary text for the item0..1stringPrimary text for the item
                                                                                                  • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                  Questionnaire.item.type This element must be supported. 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
                                                                                                  Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions.
                                                                                                  This element must be supported. 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
                                                                                                  Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions.
                                                                                                    Questionnaire.item.enableWhen This element is a modifier element. C0..*BackboneElementOnly allow data when
                                                                                                    Constraints: que-7
                                                                                                    This element is a modifier element. C0..*BackboneElementOnly allow data when
                                                                                                      Questionnaire.item.enableWhen.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                        Questionnaire.item.enableWhen.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                        0..*ExtensionAdditional content defined by implementations
                                                                                                          Questionnaire.item.enableWhen.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                          This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                            Questionnaire.item.enableWhen.question 1..1stringQuestion that determines whether item is enabled1..1stringQuestion that determines whether item is enabled
                                                                                                              Questionnaire.item.enableWhen.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.
                                                                                                                Questionnaire.item.enableWhen.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.
                                                                                                                  Questionnaire.item.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.
                                                                                                                    Questionnaire.item.required This element must be supported. C0..1booleanWhether the item must be included in data results This element must be supported. C0..1booleanWhether the item must be included in data results
                                                                                                                      Questionnaire.item.repeats This element must be supported. C0..1booleanWhether the item may repeat This element must be supported. C0..1booleanWhether the item may repeat
                                                                                                                        Questionnaire.item.readOnly This element must be supported. C0..1booleanDon't allow human editing This element must be supported. C0..1booleanDon't allow human editing
                                                                                                                          Questionnaire.item.maxLength This element must be supported. C0..1integerNo more than this many charactersC0..1integerNo more than this many characters
                                                                                                                          • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                          Questionnaire.item.answerValueSet This element must be supported. C0..1canonical(SDC ValueSet)Valueset containing permitted answers This element must be supported. C0..1canonical(SDC Value Set)Valueset containing permitted answers
                                                                                                                            Questionnaire.item.answerOption This element must be supported. C0..*BackboneElementPermitted answer
                                                                                                                            This element must be supported. C0..*BackboneElementPermitted answer
                                                                                                                              Questionnaire.item.answerOption.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                Questionnaire.item.answerOption.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                0..*ExtensionAdditional content defined by implementations
                                                                                                                                  Questionnaire.item.answerOption.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                  This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                    Questionnaire.item.answerOption.value[x] 1..1integer, date, time, string, Coding, Reference(Resource)Answer value
                                                                                                                                    Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                    This element must be supported. 1..1integer, date, time, string, Coding, Reference(Resource)Answer value
                                                                                                                                    Slice: Unordered, Open by type:$this
                                                                                                                                    Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                    Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
                                                                                                                                    • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                                                                                    Questionnaire.item.answerOption.initialSelected 0..1booleanWhether option is selected by default0..1booleanWhether option is selected by default
                                                                                                                                      Questionnaire.item.initial This element must be supported. C0..*BackboneElementInitial value(s) when item is first rendered
                                                                                                                                      This element must be supported. C0..*BackboneElementInitial value(s) when item is first rendered
                                                                                                                                        Questionnaire.item.initial.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                          Questionnaire.item.initial.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                          0..*ExtensionAdditional content defined by implementations
                                                                                                                                            Questionnaire.item.initial.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                            This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                              Questionnaire.item.initial.value[x] This element must be supported. 1..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.
                                                                                                                                              This element must be supported. 1..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.
                                                                                                                                                Questionnaire.item.item This element must be supported. C0..*See item (Questionnaire)Nested questionnaire items
                                                                                                                                                This element must be supported. C0..*See item (Questionnaire)Nested questionnaire items

                                                                                                                                                  doco Documentation for this format