PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-eforms@1.0.0-interim4
    http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info
{
  "description": "Parameters that will determine how notes generated for this group element 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-interim4",
  "status": "active",
  "id": "246d4b0a-a230-4674-8d11-5d1ee377fbb8",
  "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 for this group element 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"
      } ],
      "mapping": [ {
        "map": "@makeNoteIf",
        "identity": "ontario-fhir-legacy"
      } ]
    }, {
      "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"
      } ],
      "mapping": [ {
        "map": "@noteIndex",
        "identity": "ontario-fhir-legacy"
      } ]
    }, {
      "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"
      } ],
      "mapping": [ {
        "map": "cNote",
        "identity": "ontario-fhir-legacy"
      } ]
    }, {
      "id": "Extension.extension:text.value[x].extension",
      "path": "Extension.extension.value[x].extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Extension.extension:text.value[x].extension:xhtml",
      "max": "1",
      "min": 0,
      "path": "Extension.extension.value[x].extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/rendering-xhtml" ]
      } ],
      "sliceName": "xhtml"
    }, {
      "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"
      } ],
      "mapping": [ {
        "map": "listSep",
        "identity": "ontario-fhir-legacy"
      } ]
    }, {
      "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"
      } ],
      "mapping": [ {
        "map": "lastSep",
        "identity": "ontario-fhir-legacy"
      } ]
    }, {
      "id": "Extension.extension:quoteAnswers",
      "max": "1",
      "min": 0,
      "path": "Extension.extension",
      "short": "Put quotes around answers",
      "sliceName": "quoteAnswers",
      "definition": "If true, indicates that answers of descendant questions should be rendered with quotes around them.  May be overridden.",
      "mustSupport": true
    }, {
      "id": "Extension.extension:quoteAnswers.extension",
      "max": "0",
      "path": "Extension.extension.extension"
    }, {
      "id": "Extension.extension:quoteAnswers.url",
      "path": "Extension.extension.url",
      "fixedUri": "quoteAnswers"
    }, {
      "id": "Extension.extension:quoteAnswers.value[x]",
      "min": 1,
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "boolean"
      } ]
    }, {
      "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:answerStyle",
      "max": "1",
      "min": 0,
      "path": "Extension.extension",
      "short": "Answer style/color",
      "sliceName": "answerStyle",
      "definition": "Style (color) for answers for this item (unless overridden by answer option style)",
      "mustSupport": true
    }, {
      "id": "Extension.extension:answerStyle.extension",
      "max": "0",
      "path": "Extension.extension.extension"
    }, {
      "id": "Extension.extension:answerStyle.url",
      "path": "Extension.extension.url",
      "fixedUri": "answerStyle"
    }, {
      "id": "Extension.extension:answerStyle.value[x]",
      "min": 1,
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "string"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/note-answer-styles"
      },
      "mapping": [ {
        "map": "@flag",
        "identity": "ontario-fhir-legacy"
      } ]
    }, {
      "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"
      } ],
      "mapping": [ {
        "map": "groupItems",
        "identity": "ontario-fhir-legacy"
      } ]
    }, {
      "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"
}