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

Left:DTR Questionnaire Response (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse)
Right:DTR Questionnaire Response (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse)

Messages

ErrorStructureDefinition.versionValues for version differ: '2.1.0-preview' vs '2.1.0'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
      .copyright
        .date2023-08-21T02:27:35+00:00
          .descriptionEnforces DTR requirements on a completed or partially completed QuestionnaireResponse, including allowing the response to be linked to the relevant order, coverage, etc. and enforcing constraints applicable to the DTR context.
            .experimental
              .fhirVersion4.0.1
                .jurisdiction
                  ..jurisdiction[0]urn:iso:std:iso:3166#US
                    .kindresource
                      .nameDTRQuestionnaireResponse
                        .publisherHL7 International / Clinical Decision Support
                          .purpose
                            .statusactive
                              .titleDTR Questionnaire Response
                                .typeQuestionnaireResponse
                                  .urlhttp://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse
                                    .version2.1.0-preview2.1.0
                                    • Values Differ

                                    Structure

                                    NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                    .. QuestionnaireResponse C0..*SDCQuestionnaireResponseSDC Questionnaire Response
                                    sdcqr-1: Subject SHOULD be present (searching is difficult without subject). Almost all QuestionnaireResponses should be with respect to some sort of subject.
                                    sdcqr-2: When repeats=true for a group, it'll be represented with multiple items with the same linkId in the QuestionnaireResponse. For a question, it'll be represented by a single item with that linkId with multiple answers.
                                    C0..*SDCQuestionnaireResponseSDC Questionnaire Response
                                    sdcqr-1: Subject SHOULD be present (searching is difficult without subject). Almost all QuestionnaireResponses should be with respect to some sort of subject.
                                    sdcqr-2: When repeats=true for a group, it'll be represented with multiple items with the same linkId in the QuestionnaireResponse. For a question, it'll be represented by a single item with that linkId with multiple answers.
                                      ... 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
                                            ... 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 3..*ExtensionExtension
                                                Slice: Unordered, Open by value:url
                                                3..*ExtensionExtension
                                                Slice: Unordered, Open by value:url
                                                  ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                                  ?!0..*ExtensionExtensions that cannot be ignored
                                                    ... identifier SΣ0..1IdentifierUnique id for this set of answersSΣ0..1IdentifierUnique id for this set of answers
                                                      ... basedOn Σ0..0Σ0..0
                                                        ... partOf Σ0..0Σ0..0
                                                          ... questionnaire SΣ1..1canonical(SDCBaseQuestionnaire)Form being answeredSΣ1..1canonical(SDCBaseQuestionnaire)Form being answered
                                                            .... 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 canonical0..1stringPrimitive value for canonical
                                                                  ... status ?!SΣ1..1codein-progress | completed | amended | entered-in-error | stopped
                                                                  Binding: ?? (required): Lifecycle status of the questionnaire response.

                                                                  ?!SΣ1..1codein-progress | completed | amended | entered-in-error | stopped
                                                                  Binding: ?? (required): Lifecycle status of the questionnaire response.

                                                                    ... subject SΣ1..1Reference(CRD Patient)The subject of the questionsSΣ1..1Reference(CRD Patient(2.1.0))The subject of the questions
                                                                      ... encounter Σ0..1Reference(Encounter)Encounter created as part ofΣ0..1Reference(Encounter)Encounter created as part of
                                                                        ... authored SΣ1..1dateTimeDate the answers were gatheredSΣ1..1dateTimeDate the answers were gathered
                                                                          ... author SΣ0..1Reference(Device | CRD Patient | US Core Practitioner Profile(7.0.0) | HRex PractitionerRole Profile | CRD Organization | RelatedPerson)Person who received and recorded the answersSΣ0..1Reference(Device | CRD Patient(2.1.0) | US Core Practitioner Profile(7.0.0) | HRex PractitionerRole Profile(1.1.0) | CRD Organization(2.1.0) | RelatedPerson)Person who received and recorded the answers
                                                                            ... source Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)The person who answered the questionsΣ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)The person who answered the questions
                                                                              ... item SC1..*BackboneElementGroups and questions
                                                                              qrs-1: Nested item can't be beneath both item and answer
                                                                              SC1..*BackboneElementGroups and questions
                                                                              qrs-1: Nested item can't be beneath both item and 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
                                                                                      .... linkId S1..1stringPointer to specific item from QuestionnaireS1..1stringPointer to specific item from Questionnaire
                                                                                        .... definition 0..1uriElementDefinition - details for the item0..1uriElementDefinition - details for the item
                                                                                          .... text S0..1stringName for group or question textS0..1stringName for group or question text
                                                                                            .... answer S0..*BackboneElementThe response(s) to the question
                                                                                            S0..*BackboneElementThe response(s) to the question
                                                                                              ..... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                ..... Slices for extension 1..*ExtensionExtension
                                                                                                Slice: Unordered, Open by value:url
                                                                                                1..*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] S0..1boolean, date, dateTime, time, decimal, integer, string, Coding, uri, Quantity, Attachment, Reference()Single-valued answer to the question
                                                                                                    Binding: ?? (example): Code indicating the response provided for a question.

                                                                                                    S0..1boolean, date, dateTime, time, decimal, integer, string, Coding, uri, Quantity, Attachment, Reference()Single-valued answer to the question
                                                                                                    Binding: ?? (example): Code indicating the response provided for a question.

                                                                                                      ..... item S0..*See item (QuestionnaireResponse)Nested groups and questions
                                                                                                      S0..*See item (QuestionnaireResponse)Nested groups and questions
                                                                                                        .... item S0..*See item (QuestionnaireResponse)Nested questionnaire response items
                                                                                                        S0..*See item (QuestionnaireResponse)Nested questionnaire response items

                                                                                                          doco Documentation for this format