## 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

Error | StructureDefinition.version | Values for version differ: '6.1.0' vs '9.0.0'
Information | StructureDefinition.date | Values for date differ: '2022-04-20' vs '2023-10-17'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 International / Cross-Group Projects'
Information | StructureDefinition.definition | Values for definition differ: '\-' vs 'Sets expectations for supported capabilities for questionnaire responses for SDC-conformant systems.'
Information | StructureDefinition.comment | Values 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.'
Information | QuestionnaireResponse.language | Example/preferred bindings differ at QuestionnaireResponse.language using binding from USCoreQuestionnaireResponseProfile
Information | StructureDefinition.short | Values for short differ: '(USCDI) Form being answered' vs 'Form being answered'
Information | StructureDefinition.short | Values for short differ: '(USCDI) in-progress | completed | amended | entered-in-error | stopped' vs 'in-progress | completed | amended | entered-in-error | stopped'
Information | StructureDefinition.short | Values for short differ: '(USCDI) The subject of the questions' vs 'The subject of the questions'
Information | StructureDefinition.short | Values for short differ: '(USCDI) Date the answers were gathered' vs 'Date the answers were gathered'
Information | StructureDefinition.short | Values for short differ: '(USCDI) Person who received and recorded the answers' vs 'Person who received and recorded the answers'
Information | StructureDefinition.short | Values for short differ: '(USCDI) Groups and questions' vs 'Groups and questions'
Information | StructureDefinition.short | Values for short differ: '(USCDI) Pointer to specific item from Questionnaire' vs 'Pointer to specific item from Questionnaire'
Information | StructureDefinition.short | Values for short differ: '(USCDI) Single-valued answer to the question' vs 'Single-valued answer to the question'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse |
copyright | Used 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'
date | 2022-04-20 | 2023-10-17 | Values Differ
description | 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. | The US Core QuestionnaireResponse Profile inherits from the [Structured Data Capture (SDC) Questionnaire Response Profile](https://hl7.org/fhir/uv/sdc/STU4/StructureDefinition-sdc-questionnaireresponse.html). This profile sets minimum expectations for the QuestionnaireResponse resource to record, search, and fetch 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. | Values Differ
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | USCoreQuestionnaireResponseProfile |
publisher | HL7 International - Cross-Group Projects | HL7 International / Cross-Group Projects | Values Differ
purpose |  |
status | active |
title | US Core QuestionnaireResponse Profile |
type | QuestionnaireResponse |
url | http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse |
version | 6.1.0 | 9.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
QuestionnaireResponse | C | 0..* | SDCQuestionnaireResponse | US Core Profile based on SDC QuestionnaireResponse | C | 0..* | SDCQuestionnaireResponse | US Core Profile based on SDC QuestionnaireResponse |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
| Example/preferred bindings differ at QuestionnaireResponse.language using binding from USCoreQuestionnaireResponseProfile
text |  | 0..1 | Narrative | Text 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..1 | Narrative | Text 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..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S Σ | 0..1 | Identifier | Unique id for this set of answers | S Σ | 0..1 | Identifier | Unique 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..1 | canonical(SDCBaseQuestionnaire) | (USCDI) Form being answered | S Σ | 1..1 | canonical(SDC Base Questionnaire) | Form being answered |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
value |  | 0..1 | string | Primitive value for canonical |  | 0..1 | string | Primitive value for canonical |
status | ?!S Σ | 1..1 | code | (USCDI) in-progress | completed | amended | entered-in-error | stopped Binding: ?? (required): Lifecycle status of the questionnaire response. | ?!S Σ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: ?? (required): Lifecycle status of the questionnaire response. |
subject | S Σ | 1..1 | Reference(US Core Patient Profile) | (USCDI) The subject of the questions | S Σ | 1..1 | Reference(US Core Patient Profile S | Resource) | The subject of the questions |
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of | Σ | 0..1 | Reference(Encounter) | Encounter created as part of |
authored | S Σ | 1..1 | dateTime | (USCDI) Date the answers were gathered | S Σ | 1..1 | dateTime | Date the answers were gathered |
author | S Σ | 0..1 | Reference(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 | S Σ | 0..1 | Reference(US Core Practitioner Profile S | US Core Organization Profile | US Core Patient Profile | PractitionerRole | US Core Device Profile | US Core RelatedPerson Profile) | Person who received and recorded the answers |
source | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | The person who answered the questions | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | The person who answered the questions |
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
reference |  |  |  |  | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Added this element
type |  |  |  |  | Σ | 0..1 | uri | Type 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..1 | Identifier | Logical reference, when literal reference is not known | Added this element
display |  |  |  |  | Σ | 0..1 | string | Text alternative for the resource | Added this element
item | S C | 0..* | BackboneElement | (USCDI) Groups and questions | S C | 0..* | BackboneElement | Groups and questions |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | (USCDI) Pointer to specific item from Questionnaire | S | 1..1 | string | Pointer to specific item from Questionnaire |
definition |  | 0..1 | uri | ElementDefinition - details for the item |  | 0..1 | uri | ElementDefinition - details for the item |
text | S | 0..1 | string | Name for group or question text | S | 0..1 | string | Name for group or question text |
answer | S | 0..* | BackboneElement | The response(s) to the question | S | 0..* | BackboneElement | The response(s) to the question |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
value[x] | S | 0..1 | boolean, 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. | S | 0..1 | boolean, 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. |
item | S | 0..* | See item (QuestionnaireResponse) | Nested groups and questions | S | 0..* | See item (QuestionnaireResponse) | Nested groups and questions |
item | S | 0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | S | 0..* | See item (QuestionnaireResponse) | Nested questionnaire response items |
Documentation for this format