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

Left:US Core QuestionnaireResponse Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse)
Right:Healthcare Associated Infection Population Summary QuestionnaireResponse (http://hl7.org/fhir/us/hai/StructureDefinition/hai-population-summary-questionnaireresponse)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse' vs 'http://hl7.org/fhir/us/hai/StructureDefinition/hai-population-summary-questionnaireresponse'
ErrorStructureDefinition.versionValues for version differ: '6.1.0' vs '2.1.0'
InformationStructureDefinition.nameValues for name differ: 'USCoreQuestionnaireResponseProfile' vs 'HAIPopulationSummaryQuestionnaireResponse'
InformationStructureDefinition.titleValues for title differ: 'US Core QuestionnaireResponse Profile' vs 'Healthcare Associated Infection Population Summary QuestionnaireResponse'
InformationStructureDefinition.dateValues for date differ: '2022-04-20' vs '2023-09-06T19:15:21+00:00'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 International - Structured Documents Work Group'
InformationStructureDefinition.shortValues for short differ: 'US Core Profile based on SDC QuestionnaireResponse' vs 'Healthcare Associated Infection Population Summary QuestionnaireResponse'
InformationStructureDefinition.definitionValues for definition differ: '\-' vs 'This profile represents a response to the Healthcare Associated Infection Population Summary Questionnaire as a FHIR QuestionnaireResponse profile.'
InformationStructureDefinition.commentValues for comment differ: '\-' vs 'The QuestionnaireResponse contains enough information about the questions asked and their organization that it can be interpreted somewhat independently from the Questionnaire it is based on. I.e. You don't need access to the Questionnaire in order to extract basic information from a QuestionnaireResponse.'
WarningQuestionnaireResponseElements differ in definition for mustSupport: 'false' vs 'true'
WarningQuestionnaireResponse.idElements differ in definition for mustSupport: 'false' vs 'true'
InformationQuestionnaireResponse.idElement minimum cardinalities differ: '0' vs '1'
WarningQuestionnaireResponse.textElements differ in definition for mustSupport: 'false' vs 'true'
InformationQuestionnaireResponse.textElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: 'Unique id for this set of answers' vs 'Globally unique identifier for this QuestionnaireResponse.'
InformationStructureDefinition.definitionValues for definition differ: 'A business identifier assigned to a particular completed (or partially completed) questionnaire.' vs 'Globally unique identifier for this QuestionnaireResponse.'
InformationQuestionnaireResponse.identifierElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Form being answered' vs 'References the population summary Questionnaire instance being answered.'
InformationStructureDefinition.shortValues for short differ: '(USCDI) in-progress | completed | amended | entered-in-error | stopped' vs 'A submitted QuestionnaireResponse is 'completed'.'
InformationStructureDefinition.shortValues for short differ: '(USCDI) The subject of the questions' vs 'The subject of a population summary is a group.'
InformationStructureDefinition.definitionValues for definition differ: 'The subject of the questionnaire response. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information.' vs 'The subject of a population summary is a group.'
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'
InformationQuestionnaireResponse.subjectElement minimum cardinalities differ: '1' vs '0'
ErrorQuestionnaireResponse.subjectType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Group]])
InformationStructureDefinition.shortValues for short differ: '(USCDI) Date the answers were gathered' vs 'Date the answers were gathered'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Person who received and recorded the answers' vs 'Software or infection control professional'
InformationStructureDefinition.definitionValues for definition differ: 'Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.' vs 'In a single-person report, the author may be software (US Core Device) or may be a person in the role of infection control professional (ICP) (US Core Practitioner).'
InformationQuestionnaireResponse.authorElement minimum cardinalities differ: '0' vs '1'
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/StructureDefinition/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/core/StructureDefinition/us-core-practitioner]])
InformationStructureDefinition.shortValues for short differ: '(USCDI) Groups and questions' vs 'item'
InformationStructureDefinition.definitionValues for definition differ: 'A group or question item from the original questionnaire for which answers are provided.' vs 'A questionnaire item'
InformationQuestionnaireResponse.itemElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Pointer to specific item from Questionnaire' vs 'Pointer to specific item from Questionnaire'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Single-valued answer to the question' vs '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
      • Removed the item 'Used by permission of HL7 International, all rights reserved Creative Commons License'
      .date2022-04-202023-09-06T19:15:21+00:00
      • Values Differ
      .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 and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific uses cases.This profile represents a response to the Healthcare Associated Infection Population Summary Questionnaire as a FHIR QuestionnaireResponse profile.
      • Values Differ
      .experimentalfalse
      • Added the item 'false'
      .fhirVersion4.0.1
        .jurisdiction
          ..jurisdiction[0]urn:iso:std:iso:3166#US
            .kindresource
              .nameUSCoreQuestionnaireResponseProfileHAIPopulationSummaryQuestionnaireResponse
              • Values Differ
              .publisherHL7 International - Cross-Group ProjectsHL7 International - Structured Documents Work Group
              • Values Differ
              .purpose
                .statusactive
                  .titleUS Core QuestionnaireResponse ProfileHealthcare Associated Infection Population Summary QuestionnaireResponse
                  • Values Differ
                  .typeQuestionnaireResponse
                    .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponsehttp://hl7.org/fhir/us/hai/StructureDefinition/hai-population-summary-questionnaireresponse
                    • Values Differ
                    .version6.1.02.1.0
                    • Values Differ

                    Structure

                    NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                    .. QuestionnaireResponse C0..*SDCQuestionnaireResponseUS Core Profile based on SDC QuestionnaireResponse
                    SC0..*SDCQuestionnaireResponseHealthcare Associated Infection Population Summary QuestionnaireResponse
                    • Elements differ in definition for mustSupport: 'false' vs 'true'
                    ... id Σ0..1idLogical id of this artifactSΣ1..1idLogical id of this artifact
                    • Elements differ in definition for mustSupport: 'false' vs 'true'
                    • Element minimum cardinalities differ: '0' vs '1'
                    ... 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 interpretationS1..1NarrativeText summary of the resource, for human interpretation
                        • Elements differ in definition for mustSupport: 'false' vs 'true'
                        • Element minimum cardinalities differ: '0' vs '1'
                        ... 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Σ1..1IdentifierGlobally unique identifier for this QuestionnaireResponse.
                              • Element minimum cardinalities differ: '0' vs '1'
                              ... 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)(USCDI) Form being answeredSΣ1..1canonical(SDCBaseQuestionnaire)References the population summary Questionnaire instance 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..1code(USCDI) in-progress | completed | amended | entered-in-error | stopped
                                          Binding: ?? (required): Lifecycle status of the questionnaire response.

                                          ?!SΣ1..1codeA submitted QuestionnaireResponse is 'completed'.
                                          Binding: ?? (required): Lifecycle status of the questionnaire response.


                                          Required Pattern: completed
                                            ... subject SΣ1..1Reference(US Core Patient Profile)(USCDI) The subject of the questionsSΣ0..1Reference(Group)The subject of a population summary is a group.
                                            • Element minimum cardinalities differ: '1' vs '0'
                                            • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Group]])
                                            ... encounter Σ0..1Reference(Encounter)Encounter created as part ofΣ0..1Reference(Encounter)Encounter created as part of
                                              ... authored SΣ1..1dateTime(USCDI) Date the answers were gatheredSΣ1..1dateTimeDate 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)(USCDI) Person who received and recorded the answersSΣ1..1Reference(Device | US Core Practitioner Profile)Software or infection control professional
                                                • Element minimum cardinalities differ: '0' vs '1'
                                                • 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/StructureDefinition/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/core/StructureDefinition/us-core-practitioner]])
                                                ... 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..*BackboneElement(USCDI) Groups and questions
                                                  SC1..*BackboneElementitem
                                                  • 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..1string(USCDI) Pointer 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
                                                                  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()(USCDI) 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