HSAAP Special Authority FHIR Implementation Guide
0.1.1 - draft
HSAAP Special Authority FHIR Implementation Guide - Local Development build (v0.1.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/sa-questionnaire-response | Version: 0.1.1 | |||
| Draft as of 2026-10-16 | Computable Name: SAQuestionnaireResponse | |||
The clinical criteria and answers for a Special Authority Application. Referenced from Claim.supportingInfo.
Form identity. questionnaire carries both parts of the form identity: {canonical}|{formVersion}. The API splits on
the pipe to obtain saFormNumber (the final path segment of the canonical) and saFormVersion. FHIR-native clients SHALL
version-pin the canonical. It MAY be unpinned only for submissions from the SOAP to FHIR Broker, which cannot supply a form
version (see Form and Criterion Identity).
Answers. Only valueBoolean and valueString answers are supported. Each answered item's linkId is the
criterionIdentifier. Unanswered items are not processed. Nested items are flattened by the API, since the
criterionIdentifier is unique across the whole form.
Roles. The Applicant is author (D5). The optional Referrer is the referring-practitioner extension.
Status. HSAAP Application status is never mapped to QuestionnaireResponse.status. It is always completed.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | QuestionnaireResponse | A structured set of questions and their answers Constraints: sa-qr-1, sa-qr-2, sa-qr-3, sa-qr-4 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | boolean | Request For Waiver URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/request-for-waiver | |
![]() ![]() ![]() |
0..1 | Reference(SA Practitioner) | Referring Practitioner URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/referring-practitioner | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
0..1 | Identifier | Submitter's own reference (clientReference), used for support and duplicate investigation | |
![]() ![]() |
1..1 | canonical(SA Questionnaire) | Form canonical, version pinned: .../Questionnaire/{formNumber}|{formVersion} | |
![]() ![]() |
1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. Required Pattern: completed (extensions allowed) | |
![]() ![]() |
1..1 | Reference(SA Patient) | The subject of the questions | |
![]() ![]() |
1..1 | dateTime | When the practitioner completed the form (suppliedApplicationDate) | |
![]() ![]() |
1..1 | Reference(SA Practitioner) | The Applicant | |
![]() ![]() |
C | 0..* | BackboneElement | Groups and questions Constraints: qrs-1 |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | string | criterionIdentifier (five character, zero padded) where answered | |
![]() ![]() ![]() |
0..1 | string | criterionName - stored, never used to identify an answer | |
![]() ![]() ![]() |
0..* | BackboneElement | At most one answer per item (sa-qr-3) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||
![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| QuestionnaireResponse.status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | FHIR Std. |
| QuestionnaireResponse.item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| sa-qr-1 | error | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be a canonical with a non-empty form URL, optionally followed by exactly one '|' and a non-empty form version, and SHALL NOT contain a fragment marker. |
questionnaire.matches('^[^|#]+([|][^|#]+)?$')
|
| sa-qr-2 | warning | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be version-pinned (url|version) by FHIR-native clients. It MAY be unpinned only for submissions from the SOAP to FHIR Broker; this rule is enforced by the API against the authenticated client, so the profile only warns. |
questionnaire.contains('|')
|
| sa-qr-3 | error | QuestionnaireResponse | Every answer SHALL be valueBoolean or valueString (Assumption 1), and an item SHALL carry at most one answer. |
(item | item.repeat(item | answer.item)).all(answer.count() <= 1 and answer.all(value is boolean or value is string))
|
| sa-qr-4 | error | QuestionnaireResponse | The linkId of every answered item SHALL be a five character, zero padded criterionIdentifier (D18). |
(item | item.repeat(item | answer.item)).where(answer.exists()).all(linkId.matches('^[0-9]{5}$'))
|
This structure is derived from QuestionnaireResponse
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | QuestionnaireResponse | A structured set of questions and their answers Constraints: sa-qr-1, sa-qr-2, sa-qr-3, sa-qr-4 |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | boolean | Request For Waiver URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/request-for-waiver | |
![]() ![]() ![]() |
0..1 | Reference(SA Practitioner) | Referring Practitioner URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/referring-practitioner | |
![]() ![]() |
0..1 | Identifier | Submitter's own reference (clientReference), used for support and duplicate investigation | |
![]() ![]() |
1..1 | canonical(SA Questionnaire) | Form canonical, version pinned: .../Questionnaire/{formNumber}|{formVersion} | |
![]() ![]() |
1..1 | code | in-progress | completed | amended | entered-in-error | stopped Required Pattern: completed (extensions allowed) | |
![]() ![]() |
1..1 | Reference(SA Patient) | The subject of the questions | |
![]() ![]() |
1..1 | dateTime | When the practitioner completed the form (suppliedApplicationDate) | |
![]() ![]() |
1..1 | Reference(SA Practitioner) | The Applicant | |
![]() ![]() |
0..0 | The person who answered the questions | ||
![]() ![]() |
0..* | BackboneElement | Groups and questions | |
![]() ![]() ![]() |
1..1 | string | criterionIdentifier (five character, zero padded) where answered | |
![]() ![]() ![]() |
0..1 | string | criterionName - stored, never used to identify an answer | |
![]() ![]() ![]() |
0..* | BackboneElement | At most one answer per item (sa-qr-3) | |
![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question | ||
![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| sa-qr-1 | error | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be a canonical with a non-empty form URL, optionally followed by exactly one '|' and a non-empty form version, and SHALL NOT contain a fragment marker. |
questionnaire.matches('^[^|#]+([|][^|#]+)?$')
|
| sa-qr-2 | warning | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be version-pinned (url|version) by FHIR-native clients. It MAY be unpinned only for submissions from the SOAP to FHIR Broker; this rule is enforced by the API against the authenticated client, so the profile only warns. |
questionnaire.contains('|')
|
| sa-qr-3 | error | QuestionnaireResponse | Every answer SHALL be valueBoolean or valueString (Assumption 1), and an item SHALL carry at most one answer. |
(item | item.repeat(item | answer.item)).all(answer.count() <= 1 and answer.all(value is boolean or value is string))
|
| sa-qr-4 | error | QuestionnaireResponse | The linkId of every answered item SHALL be a five character, zero padded criterionIdentifier (D18). |
(item | item.repeat(item | answer.item)).where(answer.exists()).all(linkId.matches('^[0-9]{5}$'))
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | QuestionnaireResponse | A structured set of questions and their answers Constraints: sa-qr-1, sa-qr-2, sa-qr-3, sa-qr-4 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | boolean | Request For Waiver URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/request-for-waiver | |||||
![]() ![]() ![]() |
0..1 | Reference(SA Practitioner) | Referring Practitioner URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/referring-practitioner | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..1 | Identifier | Submitter's own reference (clientReference), used for support and duplicate investigation | |||||
![]() ![]() |
0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse | |||||
![]() ![]() |
0..* | Reference(Observation | Procedure) | Part of this action | |||||
![]() ![]() |
1..1 | canonical(SA Questionnaire) | Form canonical, version pinned: .../Questionnaire/{formNumber}|{formVersion} | |||||
![]() ![]() |
1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. Required Pattern: completed (extensions allowed) | |||||
![]() ![]() |
1..1 | Reference(SA Patient) | The subject of the questions | |||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter created as part of | |||||
![]() ![]() |
1..1 | dateTime | When the practitioner completed the form (suppliedApplicationDate) | |||||
![]() ![]() |
1..1 | Reference(SA Practitioner) | The Applicant | |||||
![]() ![]() |
C | 0..* | BackboneElement | Groups and questions Constraints: qrs-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | string | criterionIdentifier (five character, zero padded) where answered | |||||
![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item | |||||
![]() ![]() ![]() |
0..1 | string | criterionName - stored, never used to identify an answer | |||||
![]() ![]() ![]() |
0..* | BackboneElement | At most one answer per item (sa-qr-3) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||||||
![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Nested groups and questions | |||||
![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| QuestionnaireResponse.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| QuestionnaireResponse.status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | FHIR Std. |
| QuestionnaireResponse.item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| sa-qr-1 | error | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be a canonical with a non-empty form URL, optionally followed by exactly one '|' and a non-empty form version, and SHALL NOT contain a fragment marker. |
questionnaire.matches('^[^|#]+([|][^|#]+)?$')
|
| sa-qr-2 | warning | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be version-pinned (url|version) by FHIR-native clients. It MAY be unpinned only for submissions from the SOAP to FHIR Broker; this rule is enforced by the API against the authenticated client, so the profile only warns. |
questionnaire.contains('|')
|
| sa-qr-3 | error | QuestionnaireResponse | Every answer SHALL be valueBoolean or valueString (Assumption 1), and an item SHALL carry at most one answer. |
(item | item.repeat(item | answer.item)).all(answer.count() <= 1 and answer.all(value is boolean or value is string))
|
| sa-qr-4 | error | QuestionnaireResponse | The linkId of every answered item SHALL be a five character, zero padded criterionIdentifier (D18). |
(item | item.repeat(item | answer.item)).where(answer.exists()).all(linkId.matches('^[0-9]{5}$'))
|
This structure is derived from QuestionnaireResponse
Summary
Mandatory: 4 elements
Must-Support: 13 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | QuestionnaireResponse | A structured set of questions and their answers Constraints: sa-qr-1, sa-qr-2, sa-qr-3, sa-qr-4 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | boolean | Request For Waiver URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/request-for-waiver | |
![]() ![]() ![]() |
0..1 | Reference(SA Practitioner) | Referring Practitioner URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/referring-practitioner | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
0..1 | Identifier | Submitter's own reference (clientReference), used for support and duplicate investigation | |
![]() ![]() |
1..1 | canonical(SA Questionnaire) | Form canonical, version pinned: .../Questionnaire/{formNumber}|{formVersion} | |
![]() ![]() |
1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. Required Pattern: completed (extensions allowed) | |
![]() ![]() |
1..1 | Reference(SA Patient) | The subject of the questions | |
![]() ![]() |
1..1 | dateTime | When the practitioner completed the form (suppliedApplicationDate) | |
![]() ![]() |
1..1 | Reference(SA Practitioner) | The Applicant | |
![]() ![]() |
C | 0..* | BackboneElement | Groups and questions Constraints: qrs-1 |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | string | criterionIdentifier (five character, zero padded) where answered | |
![]() ![]() ![]() |
0..1 | string | criterionName - stored, never used to identify an answer | |
![]() ![]() ![]() |
0..* | BackboneElement | At most one answer per item (sa-qr-3) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||
![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| QuestionnaireResponse.status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | FHIR Std. |
| QuestionnaireResponse.item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| sa-qr-1 | error | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be a canonical with a non-empty form URL, optionally followed by exactly one '|' and a non-empty form version, and SHALL NOT contain a fragment marker. |
questionnaire.matches('^[^|#]+([|][^|#]+)?$')
|
| sa-qr-2 | warning | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be version-pinned (url|version) by FHIR-native clients. It MAY be unpinned only for submissions from the SOAP to FHIR Broker; this rule is enforced by the API against the authenticated client, so the profile only warns. |
questionnaire.contains('|')
|
| sa-qr-3 | error | QuestionnaireResponse | Every answer SHALL be valueBoolean or valueString (Assumption 1), and an item SHALL carry at most one answer. |
(item | item.repeat(item | answer.item)).all(answer.count() <= 1 and answer.all(value is boolean or value is string))
|
| sa-qr-4 | error | QuestionnaireResponse | The linkId of every answered item SHALL be a five character, zero padded criterionIdentifier (D18). |
(item | item.repeat(item | answer.item)).where(answer.exists()).all(linkId.matches('^[0-9]{5}$'))
|
Differential View
This structure is derived from QuestionnaireResponse
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | QuestionnaireResponse | A structured set of questions and their answers Constraints: sa-qr-1, sa-qr-2, sa-qr-3, sa-qr-4 |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | boolean | Request For Waiver URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/request-for-waiver | |
![]() ![]() ![]() |
0..1 | Reference(SA Practitioner) | Referring Practitioner URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/referring-practitioner | |
![]() ![]() |
0..1 | Identifier | Submitter's own reference (clientReference), used for support and duplicate investigation | |
![]() ![]() |
1..1 | canonical(SA Questionnaire) | Form canonical, version pinned: .../Questionnaire/{formNumber}|{formVersion} | |
![]() ![]() |
1..1 | code | in-progress | completed | amended | entered-in-error | stopped Required Pattern: completed (extensions allowed) | |
![]() ![]() |
1..1 | Reference(SA Patient) | The subject of the questions | |
![]() ![]() |
1..1 | dateTime | When the practitioner completed the form (suppliedApplicationDate) | |
![]() ![]() |
1..1 | Reference(SA Practitioner) | The Applicant | |
![]() ![]() |
0..0 | The person who answered the questions | ||
![]() ![]() |
0..* | BackboneElement | Groups and questions | |
![]() ![]() ![]() |
1..1 | string | criterionIdentifier (five character, zero padded) where answered | |
![]() ![]() ![]() |
0..1 | string | criterionName - stored, never used to identify an answer | |
![]() ![]() ![]() |
0..* | BackboneElement | At most one answer per item (sa-qr-3) | |
![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question | ||
![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| sa-qr-1 | error | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be a canonical with a non-empty form URL, optionally followed by exactly one '|' and a non-empty form version, and SHALL NOT contain a fragment marker. |
questionnaire.matches('^[^|#]+([|][^|#]+)?$')
|
| sa-qr-2 | warning | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be version-pinned (url|version) by FHIR-native clients. It MAY be unpinned only for submissions from the SOAP to FHIR Broker; this rule is enforced by the API against the authenticated client, so the profile only warns. |
questionnaire.contains('|')
|
| sa-qr-3 | error | QuestionnaireResponse | Every answer SHALL be valueBoolean or valueString (Assumption 1), and an item SHALL carry at most one answer. |
(item | item.repeat(item | answer.item)).all(answer.count() <= 1 and answer.all(value is boolean or value is string))
|
| sa-qr-4 | error | QuestionnaireResponse | The linkId of every answered item SHALL be a five character, zero padded criterionIdentifier (D18). |
(item | item.repeat(item | answer.item)).where(answer.exists()).all(linkId.matches('^[0-9]{5}$'))
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | QuestionnaireResponse | A structured set of questions and their answers Constraints: sa-qr-1, sa-qr-2, sa-qr-3, sa-qr-4 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | boolean | Request For Waiver URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/request-for-waiver | |||||
![]() ![]() ![]() |
0..1 | Reference(SA Practitioner) | Referring Practitioner URL: https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/referring-practitioner | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..1 | Identifier | Submitter's own reference (clientReference), used for support and duplicate investigation | |||||
![]() ![]() |
0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse | |||||
![]() ![]() |
0..* | Reference(Observation | Procedure) | Part of this action | |||||
![]() ![]() |
1..1 | canonical(SA Questionnaire) | Form canonical, version pinned: .../Questionnaire/{formNumber}|{formVersion} | |||||
![]() ![]() |
1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. Required Pattern: completed (extensions allowed) | |||||
![]() ![]() |
1..1 | Reference(SA Patient) | The subject of the questions | |||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter created as part of | |||||
![]() ![]() |
1..1 | dateTime | When the practitioner completed the form (suppliedApplicationDate) | |||||
![]() ![]() |
1..1 | Reference(SA Practitioner) | The Applicant | |||||
![]() ![]() |
C | 0..* | BackboneElement | Groups and questions Constraints: qrs-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | string | criterionIdentifier (five character, zero padded) where answered | |||||
![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item | |||||
![]() ![]() ![]() |
0..1 | string | criterionName - stored, never used to identify an answer | |||||
![]() ![]() ![]() |
0..* | BackboneElement | At most one answer per item (sa-qr-3) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||||||
![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Nested groups and questions | |||||
![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| QuestionnaireResponse.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| QuestionnaireResponse.status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | FHIR Std. |
| QuestionnaireResponse.item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| sa-qr-1 | error | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be a canonical with a non-empty form URL, optionally followed by exactly one '|' and a non-empty form version, and SHALL NOT contain a fragment marker. |
questionnaire.matches('^[^|#]+([|][^|#]+)?$')
|
| sa-qr-2 | warning | QuestionnaireResponse | QuestionnaireResponse.questionnaire SHALL be version-pinned (url|version) by FHIR-native clients. It MAY be unpinned only for submissions from the SOAP to FHIR Broker; this rule is enforced by the API against the authenticated client, so the profile only warns. |
questionnaire.contains('|')
|
| sa-qr-3 | error | QuestionnaireResponse | Every answer SHALL be valueBoolean or valueString (Assumption 1), and an item SHALL carry at most one answer. |
(item | item.repeat(item | answer.item)).all(answer.count() <= 1 and answer.all(value is boolean or value is string))
|
| sa-qr-4 | error | QuestionnaireResponse | The linkId of every answered item SHALL be a five character, zero padded criterionIdentifier (D18). |
(item | item.repeat(item | answer.item)).where(answer.exists()).all(linkId.matches('^[0-9]{5}$'))
|
This structure is derived from QuestionnaireResponse
Summary
Mandatory: 4 elements
Must-Support: 13 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron