{
  "resourceType": "StructureDefinition",
  "id": "be4e4719-1b6a-4f58-add2-9de4119b22bc",
  "meta": {
    "lastUpdated": "2020-03-10T20:08:55.833+00:00"
  },
  "url": "http://ots.nccn.org/hl7/fhir/StructureDefinition/template-note",
  "name": "template-note",
  "title": "template-note",
  "status": "active",
  "experimental": false,
  "date": "2020-03-10T20:08:55.5783471+00:00",
  "publisher": "National Comprehensive Cancer Network, Inc.",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nccn.org/about/contact.aspx",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Cautionary or informational notes for ensuring the safe and effective administration of the regimen.",
  "copyright": "National Comprehensive Cancer Network, Inc. (c) 2017. All right reserved.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "PlanDefinition"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "An order template note.",
        "definition": "Cautionary or informational notes for ensuring the safe and effective administration of the regimen.",
        "comment": "Typically meant for presentation to an end-user. \r\n\r\nAn example template note is \"Scheduled prophylactic antiemetic therapy should be given for prevention of acute and delayed nausea and vomiting based on the emetic risk of the chemotherapy regimen. This may include antiemetic therapy given on the days following chemotherapy. For more information on emetic prophylaxis, refer to the NCCN Guidelines for Antiemesis and Appendix D to the NCCN Chemotherapy Order Templates.\""
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Extension.extension:id",
        "path": "Extension.extension",
        "sliceName": "id",
        "short": "A unique identifier.",
        "definition": "A machine-generated unique identifier for a template note.",
        "comment": "An example template note id is \"mzaynw\".\r\n\r\nNote that template notes can be shared across templates, meaning that the same template note can appear on multiple templates. The same template note might even appear multiple times on the same template (for instance, if an agent-specific template note appears multiple times on the template under different regimen sections).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension:id.url",
        "path": "Extension.extension.url",
        "fixedUri": "id"
      },
      {
        "id": "Extension.extension:id.value[x]:valueString",
        "path": "Extension.extension.valueString",
        "sliceName": "valueString",
        "short": "String value of id extension.",
        "definition": "A machine-generated unique identifier for a template note.",
        "comment": "An example template note id is \"mzaynw\".\r\n\r\nNote that template notes can be shared across templates, meaning that the same template note can appear on multiple templates. The same template note might even appear multiple times on the same template (for instance, if an agent-specific template note appears multiple times on the template under different regimen sections).",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "Template note id",
            "valueString": "mzaynw"
          }
        ]
      },
      {
        "id": "Extension.extension:section",
        "path": "Extension.extension",
        "sliceName": "section",
        "short": "Template note section.",
        "definition": "The section of the order template to which a note belongs.",
        "comment": "For example, the note might be contained within the \"Supportive Care - Premedications\" section or the \"Monitoring and Hold Parameters\" section of the template.\r\n\r\nAn example value is \"monitoringAndHoldParameters\".",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension:section.url",
        "path": "Extension.extension.url",
        "fixedUri": "section"
      },
      {
        "id": "Extension.extension:section.value[x]:valueCode",
        "path": "Extension.extension.valueCode",
        "sliceName": "valueCode",
        "short": "String value of section extension.",
        "definition": "The section of the order template for which a template note applies.",
        "comment": "For example, the note might be contained within the \"Supportive Care - Premedications\" section or the \"Monitoring and Hold Parameters\" section of the template.\r\n\r\nAn example value is \"monitoringAndHoldParameters\".",
        "min": 1,
        "type": [
          {
            "code": "code"
          }
        ],
        "example": [
          {
            "label": "Template note section",
            "valueCode": "monitoringAndHoldParameters"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "The sections of the order template.",
          "valueSetReference": {
            "reference": "http://ots.nccn.org/hl7/fhir/ValueSet/sections-ValueSet"
          }
        }
      },
      {
        "id": "Extension.extension:agentSubject",
        "path": "Extension.extension",
        "sliceName": "agentSubject",
        "short": "Agent.",
        "definition": "Agent to which a template note applies.",
        "comment": "Some template notes apply to specific agents. For instance, there might be a note for DOXOrubicin on a given template that says \"DOXOrubicin is administered as a continuous infusion over multiple days within this regimen. The dose defined on this template is a 24-hour daily dose.\"\r\n\r\nAgents are coded to Rxnorm when possible. An example for DOXOrubicin coded to Rxnorm is a code value of \"142433\" and a display value of \"doxorubicin hydrochloride\"."
      },
      {
        "id": "Extension.extension:agentSubject.url",
        "path": "Extension.extension.url",
        "fixedUri": "agentSubject"
      },
      {
        "id": "Extension.extension:agentSubject.value[x]:valueCodeableConcept",
        "path": "Extension.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "Coded value of extension.",
        "definition": "All RxNorm codes whose Term Type is IN (ingredient), PIN (precise ingredient), or MIN (multiple ingredients).",
        "comment": "n/a",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "All RxNorm codes whose Term Type is IN (ingredient), PIN (precise ingredient), or MIN (multiple ingredients).",
          "valueSetReference": {
            "reference": "http://ots.nccn.org/hl7/fhir/ValueSet/rxnorm-ingredients"
          }
        }
      },
      {
        "id": "Extension.extension:agentSubject.value[x]:valueCodeableConcept.coding",
        "path": "Extension.extension.valueCodeableConcept.coding",
        "short": "Code defined by a Rxnorm terminology system.",
        "definition": "A reference to a code defined by the Rxnorm terminology system.",
        "comment": "See https://www.nlm.nih.gov/research/umls/rxnorm/ for more information.",
        "requirements": "n/a"
      },
      {
        "id": "Extension.extension:agentSubject.value[x]:valueCodeableConcept.coding.system",
        "path": "Extension.extension.valueCodeableConcept.coding.system",
        "short": "Rxnorm.",
        "definition": "Rxnorm coding system.",
        "comment": "See https://www.nlm.nih.gov/research/umls/rxnorm/ for more information.",
        "requirements": "n/a",
        "fixedUri": "http://www.nlm.nih.gov/research/umls/rxnorm"
      },
      {
        "id": "Extension.extension:agentSubject.value[x]:valueCodeableConcept.coding.version",
        "path": "Extension.extension.valueCodeableConcept.coding.version",
        "max": "0"
      },
      {
        "id": "Extension.extension:agentSubject.value[x]:valueCodeableConcept.coding.code",
        "path": "Extension.extension.valueCodeableConcept.coding.code",
        "short": "Rxnorm code.",
        "definition": "Code defined by the Rxnorm coding system.",
        "comment": "RxNorm provides normalized names for clinical drugs and links its names to many of the drug vocabularies commonly used in pharmacy management and drug interaction software.\r\n\r\nAn example code for DOXOrubicin is \"142433\".",
        "requirements": "n/a",
        "example": [
          {
            "label": "Rxnorm code",
            "valueCode": "142433"
          }
        ]
      },
      {
        "id": "Extension.extension:agentSubject.value[x]:valueCodeableConcept.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Extension.extension.valueCodeableConcept.coding.display",
        "short": "Text representation of the code.",
        "definition": "A textual representation of the meaning of the code in the system, as defined by Rxnorm.",
        "comment": "RxNorm provides normalized names for clinical drugs and links its names to many of the drug vocabularies commonly used in pharmacy management and drug interaction software.\r\n\r\nAn example for DOXOrubicin is \"doxorubicin hydrochloride\".",
        "requirements": "n/a",
        "example": [
          {
            "label": "Rxnorm display",
            "valueString": "doxorubicin hydrochloride"
          }
        ]
      },
      {
        "id": "Extension.extension:agentSubject.value[x]:valueCodeableConcept.coding.userSelected",
        "path": "Extension.extension.valueCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Extension.extension:agentSubject.value[x]:valueCodeableConcept.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Extension.extension.valueCodeableConcept.text",
        "max": "0"
      },
      {
        "id": "Extension.extension:content",
        "path": "Extension.extension",
        "sliceName": "content",
        "short": "The contents of the note.",
        "definition": "The text of the note, intended for presentation to an end user.",
        "comment": "An example is \"Concurrent intrathecal or intraventricular preservative-free corticosteroids may be administered to prevent arachnoiditis.\"",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension:content.url",
        "path": "Extension.extension.url",
        "fixedUri": "content"
      },
      {
        "id": "Extension.extension:content.value[x]:valueString",
        "path": "Extension.extension.valueString",
        "sliceName": "valueString",
        "short": "String value of content extension.",
        "definition": "Text of the template note.",
        "comment": "An example is \"Concurrent intrathecal or intraventricular preservative-free corticosteroids may be administered to prevent arachnoiditis.\"",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Extension.extension:activityDefinitionid",
        "path": "Extension.extension",
        "sliceName": "activityDefinitionid",
        "definition": "activityDefinitionid to be used to link template note to ActivityDefinition"
      },
      {
        "id": "Extension.extension:activityDefinitionid.url",
        "path": "Extension.extension.url",
        "fixedUri": "activityDefinitionid"
      },
      {
        "id": "Extension.extension:activityDefinitionid.value[x]:valueString",
        "path": "Extension.extension.valueString",
        "sliceName": "valueString",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://ots.nccn.org/hl7/fhir/StructureDefinition/template-note"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "max": "0"
      }
    ]
  }
}