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

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

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse' vs 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse'
ErrorStructureDefinition.versionValues for version differ: '9.0.0-ballot' vs '2.2.0'
InformationStructureDefinition.nameValues for name differ: 'USCoreQuestionnaireResponseProfile' vs 'DTRQuestionnaireResponse'
InformationStructureDefinition.titleValues for title differ: 'US Core QuestionnaireResponse Profile' vs 'DTR Questionnaire Response'
InformationStructureDefinition.dateValues for date differ: '2023-10-17' vs '2023-08-21T02:27:35+00:00'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International / Cross-Group Projects' vs 'HL7 International / Clinical Decision Support'
ErrorStructureDefinition.baseDefinitionValues for baseDefinition differ: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' vs 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse|4.0.0'
InformationStructureDefinition.shortValues for short differ: 'US Core Profile based on SDC QuestionnaireResponse' vs 'Standard Questionnaire Response'
InformationQuestionnaireResponse.extensionElement minimum cardinalities differ: '0' vs '2'
InformationQuestionnaireResponse.basedOnElement maximum cardinalities differ: '2147483647' vs '0'
InformationQuestionnaireResponse.partOfElement maximum cardinalities differ: '2147483647' vs '0'
InformationStructureDefinition.commentValues for comment differ: '-' vs 'If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types. If subject is omitted - because the QuestionnaireResponse is not associated with a specific subject, ensure that QuestionnaireRsponse.identifier is present or the QuestionnaireResponse is referenced somewhere (e.g. Task.output, Composition.section.entry, etc.) to allow tracking and retrieval of the QuestionnaireResponse'
ErrorQuestionnaireResponse.authorType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-device], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient|2.2.1], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0], CanonicalType[http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole|1.2.0], CanonicalType[http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization|2.2.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])
InformationQuestionnaireResponse.item.answer.extensionElement minimum cardinalities differ: '0' vs '1'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponsehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse|4.0.0
    • Values Differ
    .copyrightUsed by permission of HL7 International, all rights reserved Creative Commons License
    • Removed the item 'Used by permission of HL7 International, all rights reserved Creative Commons License'
    .date2023-10-172023-08-21T02:27:35+00:00
    • Values Differ
    .descriptionThe US Core QuestionaireResponse Profile inherits from the [Structured Data Capture (SDC) Questionnaire Response Profile](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html). 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\u2019 Assets, Risks, and Experiences (PRAPARE) Survey*. It specifies which core *additional* elements, extensions, vocabularies, and value sets **SHALL** be present and constrains how the elements are used. Before reviewing this profile, implementers are encouraged to read the Screening and Assessments guidance page, which documents the process of recording responses and capturing assertions/determinations resulting from surveys and questionnaires.Enforces 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.
    • Values Differ
    .experimental
      .fhirVersion4.0.1
        .jurisdiction
          ..jurisdiction[0]urn:iso:std:iso:3166#US
            .kindresource
              .nameUSCoreQuestionnaireResponseProfileDTRQuestionnaireResponse
              • Values Differ
              .publisherHL7 International / Cross-Group ProjectsHL7 International / Clinical Decision Support
              • Values Differ
              .purpose
                .statusactive
                  .titleUS Core QuestionnaireResponse ProfileDTR Questionnaire Response
                  • Values Differ
                  .typeQuestionnaireResponse
                    .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponsehttp://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse
                    • Values Differ
                    .version9.0.0-ballot2.2.0
                    • Values Differ

                    Structure

                    NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                    .. QuestionnaireResponse C0..*SDCQuestionnaireResponse(4.0.0)US Core Profile based on SDC QuestionnaireResponse
                    C0..*SDCQuestionnaireResponse(4.0.0)Standard Questionnaire Response
                      ... 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 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
                              ... contained 0..*ResourceContained, inline Resources
                              0..*ResourceContained, inline Resources
                                ... Slices for extension 0..*ExtensionExtension
                                Slice: Unordered, Open by value:url
                                2..*ExtensionExtension
                                Slice: Unordered, Open by value:url
                                • Element minimum cardinalities differ: '0' vs '2'
                                ... 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..0Request fulfilled by this QuestionnaireResponse
                                    • Element maximum cardinalities differ: '2147483647' vs '0'
                                    ... partOf Σ0..*Reference(Observation | Procedure)Part of this action
                                    Σ0..0Part of this action
                                    • Element maximum cardinalities differ: '2147483647' vs '0'
                                    ... questionnaire SΣ1..1canonical(SDC Base Questionnaire(4.0.0))Form being answeredSΣ1..1canonical(SDC Base Questionnaire(4.0.0))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(US Core Patient Profile(7.0.0) S | Resource)The subject of the questionsSΣ1..1Reference(CRD Patient(2.2.1))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(US Core Practitioner Profile(7.0.0) S | US Core Organization Profile(7.0.0) | US Core Patient Profile(7.0.0) | PractitionerRole | US Core Device Profile | US Core RelatedPerson Profile(7.0.0))Person who received and recorded the answersSΣ0..1Reference(Device | CRD Patient(2.2.1) | US Core Practitioner Profile(7.0.0) | HRex PractitionerRole Profile(1.2.0) | CRD Organization(2.2.1) | RelatedPerson)Person who received and recorded the answers
                                                    • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-device], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient|2.2.1], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0], CanonicalType[http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole|1.2.0], CanonicalType[http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization|2.2.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])
                                                    ... 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
                                                      .... id 0..1stringUnique id for inter-element referencing
                                                      • Added this element
                                                      .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                      Slice: Unordered, Open by value:url
                                                      • Added this element
                                                      .... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
                                                      • Added this element
                                                      .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                      Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                      • Added this element
                                                      .... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
                                                      • Added this element
                                                      .... display Σ0..1stringText alternative for the resource
                                                      • Added this element
                                                      ... item SC0..*BackboneElementGroups and questions
                                                      SC0..*BackboneElementGroups and questions
                                                        .... 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 0..*ExtensionExtension
                                                                        Slice: Unordered, Open by value:url
                                                                        1..*ExtensionExtension
                                                                        Slice: Unordered, Open by value:url
                                                                        • Element minimum cardinalities differ: '0' vs '1'
                                                                        ..... 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, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)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