FHIR IG analytics
Resources that use this resource
| StructureDefinition |
| ca.on.oh-eforms#1.0.0-ballot5 | sdc-questionnaire | Ontario SDC Questionnaire profile |
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 question 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 question 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"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@makeNoteIf"
}
]
},
{
"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",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/translated-html-string"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@cNote"
}
]
},
{
"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",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/translated-html-string"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "listSep"
}
]
},
{
"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",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/translated-html-string"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "lastSep"
}
]
},
{
"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"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@flag, @posFlag"
}
],
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/note-styles"
}
},
{
"id": "Extension.extension:answerStyle",
"path": "Extension.extension",
"sliceName": "answerStyle",
"short": "Answer style/color",
"definition": "Style (color) for answers for this item (unless overridden by answer option style)",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Extension.extension:answerStyle.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:answerStyle.url",
"path": "Extension.extension.url",
"fixedUri": "answerStyle"
},
{
"id": "Extension.extension:answerStyle.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@negFlag"
}
],
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/note-answer-styles"
}
},
{
"id": "Extension.extension:sameLine",
"path": "Extension.extension",
"sliceName": "sameLine",
"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:sameLine.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:sameLine.url",
"path": "Extension.extension.url",
"fixedUri": "sameLine"
},
{
"id": "Extension.extension:sameLine.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "boolean"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@ownLine"
}
]
},
{
"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"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@quoteAnswer"
}
]
},
{
"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 'false', negative-point, or omitted 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",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/translated-html-string"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "negNote"
}
]
},
{
"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",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/translated-html-string"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "negNote"
}
]
},
{
"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"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@negFlag"
}
],
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/note-answer-styles"
}
},
{
"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"
}
]
}
}