This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
(No assigned work group) | Maturity Level: 0 | Context: Any |
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..* | A questionnaire with the ability to specify behavior associated with questions or groups of questions | ||
![]() ![]() ![]() | 0..* | BackboneElement | ||
![]() ![]() ![]() ![]() | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-condition | |
![]() ![]() ![]() ![]() | 0..1 | string | An expression that provides the initial value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-initialValue | |
![]() ![]() ![]() ![]() | 0..1 | string | An expression that provides a calculated value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-calculatedValue | |
![]() ![]() ![]() | 0..* | Reference(Library) | A library containing logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-library | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | A questionnaire with the ability to specify behavior associated with questions or groups of questions | |
![]() ![]() ![]() | ∑ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() | ∑ | 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: Common Languages (extensible) | |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | I | 0..* | Reference(Library) | A library containing logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-library |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ∑ | 0..1 | uri | Globally unique logical identifier for questionnaire |
![]() ![]() ![]() | ∑ | 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..* | CodeableConcept | Questionnaire intends to support these contexts Binding: Context of Use ValueSet (extensible) |
![]() ![]() ![]() | ∑ | 0..1 | string | Name for the questionnaire |
![]() ![]() ![]() | ∑ | 0..* | Coding | Concept that represents the overall questionnaire Binding: Questionnaire Question Codes (example) |
![]() ![]() ![]() | ∑ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required) |
![]() ![]() ![]() | I | 0..* | BackboneElement | Questions and sections within the Questionnaire |
![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | I | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-condition |
![]() ![]() ![]() ![]() | I | 0..1 | string | An expression that provides the initial value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-initialValue |
![]() ![]() ![]() ![]() | I | 0..1 | string | An expression that provides a calculated value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-calculatedValue |
![]() ![]() ![]() ![]() | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | 1..1 | string | Unique id for item in questionnaire | |
![]() ![]() ![]() ![]() | I | 0..1 | uri | ElementDefinition - details for the item |
![]() ![]() ![]() ![]() | ∑I | 0..* | Coding | Concept that represents this item within in a questionnaire Binding: Questionnaire Question Codes (example) |
![]() ![]() ![]() ![]() | 0..1 | string | E.g. "1(a)", "2.5.3" | |
![]() ![]() ![]() ![]() | ∑ | 0..1 | string | Primary text for the item |
![]() ![]() ![]() ![]() | I | 0..1 | code | group | display | boolean | decimal | integer | date | dateTime + Binding: QuestionnaireItemType (required) |
![]() ![]() ![]() ![]() | ?!∑I | 0..* | BackboneElement | Only allow data when: que-7: enableWhen must contain either an 'answer' or an 'answered' element |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Question that determines whether item is enabled | |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | boolean | Enable when answered or not |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | boolean, decimal, integer, date, dateTime, instant, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) | Value question must have |
![]() ![]() ![]() ![]() | I | 0..1 | boolean | Whether the item must be included in data results |
![]() ![]() ![]() ![]() | I | 0..1 | boolean | Whether the item may repeat |
![]() ![]() ![]() ![]() | I | 0..1 | boolean | Don't allow human editing |
![]() ![]() ![]() ![]() | I | 0..1 | integer | No more than this many characters |
![]() ![]() ![]() ![]() | I | 0..1 | Reference(ValueSet) | Valueset containing permitted answers |
![]() ![]() ![]() ![]() | I | 0..* | BackboneElement | Permitted answer |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer, date, time, string, Coding | Answer value Binding: Questionnaire Answer Codes (example) | |
![]() ![]() ![]() ![]() | I | 0..1 | boolean, decimal, integer, date, dateTime, instant, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) | Default value when item is first rendered |
![]() ![]() ![]() ![]() | I | 0..* | Unknown reference to #Questionnaire:cqif-questionnaire.item Nested questionnaire items | |
![]() |
todo
This structure is derived from Questionnaire.
Differential View
This structure is derived from Questionnaire.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | A questionnaire with the ability to specify behavior associated with questions or groups of questions | ||
![]() ![]() ![]() | 0..* | BackboneElement | ||
![]() ![]() ![]() ![]() | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-condition | |
![]() ![]() ![]() ![]() | 0..1 | string | An expression that provides the initial value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-initialValue | |
![]() ![]() ![]() ![]() | 0..1 | string | An expression that provides a calculated value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-calculatedValue | |
![]() ![]() ![]() | 0..* | Reference(Library) | A library containing logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-library | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | A questionnaire with the ability to specify behavior associated with questions or groups of questions | |
![]() ![]() ![]() | ∑ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() | ∑ | 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: Common Languages (extensible) | |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | I | 0..* | Reference(Library) | A library containing logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-library |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ∑ | 0..1 | uri | Globally unique logical identifier for questionnaire |
![]() ![]() ![]() | ∑ | 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..* | CodeableConcept | Questionnaire intends to support these contexts Binding: Context of Use ValueSet (extensible) |
![]() ![]() ![]() | ∑ | 0..1 | string | Name for the questionnaire |
![]() ![]() ![]() | ∑ | 0..* | Coding | Concept that represents the overall questionnaire Binding: Questionnaire Question Codes (example) |
![]() ![]() ![]() | ∑ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required) |
![]() ![]() ![]() | I | 0..* | BackboneElement | Questions and sections within the Questionnaire |
![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | I | 0..1 | string | A condition that determines whether or not the group is applicable URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-condition |
![]() ![]() ![]() ![]() | I | 0..1 | string | An expression that provides the initial value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-initialValue |
![]() ![]() ![]() ![]() | I | 0..1 | string | An expression that provides a calculated value for the answer to the question URL: http://hl7.org/fhir/StructureDefinition/cqif-basic-calculatedValue |
![]() ![]() ![]() ![]() | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | 1..1 | string | Unique id for item in questionnaire | |
![]() ![]() ![]() ![]() | I | 0..1 | uri | ElementDefinition - details for the item |
![]() ![]() ![]() ![]() | ∑I | 0..* | Coding | Concept that represents this item within in a questionnaire Binding: Questionnaire Question Codes (example) |
![]() ![]() ![]() ![]() | 0..1 | string | E.g. "1(a)", "2.5.3" | |
![]() ![]() ![]() ![]() | ∑ | 0..1 | string | Primary text for the item |
![]() ![]() ![]() ![]() | I | 0..1 | code | group | display | boolean | decimal | integer | date | dateTime + Binding: QuestionnaireItemType (required) |
![]() ![]() ![]() ![]() | ?!∑I | 0..* | BackboneElement | Only allow data when: que-7: enableWhen must contain either an 'answer' or an 'answered' element |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Question that determines whether item is enabled | |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | boolean | Enable when answered or not |
![]() ![]() ![]() ![]() ![]() | I | 0..1 | boolean, decimal, integer, date, dateTime, instant, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) | Value question must have |
![]() ![]() ![]() ![]() | I | 0..1 | boolean | Whether the item must be included in data results |
![]() ![]() ![]() ![]() | I | 0..1 | boolean | Whether the item may repeat |
![]() ![]() ![]() ![]() | I | 0..1 | boolean | Don't allow human editing |
![]() ![]() ![]() ![]() | I | 0..1 | integer | No more than this many characters |
![]() ![]() ![]() ![]() | I | 0..1 | Reference(ValueSet) | Valueset containing permitted answers |
![]() ![]() ![]() ![]() | I | 0..* | BackboneElement | Permitted answer |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer, date, time, string, Coding | Answer value Binding: Questionnaire Answer Codes (example) | |
![]() ![]() ![]() ![]() | I | 0..1 | boolean, decimal, integer, date, dateTime, instant, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) | Default value when item is first rendered |
![]() ![]() ![]() ![]() | I | 0..* | Unknown reference to #Questionnaire:cqif-questionnaire.item Nested questionnaire items | |
![]() |
XML Template
JSON Template
todo
Other representations of profile: Schematron
Path | Name | Conformance | ValueSet |
Questionnaire.language | Common Languages | extensible | Common Languages |
Questionnaire.status | QuestionnaireStatus | required | QuestionnaireStatus |
Questionnaire.useContext | Context of Use ValueSet | extensible | Context of Use ValueSet |
Questionnaire.concept | Questionnaire Question Codes | example | Questionnaire Question Codes |
Questionnaire.subjectType | ResourceType | required | ResourceType |
Questionnaire.item.concept | Questionnaire Question Codes | example | Questionnaire Question Codes |
Questionnaire.item.type | QuestionnaireItemType | required | QuestionnaireItemType |
Questionnaire.item.option.value[x] | Questionnaire Answer Codes | example | Questionnaire Answer Codes |
Id | Path | Details | Requirements |
que-7 | Questionnaire.item.enableWhen | enableWhen must contain either an 'answer' or an 'answered' element XPath: count(*[starts-with(local-name(.), 'answer')]|answered) = 1 |