FHIR IG analytics
Resources that use this resource
Resources that this resource uses
Examples of Use for Extension
No extension usage examples found
Narrative
No narrative content found in resource
Source1
{
"resourceType": "StructureDefinition",
"id": "question-note-info",
"url": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info",
"name": "QuestionNoteInfo",
"title": "Question Note Info",
"status": "active",
"description": "Parameters that will determine how notes produced from this group in the QuestionnaireResponse will be generated",
"fhirVersion": "4.0.1",
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "Questionnaire.item"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Extension",
"path": "Extension",
"short": "Question Note Info",
"definition": "Parameters that will determine how notes produced from this group in the QuestionnaireResponse will be generated"
},
{
"id": "Extension.extension:enableWhenExpression",
"path": "Extension.extension",
"sliceName": "enableWhenExpression",
"short": "Conditions for displaying in note",
"definition": "Script content that controls whether this item should appear in the 'note' produced from the completed QuestionnaireResponse",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Extension.extension:enableWhenExpression.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:enableWhenExpression.url",
"path": "Extension.extension.url",
"fixedUri": "enableWhenExpression"
},
{
"id": "Extension.extension:enableWhenExpression.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "Expression"
}
]
},
{
"id": "Extension.extension:sortIndex",
"path": "Extension.extension",
"sliceName": "sortIndex",
"short": "Order to appear in note",
"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",
"min": 0,
"max": "1"
},
{
"id": "Extension.extension:sortIndex.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:sortIndex.url",
"path": "Extension.extension.url",
"fixedUri": "sortIndex"
},
{
"id": "Extension.extension:sortIndex.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "positiveInt"
}
]
},
{
"id": "Extension.extension:text",
"path": "Extension.extension",
"sliceName": "text",
"short": "Note item text",
"definition": "The text to display as the label for the item in the 'note' produced from the completed QuestionnaireResponse",
"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.",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Extension.extension:text.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:text.url",
"path": "Extension.extension.url",
"fixedUri": "text"
},
{
"id": "Extension.extension:text.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.extension:listSeparator",
"path": "Extension.extension",
"sliceName": "listSeparator",
"short": "Separator between answers",
"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",
"min": 0,
"max": "1"
},
{
"id": "Extension.extension:listSeparator.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:listSeparator.url",
"path": "Extension.extension.url",
"fixedUri": "listSeparator"
},
{
"id": "Extension.extension:listSeparator.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.extension:lastSeparator",
"path": "Extension.extension",
"sliceName": "lastSeparator",
"short": "Separator before final answer",
"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",
"min": 0,
"max": "1"
},
{
"id": "Extension.extension:lastSeparator.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:lastSeparator.url",
"path": "Extension.extension.url",
"fixedUri": "lastSeparator"
},
{
"id": "Extension.extension:lastSeparator.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.extension:style",
"path": "Extension.extension",
"sliceName": "style",
"short": "Note item style",
"definition": "Style for this item when rendered in the 'note' produced from the completed QuestionnaireResponse",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Extension.extension:style.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:style.url",
"path": "Extension.extension.url",
"fixedUri": "style"
},
{
"id": "Extension.extension:style.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
],
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/note-styles"
}
},
{
"id": "Extension.extension:flagStyle",
"path": "Extension.extension",
"sliceName": "flagStyle",
"short": "Flagged note item style/color",
"definition": "Style (color) for this item when evaluated as 'flagged' and rendered in the 'note' produced from the completed QuestionnaireResponse",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Extension.extension:flagStyle.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:flagStyle.url",
"path": "Extension.extension.url",
"fixedUri": "flagStyle"
},
{
"id": "Extension.extension:flagStyle.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
],
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/note-flag-styles"
}
},
{
"id": "Extension.extension:ownLine",
"path": "Extension.extension",
"sliceName": "ownLine",
"short": "Heading and response on same line?",
"definition": "When rendering this item, if 'true', indicates that the answer(s) should appear on the same line as the heading/question, otherwise they'll appear on the following line",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Extension.extension:ownLine.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:ownLine.url",
"path": "Extension.extension.url",
"fixedUri": "ownLine"
},
{
"id": "Extension.extension:ownLine.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "boolean"
}
]
},
{
"id": "Extension.extension:quoteAnswer",
"path": "Extension.extension",
"sliceName": "quoteAnswer",
"short": "Put quotes around answers?",
"definition": "If true, will surround the answer(s) for the item when rendering them in the 'note' produced from the completed QuestionnaireResponse",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Extension.extension:quoteAnswer.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:quoteAnswer.url",
"path": "Extension.extension.url",
"fixedUri": "quoteAnswer"
},
{
"id": "Extension.extension:quoteAnswer.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "boolean"
}
]
},
{
"id": "Extension.extension:negativeText",
"path": "Extension.extension",
"sliceName": "negativeText",
"short": "Text for negative points",
"definition": "When rendering the question in the 'note' produced from the completed QuestionnaireResponse, indicates the text to display for 'false', negative-point, or omitted answers",
"min": 0,
"max": "1"
},
{
"id": "Extension.extension:negativeText.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:negativeText.url",
"path": "Extension.extension.url",
"fixedUri": "negativeText"
},
{
"id": "Extension.extension:negativeText.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.extension:positiveText",
"path": "Extension.extension",
"sliceName": "positiveText",
"short": "Text for negative points",
"definition": "When rendering the question in the 'note' produced from the completed QuestionnaireResponse, indicates the text to display for 'true' or positive-point answers",
"min": 0,
"max": "1"
},
{
"id": "Extension.extension:positiveText.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:positiveText.url",
"path": "Extension.extension.url",
"fixedUri": "positiveText"
},
{
"id": "Extension.extension:positiveText.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.extension:negativeStyle",
"path": "Extension.extension",
"sliceName": "negativeStyle",
"short": "Negative note item style/color",
"definition": "When rendering the question in the 'note' produced from the completed QuestionnaireResponse, indicates the text to display for 'false', negative-point, or omitted answers",
"min": 0,
"max": "1"
},
{
"id": "Extension.extension:negativeStyle.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:negativeStyle.url",
"path": "Extension.extension.url",
"fixedUri": "negativeStyle"
},
{
"id": "Extension.extension:negativeStyle.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"max": "0"
}
]
}
}