This page is part of the Documentation Templates and Rules (v1.0.0: STU 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.1.0. For a full list of available versions, see the Directory of published versions
Defining URL: | http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaire-r4 |
Version: | 1.0.0 |
Name: | DTRQuestionnaire |
Status: | Draft as of 2020-12-23T03:54:24+00:00 |
Publisher: | HL7 Clinical Decision Support Work Group |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaire-r4
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CQF-Questionnaire
This structure is derived from CQF-Questionnaire
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | CQF-Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions | |
![]() ![]() ![]() | 1..* | canonical(Library) | A library containing logic used by the artifact URL: http://hl7.org/fhir/StructureDefinition/cqf-library | |
![]() ![]() ![]() | 1..1 | code | draft | active | retired | unknown | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | dateTime | Date last changed | |
![]() ![]() ![]() | 1..* | ContactDetail | Contact details for the publisher | |
![]() ![]() ![]() | I | 1..* | BackboneElement | Questions and sections within the Questionnaire dtrq-1: Non-group items must have the cqf-expression extension |
![]() ![]() ![]() ![]() | 0..1 | Expression | An dynamic expression URL: http://hl7.org/fhir/StructureDefinition/cqf-expression | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | CQF-Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions |
![]() ![]() ![]() | Σ | 0..1 | string | 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: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 1..* | canonical(Library) | A library containing logic used by the artifact URL: http://hl7.org/fhir/StructureDefinition/cqf-library Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | canonical(Library) | A library containing logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqf-library | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) |
![]() ![]() ![]() | Σ | 0..* | Identifier | Additional identifier for the questionnaire |
![]() ![]() ![]() | Σ | 0..1 | string | Business version of the questionnaire |
![]() ![]() ![]() | ΣI | 0..1 | string | Name for this questionnaire (computer friendly) |
![]() ![]() ![]() | Σ | 0..1 | string | Name for this questionnaire (human friendly) |
![]() ![]() ![]() | 0..* | canonical(Questionnaire) | Instantiates protocol or definition | |
![]() ![]() ![]() | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() ![]() | Σ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. |
![]() ![]() ![]() | Σ | 1..1 | dateTime | Date last changed |
![]() ![]() ![]() | Σ | 0..1 | string | Name of the publisher (organization or individual) |
![]() ![]() ![]() | Σ | 1..* | ContactDetail | Contact details for the publisher |
![]() ![]() ![]() | 0..1 | markdown | Natural language description of the questionnaire | |
![]() ![]() ![]() | Σ | 0..* | UsageContext | The context that the content is intended to support |
![]() ![]() ![]() | Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. |
![]() ![]() ![]() | 0..1 | markdown | Why this questionnaire is defined | |
![]() ![]() ![]() | 0..1 | markdown | Use and/or publishing restrictions | |
![]() ![]() ![]() | 0..1 | date | When the questionnaire was approved by publisher | |
![]() ![]() ![]() | 0..1 | date | When the questionnaire was last reviewed | |
![]() ![]() ![]() | Σ | 0..1 | Period | When the questionnaire is expected to be used |
![]() ![]() ![]() | Σ | 0..* | Coding | Concept that represents the overall questionnaire Binding: QuestionnaireQuestionCodes (example): Codes for questionnaires, groups and individual questions. |
![]() ![]() ![]() | I | 1..* | BackboneElement | Questions and sections within the Questionnaire dtrq-1: Non-group items must have the cqf-expression extension |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..1 | Expression | An dynamic expression URL: http://hl7.org/fhir/StructureDefinition/cqf-expression | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | string | Unique id for item in questionnaire | |
![]() ![]() ![]() ![]() | 0..1 | uri | ElementDefinition - details for the item | |
![]() ![]() ![]() ![]() | I | 0..* | Coding | Corresponding concept for this item in a terminology Binding: QuestionnaireQuestionCodes (example): Codes for questionnaires, groups and individual questions. |
![]() ![]() ![]() ![]() | 0..1 | string | E.g. "1(a)", "2.5.3" | |
![]() ![]() ![]() ![]() | 0..1 | string | Primary text for the item | |
![]() ![]() ![]() ![]() | 1..1 | code | group | display | boolean | decimal | integer | date | dateTime + Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions. | |
![]() ![]() ![]() ![]() | ?!I | 0..* | BackboneElement | Only allow data when que-7: If the operator is 'exists', the value must be a boolean |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Question that determines whether item is enabled | |
![]() ![]() ![]() ![]() ![]() | 1..1 | code | exists | = | != | > | < | >= | <= Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled. | |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | Value for question comparison based on operator Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | |
![]() ![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() | I | 0..1 | code | all | any Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. |
![]() ![]() ![]() ![]() | 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 | canonical(ValueSet) | Valueset containing permitted answers |
![]() ![]() ![]() ![]() | I | 0..* | BackboneElement | Permitted answer |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | Answer value Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | Whether option is selected by default | |
![]() ![]() ![]() ![]() | I | 0..* | BackboneElement | Initial value(s) when item is first rendered |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | Actual value for initializing the question Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||
![]() ![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | uri | |||
![]() ![]() ![]() ![]() ![]() ![]() | Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() | I | 0..* | See item (Questionnaire) | Nested questionnaire items |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | CQF-Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions |
![]() |
This structure is derived from CQF-Questionnaire
Differential View
This structure is derived from CQF-Questionnaire
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | CQF-Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions | |
![]() ![]() ![]() | 1..* | canonical(Library) | A library containing logic used by the artifact URL: http://hl7.org/fhir/StructureDefinition/cqf-library | |
![]() ![]() ![]() | 1..1 | code | draft | active | retired | unknown | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | dateTime | Date last changed | |
![]() ![]() ![]() | 1..* | ContactDetail | Contact details for the publisher | |
![]() ![]() ![]() | I | 1..* | BackboneElement | Questions and sections within the Questionnaire dtrq-1: Non-group items must have the cqf-expression extension |
![]() ![]() ![]() ![]() | 0..1 | Expression | An dynamic expression URL: http://hl7.org/fhir/StructureDefinition/cqf-expression | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | CQF-Questionnaire | A questionnaire with the ability to specify behavior associated with questions or groups of questions |
![]() ![]() ![]() | Σ | 0..1 | string | 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: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 1..* | canonical(Library) | A library containing logic used by the artifact URL: http://hl7.org/fhir/StructureDefinition/cqf-library Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | canonical(Library) | A library containing logic referenced by the questionnaire URL: http://hl7.org/fhir/StructureDefinition/cqf-library | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) |
![]() ![]() ![]() | Σ | 0..* | Identifier | Additional identifier for the questionnaire |
![]() ![]() ![]() | Σ | 0..1 | string | Business version of the questionnaire |
![]() ![]() ![]() | ΣI | 0..1 | string | Name for this questionnaire (computer friendly) |
![]() ![]() ![]() | Σ | 0..1 | string | Name for this questionnaire (human friendly) |
![]() ![]() ![]() | 0..* | canonical(Questionnaire) | Instantiates protocol or definition | |
![]() ![]() ![]() | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() ![]() | Σ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. |
![]() ![]() ![]() | Σ | 1..1 | dateTime | Date last changed |
![]() ![]() ![]() | Σ | 0..1 | string | Name of the publisher (organization or individual) |
![]() ![]() ![]() | Σ | 1..* | ContactDetail | Contact details for the publisher |
![]() ![]() ![]() | 0..1 | markdown | Natural language description of the questionnaire | |
![]() ![]() ![]() | Σ | 0..* | UsageContext | The context that the content is intended to support |
![]() ![]() ![]() | Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. |
![]() ![]() ![]() | 0..1 | markdown | Why this questionnaire is defined | |
![]() ![]() ![]() | 0..1 | markdown | Use and/or publishing restrictions | |
![]() ![]() ![]() | 0..1 | date | When the questionnaire was approved by publisher | |
![]() ![]() ![]() | 0..1 | date | When the questionnaire was last reviewed | |
![]() ![]() ![]() | Σ | 0..1 | Period | When the questionnaire is expected to be used |
![]() ![]() ![]() | Σ | 0..* | Coding | Concept that represents the overall questionnaire Binding: QuestionnaireQuestionCodes (example): Codes for questionnaires, groups and individual questions. |
![]() ![]() ![]() | I | 1..* | BackboneElement | Questions and sections within the Questionnaire dtrq-1: Non-group items must have the cqf-expression extension |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..1 | Expression | An dynamic expression URL: http://hl7.org/fhir/StructureDefinition/cqf-expression | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | string | Unique id for item in questionnaire | |
![]() ![]() ![]() ![]() | 0..1 | uri | ElementDefinition - details for the item | |
![]() ![]() ![]() ![]() | I | 0..* | Coding | Corresponding concept for this item in a terminology Binding: QuestionnaireQuestionCodes (example): Codes for questionnaires, groups and individual questions. |
![]() ![]() ![]() ![]() | 0..1 | string | E.g. "1(a)", "2.5.3" | |
![]() ![]() ![]() ![]() | 0..1 | string | Primary text for the item | |
![]() ![]() ![]() ![]() | 1..1 | code | group | display | boolean | decimal | integer | date | dateTime + Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions. | |
![]() ![]() ![]() ![]() | ?!I | 0..* | BackboneElement | Only allow data when que-7: If the operator is 'exists', the value must be a boolean |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | Question that determines whether item is enabled | |
![]() ![]() ![]() ![]() ![]() | 1..1 | code | exists | = | != | > | < | >= | <= Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled. | |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | Value for question comparison based on operator Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | |
![]() ![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() | I | 0..1 | code | all | any Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. |
![]() ![]() ![]() ![]() | 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 | canonical(ValueSet) | Valueset containing permitted answers |
![]() ![]() ![]() ![]() | I | 0..* | BackboneElement | Permitted answer |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | Answer value Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() ![]() | 0..1 | boolean | Whether option is selected by default | |
![]() ![]() ![]() ![]() | I | 0..* | BackboneElement | Initial value(s) when item is first rendered |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | Actual value for initializing the question Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions. | ||
![]() ![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | uri | |||
![]() ![]() ![]() ![]() ![]() ![]() | Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() | I | 0..* | See item (Questionnaire) | Nested questionnaire items |
![]() |
Other representations of profile: Schematron
Path | Conformance | ValueSet |
Questionnaire.language | preferred | CommonLanguages Max Binding: AllLanguages |
Questionnaire.status | required | PublicationStatus |
Questionnaire.subjectType | required | ResourceType |
Questionnaire.jurisdiction | extensible | Jurisdiction ValueSet |
Questionnaire.code | example | QuestionnaireQuestionCodes |
Questionnaire.item.code | example | QuestionnaireQuestionCodes |
Questionnaire.item.type | required | QuestionnaireItemType |
Questionnaire.item.enableWhen.operator | required | QuestionnaireItemOperator |
Questionnaire.item.enableWhen.answer[x] | example | QuestionnaireAnswerCodes |
Questionnaire.item.enableBehavior | required | EnableWhenBehavior |
Questionnaire.item.answerOption.value[x] | example | QuestionnaireAnswerCodes |
Questionnaire.item.initial.value[x] | example | QuestionnaireAnswerCodes |
Id | Path | Details | Requirements |
dtrq-1 | Questionnaire.item | Non-group items must have the cqf-expression extension : type = 'group' or extension.url = 'http://hl7.org/fhir/StructureDefinition/cqf-expression' | |
que-7 | Questionnaire.item.enableWhen | If the operator is 'exists', the value must be a boolean : operator = 'exists' implies (answer is Boolean) |