{
"description": "Parameters that will determine how notes generated from this QuestionnaireResponse will be generated",
"_filename": "StructureDefinition-group-note-info.json",
"package_name": "ca.on.oh-eforms",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "GroupNoteInfo",
"abstract": false,
"type": "Extension",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Group Note Info",
"package_version": "1.0.0-ballot3",
"status": "active",
"id": "c491f3db-a62d-4ccc-87af-7687ff898d5b",
"kind": "complex-type",
"url": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info",
"context": [ {
"type": "element",
"expression": "Questionnaire.item"
} ],
"version": null,
"differential": {
"element": [ {
"id": "Extension",
"path": "Extension",
"short": "Group Note Info",
"definition": "Parameters that will determine how notes generated from this QuestionnaireResponse will be generated"
}, {
"id": "Extension.extension:enableWhenExpression",
"max": "1",
"min": 0,
"path": "Extension.extension",
"short": "Conditions for displaying in note",
"sliceName": "enableWhenExpression",
"definition": "Script content that controls whether this item should appear in the 'note' produced from the completed QuestionnaireResponse",
"mustSupport": true
}, {
"id": "Extension.extension:enableWhenExpression.extension",
"max": "0",
"path": "Extension.extension.extension"
}, {
"id": "Extension.extension:enableWhenExpression.url",
"path": "Extension.extension.url",
"fixedUri": "enableWhenExpression"
}, {
"id": "Extension.extension:enableWhenExpression.value[x]",
"min": 1,
"path": "Extension.extension.value[x]",
"type": [ {
"code": "Expression"
} ]
}, {
"id": "Extension.extension:sortIndex",
"max": "1",
"min": 0,
"path": "Extension.extension",
"short": "Order to appear in note",
"sliceName": "sortIndex",
"definition": "A sequence number indicating the relative order this item should be rendered within the containing item when creating the 'note' produced from the completed QuestionnaireResponse"
}, {
"id": "Extension.extension:sortIndex.extension",
"max": "0",
"path": "Extension.extension.extension"
}, {
"id": "Extension.extension:sortIndex.url",
"path": "Extension.extension.url",
"fixedUri": "sortIndex"
}, {
"id": "Extension.extension:sortIndex.value[x]",
"min": 1,
"path": "Extension.extension.value[x]",
"type": [ {
"code": "positiveInt"
} ]
}, {
"path": "Extension.extension",
"min": 0,
"definition": "The text to display as the label for the item in the 'note' produced from the completed QuestionnaireResponse",
"short": "Note item text",
"mustSupport": true,
"sliceName": "text",
"max": "1",
"id": "Extension.extension:text",
"comment": "The text MAY have a $$ present in it. If so, the answer is substituted for the $$. Otherwise, the answer will appear following the specified text."
}, {
"id": "Extension.extension:text.extension",
"max": "0",
"path": "Extension.extension.extension"
}, {
"id": "Extension.extension:text.url",
"path": "Extension.extension.url",
"fixedUri": "text"
}, {
"id": "Extension.extension:text.value[x]",
"min": 1,
"path": "Extension.extension.value[x]",
"type": [ {
"code": "string"
} ]
}, {
"id": "Extension.extension:listSeparator",
"max": "1",
"min": 0,
"path": "Extension.extension",
"short": "Separator between answers",
"sliceName": "listSeparator",
"definition": "Indicates the text to place between answers if there are more than one (e.g. '; ', ', ' etc.) in the 'note' produced from the completed QuestionnaireResponse"
}, {
"id": "Extension.extension:listSeparator.extension",
"max": "0",
"path": "Extension.extension.extension"
}, {
"id": "Extension.extension:listSeparator.url",
"path": "Extension.extension.url",
"fixedUri": "listSeparator"
}, {
"id": "Extension.extension:listSeparator.value[x]",
"min": 1,
"path": "Extension.extension.value[x]",
"type": [ {
"code": "string"
} ]
}, {
"id": "Extension.extension:lastSeparator",
"max": "1",
"min": 0,
"path": "Extension.extension",
"short": "Separator before final answer",
"sliceName": "lastSeparator",
"definition": "Indicates the text to place before the final answer in a list of answers if there is more than one (e.g. '; or ', ', and ' etc.) in the 'note' produced from the completed QuestionnaireResponse"
}, {
"id": "Extension.extension:lastSeparator.extension",
"max": "0",
"path": "Extension.extension.extension"
}, {
"id": "Extension.extension:lastSeparator.url",
"path": "Extension.extension.url",
"fixedUri": "lastSeparator"
}, {
"id": "Extension.extension:lastSeparator.value[x]",
"min": 1,
"path": "Extension.extension.value[x]",
"type": [ {
"code": "string"
} ]
}, {
"id": "Extension.extension:style",
"max": "1",
"min": 0,
"path": "Extension.extension",
"short": "Note item style",
"sliceName": "style",
"definition": "Style for this item when rendered in the 'note' produced from the completed QuestionnaireResponse",
"mustSupport": true
}, {
"id": "Extension.extension:style.extension",
"max": "0",
"path": "Extension.extension.extension"
}, {
"id": "Extension.extension:style.url",
"path": "Extension.extension.url",
"fixedUri": "style"
}, {
"id": "Extension.extension:style.value[x]",
"min": 1,
"path": "Extension.extension.value[x]",
"type": [ {
"code": "string"
} ],
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/note-styles"
}
}, {
"id": "Extension.extension:groupItems",
"max": "1",
"min": 0,
"path": "Extension.extension",
"short": "Group questions by answer",
"sliceName": "groupItems",
"definition": "Indicates that when rendering a group of questions with answers in the 'note' produced from the completed QuestionnaireResponse, all of the 'yes' answers will be listed before all of the 'no' answers"
}, {
"id": "Extension.extension:groupItems.extension",
"max": "0",
"path": "Extension.extension.extension"
}, {
"id": "Extension.extension:groupItems.url",
"path": "Extension.extension.url",
"fixedUri": "groupItems"
}, {
"id": "Extension.extension:groupItems.value[x]",
"min": 1,
"path": "Extension.extension.value[x]",
"type": [ {
"code": "boolean"
} ]
}, {
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info"
}, {
"id": "Extension.value[x]",
"max": "0",
"path": "Extension.value[x]"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension"
}