Profile Comparison between http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-std-questionnaire vs http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-std-questionnaire

Left:DTR Standard Questionnaire (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-std-questionnaire)
Right:DTR Standard Questionnaire (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-std-questionnaire)

Messages

ErrorStructureDefinition.versionValues for version differ: '2.1.0' vs '2.2.0'
InformationStructureDefinition.dateValues for date differ: '2021-11-12T02:27:35+00:00' vs '2026-03-27T04:26:10+00:00'
ErrorStructureDefinition.baseDefinitionValues for baseDefinition differ: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire' vs 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-base-questionnaire'
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 DTRStdQuestionnaire
InformationQuestionnaire.textElement minimum cardinalities differ: '1' vs '0'
InformationQuestionnaire.itemElement minimum cardinalities differ: '0' vs '1'
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'
InformationQuestionnaire.item.textElement minimum cardinalities differ: '0' vs '1'
WarningQuestionnaire.item.maxLengthElements differ in definition for mustSupport: 'true' vs 'false'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnairehttp://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-base-questionnaire
    • Values Differ
    .copyright
      .date2021-11-12T02:27:35+00:002026-03-27T04:26:10+00:00
      • Values Differ
      .descriptionTakes a subset of extensions and constraints from the SDC [rendering](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-render.html), [behavior](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-behave.html), and [population](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-pop-exp.html) profiles, reflecting agreed expectations around which data elements might be relevant as well as which must be supported for DTR purposes.
        .experimental
          .fhirVersion4.0.1
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindresource
                  .nameDTRStdQuestionnaire
                    .publisherHL7 International / Clinical Decision Support
                      .purposeElements that are not mustSupport are presented here as elements that may be of interest to certain payers, but can only be used if the payer is aware that the invoking EHR or SMART App can support them. Further guidance on the use of these elements should be found in the underlying [SDC](http://hl7.org/fhir/uv/sdc/STU3/) specification.
                      • Removed the item 'Elements that are not mustSupport are presented here as elements that may be of interest to certain payers, but can only be used if the payer is aware that the invoking EHR or SMART App can support them. Further guidance on the use of these elements should be found in the underlying [SDC](http://hl7.org/fhir/uv/sdc/STU3/) specification.'
                      .statusactive
                        .titleDTR Standard Questionnaire
                          .typeQuestionnaire
                            .urlhttp://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-std-questionnaire
                              .version2.1.02.2.0
                              • Values Differ

                              Structure

                              NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                              .. Questionnaire C0..*SDCBaseQuestionnaireA structured set of questions
                              C0..*DTRBaseQuestionnaireA structured set of questions
                                ... 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
                                      • Example/preferred bindings differ at Questionnaire.language using binding from DTRStdQuestionnaire
                                      ... text 1..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
                                      • Element minimum cardinalities differ: '1' vs '0'
                                      .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                        .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                        Slice: Unordered, Open by value:url
                                        0..*ExtensionAdditional content defined by implementations
                                        Slice: Unordered, Open by value:url
                                          .... status 1..1codegenerated | extensions | additional | empty
                                          Binding: ?? (required): The status of a resource narrative.
                                          1..1codegenerated | extensions | additional | empty
                                          Binding: ?? (required): The status of a resource narrative.
                                            .... div C1..1xhtmlLimited xhtml contentC1..1xhtmlLimited xhtml content
                                              ... 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)
                                                      ... 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)
                                                              .... id 0..1stringxml:id (or equivalent in JSON)
                                                              • Removed this element
                                                              .... Slices for extension 0..*ExtensionExtension
                                                              Slice: Unordered, Open by value:url
                                                              • Removed this element
                                                              .... value 0..1stringPrimitive value for string
                                                              Max Length:1048576
                                                              • Removed this element
                                                              ... 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Σ1..1codeResource that can be subject of QuestionnaireResponse
                                                                    Binding: ?? (required): One of the resource types defined as part of this version of FHIR.

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

                                                                    Required Pattern: Patient
                                                                      .... id 0..1stringxml:id (or equivalent in JSON)
                                                                      • Added this element
                                                                      .... Slices for extension 0..*ExtensionExtension
                                                                      Slice: Unordered, Open by value:url
                                                                      • Added this element
                                                                      .... value 0..1stringPrimitive value for code
                                                                      • Added this element
                                                                      ... 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 SΣ0..1PeriodWhen the questionnaire is expected to be usedSΣ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
                                                                                              SC1..*BackboneElementQuestions and sections within the Questionnaire
                                                                                              • Element minimum cardinalities differ: '0' vs '1'
                                                                                              .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                .... Slices for extension 0..*ExtensionExtension
                                                                                                Slice: Unordered, Open by value:url
                                                                                                0..*ExtensionExtension
                                                                                                Slice: Unordered, Open by value:url
                                                                                                  .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                  ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                    .... linkId S1..1stringUnique id for item in questionnaireSC1..1stringUnique id for item in questionnaire
                                                                                                      .... 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"
                                                                                                            ..... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                              ..... Slices for extension 0..*ExtensionExtension
                                                                                                              Slice: Unordered, Open by value:url
                                                                                                              0..*ExtensionExtension
                                                                                                              Slice: Unordered, Open by value:url
                                                                                                                ..... value 0..1stringPrimitive value for string
                                                                                                                Max Length:1048576
                                                                                                                0..1stringPrimitive value for string
                                                                                                                Max Length:1048576
                                                                                                                  .... text S0..1stringPrimary text for the item1..1stringPrimary text for the item
                                                                                                                  • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                  • Element minimum cardinalities differ: '0' vs '1'
                                                                                                                  ..... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                    ..... Slices for extension 0..*ExtensionExtension
                                                                                                                    Slice: Unordered, Open by value:url
                                                                                                                    0..*ExtensionExtension
                                                                                                                    Slice: Unordered, Open by value:url
                                                                                                                      ..... value 0..1stringPrimitive value for string
                                                                                                                      Max Length:1048576
                                                                                                                      0..1stringPrimitive value for string
                                                                                                                      Max Length:1048576
                                                                                                                        .... 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 ?!SC0..*BackboneElementOnly allow data when
                                                                                                                          ?!SC0..*BackboneElementOnly allow data when
                                                                                                                            ..... 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 SC0..1codeall | any
                                                                                                                                        Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.
                                                                                                                                        SC0..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
                                                                                                                                            ..... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                                              ..... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                              0..*ExtensionAdditional content defined by implementations
                                                                                                                                                ..... value 0..1booleanPrimitive value for boolean0..1booleanPrimitive value for boolean
                                                                                                                                                  ...... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                                                    ...... Slices for extension 0..*ExtensionExtension
                                                                                                                                                    Slice: Unordered, Open by value:url
                                                                                                                                                    0..*ExtensionExtension
                                                                                                                                                    Slice: Unordered, Open by value:url
                                                                                                                                                      ...... value 0..1booleanPrimitive value for boolean0..1booleanPrimitive value for boolean
                                                                                                                                                        .... repeats SC0..1booleanWhether the item may repeatSC0..1booleanWhether the item may repeat
                                                                                                                                                          ..... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                                                            ..... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                            0..*ExtensionAdditional content defined by implementations
                                                                                                                                                              ..... value 0..1booleanPrimitive value for boolean0..1booleanPrimitive value for boolean
                                                                                                                                                                ...... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                                                                  ...... Slices for extension 0..*ExtensionExtension
                                                                                                                                                                  Slice: Unordered, Open by value:url
                                                                                                                                                                  0..*ExtensionExtension
                                                                                                                                                                  Slice: Unordered, Open by value:url
                                                                                                                                                                    ...... value 0..1booleanPrimitive value for boolean0..1booleanPrimitive value for boolean
                                                                                                                                                                      .... readOnly SC0..1booleanDon't allow human editingSC0..1booleanDon't allow human editing
                                                                                                                                                                        ..... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                                                                          ..... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                          0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                            ..... value 0..1booleanPrimitive value for boolean0..1booleanPrimitive value for boolean
                                                                                                                                                                              ...... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                                                                                ...... Slices for extension 0..*ExtensionExtension
                                                                                                                                                                                Slice: Unordered, Open by value:url
                                                                                                                                                                                0..*ExtensionExtension
                                                                                                                                                                                Slice: Unordered, Open by value:url
                                                                                                                                                                                  ...... value 0..1booleanPrimitive value for boolean0..1booleanPrimitive value for boolean
                                                                                                                                                                                    .... 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(4.0.0))Valueset containing permitted answers
                                                                                                                                                                                      ..... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                                                                                        ..... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                                        0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                                          ..... value 0..1stringPrimitive value for canonical0..1stringPrimitive value for canonical
                                                                                                                                                                                            ...... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                                                                                              ...... Slices for extension 0..*ExtensionExtension
                                                                                                                                                                                              Slice: Unordered, Open by value:url
                                                                                                                                                                                              0..*ExtensionExtension
                                                                                                                                                                                              Slice: Unordered, Open by value:url
                                                                                                                                                                                                ...... value 0..1stringPrimitive value for string
                                                                                                                                                                                                Max Length:1048576
                                                                                                                                                                                                0..1stringPrimitive value for string
                                                                                                                                                                                                Max Length:1048576
                                                                                                                                                                                                  .... answerOption SC0..*BackboneElementPermitted answer
                                                                                                                                                                                                  SC0..*BackboneElementPermitted answer
                                                                                                                                                                                                    ..... 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
                                                                                                                                                                                                          ..... value[x] S1..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
                                                                                                                                                                                                          Slice: Unordered, Closed by type:$this
                                                                                                                                                                                                          Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                                                                                            ...... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                                                                                              ...... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                                                              Slice: Unordered, Open by value:url
                                                                                                                                                                                                              0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                                                              Slice: Unordered, Open by value:url
                                                                                                                                                                                                                ..... 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