Finnish Base Profiles
0.2.0 - ci-build Finland flag

Finnish Base Profiles - Local Development build (v0.2.0). See the Directory of published versions

Resource Profile: fiphr-sd-questionnaireresponse-r4

Official URL: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4 Version: 0.2.0
Draft as of 2021-02-22 Computable Name: FIPHRSDQuestionnairesResponsesR4

Finnish PHR StructureDefinition for QuestionnaireResponse Resource.

Usage:

  • Refer to this Resource Profile:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*QuestionnaireResponseFinnish PHR QuestionnaireResponse profile
... meta 1..1MetaMetadata about the resource
.... Slices for profile 1..*canonical(StructureDefinition)Profiles this resource claims to conform to
Slice: Unordered, Open by value:$this
..... profile:fiphrProfile 1..1canonical(StructureDefinition)Profiles this resource claims to conform to
Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4
... language 1..1codeLanguage of the resource content
Binding: CommonLanguages (required)
... text 1..1NarrativeText summary of the resource, for human interpretation
... creatingApplication 0..*(Complex)Application identification
URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication
... identifier 1..1IdentifierUnique id for this set of answers
.... system 1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value 1..1stringThe value that is unique
.... assigner 0..0
... basedOn 0..*Reference(Finnish PHR SelfCarePlan profile) {r}Request fulfilled by this QuestionnaireResponse
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... partOf 0..*Reference(Observation) {r}Part of this action
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... questionnaire 1..1canonical(Finnish PHR Questionnaire profile)Questionnaire being answered
... status 1..1codeFinnish PHR: in-progress | completed | amended | stopped
... subject 1..1Reference(Finnish PHR Patient profile) {r}The subject of the questions
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... encounter 0..0
... authored 1..1dateTimeDate the answers were gathered
... author 0..1Reference(Finnish PHR Patient profile) {r}Person who received and recorded the answers
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... source 1..1Reference(Finnish PHR Patient profile) {r}Finnish PHR: The application user who answered the questions
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... item 1..*BackboneElementGroups and questions

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
QuestionnaireResponse.languagerequiredCommonLanguages
NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*QuestionnaireResponseFinnish PHR QuestionnaireResponse profile
... meta Σ1..1MetaMetadata about the resource
.... Slices for profile Σ1..*canonical(StructureDefinition)Profiles this resource claims to conform to
Slice: Unordered, Open by value:$this
..... profile:fiphrProfile Σ1..1canonical(StructureDefinition)Profiles this resource claims to conform to

Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 1..1codeLanguage of the resource content
Binding: CommonLanguages (required)
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... creatingApplication 0..*(Complex)Application identification
URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierUnique id for this set of answers
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringThe value that is unique
Example General: 123456
... basedOn Σ0..*Reference(Finnish PHR SelfCarePlan profile) {r}Request fulfilled by this QuestionnaireResponse
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... partOf Σ0..*Reference(Observation) {r}Part of this action
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... questionnaire Σ1..1canonical(Finnish PHR Questionnaire profile)Questionnaire being answered
... status ?!Σ1..1codeFinnish PHR: in-progress | completed | amended | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.

... subject Σ1..1Reference(Finnish PHR Patient profile) {r}The subject of the questions
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... authored Σ1..1dateTimeDate the answers were gathered
... author Σ0..1Reference(Finnish PHR Patient profile) {r}Person who received and recorded the answers
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... source Σ1..1Reference(Finnish PHR Patient profile) {r}Finnish PHR: The application user who answered the questions
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... item C1..*BackboneElementGroups and questions
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId 1..1stringPointer to specific item from Questionnaire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
QuestionnaireResponse.languagerequiredCommonLanguages
QuestionnaireResponse.identifier.userequiredIdentifierUse
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf 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-4errorQuestionnaireResponseIf 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-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qrs-1errorQuestionnaireResponse.itemNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()
NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*QuestionnaireResponseFinnish PHR QuestionnaireResponse profile
... id Σ0..1idLogical id of this artifact
... meta Σ1..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... Slices for profile Σ1..*canonical(StructureDefinition)Profiles this resource claims to conform to
Slice: Unordered, Open by value:$this
..... profile:fiphrProfile Σ1..1canonical(StructureDefinition)Profiles this resource claims to conform to

Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 1..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... creatingApplication 0..*(Complex)Application identification
URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierUnique id for this set of answers
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription 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.

