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![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions | |
![]() ![]() ![]() | 1..1 | BackboneElement | ||
![]() ![]() ![]() ![]() | 0..* | BackboneElement | ||
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() | 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 | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 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 |
![]() ![]() ![]() | ∑ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: IETF BCP-47 ![]() | |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 0..* | Attachment | An attachment containing any logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-content | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ∑ | 0..* | Identifier | External Ids for this questionnaire |
![]() ![]() ![]() | ∑ | 0..1 | string | Logical id for this version of Questionnaire |
![]() ![]() ![]() | ?! ∑ | 1..1 | code | draft | published | retired Binding: QuestionnaireStatus (required) |
![]() ![]() ![]() | ∑ | 0..1 | dateTime | Date this version was authored |
![]() ![]() ![]() | ∑ | 0..1 | string | Organization/individual who designed the questionnaire |
![]() ![]() ![]() | ∑ | 0..* | ContactPoint | Contact information of the publisher |
![]() ![]() ![]() | ∑ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required) |
![]() ![]() ![]() | ∑ I | 1..1 | BackboneElement | Grouped questions que-1: Groups may either contain questions or groups but not both |
![]() ![]() ![]() ![]() | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | 0..1 | string | To link questionnaire with questionnaire response | |
![]() ![]() ![]() ![]() | ∑ | 0..1 | string | Name to be displayed for group |
![]() ![]() ![]() ![]() | ∑ | 0..* | Coding | Concept that represents this section on a questionnaire Binding: Questionnaire Question Codes (example) |
![]() ![]() ![]() ![]() | 0..1 | string | Additional text for the group | |
![]() ![]() ![]() ![]() | 0..1 | boolean | Must group be included in data results? | |
![]() ![]() ![]() ![]() | 0..1 | boolean | Whether the group may repeat | |
![]() ![]() ![]() ![]() | I | 0..* | Nested questionnaire group | |
![]() ![]() ![]() ![]() | I | 0..* | BackboneElement | Questions in this group que-4: A question must use either option or options, not both |
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | To link questionnaire with questionnaire response | |
![]() ![]() ![]() ![]() ![]() | 0..* | Coding | Concept that represents this question on a questionnaire Binding: Questionnaire Question Codes (example) | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Text of the question as it is shown to the user | |
![]() ![]() ![]() ![]() ![]() | 0..1 | code | boolean | decimal | integer | date | dateTime + Binding: AnswerFormat (required) | |
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | Must question be answered in data results? | |
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | Can question have multiple answers? | |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | Reference(ValueSet) | Valueset containing permitted answers |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Coding | Permitted answer Binding: Questionnaire Answer Codes (example) |
![]() ![]() ![]() ![]() ![]() | 0..* | Nested questionnaire group | ||
![]() |
todo
This structure is derived from Questionnaire.
Differential View
This structure is derived from Questionnaire.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions | |
![]() ![]() ![]() | 1..1 | BackboneElement | ||
![]() ![]() ![]() ![]() | 0..* | BackboneElement | ||
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() | 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 | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 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 |
![]() ![]() ![]() | ∑ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: IETF BCP-47 ![]() | |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 0..* | Attachment | An attachment containing any logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-content | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ∑ | 0..* | Identifier | External Ids for this questionnaire |
![]() ![]() ![]() | ∑ | 0..1 | string | Logical id for this version of Questionnaire |
![]() ![]() ![]() | ?! ∑ | 1..1 | code | draft | published | retired Binding: QuestionnaireStatus (required) |
![]() ![]() ![]() | ∑ | 0..1 | dateTime | Date this version was authored |
![]() ![]() ![]() | ∑ | 0..1 | string | Organization/individual who designed the questionnaire |
![]() ![]() ![]() | ∑ | 0..* | ContactPoint | Contact information of the publisher |
![]() ![]() ![]() | ∑ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required) |
![]() ![]() ![]() | ∑ I | 1..1 | BackboneElement | Grouped questions que-1: Groups may either contain questions or groups but not both |
![]() ![]() ![]() ![]() | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-expression | |
![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | 0..1 | string | To link questionnaire with questionnaire response | |
![]() ![]() ![]() ![]() | ∑ | 0..1 | string | Name to be displayed for group |
![]() ![]() ![]() ![]() | ∑ | 0..* | Coding | Concept that represents this section on a questionnaire Binding: Questionnaire Question Codes (example) |
![]() ![]() ![]() ![]() | 0..1 | string | Additional text for the group | |
![]() ![]() ![]() ![]() | 0..1 | boolean | Must group be included in data results? | |
![]() ![]() ![]() ![]() | 0..1 | boolean | Whether the group may repeat | |
![]() ![]() ![]() ![]() | I | 0..* | Nested questionnaire group | |
![]() ![]() ![]() ![]() | I | 0..* | BackboneElement | Questions in this group que-4: A question must use either option or options, not both |
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | To link questionnaire with questionnaire response | |
![]() ![]() ![]() ![]() ![]() | 0..* | Coding | Concept that represents this question on a questionnaire Binding: Questionnaire Question Codes (example) | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Text of the question as it is shown to the user | |
![]() ![]() ![]() ![]() ![]() | 0..1 | code | boolean | decimal | integer | date | dateTime + Binding: AnswerFormat (required) | |
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | Must question be answered in data results? | |
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | Can question have multiple answers? | |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | Reference(ValueSet) | Valueset containing permitted answers |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Coding | Permitted answer Binding: Questionnaire Answer Codes (example) |
![]() ![]() ![]() ![]() ![]() | 0..* | Nested questionnaire group | ||
![]() |
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) |