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

Left:US Core QuestionnaireResponse Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse)
Right:US Core QuestionnaireResponse Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse)

Messages

ErrorStructureDefinition.versionValues for version differ: '5.0.1' vs '6.1.0'
WarningQuestionnaireResponse.metaElements differ in definition for mustSupport: 'true' vs 'false'
InformationStructureDefinition.shortValues for short differ: 'Form being answered' vs '(USCDI) Form being answered'
InformationStructureDefinition.shortValues for short differ: 'in-progress | completed | amended | entered-in-error | stopped' vs '(USCDI) in-progress | completed | amended | entered-in-error | stopped'
InformationStructureDefinition.shortValues for short differ: 'The subject of the questions' vs '(USCDI) The subject of the questions'
InformationStructureDefinition.shortValues for short differ: 'Date the answers were gathered' vs '(USCDI) Date the answers were gathered'
InformationStructureDefinition.shortValues for short differ: 'Person who received and recorded the answers' vs '(USCDI) Person who received and recorded the answers'
InformationStructureDefinition.shortValues for short differ: 'Groups and questions' vs '(USCDI) Groups and questions'
InformationStructureDefinition.shortValues for short differ: 'Pointer to specific item from Questionnaire' vs '(USCDI) Pointer to specific item from Questionnaire'
InformationStructureDefinition.shortValues for short differ: 'Single-valued answer to the question' vs '(USCDI) Single-valued answer to the question'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
      .copyrightUsed by permission of HL7 International, all rights reserved Creative Commons License
        .date2022-04-20
          .descriptionTo promote interoperability and adoption through common implementation, this profile sets minimum expectations for the QuestionnaireResponse resource to record, search, and fetch retrieve captures the responses to form/survey and assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*. This profile is based on the [Structured Data Capture (SDC) Questionnaire Response Profile](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html) and identifies the *additional* core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the QuestionnaireResponse resource to record, search, and fetch retrieve captures the responses to form/survey and assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*. This profile is based on the [Structured Data Capture (SDC) Questionnaire Response Profile](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html) and identifies the *additional* core elements, extensions, vocabularies and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific uses cases.
          • Values Differ
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#US
                  .kindresource
                    .nameUSCoreQuestionnaireResponseProfile
                      .publisherHL7 International - Cross-Group Projects
                        .purpose
                          .statusactive
                            .titleUS Core QuestionnaireResponse Profile
                              .typeQuestionnaireResponse
                                .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse
                                  .version5.0.16.1.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. QuestionnaireResponse C0..*SDCQuestionnaireResponseUS Core Profile based on SDC QuestionnaireResponse
                                  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..*SDCQuestionnaireResponseUS Core Profile based on SDC QuestionnaireResponse
                                  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..1stringLogical id of this artifactΣ0..1idLogical id of this artifact
                                      ... meta SΣ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                                      • Elements differ in definition for mustSupport: 'true' vs 'false'
                                      .... id 0..1stringUnique id for inter-element referencing
                                      • Removed this element
                                      .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                      Slice: Unordered, Open by value:url
                                      • Removed this element
                                      .... versionId Σ0..1idVersion specific identifier
                                      • Removed this element
                                      .... lastUpdated Σ0..1instantWhen the resource version last changed
                                      • Removed this element
                                      .... source Σ0..1uriIdentifies where the resource comes from
                                      • Removed this element
                                      .... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
                                      • Removed this element
                                      .... security Σ0..*CodingSecurity Labels applied to this resource
                                      Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


                                      • Removed this element
                                      .... Slices for tag SΣ0..*CodingTags applied to this resource
                                      Slice: Unordered, Open by pattern:$this
                                      Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


                                      • Removed this element
                                      ... 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 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
                                                ... identifier SΣ0..1IdentifierUnique id for this set of answersSΣ0..1IdentifierUnique id for this set of answers
                                                  ... basedOn Σ0..*Reference(CarePlan | ServiceRequest)Request fulfilled by this QuestionnaireResponse
                                                  Σ0..*Reference(CarePlan | ServiceRequest)Request fulfilled by this QuestionnaireResponse
                                                    ... partOf Σ0..*Reference(Observation | Procedure)Part of this action
                                                    Σ0..*Reference(Observation | Procedure)Part of this action
                                                      ... questionnaire SΣ1..1canonical(SDCBaseQuestionnaire)Form being answeredSΣ1..1canonical(SDCBaseQuestionnaire)(USCDI) 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..1code(USCDI) in-progress | completed | amended | entered-in-error | stopped
                                                              Binding: ?? (required): Lifecycle status of the questionnaire response.

                                                                ... subject SΣ1..1Reference(US Core Patient Profile)The subject of the questionsSΣ1..1Reference(US Core Patient Profile)(USCDI) 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..1dateTime(USCDI) Date the answers were gathered
                                                                      ... author SΣ0..1Reference(US Core Practitioner Profile S | US Core Organization Profile | US Core Patient Profile | PractitionerRole | Device | US Core RelatedPerson Profile)Person who received and recorded the answersSΣ0..1Reference(US Core Practitioner Profile S | US Core Organization Profile | US Core Patient Profile | PractitionerRole | Device | US Core RelatedPerson Profile)(USCDI) 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 SC0..*BackboneElementGroups and questions
                                                                          qrs-1: Nested item can't be beneath both item and answer
                                                                          SC0..*BackboneElement(USCDI) Groups 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..1string(USCDI) Pointer 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 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] S0..1boolean, date, dateTime, time, decimal S, integer, string S, Coding S, 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 S, integer, string S, Coding S, uri, Quantity, Attachment, Reference()(USCDI) 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