International Patient Access
0.1.0 - draft

International Patient Access, published by HL7. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/grahamegrieve/ipa-candidate/ and changes regularly. See the Directory of published versions

StructureDefinition: IPAQuestionnaireResponse

Minimum expectations for a QuestionnaireResponse resource when accessed via a International Patient Access API

The official URL for this profile is:

http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-questionnaireresponse

Formal Views of Profile Content

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

This structure is derived from QuestionnaireResponse

Summary

Mandatory: 3 elements
Must-Support: 4 elements

Structures

This structure refers to these other structures:

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse I0..*QuestionnaireResponseA structured set of questions and their answers
... id Σ0..1stringLogical id of this artifact
... meta ΣI0..1MetaMetadata about the resource
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension I0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!I0..*ExtensionExtensions that cannot be ignored
... identifier ΣI0..1IdentifierUnique id for this set of answers
... basedOn ΣI0..*Reference(CarePlan | ServiceRequest)Request fulfilled by this QuestionnaireResponse
... partOf ΣI0..*Reference(Observation | Procedure)Part of this action
... questionnaire SΣI1..1canonical(Questionnaire)Form being answered
... status ?!SΣI1..1codein-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required)
... subject SΣI1..1Reference(IPA-Patient)The subject of the questions
... encounter SΣI0..1Reference(Encounter)Encounter created as part of
... authored ΣI0..1dateTimeDate the answers were gathered
... author ΣI0..1Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)Person who received and recorded the answers
... source ΣI0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)The person who answered the questions
... item I0..*BackboneElementGroups and questions
qrs-1: Nested item can't be beneath both item and answer
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId I1..1stringPointer to specific item from Questionnaire
.... definition I0..1uriElementDefinition - details for the item
.... text I0..1stringName for group or question text
.... answer I0..*BackboneElementThe response(s) to the question
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] I0..1Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example)
...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
..... item I0..*Unknown reference to #QuestionnaireResponse.item
Nested groups and questions
.... item I0..*Unknown reference to #QuestionnaireResponse.item
Nested questionnaire response items

doco Documentation for this format

This structure is derived from QuestionnaireResponse

Summary

Mandatory: 3 elements
Must-Support: 4 elements

Structures

This structure refers to these other structures:

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse I0..*QuestionnaireResponseA structured set of questions and their answers
... id Σ0..1stringLogical id of this artifact
... meta ΣI0..1MetaMetadata about the resource
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension I0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!I0..*ExtensionExtensions that cannot be ignored
... identifier ΣI0..1IdentifierUnique id for this set of answers
... basedOn ΣI0..*Reference(CarePlan | ServiceRequest)Request fulfilled by this QuestionnaireResponse
... partOf ΣI0..*Reference(Observation | Procedure)Part of this action
... questionnaire SΣI1..1canonical(Questionnaire)Form being answered
... status ?!SΣI1..1codein-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required)
... subject SΣI1..1Reference(IPA-Patient)The subject of the questions
... encounter SΣI0..1Reference(Encounter)Encounter created as part of
... authored ΣI0..1dateTimeDate the answers were gathered
... author ΣI0..1Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)Person who received and recorded the answers
... source ΣI0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)The person who answered the questions
... item I0..*BackboneElementGroups and questions
qrs-1: Nested item can't be beneath both item and answer
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId I1..1stringPointer to specific item from Questionnaire
.... definition I0..1uriElementDefinition - details for the item
.... text I0..1stringName for group or question text
.... answer I0..*BackboneElementThe response(s) to the question
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] I0..1Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example)
...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
..... item I0..*Unknown reference to #QuestionnaireResponse.item
Nested groups and questions
.... item I0..*Unknown reference to #QuestionnaireResponse.item
Nested questionnaire response items

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

Terminology Bindings

PathConformanceValueSet
QuestionnaireResponse.languagepreferredCommonLanguages
Max Binding: AllLanguages
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
QuestionnaireResponse.item.answer.value[x]exampleQuestionnaireAnswerCodes

Constraints

Constraints

IdPathDetailsRequirements
qrs-1QuestionnaireResponse.itemNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()