This page is part of the FHIR Specification (v1.1.0: STU 3 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
This is a frozen snapshot of the FHIR specification created for the purpose of balloting the GAO implementation Guide. It includes draft changes that may be part of the future DSTU 2.1 release but further change is expected. Readers should focus solely on the GAO implementation content, and FHIR DSTU 2 for other purposes.
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 | |
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() | 0..* | Attachment | An attachment containing any logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-content | |
![]() |
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 identifiers for this questionnaire |
![]() ![]() ![]() | ∑ | 0..1 | string | Logical identifier 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 in a questionnaire Binding: Questionnaire Question Codes (example) |
![]() ![]() ![]() ![]() | 0..1 | string | Additional text for the group | |
![]() ![]() ![]() ![]() | 0..1 | boolean | Whether the group must be included in data results | |
![]() ![]() ![]() ![]() | 0..1 | boolean | Whether the group may repeat | |
![]() ![]() ![]() ![]() | I | 0..* | See Questionnaire.group | 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 | Whether the question must be answered in data results | |
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | Whether the question can have multiple answers | |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | Reference(ValueSet) | Valueset containing permitted answers |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Coding | Permitted answer Binding: Questionnaire Answer Codes (example) |
![]() ![]() ![]() ![]() ![]() | 0..* | See Questionnaire.group | 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 | |
![]() ![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() | 0..* | Attachment | An attachment containing any logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-content | |
![]() |
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 identifiers for this questionnaire |
![]() ![]() ![]() | ∑ | 0..1 | string | Logical identifier 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 in a questionnaire Binding: Questionnaire Question Codes (example) |
![]() ![]() ![]() ![]() | 0..1 | string | Additional text for the group | |
![]() ![]() ![]() ![]() | 0..1 | boolean | Whether the group must be included in data results | |
![]() ![]() ![]() ![]() | 0..1 | boolean | Whether the group may repeat | |
![]() ![]() ![]() ![]() | I | 0..* | See Questionnaire.group | 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 | Whether the question must be answered in data results | |
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | Whether the question can have multiple answers | |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | Reference(ValueSet) | Valueset containing permitted answers |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Coding | Permitted answer Binding: Questionnaire Answer Codes (example) |
![]() ![]() ![]() ![]() ![]() | 0..* | See Questionnaire.group | 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) |