IHE ACDC Implementation Guide
0.1.0 - CI Build
IHE ACDC Implementation Guide, published by Integrating the Healthcare Enterprise (IHE). This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/IHE/ACDC/ and changes regularly. See the Directory of published versions
Defines constraints and extensions on the Questionnaire Resource for questionnaires used with the IHE ACDC Profile
The official URL for this profile is:
http://ihe.net/fhir/ACDC/StructureDefinition/ihe-acdc-questionnaire
The IHE ACDC Questionnaire Profile defines the constraints on Questionnaire resources returned by the PCC-71 transaction, and referenced by the QuestionnaireResponse resource used in the PCC-73 transaction. This resource describes the Questionnaire that represents an Assessment that can be performed on a patient.
At a minimum, Questionnaire resources that comply with this provide must provide:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Questionnaire
This structure is derived from Questionnaire
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Questionnaire | A structured set of questions | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | S | 0..* | uri | Extension URL: http://ihe.net/fhir/ACDC/StructureDefinition/questionnaire-launchurl |
![]() ![]() ![]() | 1..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) | |
![]() ![]() ![]() | 1..1 | string | Name for this questionnaire (computer friendly) | |
![]() ![]() ![]() | 1..1 | string | Name for this questionnaire (human friendly) | |
![]() ![]() ![]() | 1..1 | dateTime | Date last changed | |
![]() ![]() ![]() | 1..1 | string | Name of the publisher (organization or individual) | |
![]() ![]() ![]() | 1..1 | markdown | Natural language description of the questionnaire | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | Questionnaire | A structured set of questions |
![]() ![]() ![]() | Σ | 0..1 | string | Logical id of this artifact |
![]() ![]() ![]() | ΣI | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() | SI | 0..* | uri | Optional Extensions Element URL: http://ihe.net/fhir/ACDC/StructureDefinition/questionnaire-launchurl |
![]() ![]() ![]() | ?!I | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ΣI | 1..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) |
![]() ![]() ![]() | ΣI | 0..* | Identifier | Additional identifier for the questionnaire |
![]() ![]() ![]() | ΣI | 0..1 | string | Business version of the questionnaire |
![]() ![]() ![]() | ΣI | 1..1 | string | Name for this questionnaire (computer friendly) |
![]() ![]() ![]() | ΣI | 1..1 | string | Name for this questionnaire (human friendly) |
![]() ![]() ![]() | I | 0..* | canonical(Questionnaire) | Instantiates protocol or definition |
![]() ![]() ![]() | ?!ΣI | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
![]() ![]() ![]() | ΣI | 0..1 | boolean | For testing purposes, not real usage |
![]() ![]() ![]() | ΣI | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required) |
![]() ![]() ![]() | ΣI | 1..1 | dateTime | Date last changed |
![]() ![]() ![]() | ΣI | 1..1 | string | Name of the publisher (organization or individual) |
![]() ![]() ![]() | ΣI | 0..* | ContactDetail | Contact details for the publisher |
![]() ![]() ![]() | I | 1..1 | markdown | Natural language description of the questionnaire |
![]() ![]() ![]() | ΣI | 0..* | UsageContext | The context that the content is intended to support |
![]() ![]() ![]() | ΣI | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: Jurisdiction ValueSet (extensible) |
![]() ![]() ![]() | I | 0..1 | markdown | Why this questionnaire is defined |
![]() ![]() ![]() | I | 0..1 | markdown | Use and/or publishing restrictions |
![]() ![]() ![]() | I | 0..1 | date | When the questionnaire was approved by publisher |
![]() ![]() ![]() | I | 0..1 | date | When the questionnaire was last reviewed |
![]() ![]() ![]() | ΣI | 0..1 | Period | When the questionnaire is expected to be used |
![]() ![]() ![]() | ΣI | 0..* | Coding | Concept that represents the overall questionnaire Binding: QuestionnaireQuestionCodes (example) |
![]() ![]() ![]() | I | 0..* | BackboneElement | Questions and sections within the Questionnaire que-1: Group items must have nested items, display items cannot have nested items que-3: Display items cannot have a "code" asserted que-4: A question cannot have both answerOption and answerValueSet que-5: Only 'choice' and 'open-choice' items can have answerValueSet que-6: Required and repeat aren't permitted for display items que-8: Initial values can't be specified for groups or display items que-9: Read-only can't be specified for "display" items que-10: Maximum length can only be declared for simple question types que-11: If one or more answerOption is present, initial[x] must be missing que-12: If there are more than one enableWhen, enableBehavior must be specified que-13: Can only have multiple initial values for repeating items |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations |
![]() ![]() ![]() ![]() | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | I | 1..1 | string | Unique id for item in questionnaire |
![]() ![]() ![]() ![]() | I | 0..1 | uri | ElementDefinition - details for the item |
![]() ![]() ![]() ![]() | I | 0..* | Coding | Corresponding concept for this item in a terminology Binding: QuestionnaireQuestionCodes (example) |
![]() ![]() ![]() ![]() | I | 0..1 | string | E.g. "1(a)", "2.5.3" |
![]() ![]() ![]() ![]() | I | 0..1 | string | Primary text for the item |
![]() ![]() ![]() ![]() | I | 1..1 | code | group | display | boolean | decimal | integer | date | dateTime + Binding: QuestionnaireItemType (required) |
![]() ![]() ![]() ![]() | ?!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 | |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations |
![]() ![]() ![]() ![]() ![]() | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | string | Question that determines whether item is enabled |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | code | exists | = | != | > | < | >= | <= Binding: QuestionnaireItemOperator (required) |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | Value for question comparison based on operator Binding: QuestionnaireAnswerCodes (example) | |
![]() ![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() | I | 0..1 | code | all | any Binding: EnableWhenBehavior (required) |
![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations |
![]() ![]() ![]() ![]() ![]() | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | Answer value Binding: QuestionnaireAnswerCodes (example) | |
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() ![]() | I | 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 | |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations |
![]() ![]() ![]() ![]() ![]() | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | Actual value for initializing the question Binding: QuestionnaireAnswerCodes (example) | |
![]() ![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | uri | |||
![]() ![]() ![]() ![]() ![]() ![]() | Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() | I | 0..* | Unknown reference to #Questionnaire.item Nested questionnaire items | |
![]() |
This structure is derived from Questionnaire
Differential View
This structure is derived from Questionnaire
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Questionnaire | A structured set of questions | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | S | 0..* | uri | Extension URL: http://ihe.net/fhir/ACDC/StructureDefinition/questionnaire-launchurl |
![]() ![]() ![]() | 1..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) | |
![]() ![]() ![]() | 1..1 | string | Name for this questionnaire (computer friendly) | |
![]() ![]() ![]() | 1..1 | string | Name for this questionnaire (human friendly) | |
![]() ![]() ![]() | 1..1 | dateTime | Date last changed | |
![]() ![]() ![]() | 1..1 | string | Name of the publisher (organization or individual) | |
![]() ![]() ![]() | 1..1 | markdown | Natural language description of the questionnaire | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | Questionnaire | A structured set of questions |
![]() ![]() ![]() | Σ | 0..1 | string | Logical id of this artifact |
![]() ![]() ![]() | ΣI | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() | SI | 0..* | uri | Optional Extensions Element URL: http://ihe.net/fhir/ACDC/StructureDefinition/questionnaire-launchurl |
![]() ![]() ![]() | ?!I | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ΣI | 1..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) |
![]() ![]() ![]() | ΣI | 0..* | Identifier | Additional identifier for the questionnaire |
![]() ![]() ![]() | ΣI | 0..1 | string | Business version of the questionnaire |
![]() ![]() ![]() | ΣI | 1..1 | string | Name for this questionnaire (computer friendly) |
![]() ![]() ![]() | ΣI | 1..1 | string | Name for this questionnaire (human friendly) |
![]() ![]() ![]() | I | 0..* | canonical(Questionnaire) | Instantiates protocol or definition |
![]() ![]() ![]() | ?!ΣI | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
![]() ![]() ![]() | ΣI | 0..1 | boolean | For testing purposes, not real usage |
![]() ![]() ![]() | ΣI | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ResourceType (required) |
![]() ![]() ![]() | ΣI | 1..1 | dateTime | Date last changed |
![]() ![]() ![]() | ΣI | 1..1 | string | Name of the publisher (organization or individual) |
![]() ![]() ![]() | ΣI | 0..* | ContactDetail | Contact details for the publisher |
![]() ![]() ![]() | I | 1..1 | markdown | Natural language description of the questionnaire |
![]() ![]() ![]() | ΣI | 0..* | UsageContext | The context that the content is intended to support |
![]() ![]() ![]() | ΣI | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: Jurisdiction ValueSet (extensible) |
![]() ![]() ![]() | I | 0..1 | markdown | Why this questionnaire is defined |
![]() ![]() ![]() | I | 0..1 | markdown | Use and/or publishing restrictions |
![]() ![]() ![]() | I | 0..1 | date | When the questionnaire was approved by publisher |
![]() ![]() ![]() | I | 0..1 | date | When the questionnaire was last reviewed |
![]() ![]() ![]() | ΣI | 0..1 | Period | When the questionnaire is expected to be used |
![]() ![]() ![]() | ΣI | 0..* | Coding | Concept that represents the overall questionnaire Binding: QuestionnaireQuestionCodes (example) |
![]() ![]() ![]() | I | 0..* | BackboneElement | Questions and sections within the Questionnaire que-1: Group items must have nested items, display items cannot have nested items que-3: Display items cannot have a "code" asserted que-4: A question cannot have both answerOption and answerValueSet que-5: Only 'choice' and 'open-choice' items can have answerValueSet que-6: Required and repeat aren't permitted for display items que-8: Initial values can't be specified for groups or display items que-9: Read-only can't be specified for "display" items que-10: Maximum length can only be declared for simple question types que-11: If one or more answerOption is present, initial[x] must be missing que-12: If there are more than one enableWhen, enableBehavior must be specified que-13: Can only have multiple initial values for repeating items |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations |
![]() ![]() ![]() ![]() | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | I | 1..1 | string | Unique id for item in questionnaire |
![]() ![]() ![]() ![]() | I | 0..1 | uri | ElementDefinition - details for the item |
![]() ![]() ![]() ![]() | I | 0..* | Coding | Corresponding concept for this item in a terminology Binding: QuestionnaireQuestionCodes (example) |
![]() ![]() ![]() ![]() | I | 0..1 | string | E.g. "1(a)", "2.5.3" |
![]() ![]() ![]() ![]() | I | 0..1 | string | Primary text for the item |
![]() ![]() ![]() ![]() | I | 1..1 | code | group | display | boolean | decimal | integer | date | dateTime + Binding: QuestionnaireItemType (required) |
![]() ![]() ![]() ![]() | ?!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 | |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations |
![]() ![]() ![]() ![]() ![]() | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | string | Question that determines whether item is enabled |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | code | exists | = | != | > | < | >= | <= Binding: QuestionnaireItemOperator (required) |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | Value for question comparison based on operator Binding: QuestionnaireAnswerCodes (example) | |
![]() ![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() | I | 0..1 | code | all | any Binding: EnableWhenBehavior (required) |
![]() ![]() ![]() ![]() | 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 | |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations |
![]() ![]() ![]() ![]() ![]() | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | Answer value Binding: QuestionnaireAnswerCodes (example) | |
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() ![]() | I | 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 | |
![]() ![]() ![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations |
![]() ![]() ![]() ![]() ![]() | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | I | 1..1 | Actual value for initializing the question Binding: QuestionnaireAnswerCodes (example) | |
![]() ![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() ![]() | date | |||
![]() ![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() | time | |||
![]() ![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() ![]() | uri | |||
![]() ![]() ![]() ![]() ![]() ![]() | Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() | Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() | Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() | Reference(Resource) | |||
![]() ![]() ![]() ![]() | I | 0..* | Unknown reference to #Questionnaire.item 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 |
que-1 | Questionnaire.item | Group items must have nested items, display items cannot have nested items : (type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty()) | |
que-3 | Questionnaire.item | Display items cannot have a "code" asserted : type!='display' or code.empty() | |
que-4 | Questionnaire.item | A question cannot have both answerOption and answerValueSet : answerOption.empty() or answerValueSet.empty() | |
que-5 | Questionnaire.item | Only 'choice' and 'open-choice' items can have answerValueSet : (type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty()) | |
que-6 | Questionnaire.item | Required and repeat aren't permitted for display items : type!='display' or (required.empty() and repeats.empty()) | |
que-8 | Questionnaire.item | Initial values can't be specified for groups or display items : (type!='group' and type!='display') or initial.empty() | |
que-9 | Questionnaire.item | Read-only can't be specified for "display" items : type!='display' or readOnly.empty() | |
que-10 | Questionnaire.item | Maximum length can only be declared for simple question types : (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty() | |
que-11 | Questionnaire.item | If one or more answerOption is present, initial[x] must be missing : answerOption.empty() or initial.empty() | |
que-12 | Questionnaire.item | If there are more than one enableWhen, enableBehavior must be specified : enableWhen.count() > 2 implies enableBehavior.exists() | |
que-13 | Questionnaire.item | Can only have multiple initial values for repeating items : repeats=true or initial.count() <= 1 | |
que-7 | Questionnaire.item.enableWhen | If the operator is 'exists', the value must be a boolean : operator = 'exists' implies (answer is Boolean) |
The content and presentation of items returned by the questionnaire are not defined by this profile. The content of these questionnaires can be further constrained by the HL7 Structured Data Capture or Patient Reported Outcomes FHIR Implementation Guides in order to support different presentation and assessment capabilities. An Assessor that also implements Form Filler capabilities of these profiles can be used to implement the user interface and collect data from the patient or provider to perform the assessment.
When an Clinical Knowledge Resource Repository that supports the EHR Launch option returns the questionnaire, it must return at least one extension[@url=”http://ihe.net/fhir/ACDC/StructureDefinition/questionnaire-launchurl”] field populated with a URL that will execute the questionnaire via the SMART on FHIR EHR Launch workflow.
More than one EHR Launch URL may be returned in the Questionnaire resource. The Assessment Requester actor can choose any of these URLs to enable access.
The EHR Launch URL represents an endpoint that will be used to pass launch credentials and possibly other sensitive information, including individually identifiable information. The URL must be an absolute URL. The content of this URL must be secured via Transport Layer Security, and so the URL must begin with https://.