This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/cqif-questionnaire
A questionnaire with the ability to specify behavior associated with questions or groups of questions
This profile was published on Sat, May 30, 2015 00:00+1000 as a draft by Health Level Seven, Inc. - CDS WG.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Questionnaire.
This structure is derived from Questionnaire.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | 0..* | Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions | |
group | 1..1 | BackboneElement | ||
question | 0..* | BackboneElement | ||
cqif-basic-expression | 0..1 | string | An expression that provides the initial value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression Slice: Unordered, Open, by url | |
cqif-basic-expression | 0..1 | string | An expression that provides a calculated value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
cqif-basic-expression | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression Slice: Unordered, Open, by url | |
cqif-basic-content | 0..* | Attachment | An attachment containing any logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-content Slice: Unordered, Open, by url | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | I | 0..* | Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions que-3: If root group must be "required" que-2: The link ids for groups and questions must be unique within the questionnaire |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: IETF BCP-47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
cqif-basic-content | 0..* | Attachment | An attachment containing any logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-content | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | ∑ | 0..* | Identifier | External Ids for this questionnaire |
version | ∑ | 0..1 | string | Logical id for this version of Questionnaire |
status | ?! ∑ | 1..1 | code | draft | published | retired Binding: QuestionnaireStatus (required) |
date | ∑ | 0..1 | dateTime | Date this version was authored |
publisher | ∑ | 0..1 | string | Organization/individual who designed the questionnaire |
telecom | ∑ | 0..* | ContactPoint | Contact information of the publisher |
subjectType | ∑ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required) |
group | ∑ I | 1..1 | BackboneElement | Grouped questions que-1: Groups may either contain questions or groups but not both |
cqif-basic-expression | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
linkId | 0..1 | string | To link questionnaire with questionnaire response | |
title | ∑ | 0..1 | string | Name to be displayed for group |
concept | ∑ | 0..* | Coding | Concept that represents this section on a questionnaire Binding: Questionnaire Question Codes (example) |
text | 0..1 | string | Additional text for the group | |
required | 0..1 | boolean | Must group be included in data results? | |
repeats | 0..1 | boolean | Whether the group may repeat | |
group | I | 0..* | Nested questionnaire group | |
question | I | 0..* | BackboneElement | Questions in this group que-4: A question must use either option or options, not both |
cqif-basic-expression | 0..1 | string | An expression that provides the initial value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
cqif-basic-expression | 0..1 | string | An expression that provides a calculated value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
linkId | 0..1 | string | To link questionnaire with questionnaire response | |
concept | 0..* | Coding | Concept that represents this question on a questionnaire Binding: Questionnaire Question Codes (example) | |
text | 0..1 | string | Text of the question as it is shown to the user | |
type | 0..1 | code | boolean | decimal | integer | date | dateTime + Binding: AnswerFormat (required) | |
required | 0..1 | boolean | Must question be answered in data results? | |
repeats | 0..1 | boolean | Can question have multiple answers? | |
options | I | 0..1 | Reference(ValueSet) | Valueset containing permitted answers |
option | I | 0..* | Coding | Permitted answer Binding: Questionnaire Answer Codes (example) |
group | 0..* | Nested questionnaire group | ||
Documentation for this format |
todo
This structure is derived from Questionnaire.
Differential View
This structure is derived from Questionnaire.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | 0..* | Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions | |
group | 1..1 | BackboneElement | ||
question | 0..* | BackboneElement | ||
cqif-basic-expression | 0..1 | string | An expression that provides the initial value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression Slice: Unordered, Open, by url | |
cqif-basic-expression | 0..1 | string | An expression that provides a calculated value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
cqif-basic-expression | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression Slice: Unordered, Open, by url | |
cqif-basic-content | 0..* | Attachment | An attachment containing any logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-content Slice: Unordered, Open, by url | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | I | 0..* | Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions que-3: If root group must be "required" que-2: The link ids for groups and questions must be unique within the questionnaire |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: IETF BCP-47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
cqif-basic-content | 0..* | Attachment | An attachment containing any logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-content | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | ∑ | 0..* | Identifier | External Ids for this questionnaire |
version | ∑ | 0..1 | string | Logical id for this version of Questionnaire |
status | ?! ∑ | 1..1 | code | draft | published | retired Binding: QuestionnaireStatus (required) |
date | ∑ | 0..1 | dateTime | Date this version was authored |
publisher | ∑ | 0..1 | string | Organization/individual who designed the questionnaire |
telecom | ∑ | 0..* | ContactPoint | Contact information of the publisher |
subjectType | ∑ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required) |
group | ∑ I | 1..1 | BackboneElement | Grouped questions que-1: Groups may either contain questions or groups but not both |
cqif-basic-expression | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
linkId | 0..1 | string | To link questionnaire with questionnaire response | |
title | ∑ | 0..1 | string | Name to be displayed for group |
concept | ∑ | 0..* | Coding | Concept that represents this section on a questionnaire Binding: Questionnaire Question Codes (example) |
text | 0..1 | string | Additional text for the group | |
required | 0..1 | boolean | Must group be included in data results? | |
repeats | 0..1 | boolean | Whether the group may repeat | |
group | I | 0..* | Nested questionnaire group | |
question | I | 0..* | BackboneElement | Questions in this group que-4: A question must use either option or options, not both |
cqif-basic-expression | 0..1 | string | An expression that provides the initial value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
cqif-basic-expression | 0..1 | string | An expression that provides a calculated value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
linkId | 0..1 | string | To link questionnaire with questionnaire response | |
concept | 0..* | Coding | Concept that represents this question on a questionnaire Binding: Questionnaire Question Codes (example) | |
text | 0..1 | string | Text of the question as it is shown to the user | |
type | 0..1 | code | boolean | decimal | integer | date | dateTime + Binding: AnswerFormat (required) | |
required | 0..1 | boolean | Must question be answered in data results? | |
repeats | 0..1 | boolean | Can question have multiple answers? | |
options | I | 0..1 | Reference(ValueSet) | Valueset containing permitted answers |
option | I | 0..* | Coding | Permitted answer Binding: Questionnaire Answer Codes (example) |
group | 0..* | Nested questionnaire group | ||
Documentation for this format |
XML Template
JSON Template
todo
Other representations of profile: Schematron
Path | Name | Conformance | ValueSet |
Questionnaire.language | ?ext | required | http://tools.ietf.org/html/bcp47 |
Questionnaire.status | QuestionnaireStatus | required | QuestionnaireStatus |
Questionnaire.subjectType | ResourceType | required | ResourceType |
Questionnaire.group.concept | Questionnaire Question Codes | example | Questionnaire Question Codes |
Questionnaire.group.question.concept | Questionnaire Question Codes | example | Questionnaire Question Codes |
Questionnaire.group.question.type | AnswerFormat | required | AnswerFormat |
Questionnaire.group.question.option | Questionnaire Answer Codes | example | Questionnaire Answer Codes |
Id | Path | Details | Requirements |
que-3 | Questionnaire | If root group must be "required" XPath: f:group/f:required/@value='true' | |
que-2 | Questionnaire | The link ids for groups and questions must be unique within the questionnaire XPath: count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value)) | |
que-1 | Questionnaire.group | Groups may either contain questions or groups but not both XPath: not(exists(f:group) and exists(f:question)) | |
que-4 | Questionnaire.group.question | A question must use either option or options, not both XPath: not(f:options and f:option) |