Left: | Advanced Rendering Questionnaire (http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render) |
Right: | Advanced Rendering Questionnaire (http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render) |
Error | StructureDefinition.version | Values for version differ: '3.0.0' vs '4.0.0-ballot' |
Information | StructureDefinition.status | Values for status differ: 'draft' vs 'active' |
Information | StructureDefinition.date | Values for date differ: '2022-03-08T18:37:19+00:00' vs '2024-12-22T03:48:38+00:00' |
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - FHIR Infrastructure Work Group' vs 'HL7 International / FHIR Infrastructure' |
Error | StructureDefinition.baseDefinition | Values for baseDefinition differ: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire' vs 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnairecommon' |
Information | StructureDefinition.short | Values for short differ: 'Extensions that cannot be ignored' vs 'Extension' |
Information | StructureDefinition.definition | Values for definition differ: 'May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).' vs 'An Extension' |
Warning | Questionnaire.url | Elements differ in definition for mustSupport: 'true' vs 'false' |
Information | Questionnaire.url | Element minimum cardinalities differ: '1' vs '0' |
Warning | Questionnaire.version | Elements differ in definition for mustSupport: 'true' vs 'false' |
Warning | Questionnaire.subjectType | Elements differ in definition for mustSupport: 'true' vs 'false' |
Warning | Questionnaire.item | Elements differ in definition for mustSupport: 'true' vs 'false' |
Warning | Questionnaire.item.text | Elements differ in definition for mustSupport: 'true' vs 'false' |
Warning | Questionnaire.item.maxLength | Elements differ in definition for mustSupport: 'true' vs 'false' |
Warning | Questionnaire.item.answerValueSet | Elements differ in definition for mustSupport: 'true' vs 'false' |
Warning | Questionnaire.item.answerOption.value[x] | Elements differ in definition for mustSupport: 'false' vs 'true' |
Name | Value | Comments | |
---|---|---|---|
abstract | false | ||
baseDefinition | http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire | http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnairecommon |
|
copyright | |||
date | 2022-03-08T18:37:19+00:00 | 2024-12-22T03:48:38+00:00 |
|
description | Defines additional capabilities for controlling the rendering of the questionnaire. | ||
experimental | |||
fhirVersion | 4.0.1 | ||
jurisdiction | |||
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 | ||
kind | resource | ||
name | SDCQuestionnaireRender | ||
publisher | HL7 International - FHIR Infrastructure Work Group | HL7 International / FHIR Infrastructure |
|
purpose | |||
status | draft | active |
|
title | Advanced Rendering Questionnaire | ||
type | Questionnaire | ||
url | http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render | ||
version | 3.0.0 | 4.0.0-ballot |
|
Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Questionnaire | C | 0..* | SDCBaseQuestionnaire | Advanced Rendering Questionnaire que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation que-2: The link ids for groups and questions must be unique within the questionnaire | C | 0..* | SDCQuestionnaireCommon | Advanced Rendering Questionnaire que-0: Name should be usable as an identifier for the module by machine processing applications such as code generation que-2: The link ids for groups and questions must be unique within the questionnaire cnl-0: Name should be usable as an identifier for the module by machine processing applications such as code generation sdc-2: If version is present, versionAlgorithm must be present. sdc-3: Semver is the preferred version algorithm - package machinery doesn't work well with artifacts using alternate versioning schemes sdc-rend-2: If a questionnaire has child items with a controlType of page, then all items must have a type of page, header or footer. | |||||||||
id | Σ | 0..1 | string | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact | |||||||||
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource | |||||||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
language | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
| 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
| |||||||||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||||||||
contained | 0..* | Resource | Contained, inline Resources | 0..* | Resource | Contained, inline Resources | |||||||||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||
url | SΣ | 1..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) | ΣC | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) cnl-1: Warning Questionnaire.url URL should not contain | or # - these characters make processing canonical references problematic |
| ||||||||
identifier | Σ | 0..* | Identifier | Additional identifier for the questionnaire | Σ | 0..* | Identifier | Additional identifier for the questionnaire | |||||||||
version | SΣ | 0..1 | string | Business version of the questionnaire | Σ | 0..1 | string | Business version of the questionnaire |
| ||||||||
name | ΣC | 0..1 | string | Name for this questionnaire (computer friendly) | ΣC | 0..1 | string | Name for this questionnaire (computer friendly) | |||||||||
title | SΣ | 0..1 | string | Name for this questionnaire (human friendly) | SΣ | 0..1 | string | Name for this questionnaire (human friendly) | |||||||||
id | 0..1 | string | xml:id (or equivalent in JSON) | 0..1 | string | xml:id (or equivalent in JSON) | |||||||||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
value | 0..1 | string | Primitive value for string Max Length:1048576 | 0..1 | string | Primitive value for string Max Length:1048576 | |||||||||||
derivedFrom | 0..* | canonical(Questionnaire) | Instantiates protocol or definition | 0..* | canonical(Questionnaire) | Instantiates protocol or definition | |||||||||||
status | ?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: ?? (required): The lifecycle status of an artifact. | ?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: ?? (required): The lifecycle status of an artifact. | |||||||||
experimental | Σ | 0..1 | boolean | For testing purposes, not real usage | Σ | 0..1 | boolean | For testing purposes, not real usage | |||||||||
subjectType | SΣ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ?? (required): One of the resource types defined as part of this version of FHIR. | Σ | 0..* | code | Resource that can be subject of QuestionnaireResponse Binding: ?? (required): One of the resource types defined as part of this version of FHIR. |
| ||||||||
date | Σ | 0..1 | dateTime | Date last changed | Σ | 0..1 | dateTime | Date last changed | |||||||||
publisher | Σ | 0..1 | string | Name of the publisher (organization or individual) | Σ | 0..1 | string | Name of the publisher (organization or individual) | |||||||||
contact | Σ | 0..* | ContactDetail | Contact details for the publisher | Σ | 0..* | ContactDetail | Contact details for the publisher | |||||||||
description | 0..1 | markdown | Natural language description of the questionnaire | 0..1 | markdown | Natural language description of the questionnaire | |||||||||||
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support | Σ | 0..* | UsageContext | The context that the content is intended to support | |||||||||
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use. | Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use. | |||||||||
purpose | 0..1 | markdown | Why this questionnaire is defined | 0..1 | markdown | Why this questionnaire is defined | |||||||||||
copyright | 0..1 | markdown | Use and/or publishing restrictions | 0..1 | markdown | Use and/or publishing restrictions | |||||||||||
approvalDate | 0..1 | date | When the questionnaire was approved by publisher | 0..1 | date | When the questionnaire was approved by publisher | |||||||||||
lastReviewDate | 0..1 | date | When the questionnaire was last reviewed | 0..1 | date | When the questionnaire was last reviewed | |||||||||||
effectivePeriod | Σ | 0..1 | Period | When the questionnaire is expected to be used | Σ | 0..1 | Period | When the questionnaire is expected to be used | |||||||||
code | Σ | 0..* | Coding | Concept that represents the overall questionnaire Binding: ?? (example): Codes for questionnaires, groups and individual questions. | Σ | 0..* | Coding | Concept that represents the overall questionnaire Binding: ?? (example): Codes for questionnaires, groups and individual questions. | |||||||||
item | SC | 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 sdc-1: An item cannot have an answerExpression if answerOption or answerValueSet is already present. | C | 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 sdc-1: An item cannot have an answerExpression if answerOption or answerValueSet is already present. que-1a: Group items must have nested items when Questionanire is complete que-1b: Groups should have items que-1c: Display items cannot have child items que-14: Can only have answerConstraint if answerOption, answerValueSet, or answerExpression are present. (This is a warning because other extensions may serve the same purpose) sdc-rend-1: Items with a controlType of 'page' can only appear in root-level items. |
| ||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
linkId | S | 1..1 | string | Unique id for item in questionnaire | SC | 1..1 | string | Unique id for item in questionnaire que-15: Link ids must be 255 characters or less | |||||||||
definition | 0..1 | uri | ElementDefinition - details for the item | 0..1 | uri | ElementDefinition - details for the item | |||||||||||
code | C | 0..* | Coding | Corresponding concept for this item in a terminology Binding: ?? (example): Codes for questionnaires, groups and individual questions. | C | 0..* | Coding | Corresponding concept for this item in a terminology Binding: ?? (example): Codes for questionnaires, groups and individual questions. | |||||||||
prefix | S | 0..1 | string | E.g. "1(a)", "2.5.3" | S | 0..1 | string | E.g. "1(a)", "2.5.3" | |||||||||
id | 0..1 | string | xml:id (or equivalent in JSON) | 0..1 | string | xml:id (or equivalent in JSON) | |||||||||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
value | 0..1 | string | Primitive value for string Max Length:1048576 | 0..1 | string | Primitive value for string Max Length:1048576 | |||||||||||
text | S | 0..1 | string | Primary text for the item | 0..1 | string | Primary text for the item |
| |||||||||
id | 0..1 | string | xml:id (or equivalent in JSON) | 0..1 | string | xml:id (or equivalent in JSON) | |||||||||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
value | 0..1 | string | Primitive value for string Max Length:1048576 | 0..1 | string | Primitive value for string Max Length:1048576 | |||||||||||
type | S | 1..1 | code | group | display | boolean | decimal | integer | date | dateTime + Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions. | S | 1..1 | code | group | display | boolean | decimal | integer | date | dateTime + Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions. | |||||||||
enableWhen | ?!C | 0..* | BackboneElement | Only allow data when que-7: If the operator is 'exists', the value must be a boolean | ?!C | 0..* | BackboneElement | Only allow data when que-7: If the operator is 'exists', the value must be a boolean | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
question | 1..1 | string | Question that determines whether item is enabled | 1..1 | string | Question that determines whether item is enabled | |||||||||||
operator | 1..1 | code | exists | = | != | > | < | >= | <= Binding: ?? (required): The criteria by which a question is enabled. | 1..1 | code | exists | = | != | > | < | >= | <= Binding: ?? (required): The criteria by which a question is enabled. | |||||||||||
answer[x] | C | 1..1 | boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource) | Value for question comparison based on operator Binding: ?? (example): Allowed values to answer questions. | C | 1..1 | boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource) | Value for question comparison based on operator Binding: ?? (example): Allowed values to answer questions. | |||||||||
enableBehavior | C | 0..1 | code | all | any Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. | C | 0..1 | code | all | any Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true. | |||||||||
required | SC | 0..1 | boolean | Whether the item must be included in data results | SC | 0..1 | boolean | Whether the item must be included in data results | |||||||||
repeats | SC | 0..1 | boolean | Whether the item may repeat | SC | 0..1 | boolean | Whether the item may repeat | |||||||||
readOnly | SC | 0..1 | boolean | Don't allow human editing | SC | 0..1 | boolean | Don't allow human editing | |||||||||
maxLength | SC | 0..1 | integer | No more than this many characters | C | 0..1 | integer | No more than this many characters |
| ||||||||
answerValueSet | SC | 0..1 | canonical(SDC ValueSet) | Valueset containing permitted answers | C | 0..1 | canonical(SDC Value Set) | Valueset containing permitted answers |
| ||||||||
answerOption | SC | 0..* | BackboneElement | Permitted answer | SC | 0..* | BackboneElement | Permitted answer | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
Slices for value[x] | 1..1 | string, Coding | Answer value Slice: Unordered, Closed by type:$this Binding: ?? (example): Allowed values to answer questions. | S | 1..1 | integer, date, time, string, Coding, Reference(Resource) | Answer value Slice: Unordered, Open by type:$this Binding: ?? (example): Allowed values to answer questions. |
| |||||||||
initialSelected | 0..1 | boolean | Whether option is selected by default | 0..1 | boolean | Whether option is selected by default | |||||||||||
initial | SC | 0..* | BackboneElement | Initial value(s) when item is first rendered | SC | 0..* | BackboneElement | Initial value(s) when item is first rendered | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
value[x] | S | 1..1 | boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) | Actual value for initializing the question Binding: ?? (example): Allowed values to answer questions. | S | 1..1 | boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) | Actual value for initializing the question Binding: ?? (example): Allowed values to answer questions. | |||||||||
item | SC | 0..* | See item (Questionnaire) | Nested questionnaire items | SC | 0..* | See item (Questionnaire) | Nested questionnaire items | |||||||||
Documentation for this format |