FHIR IG analytics| Package | hl7.fhir.uv.xver-r5.r4 |
| Resource Type | ConceptMap |
| Id | ConceptMap-R5-QuestionnaireResponse-element-map-to-R4.json |
| FHIR Version | R4 |
| Source | http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/ConceptMap-R5-QuestionnaireResponse-element-map-to-R4.html |
| URL | http://hl7.org/fhir/uv/xver/ConceptMap/R5-QuestionnaireResponse-element-map-to-R4 |
| Version | 0.1.0 |
| Status | active |
| Date | 2026-03-17T16:04:47.729107-05:00 |
| Name | R5QuestionnaireResponseElementMapToR4 |
| Title | Cross-version mapping for FHIR R5 QuestionnaireResponse to FHIR R4 QuestionnaireResponse |
| Realm | uv |
| Authority | hl7 |
| Description | This ConceptMap represents cross-version mappings for elements from a FHIR R5 QuestionnaireResponse to FHIR R4. |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: ConceptMap R5-QuestionnaireResponse-element-map-to-R4
Mapping from http://hl7.org/fhir/5.0 to http://hl7.org/fhir/4.0
Group 1 Mapping from http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse|5.0.0 to QuestionnaireResponseversion: 4.0.1)
| Source Code | Relationship | Target Code | Comment |
| QuestionnaireResponse.meta (meta) | is equivalent to | QuestionnaireResponse.meta | Element `QuestionnaireResponse.meta` is mapped to FHIR R4 element `QuestionnaireResponse.meta` as `Equivalent`. |
| QuestionnaireResponse.implicitRules (implicitRules) | is equivalent to | QuestionnaireResponse.implicitRules | Element `QuestionnaireResponse.implicitRules` is mapped to FHIR R4 element `QuestionnaireResponse.implicitRules` as `Equivalent`. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc. |
| QuestionnaireResponse.language (language) | is equivalent to | QuestionnaireResponse.language | Element `QuestionnaireResponse.language` is mapped to FHIR R4 element `QuestionnaireResponse.language` as `Equivalent`. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute). |
| QuestionnaireResponse.text (text) | is equivalent to | QuestionnaireResponse.text | Element `QuestionnaireResponse.text` is mapped to FHIR R4 element `QuestionnaireResponse.text` as `Equivalent`. Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later. |
| QuestionnaireResponse.contained (contained) | is equivalent to | QuestionnaireResponse.contained | Element `QuestionnaireResponse.contained` is mapped to FHIR R4 element `QuestionnaireResponse.contained` as `Equivalent`. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels. |
| QuestionnaireResponse.identifier (identifier) | is equivalent to | QuestionnaireResponse.identifier | Element `QuestionnaireResponse.identifier` is mapped to FHIR R4 element `QuestionnaireResponse.identifier` as `SourceIsBroaderThanTarget`. Note: This is a business identifier, not a resource identifier (see [discussion](https://hl7.org/fhir/resource.htm#identifiers)). |
| QuestionnaireResponse.basedOn (basedOn) | is equivalent to | QuestionnaireResponse.basedOn | Element `QuestionnaireResponse.basedOn` is mapped to FHIR R4 element `QuestionnaireResponse.basedOn` as `Equivalent`. |
| QuestionnaireResponse.partOf (partOf) | is equivalent to | QuestionnaireResponse.partOf | Element `QuestionnaireResponse.partOf` is mapped to FHIR R4 element `QuestionnaireResponse.partOf` as `Equivalent`. Not to be used to link an questionnaire response to an Encounter - use 'context' for that. Composition of questionnaire responses will be handled using the Assemble operation defined in the SDC IG. For relationships to referrals, and other types of requests, use basedOn. |
| QuestionnaireResponse.questionnaire (questionnaire) | is equivalent to | QuestionnaireResponse.questionnaire | Element `QuestionnaireResponse.questionnaire` is mapped to FHIR R4 element `QuestionnaireResponse.questionnaire` as `Equivalent`. If a QuestionnaireResponse references a Questionnaire that can be resolved, then the QuestionnaireResponse structure must be consistent with the Questionnaire (i.e. questions must be organized into the same groups, nested questions must still be nested, etc.). It is possible to have a QuestionnaireResponse whose 'questionnaire' element does not resolve. It is also possible for the questionnaire element to not have a value but only extensions (e.g. conveying the title or identifier for the questionnaire). This may happen for legacy data. If there is no formally defined Questionnaire, it is undefined what the 'correct' values for the linkId elements should be and it is possible that linkIds might be inconsistent for QuestionnaireResponses for the same form if captured by distinct systems. |
| QuestionnaireResponse.status (status) | is equivalent to | QuestionnaireResponse.status | Element `QuestionnaireResponse.status` is mapped to FHIR R4 element `QuestionnaireResponse.status` as `Equivalent`. Unknown does not represent "other" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is. |
| QuestionnaireResponse.subject (subject) | is equivalent to | QuestionnaireResponse.subject | Element `QuestionnaireResponse.subject` is mapped to FHIR R4 element `QuestionnaireResponse.subject` as `Equivalent`. If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types. |
| QuestionnaireResponse.encounter (encounter) | is equivalent to | QuestionnaireResponse.encounter | Element `QuestionnaireResponse.encounter` is mapped to FHIR R4 element `QuestionnaireResponse.encounter` as `Equivalent`. This will typically be the encounter the questionnaire response was created during, but some questionnaire responses may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission forms). A questionnaire that was initiated during an encounter but not fully completed during the encounter would still generally be associated with the encounter. |
| QuestionnaireResponse.authored (authored) | is equivalent to | QuestionnaireResponse.authored | Element `QuestionnaireResponse.authored` is mapped to FHIR R4 element `QuestionnaireResponse.authored` as `Equivalent`. May be different from the lastUpdateTime of the resource itself, because that reflects when the data was known to the server, not when the data was captured. This element is optional to allow for systems that might not know the value, however it SHOULD be populated if possible. |
| QuestionnaireResponse.author (author) | is equivalent to | QuestionnaireResponse.author | Element `QuestionnaireResponse.author` is mapped to FHIR R4 element `QuestionnaireResponse.author` as `Equivalent`. Mapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation. Authoring by device would indicate that some portion of the questionnaire had been auto-populated. Device should only be used if it directly determined the answers, not if it was merely used as a capture tool to record answers provided by others. In the latter case, information about the physical device, software, etc. would be captured using Provenance. |
| QuestionnaireResponse.source (source) | maps to wider concept | QuestionnaireResponse.source | Element `QuestionnaireResponse.source` is mapped to FHIR R4 element `QuestionnaireResponse.source` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `QuestionnaireResponse.source` with unmapped reference targets: Device, Organization. If not specified, no inference can be made about who provided the data. Device should only be used if it directly determined the answers, not if it was merely used as a capture tool to record answers provided by others. In the latter case, information about the physical device, software, etc. would be captured using Provenance. |
| QuestionnaireResponse.item (item) | maps to wider concept | QuestionnaireResponse.item | Element `QuestionnaireResponse.item` is mapped to FHIR R4 element `QuestionnaireResponse.item` as `Equivalent`. Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).\nWhen dealing with repeating items, each group repetition will be handled by a separate item. However, repeating questions are handled with a single question item and potentially multiple answers. |
| QuestionnaireResponse.item.linkId (linkId) | is equivalent to | QuestionnaireResponse.item.linkId | Element `QuestionnaireResponse.item.linkId` is mapped to FHIR R4 element `QuestionnaireResponse.item.linkId` as `Equivalent`. |
| QuestionnaireResponse.item.definition (definition) | is equivalent to | QuestionnaireResponse.item.definition | Element `QuestionnaireResponse.item.definition` is mapped to FHIR R4 element `QuestionnaireResponse.item.definition` as `Equivalent`. The ElementDefinition must be in a [StructureDefinition](https://hl7.org/fhir/s.html#), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. There is no need for this element if the item pointed to by the linkId has a definition listed. |
| QuestionnaireResponse.item.text (text) | is equivalent to | QuestionnaireResponse.item.text | Element `QuestionnaireResponse.item.text` is mapped to FHIR R4 element `QuestionnaireResponse.item.text` as `Equivalent`. The text for an item SHOULD be identical to the text from the corresponding Questionnaire.item. This can't be strictly enforced because it's possible for the Questionnaire to be updated subsequent to the QuestionnaireResponse having been created, however the intention is that the text in the QuestionnaireResponse reflects what the user saw when completing the Questionnaire. |
| QuestionnaireResponse.item.answer (answer) | maps to wider concept | QuestionnaireResponse.item.answer | Element `QuestionnaireResponse.item.answer` is mapped to FHIR R4 element `QuestionnaireResponse.item.answer` as `Equivalent`. The value is nested because we cannot have a repeating structure that has variable type. |
| QuestionnaireResponse.item.answer.value[x] (value[x]) | is equivalent to | QuestionnaireResponse.item.answer.value[x] | Element `QuestionnaireResponse.item.answer.value[x]` is mapped to FHIR R4 element `QuestionnaireResponse.item.answer.value[x]` as `RelatedTo`. The target context `QuestionnaireResponse.item.answer.value[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `QuestionnaireResponse.item.answer`. More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. Must match the datatype specified by Questionnaire.item.type in the corresponding Questionnaire. Note that a question is answered using one of the possible choices defined with answerOption, answerValueSet or some other means and the answer has a complex data type, all elements within the answer in the QuestionnaireResponse **SHOULD** match the elements defined corresponding choice value in the Questionnaire. However, it is possible that not all elements will be propagated. Also, some systems might use language translations resulting in different displays. Comparison of value to the values defined in the Questionnaire (whether by answerOption, answerValueSet or answerExpression) **SHALL NOT** pay attention to Coding.display, Reference.display, Quantity.unit unless those are the only elements present. As well, systems are not required to check for a match on any extensions (e.g. ordinal values, translations, etc.). Systems **MAY** enforce that if extensions such as ordinal values are present in both Questionnaire and QuestionnaireResponse, they match. |
| QuestionnaireResponse.item.answer.item (item) | is equivalent to | QuestionnaireResponse.item.answer.item | Element `QuestionnaireResponse.item.answer.item` is mapped to FHIR R4 element `QuestionnaireResponse.item.answer.item` as `Equivalent`. Only used when nesting beneath a question - see item.item for nesting beneath groups |
| QuestionnaireResponse.item.item (item) | is equivalent to | QuestionnaireResponse.item.item | Element `QuestionnaireResponse.item.item` is mapped to FHIR R4 element `QuestionnaireResponse.item.item` as `Equivalent`. Only used when nesting beneath a group - see item.answer.item for nesting beneath questions |
{
"resourceType": "ConceptMap",
"id": "R5-QuestionnaireResponse-element-map-to-R4",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 0,
"_valueInteger": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use",
"_valueCode": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"
}
]
}
}
],
"url": "http://hl7.org/fhir/uv/xver/ConceptMap/R5-QuestionnaireResponse-element-map-to-R4",
"version": "0.1.0",
"name": "R5QuestionnaireResponseElementMapToR4",
"title": "Cross-version mapping for FHIR R5 QuestionnaireResponse to FHIR R4 QuestionnaireResponse",
"status": "active",
"experimental": false,
"date": "2026-03-17T16:04:47.729107-05:00",
"contact": [
{
"name": "FHIR Infrastructure",
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description": "This ConceptMap represents cross-version mappings for elements from a FHIR R5 QuestionnaireResponse to FHIR R4.",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001",
"display": "World"
}
]
}
],
"sourceCanonical": "http://hl7.org/fhir/5.0",
"targetUri": "http://hl7.org/fhir/4.0",
"group": [
{
"source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
"sourceVersion": "5.0.0",
"target": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
"targetVersion": "4.0.1",
"element": [
{
"code": "QuestionnaireResponse.meta",
"display": "meta",
"target": [
{
"code": "QuestionnaireResponse.meta",
"display": "QuestionnaireResponse.meta",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.meta` is mapped to FHIR R4 element `QuestionnaireResponse.meta` as `Equivalent`."
}
]
},
{
"code": "QuestionnaireResponse.implicitRules",
"display": "implicitRules",
"target": [
{
"code": "QuestionnaireResponse.implicitRules",
"display": "QuestionnaireResponse.implicitRules",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.implicitRules` is mapped to FHIR R4 element `QuestionnaireResponse.implicitRules` as `Equivalent`.\nAsserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc."
}
]
},
{
"code": "QuestionnaireResponse.language",
"display": "language",
"target": [
{
"code": "QuestionnaireResponse.language",
"display": "QuestionnaireResponse.language",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.language` is mapped to FHIR R4 element `QuestionnaireResponse.language` as `Equivalent`.\nLanguage is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."
}
]
},
{
"code": "QuestionnaireResponse.text",
"display": "text",
"target": [
{
"code": "QuestionnaireResponse.text",
"display": "QuestionnaireResponse.text",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.text` is mapped to FHIR R4 element `QuestionnaireResponse.text` as `Equivalent`.\nContained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later."
}
]
},
{
"code": "QuestionnaireResponse.contained",
"display": "contained",
"target": [
{
"code": "QuestionnaireResponse.contained",
"display": "QuestionnaireResponse.contained",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.contained` is mapped to FHIR R4 element `QuestionnaireResponse.contained` as `Equivalent`.\nThis should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels."
}
]
},
{
"code": "QuestionnaireResponse.identifier",
"display": "identifier",
"target": [
{
"code": "QuestionnaireResponse.identifier",
"display": "QuestionnaireResponse.identifier",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.identifier` is mapped to FHIR R4 element `QuestionnaireResponse.identifier` as `SourceIsBroaderThanTarget`.\nNote: This is a business identifier, not a resource identifier (see [discussion](https://hl7.org/fhir/resource.htm#identifiers))."
}
]
},
{
"code": "QuestionnaireResponse.basedOn",
"display": "basedOn",
"target": [
{
"code": "QuestionnaireResponse.basedOn",
"display": "QuestionnaireResponse.basedOn",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.basedOn` is mapped to FHIR R4 element `QuestionnaireResponse.basedOn` as `Equivalent`."
}
]
},
{
"code": "QuestionnaireResponse.partOf",
"display": "partOf",
"target": [
{
"code": "QuestionnaireResponse.partOf",
"display": "QuestionnaireResponse.partOf",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.partOf` is mapped to FHIR R4 element `QuestionnaireResponse.partOf` as `Equivalent`.\nNot to be used to link an questionnaire response to an Encounter - use 'context' for that.\n\nComposition of questionnaire responses will be handled using the Assemble operation defined in the SDC IG. For relationships to referrals, and other types of requests, use basedOn."
}
]
},
{
"code": "QuestionnaireResponse.questionnaire",
"display": "questionnaire",
"target": [
{
"code": "QuestionnaireResponse.questionnaire",
"display": "QuestionnaireResponse.questionnaire",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.questionnaire` is mapped to FHIR R4 element `QuestionnaireResponse.questionnaire` as `Equivalent`.\nIf a QuestionnaireResponse references a Questionnaire that can be resolved, then the QuestionnaireResponse structure must be consistent with the Questionnaire (i.e. questions must be organized into the same groups, nested questions must still be nested, etc.). It is possible to have a QuestionnaireResponse whose 'questionnaire' element does not resolve. It is also possible for the questionnaire element to not have a value but only extensions (e.g. conveying the title or identifier for the questionnaire). This may happen for legacy data. If there is no formally defined Questionnaire, it is undefined what the 'correct' values for the linkId elements should be and it is possible that linkIds might be inconsistent for QuestionnaireResponses for the same form if captured by distinct systems."
}
]
},
{
"code": "QuestionnaireResponse.status",
"display": "status",
"target": [
{
"code": "QuestionnaireResponse.status",
"display": "QuestionnaireResponse.status",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.status` is mapped to FHIR R4 element `QuestionnaireResponse.status` as `Equivalent`.\nUnknown does not represent \"other\" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is."
}
]
},
{
"code": "QuestionnaireResponse.subject",
"display": "subject",
"target": [
{
"code": "QuestionnaireResponse.subject",
"display": "QuestionnaireResponse.subject",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.subject` is mapped to FHIR R4 element `QuestionnaireResponse.subject` as `Equivalent`.\nIf the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types."
}
]
},
{
"code": "QuestionnaireResponse.encounter",
"display": "encounter",
"target": [
{
"code": "QuestionnaireResponse.encounter",
"display": "QuestionnaireResponse.encounter",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.encounter` is mapped to FHIR R4 element `QuestionnaireResponse.encounter` as `Equivalent`.\nThis will typically be the encounter the questionnaire response was created during, but some questionnaire responses may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission forms). A questionnaire that was initiated during an encounter but not fully completed during the encounter would still generally be associated with the encounter."
}
]
},
{
"code": "QuestionnaireResponse.authored",
"display": "authored",
"target": [
{
"code": "QuestionnaireResponse.authored",
"display": "QuestionnaireResponse.authored",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.authored` is mapped to FHIR R4 element `QuestionnaireResponse.authored` as `Equivalent`.\nMay be different from the lastUpdateTime of the resource itself, because that reflects when the data was known to the server, not when the data was captured.\n\nThis element is optional to allow for systems that might not know the value, however it SHOULD be populated if possible."
}
]
},
{
"code": "QuestionnaireResponse.author",
"display": "author",
"target": [
{
"code": "QuestionnaireResponse.author",
"display": "QuestionnaireResponse.author",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.author` is mapped to FHIR R4 element `QuestionnaireResponse.author` as `Equivalent`.\nMapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation. Authoring by device would indicate that some portion of the questionnaire had been auto-populated. Device should only be used if it directly determined the answers, not if it was merely used as a capture tool to record answers provided by others. In the latter case, information about the physical device, software, etc. would be captured using Provenance."
}
]
},
{
"code": "QuestionnaireResponse.source",
"display": "source",
"target": [
{
"code": "QuestionnaireResponse.source",
"display": "QuestionnaireResponse.source",
"equivalence": "wider",
"comment": "Element `QuestionnaireResponse.source` is mapped to FHIR R4 element `QuestionnaireResponse.source` as `SourceIsBroaderThanTarget`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `QuestionnaireResponse.source` with unmapped reference targets: Device, Organization.\nIf not specified, no inference can be made about who provided the data. Device should only be used if it directly determined the answers, not if it was merely used as a capture tool to record answers provided by others. In the latter case, information about the physical device, software, etc. would be captured using Provenance."
}
]
},
{
"code": "QuestionnaireResponse.item",
"display": "item",
"target": [
{
"code": "QuestionnaireResponse.item",
"display": "QuestionnaireResponse.item",
"equivalence": "wider",
"comment": "Element `QuestionnaireResponse.item` is mapped to FHIR R4 element `QuestionnaireResponse.item` as `Equivalent`.\nGroups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).\\nWhen dealing with repeating items, each group repetition will be handled by a separate item. However, repeating questions are handled with a single question item and potentially multiple answers."
}
]
},
{
"code": "QuestionnaireResponse.item.linkId",
"display": "linkId",
"target": [
{
"code": "QuestionnaireResponse.item.linkId",
"display": "QuestionnaireResponse.item.linkId",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.item.linkId` is mapped to FHIR R4 element `QuestionnaireResponse.item.linkId` as `Equivalent`."
}
]
},
{
"code": "QuestionnaireResponse.item.definition",
"display": "definition",
"target": [
{
"code": "QuestionnaireResponse.item.definition",
"display": "QuestionnaireResponse.item.definition",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.item.definition` is mapped to FHIR R4 element `QuestionnaireResponse.item.definition` as `Equivalent`.\nThe ElementDefinition must be in a [StructureDefinition](https://hl7.org/fhir/s.html#), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed."
}
]
},
{
"code": "QuestionnaireResponse.item.text",
"display": "text",
"target": [
{
"code": "QuestionnaireResponse.item.text",
"display": "QuestionnaireResponse.item.text",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.item.text` is mapped to FHIR R4 element `QuestionnaireResponse.item.text` as `Equivalent`.\nThe text for an item SHOULD be identical to the text from the corresponding Questionnaire.item. This can't be strictly enforced because it's possible for the Questionnaire to be updated subsequent to the QuestionnaireResponse having been created, however the intention is that the text in the QuestionnaireResponse reflects what the user saw when completing the Questionnaire."
}
]
},
{
"code": "QuestionnaireResponse.item.answer",
"display": "answer",
"target": [
{
"code": "QuestionnaireResponse.item.answer",
"display": "QuestionnaireResponse.item.answer",
"equivalence": "wider",
"comment": "Element `QuestionnaireResponse.item.answer` is mapped to FHIR R4 element `QuestionnaireResponse.item.answer` as `Equivalent`.\nThe value is nested because we cannot have a repeating structure that has variable type."
}
]
},
{
"code": "QuestionnaireResponse.item.answer.value[x]",
"display": "value[x]",
"target": [
{
"code": "QuestionnaireResponse.item.answer.value[x]",
"display": "QuestionnaireResponse.item.answer.value[x]",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.item.answer.value[x]` is mapped to FHIR R4 element `QuestionnaireResponse.item.answer.value[x]` as `RelatedTo`.\nThe target context `QuestionnaireResponse.item.answer.value[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `QuestionnaireResponse.item.answer`.\nMore complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. Must match the datatype specified by Questionnaire.item.type in the corresponding Questionnaire. Note that a question is answered using one of the possible choices defined with answerOption, answerValueSet or some other means and the answer has a complex data type, all elements within the answer in the QuestionnaireResponse **SHOULD** match the elements defined corresponding choice value in the Questionnaire. However, it is possible that not all elements will be propagated. Also, some systems might use language translations resulting in different displays. Comparison of value to the values defined in the Questionnaire (whether by answerOption, answerValueSet or answerExpression) **SHALL NOT** pay attention to Coding.display, Reference.display, Quantity.unit unless those are the only elements present. As well, systems are not required to check for a match on any extensions (e.g. ordinal values, translations, etc.). Systems **MAY** enforce that if extensions such as ordinal values are present in both Questionnaire and QuestionnaireResponse, they match."
}
]
},
{
"code": "QuestionnaireResponse.item.answer.item",
"display": "item",
"target": [
{
"code": "QuestionnaireResponse.item.answer.item",
"display": "QuestionnaireResponse.item.answer.item",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.item.answer.item` is mapped to FHIR R4 element `QuestionnaireResponse.item.answer.item` as `Equivalent`.\nOnly used when nesting beneath a question - see item.item for nesting beneath groups"
}
]
},
{
"code": "QuestionnaireResponse.item.item",
"display": "item",
"target": [
{
"code": "QuestionnaireResponse.item.item",
"display": "QuestionnaireResponse.item.item",
"equivalence": "equivalent",
"comment": "Element `QuestionnaireResponse.item.item` is mapped to FHIR R4 element `QuestionnaireResponse.item.item` as `Equivalent`.\nOnly used when nesting beneath a group - see item.answer.item for nesting beneath questions"
}
]
}
]
}
]
}