.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringThe value that is unique
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
... basedOn Σ0..*Reference(Finnish PHR SelfCarePlan profile) {r}Request fulfilled by this QuestionnaireResponse
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... partOf Σ0..*Reference(Observation) {r}Part of this action
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... questionnaire Σ1..1canonical(Finnish PHR Questionnaire profile)Questionnaire being answered
... status ?!Σ1..1codeFinnish PHR: in-progress | completed | amended | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.

... subject Σ1..1Reference(Finnish PHR Patient profile) {r}The subject of the questions
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... authored Σ1..1dateTimeDate the answers were gathered
... author Σ0..1Reference(Finnish PHR Patient profile) {r}Person who received and recorded the answers
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... source Σ1..1Reference(Finnish PHR Patient profile) {r}Finnish PHR: The application user who answered the questions
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... item C1..*BackboneElementGroups and questions
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId 1..1stringPointer to specific item from Questionnaire
.... definition 0..1uriElementDefinition - details for the item
.... text 0..1stringName for group or question text
.... answer 0..*BackboneElementThe response(s) to the question
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] 0..1Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.

...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
..... item 0..*See item (QuestionnaireResponse)Nested groups and questions
.... item 0..*See item (QuestionnaireResponse)Nested questionnaire response items

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
QuestionnaireResponse.meta.securityextensibleAll Security Labels
QuestionnaireResponse.meta.tagexampleCommonTags
QuestionnaireResponse.languagerequiredCommonLanguages
QuestionnaireResponse.identifier.userequiredIdentifierUse
QuestionnaireResponse.identifier.typeextensibleIdentifier Type Codes
QuestionnaireResponse.basedOn.typeextensibleResourceType
QuestionnaireResponse.partOf.typeextensibleResourceType
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
QuestionnaireResponse.subject.typeextensibleResourceType
QuestionnaireResponse.author.typeextensibleResourceType
QuestionnaireResponse.source.typeextensibleResourceType
QuestionnaireResponse.item.answer.value[x]exampleQuestionnaireAnswerCodes (a valid code from SNOMED CT)

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qrs-1errorQuestionnaireResponse.itemNested 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:

  • The element QuestionnaireResponse.meta.profile is sliced based on the value of value:$this

Differential View

This structure is derived from QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*QuestionnaireResponseFinnish PHR QuestionnaireResponse profile
... meta 1..1MetaMetadata about the resource
.... Slices for profile 1..*canonical(StructureDefinition)Profiles this resource claims to conform to
Slice: Unordered, Open by value:$this
..... profile:fiphrProfile 1..1canonical(StructureDefinition)Profiles this resource claims to conform to
Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4
... language 1..1codeLanguage of the resource content
Binding: CommonLanguages (required)
... text 1..1NarrativeText summary of the resource, for human interpretation
... creatingApplication 0..*(Complex)Application identification
URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication
... identifier 1..1IdentifierUnique id for this set of answers
.... system 1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value 1..1stringThe value that is unique
.... assigner 0..0
... basedOn 0..*Reference(Finnish PHR SelfCarePlan profile) {r}Request fulfilled by this QuestionnaireResponse
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... partOf 0..*Reference(Observation) {r}Part of this action
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... questionnaire 1..1canonical(Finnish PHR Questionnaire profile)Questionnaire being answered
... status 1..1codeFinnish PHR: in-progress | completed | amended | stopped
... subject 1..1Reference(Finnish PHR Patient profile) {r}The subject of the questions
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... encounter 0..0
... authored 1..1dateTimeDate the answers were gathered
... author 0..1Reference(Finnish PHR Patient profile) {r}Person who received and recorded the answers
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... source 1..1Reference(Finnish PHR Patient profile) {r}Finnish PHR: The application user who answered the questions
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
... item 1..*BackboneElementGroups and questions

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
QuestionnaireResponse.languagerequiredCommonLanguages

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*QuestionnaireResponseFinnish PHR QuestionnaireResponse profile
... meta Σ1..1MetaMetadata about the resource
.... Slices for profile Σ1..*canonical(StructureDefinition)Profiles this resource claims to conform to
Slice: Unordered, Open by value:$this
..... profile:fiphrProfile Σ1..1canonical(StructureDefinition)Profiles this resource claims to conform to

Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 1..1codeLanguage of the resource content
Binding: CommonLanguages (required)
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... creatingApplication 0..*(Complex)Application identification
URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierUnique id for this set of answers
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringThe value that is unique
Example General: 123456
... basedOn Σ0..*Reference(Finnish PHR SelfCarePlan profile) {r}Request fulfilled by this QuestionnaireResponse
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... partOf Σ0..*Reference(Observation) {r}Part of this action
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... questionnaire Σ1..1canonical(Finnish PHR Questionnaire profile)Questionnaire being answered
... status ?!Σ1..1codeFinnish PHR: in-progress | completed | amended | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.

