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": "group-note-info",
"url": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info",
"name": "GroupNoteInfo",
"title": "Group Note Info",
"status": "active",
"description": "Parameters that will determine how notes generated for this group element from this 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": "Group Note Info",
"definition": "Parameters that will determine how notes generated for this group element from this 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"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@noteIndex"
}
]
},
{
"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:quoteAnswers",
"path": "Extension.extension",
"sliceName": "quoteAnswers",
"short": "Put quotes around answers",
"definition": "If true, indicates that answers of descendant questions should be rendered with quotes around them. May be overridden.",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Extension.extension:quoteAnswers.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:quoteAnswers.url",
"path": "Extension.extension.url",
"fixedUri": "quoteAnswers"
},
{
"id": "Extension.extension:quoteAnswers.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "boolean"
}
]
},
{
"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: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": "@flag"
}
],
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/note-answer-styles"
}
},
{
"id": "Extension.extension:groupItems",
"path": "Extension.extension",
"sliceName": "groupItems",
"short": "Group questions by answer",
"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",
"min": 0,
"max": "1"
},
{
"id": "Extension.extension:groupItems.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:groupItems.url",
"path": "Extension.extension.url",
"fixedUri": "groupItems"
},
{
"id": "Extension.extension:groupItems.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "boolean"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "groupItems"
}
]
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"max": "0"
}
]
}
}