## Profile Comparison between http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablequestionnaire vs http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablequestionnaire

Left: | CRMI Publishable Questionnaire (http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablequestionnaire)
Right: | CRMI Publishable Questionnaire (http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablequestionnaire)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.0-snapshot' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2020-12-28T16:55:11+11:00' vs '2024-05-31T16:42:56+00:00'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Questionnaire |
copyright |  |
date | 2020-12-28T16:55:11+11:00 | 2024-05-31T16:42:56+00:00 | Values Differ
description | Supports declaration of the Questionnaire metadata required by HL7 and other organizations that share and publish questionnaires with a focus on the aspects of that metadata that are important for post-publication activities including distribution, inclusion in repositories, consumption, and implementation. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |
kind | resource |
name | CRMIPublishableQuestionnaire |
publisher | HL7 International / Clinical Decision Support |
purpose |  |
status | active |
title | CRMI Publishable Questionnaire |
type | Questionnaire |
url | http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablequestionnaire |
version | 1.0.0-snapshot | 1.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Questionnaire | C | 1..1 | Questionnaire | A structured set of questions 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 | 1..1 | Questionnaire | A structured set of questions 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 |
id | Σ | 0..1 | id | 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.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
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 | Extensions that cannot be ignored |
url | Σ | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) | Σ | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) |
identifier | S Σ | 0..* | Identifier | Additional identifier for the questionnaire | S Σ | 0..* | Identifier | Additional identifier for the questionnaire |
version | Σ | 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 | Σ | 0..1 | string | Name for this questionnaire (human friendly) | Σ | 0..1 | string | Name for this questionnaire (human friendly) |
derivedFrom |  | 0..* | canonical(Questionnaire) | Instantiates protocol or definition |  | 0..* | canonical(Questionnaire) | Instantiates protocol or definition |
status | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: ?? (required): The lifecycle status of an artifact. | ?!Σ | 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 | Σ | 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 | S Σ | 1..1 | dateTime | Date last changed | S Σ | 1..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 | S Σ | 0..* | ContactDetail | Contact details for the publisher | S Σ | 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 | S Σ | 0..* | UsageContext | The context that the content is intended to support | S Σ | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | S Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use. | S Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable) Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use. |
purpose | S | 0..1 | markdown | Why this questionnaire is defined | S | 0..1 | markdown | Why this questionnaire is defined |
copyright | S | 0..1 | markdown | Use and/or publishing restrictions | S | 0..1 | markdown | Use and/or publishing restrictions |
approvalDate | S | 0..1 | date | When the questionnaire was approved by publisher | S | 0..1 | date | When the questionnaire was approved by publisher |
lastReviewDate | S | 0..1 | date | When the questionnaire was last reviewed | S | 0..1 | date | When the questionnaire was last reviewed |
effectivePeriod | S Σ | 0..1 | Period | When the questionnaire is expected to be used | S Σ | 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 | 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 | 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 |
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 |
linkId |  | 1..1 | string | Unique id for item in questionnaire |  | 1..1 | string | Unique id for item in questionnaire |
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 |  | 0..1 | string | E.g. "1(a)", "2.5.3" |  | 0..1 | string | E.g. "1(a)", "2.5.3" |
text |  | 0..1 | string | Primary text for the item |  | 0..1 | string | Primary text for the item |
type |  | 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. |  | 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 | C | 0..1 | boolean | Whether the item must be included in data results | C | 0..1 | boolean | Whether the item must be included in data results |
repeats | C | 0..1 | boolean | Whether the item may repeat | C | 0..1 | boolean | Whether the item may repeat |
readOnly | C | 0..1 | boolean | Don't allow human editing | C | 0..1 | boolean | Don't allow human editing |
maxLength | C | 0..1 | integer | No more than this many characters | C | 0..1 | integer | No more than this many characters |
answerValueSet | C | 0..1 | canonical(ValueSet) | Valueset containing permitted answers | C | 0..1 | canonical(ValueSet) | Valueset containing permitted answers |
answerOption | C | 0..* | BackboneElement | Permitted answer | C | 0..* | BackboneElement | Permitted answer |
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] |  | 1..1 | integer, date, time, string, Coding, Reference(Resource) | Answer value Binding: ?? (example): Allowed values to answer questions. |  | 1..1 | integer, date, time, string, Coding, Reference(Resource) | Answer value 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 | C | 0..* | BackboneElement | Initial value(s) when item is first rendered | C | 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] |  | 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. |  | 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 | C | 0..* | See item (Questionnaire) | Nested questionnaire items | C | 0..* | See item (Questionnaire) | Nested questionnaire items |
Documentation for this format