... subject Σ1..1Reference(Finnish PHR Patient profile) {r}The subject of the questions
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... authored Σ1..1dateTimeDate the answers were gathered
... author Σ0..1Reference(Finnish PHR Patient profile) {r}Person who received and recorded the answers
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... source Σ1..1Reference(Finnish PHR Patient profile) {r}Finnish PHR: The application user who answered the questions
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... item C1..*BackboneElementGroups and questions
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId 1..1stringPointer to specific item from Questionnaire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
QuestionnaireResponse.languagerequiredCommonLanguages
QuestionnaireResponse.identifier.userequiredIdentifierUse
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf 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-4errorQuestionnaireResponseIf 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-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qrs-1errorQuestionnaireResponse.itemNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*QuestionnaireResponseFinnish PHR QuestionnaireResponse profile
... id Σ0..1idLogical id of this artifact
... meta Σ1..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... Slices for profile Σ1..*canonical(StructureDefinition)Profiles this resource claims to conform to
Slice: Unordered, Open by value:$this
..... profile:fiphrProfile Σ1..1canonical(StructureDefinition)Profiles this resource claims to conform to

Fixed Value: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 1..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... creatingApplication 0..*(Complex)Application identification
URL: http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierUnique id for this set of answers
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription 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.

.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringThe value that is unique
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
... basedOn Σ0..*Reference(Finnish PHR SelfCarePlan profile) {r}Request fulfilled by this QuestionnaireResponse
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... partOf Σ0..*Reference(Observation) {r}Part of this action
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... questionnaire Σ1..1canonical(Finnish PHR Questionnaire profile)Questionnaire being answered
... status ?!Σ1..1codeFinnish PHR: in-progress | completed | amended | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.

... subject Σ1..1Reference(Finnish PHR Patient profile) {r}The subject of the questions
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... authored Σ1..1dateTimeDate the answers were gathered
... author Σ0..1Reference(Finnish PHR Patient profile) {r}Person who received and recorded the answers
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... source Σ1..1Reference(Finnish PHR Patient profile) {r}Finnish PHR: The application user who answered the questions
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... item C1..*BackboneElementGroups and questions
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId 1..1stringPointer to specific item from Questionnaire
.... definition 0..1uriElementDefinition - details for the item
.... text 0..1stringName for group or question text
.... answer 0..*BackboneElementThe response(s) to the question
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] 0..1Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.

...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
..... item 0..*See item (QuestionnaireResponse)Nested groups and questions
.... item 0..*See item (QuestionnaireResponse)Nested questionnaire response items

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
QuestionnaireResponse.meta.securityextensibleAll Security Labels
QuestionnaireResponse.meta.tagexampleCommonTags
QuestionnaireResponse.languagerequiredCommonLanguages
QuestionnaireResponse.identifier.userequiredIdentifierUse
QuestionnaireResponse.identifier.typeextensibleIdentifier Type Codes
QuestionnaireResponse.basedOn.typeextensibleResourceType
QuestionnaireResponse.partOf.typeextensibleResourceType
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
QuestionnaireResponse.subject.typeextensibleResourceType
QuestionnaireResponse.author.typeextensibleResourceType
QuestionnaireResponse.source.typeextensibleResourceType
QuestionnaireResponse.item.answer.value[x]exampleQuestionnaireAnswerCodes (a valid code from SNOMED CT)

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qrs-1errorQuestionnaireResponse.itemNested 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:

  • The element QuestionnaireResponse.meta.profile is sliced based on the value of value:$this

 

Other representations of profile: CSV, Excel, Schematron