Finnish Base Profiles - Local Development build (v0.3.0). See the Directory of published versions
Official URL: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4 | Version: 0.3.0 | |||
Draft as of 2021-02-22 | Computable Name: FIPHRSDQuestionnairesResponsesR4 |
Finnish PHR StructureDefinition for QuestionnaireResponse Resource.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | QuestionnaireResponse | Finnish PHR QuestionnaireResponse profile | |
![]() ![]() ![]() | 1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() ![]() | 1..* | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Open by value:$this | |
![]() ![]() ![]() ![]() ![]() | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4 | |
![]() ![]() ![]() | 1..1 | code | Language of the resource content Binding: CommonLanguages (required) | |
![]() ![]() ![]() | 1..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | (Complex) | Application identification URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication | |
![]() ![]() ![]() | 1..1 | Identifier | Unique id for this set of answers | |
![]() ![]() ![]() ![]() | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 | |
![]() ![]() ![]() ![]() | 1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | Reference(Finnish PHR SelfCarePlan profile) {r} | Request fulfilled by this QuestionnaireResponse | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 0..* | Reference(Observation) {r} | Part of this action | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 1..1 | canonical(Finnish PHR Questionnaire profile) | Questionnaire being answered | |
![]() ![]() ![]() | 1..1 | code | Finnish PHR: in-progress | completed | amended | stopped | |
![]() ![]() ![]() | 1..1 | Reference(Finnish PHR Patient profile) {r} | The subject of the questions | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | dateTime | Date the answers were gathered | |
![]() ![]() ![]() | 0..1 | Reference(Finnish PHR Patient profile) {r} | Person who received and recorded the answers | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 1..1 | Reference(Finnish PHR Patient profile) {r} | Finnish PHR: The application user who answered the questions | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 1..* | BackboneElement | Groups and questions | |
![]() |
Path | Conformance | ValueSet |
QuestionnaireResponse.language | required | CommonLanguages |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | QuestionnaireResponse | Finnish PHR QuestionnaireResponse profile | |
![]() ![]() ![]() | Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() | Σ | 1..* | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Open by value:$this |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4 |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 1..1 | code | Language of the resource content Binding: CommonLanguages (required) | |
![]() ![]() ![]() | 1..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | (Complex) | Application identification URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 1..1 | Identifier | Unique id for this set of answers |
![]() ![]() ![]() ![]() | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
![]() ![]() ![]() ![]() | Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() | Σ | 0..* | Reference(Finnish PHR SelfCarePlan profile) {r} | Request fulfilled by this QuestionnaireResponse |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | Σ | 0..* | Reference(Observation) {r} | Part of this action |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | Σ | 1..1 | canonical(Finnish PHR Questionnaire profile) | Questionnaire being answered |
![]() ![]() ![]() | ?!Σ | 1..1 | code | Finnish PHR: in-progress | completed | amended | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
![]() ![]() ![]() | Σ | 1..1 | Reference(Finnish PHR Patient profile) {r} | The subject of the questions |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | Σ | 1..1 | dateTime | Date the answers were gathered |
![]() ![]() ![]() | Σ | 0..1 | Reference(Finnish PHR Patient profile) {r} | Person who received and recorded the answers |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | Σ | 1..1 | Reference(Finnish PHR Patient profile) {r} | Finnish PHR: The application user who answered the questions |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | C | 1..* | BackboneElement | Groups and questions |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | string | Pointer to specific item from Questionnaire | |
![]() |
Path | Conformance | ValueSet |
QuestionnaireResponse.language | required | CommonLanguages |
QuestionnaireResponse.identifier.use | required | IdentifierUse |
QuestionnaireResponse.status | required | QuestionnaireResponseStatus |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | QuestionnaireResponse | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | QuestionnaireResponse | Finnish PHR QuestionnaireResponse profile | |
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() | Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | Σ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() ![]() | Σ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() ![]() | Σ | 1..* | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Open by value:$this |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4 |
![]() ![]() ![]() ![]() | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() ![]() | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 1..1 | code | Language of the resource content Binding: CommonLanguages (required) | |
![]() ![]() ![]() | 1..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | (Complex) | Application identification URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 1..1 | Identifier | Unique id for this set of answers |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
![]() ![]() ![]() ![]() | Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() | Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() | Σ | 0..* | Reference(Finnish PHR SelfCarePlan profile) {r} | Request fulfilled by this QuestionnaireResponse |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | Σ | 0..* | Reference(Observation) {r} | Part of this action |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | Σ | 1..1 | canonical(Finnish PHR Questionnaire profile) | Questionnaire being answered |
![]() ![]() ![]() | ?!Σ | 1..1 | code | Finnish PHR: in-progress | completed | amended | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
![]() ![]() ![]() | Σ | 1..1 | Reference(Finnish PHR Patient profile) {r} | The subject of the questions |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | Σ | 1..1 | dateTime | Date the answers were gathered |
![]() ![]() ![]() | Σ | 0..1 | Reference(Finnish PHR Patient profile) {r} | Person who received and recorded the answers |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | Σ | 1..1 | Reference(Finnish PHR Patient profile) {r} | Finnish PHR: The application user who answered the questions |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | C | 1..* | BackboneElement | Groups and questions |
![]() ![]() ![]() ![]() | 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 | Pointer to specific item from Questionnaire | |
![]() ![]() ![]() ![]() | 0..1 | uri | ElementDefinition - details for the item | |
![]() ![]() ![]() ![]() | 0..1 | string | Name for group or question text | |
![]() ![]() ![]() ![]() | 0..* | BackboneElement | The response(s) to the question | |
![]() ![]() ![]() ![]() ![]() | 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 | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | uri | |||
![]() ![]() ![]() ![]() ![]() ![]() | Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() ![]() | 0..* | See item (QuestionnaireResponse) | Nested groups and questions | |
![]() ![]() ![]() ![]() | 0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | |
![]() |
Path | Conformance | ValueSet |
QuestionnaireResponse.meta.security | extensible | All Security Labels |
QuestionnaireResponse.meta.tag | example | CommonTags |
QuestionnaireResponse.language | required | CommonLanguages |
QuestionnaireResponse.identifier.use | required | IdentifierUse |
QuestionnaireResponse.identifier.type | extensible | Identifier Type Codes |
QuestionnaireResponse.basedOn.type | extensible | ResourceType |
QuestionnaireResponse.partOf.type | extensible | ResourceType |
QuestionnaireResponse.status | required | QuestionnaireResponseStatus |
QuestionnaireResponse.subject.type | extensible | ResourceType |
QuestionnaireResponse.author.type | extensible | ResourceType |
QuestionnaireResponse.source.type | extensible | ResourceType |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT) |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
This structure is derived from QuestionnaireResponse
Summary
Mandatory: 15 elements (3 nested mandatory elements)
Fixed Value: 2 elements
Prohibited: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | QuestionnaireResponse | Finnish PHR QuestionnaireResponse profile | |
![]() ![]() ![]() | 1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() ![]() | 1..* | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Open by value:$this | |
![]() ![]() ![]() ![]() ![]() | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4 | |
![]() ![]() ![]() | 1..1 | code | Language of the resource content Binding: CommonLanguages (required) | |
![]() ![]() ![]() | 1..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | (Complex) | Application identification URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication | |
![]() ![]() ![]() | 1..1 | Identifier | Unique id for this set of answers | |
![]() ![]() ![]() ![]() | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 | |
![]() ![]() ![]() ![]() | 1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | Reference(Finnish PHR SelfCarePlan profile) {r} | Request fulfilled by this QuestionnaireResponse | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 0..* | Reference(Observation) {r} | Part of this action | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 1..1 | canonical(Finnish PHR Questionnaire profile) | Questionnaire being answered | |
![]() ![]() ![]() | 1..1 | code | Finnish PHR: in-progress | completed | amended | stopped | |
![]() ![]() ![]() | 1..1 | Reference(Finnish PHR Patient profile) {r} | The subject of the questions | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | dateTime | Date the answers were gathered | |
![]() ![]() ![]() | 0..1 | Reference(Finnish PHR Patient profile) {r} | Person who received and recorded the answers | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 1..1 | Reference(Finnish PHR Patient profile) {r} | Finnish PHR: The application user who answered the questions | |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() | 1..* | BackboneElement | Groups and questions | |
![]() |
Path | Conformance | ValueSet |
QuestionnaireResponse.language | required | CommonLanguages |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | QuestionnaireResponse | Finnish PHR QuestionnaireResponse profile | |
![]() ![]() ![]() | Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() | Σ | 1..* | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Open by value:$this |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4 |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 1..1 | code | Language of the resource content Binding: CommonLanguages (required) | |
![]() ![]() ![]() | 1..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | (Complex) | Application identification URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 1..1 | Identifier | Unique id for this set of answers |
![]() ![]() ![]() ![]() | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
![]() ![]() ![]() ![]() | Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() | Σ | 0..* | Reference(Finnish PHR SelfCarePlan profile) {r} | Request fulfilled by this QuestionnaireResponse |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | Σ | 0..* | Reference(Observation) {r} | Part of this action |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | Σ | 1..1 | canonical(Finnish PHR Questionnaire profile) | Questionnaire being answered |
![]() ![]() ![]() | ?!Σ | 1..1 | code | Finnish PHR: in-progress | completed | amended | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
![]() ![]() ![]() | Σ | 1..1 | Reference(Finnish PHR Patient profile) {r} | The subject of the questions |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | Σ | 1..1 | dateTime | Date the answers were gathered |
![]() ![]() ![]() | Σ | 0..1 | Reference(Finnish PHR Patient profile) {r} | Person who received and recorded the answers |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | Σ | 1..1 | Reference(Finnish PHR Patient profile) {r} | Finnish PHR: The application user who answered the questions |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | C | 1..* | BackboneElement | Groups and questions |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | string | Pointer to specific item from Questionnaire | |
![]() |
Path | Conformance | ValueSet |
QuestionnaireResponse.language | required | CommonLanguages |
QuestionnaireResponse.identifier.use | required | IdentifierUse |
QuestionnaireResponse.status | required | QuestionnaireResponseStatus |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | QuestionnaireResponse | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | QuestionnaireResponse | Finnish PHR QuestionnaireResponse profile | |
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() | Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | Σ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() ![]() | Σ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Identifies where the resource comes from |
![]() ![]() ![]() ![]() | Σ | 1..* | canonical(StructureDefinition) | Profiles this resource claims to conform to Slice: Unordered, Open by value:$this |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4 |
![]() ![]() ![]() ![]() | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() ![]() | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 1..1 | code | Language of the resource content Binding: CommonLanguages (required) | |
![]() ![]() ![]() | 1..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | (Complex) | Application identification URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 1..1 | Identifier | Unique id for this set of answers |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
![]() ![]() ![]() ![]() | Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() | Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() | Σ | 0..* | Reference(Finnish PHR SelfCarePlan profile) {r} | Request fulfilled by this QuestionnaireResponse |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | Σ | 0..* | Reference(Observation) {r} | Part of this action |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | Σ | 1..1 | canonical(Finnish PHR Questionnaire profile) | Questionnaire being answered |
![]() ![]() ![]() | ?!Σ | 1..1 | code | Finnish PHR: in-progress | completed | amended | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
![]() ![]() ![]() | Σ | 1..1 | Reference(Finnish PHR Patient profile) {r} | The subject of the questions |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | Σ | 1..1 | dateTime | Date the answers were gathered |
![]() ![]() ![]() | Σ | 0..1 | Reference(Finnish PHR Patient profile) {r} | Person who received and recorded the answers |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | Σ | 1..1 | Reference(Finnish PHR Patient profile) {r} | Finnish PHR: The application user who answered the questions |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() ![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() | C | 1..* | BackboneElement | Groups and questions |
![]() ![]() ![]() ![]() | 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 | Pointer to specific item from Questionnaire | |
![]() ![]() ![]() ![]() | 0..1 | uri | ElementDefinition - details for the item | |
![]() ![]() ![]() ![]() | 0..1 | string | Name for group or question text | |
![]() ![]() ![]() ![]() | 0..* | BackboneElement | The response(s) to the question | |
![]() ![]() ![]() ![]() ![]() | 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 | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | uri | |||
![]() ![]() ![]() ![]() ![]() ![]() | Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() ![]() | 0..* | See item (QuestionnaireResponse) | Nested groups and questions | |
![]() ![]() ![]() ![]() | 0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | |
![]() |
Path | Conformance | ValueSet |
QuestionnaireResponse.meta.security | extensible | All Security Labels |
QuestionnaireResponse.meta.tag | example | CommonTags |
QuestionnaireResponse.language | required | CommonLanguages |
QuestionnaireResponse.identifier.use | required | IdentifierUse |
QuestionnaireResponse.identifier.type | extensible | Identifier Type Codes |
QuestionnaireResponse.basedOn.type | extensible | ResourceType |
QuestionnaireResponse.partOf.type | extensible | ResourceType |
QuestionnaireResponse.status | required | QuestionnaireResponseStatus |
QuestionnaireResponse.subject.type | extensible | ResourceType |
QuestionnaireResponse.author.type | extensible | ResourceType |
QuestionnaireResponse.source.type | extensible | ResourceType |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT) |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
This structure is derived from QuestionnaireResponse
Summary
Mandatory: 15 elements (3 nested mandatory elements)
Fixed Value: 2 elements
Prohibited: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron