{
  "resourceType": "StructureDefinition",
  "id": "VGHKS-mcode-cancer-related-medication-request-TOTF",
  "url": "https://example.org/fhir/StructureDefinition/VGHKS-mcode-cancer-related-medication-request-TOTF",
  "version": "1.18.1",
  "name": "VGHKSCancerRelatedMedicationRequestTOTF",
  "title": "VGHKS Cancer-Related Medication Request Profile",
  "status": "draft",
  "date": "2021-10-30T17:51:56+00:00",
  "publisher": "HL7 International Clinical Interoperability Council",
  "contact": [
    {
      "name": "HL7 International Clinical Interoperability Council",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/cic"
        },
        {
          "system": "email",
          "value": "ciclist@lists.HL7.org"
        }
      ]
    }
  ],
  "description": "A record of a medication prescription or consumption associated with cancer treatment. The medication may reported by the prescriber, prescribing organization, or patient. It does not have to be directly observed.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "script10.6",
      "uri": "http://ncpdp.org/SCRIPT10_6",
      "name": "Mapping to NCPDP SCRIPT 10.6"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest.identifier",
        "path": "MedicationRequest.identifier",
        "short": "醫令序"
      },
      {
        "id": "MedicationRequest.identifier.use",
        "path": "MedicationRequest.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier.type",
        "path": "MedicationRequest.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier.value",
        "path": "MedicationRequest.identifier.value",
        "short": "TOTFA.p13, TOTFB.p1"
      },
      {
        "id": "MedicationRequest.identifier.period",
        "path": "MedicationRequest.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier.assigner",
        "path": "MedicationRequest.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationRequest.status",
        "path": "MedicationRequest.status",
        "short": "藥囑狀態[active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown](請輸入 completed)"
      },
      {
        "id": "MedicationRequest.statusReason",
        "path": "MedicationRequest.statusReason",
        "max": "0"
      },
      {
        "id": "MedicationRequest.intent",
        "path": "MedicationRequest.intent",
        "short": "藥囑分類 [proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option](請輸入 order)"
      },
      {
        "id": "MedicationRequest.category",
        "path": "MedicationRequest.category",
        "short": "醫令調劑方式/醫令類別/慢性病連續處方箋、同一療程及排程檢查案件註記"
      },
      {
        "id": "MedicationRequest.category.coding",
        "path": "MedicationRequest.category.coding",
        "short": "醫令調劑方式/醫令類別/慢性病連續處方箋、同一療程及排程檢查案件註記"
      },
      {
        "id": "MedicationRequest.category.coding.version",
        "path": "MedicationRequest.category.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationRequest.category.coding.code",
        "path": "MedicationRequest.category.coding.code",
        "short": "TOTFA.p2, TOTFA.p3, TOTFA.p17, TOTFB.p2"
      },
      {
        "id": "MedicationRequest.category.coding.display",
        "path": "MedicationRequest.category.coding.display",
        "short": "醫令調劑方式/醫令類別/慢性病連續處方箋、同一療程及排程檢查案件註記 - 中文說明"
      },
      {
        "id": "MedicationRequest.category.coding.userSelected",
        "path": "MedicationRequest.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationRequest.priority",
        "path": "MedicationRequest.priority",
        "max": "0"
      },
      {
        "id": "MedicationRequest.doNotPerform",
        "path": "MedicationRequest.doNotPerform",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reported[x]",
        "path": "MedicationRequest.reported[x]",
        "max": "0"
      },
      {
        "id": "MedicationRequest.medication[x]",
        "path": "MedicationRequest.medication[x]",
        "short": "藥品(項目)代號/醫令代碼",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MedicationRequest.medication[x].coding",
        "path": "MedicationRequest.medication[x].coding",
        "short": "藥品(項目)代號/醫令代碼"
      },
      {
        "id": "MedicationRequest.medication[x].coding.version",
        "path": "MedicationRequest.medication[x].coding.version",
        "max": "0"
      },
      {
        "id": "MedicationRequest.medication[x].coding.code",
        "path": "MedicationRequest.medication[x].coding.code",
        "short": "TOTFA.p4, TOTFB.p3"
      },
      {
        "id": "MedicationRequest.medication[x].coding.userSelected",
        "path": "MedicationRequest.medication[x].coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject",
        "path": "MedicationRequest.subject",
        "short": "患者Resource",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient"
            ]
          }
        ]
      },
      {
        "id": "MedicationRequest.subject.reference",
        "path": "MedicationRequest.subject.reference",
        "short": "患者Resource Link"
      },
      {
        "id": "MedicationRequest.subject.type",
        "path": "MedicationRequest.subject.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.identifier",
        "path": "MedicationRequest.subject.identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.subject.display",
        "path": "MedicationRequest.subject.display",
        "max": "0"
      },
      {
        "id": "MedicationRequest.encounter",
        "path": "MedicationRequest.encounter",
        "short": "TOTFA, TOTFB看診紀錄 Resource"
      },
      {
        "id": "MedicationRequest.encounter.reference",
        "path": "MedicationRequest.encounter.reference",
        "short": "TOTFA, TOTFB看診紀錄 Resource Link"
      },
      {
        "id": "MedicationRequest.encounter.type",
        "path": "MedicationRequest.encounter.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.encounter.identifier",
        "path": "MedicationRequest.encounter.identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.encounter.display",
        "path": "MedicationRequest.encounter.display",
        "max": "0"
      },
      {
        "id": "MedicationRequest.supportingInformation",
        "path": "MedicationRequest.supportingInformation",
        "max": "0"
      },
      {
        "id": "MedicationRequest.authoredOn",
        "path": "MedicationRequest.authoredOn",
        "max": "0"
      },
      {
        "id": "MedicationRequest.requester",
        "path": "MedicationRequest.requester",
        "min": 0,
        "max": "0"
      },
      {
        "id": "MedicationRequest.performer",
        "path": "MedicationRequest.performer",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performerType",
        "path": "MedicationRequest.performerType",
        "short": "會診科別"
      },
      {
        "id": "MedicationRequest.performerType.coding",
        "path": "MedicationRequest.performerType.coding",
        "short": "會診科別"
      },
      {
        "id": "MedicationRequest.performerType.coding.version",
        "path": "MedicationRequest.performerType.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performerType.coding.code",
        "path": "MedicationRequest.performerType.coding.code",
        "short": "TOTFB.p8"
      },
      {
        "id": "MedicationRequest.performerType.coding.userSelected",
        "path": "MedicationRequest.performerType.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationRequest.recorder",
        "path": "MedicationRequest.recorder",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonCode",
        "path": "MedicationRequest.reasonCode",
        "short": "診療之部位",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.reasonCode.coding",
        "path": "MedicationRequest.reasonCode.coding",
        "short": "診療之部位"
      },
      {
        "id": "MedicationRequest.reasonCode.coding.version",
        "path": "MedicationRequest.reasonCode.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonCode.coding.code",
        "path": "MedicationRequest.reasonCode.coding.code",
        "short": "TOTFA.p6"
      },
      {
        "id": "MedicationRequest.reasonCode.coding.userSelected",
        "path": "MedicationRequest.reasonCode.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonReference",
        "path": "MedicationRequest.reasonReference",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-primary-cancer-condition",
              "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-secondary-cancer-condition"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.instantiatesCanonical",
        "path": "MedicationRequest.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "MedicationRequest.instantiatesUri",
        "path": "MedicationRequest.instantiatesUri",
        "max": "0"
      },
      {
        "id": "MedicationRequest.basedOn",
        "path": "MedicationRequest.basedOn",
        "max": "0"
      },
      {
        "id": "MedicationRequest.groupIdentifier",
        "path": "MedicationRequest.groupIdentifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.courseOfTherapyType",
        "path": "MedicationRequest.courseOfTherapyType",
        "max": "0"
      },
      {
        "id": "MedicationRequest.insurance",
        "path": "MedicationRequest.insurance",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note",
        "path": "MedicationRequest.note",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction",
        "path": "MedicationRequest.dosageInstruction",
        "short": "藥品說明"
      },
      {
        "id": "MedicationRequest.dosageInstruction.sequence",
        "path": "MedicationRequest.dosageInstruction.sequence",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.text",
        "path": "MedicationRequest.dosageInstruction.text",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.additionalInstruction",
        "path": "MedicationRequest.dosageInstruction.additionalInstruction",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.patientInstruction",
        "path": "MedicationRequest.dosageInstruction.patientInstruction",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing",
        "path": "MedicationRequest.dosageInstruction.timing",
        "short": "藥品使用頻率/(藥品)使用頻率"
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.event",
        "path": "MedicationRequest.dosageInstruction.timing.event",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.repeat",
        "path": "MedicationRequest.dosageInstruction.timing.repeat",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code",
        "path": "MedicationRequest.dosageInstruction.timing.code",
        "short": "藥品使用頻率/(藥品)使用頻率 [BID | TID | QID | AM | PM | QD | QOD | +]"
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.coding",
        "path": "MedicationRequest.dosageInstruction.timing.code.coding",
        "short": "藥品使用頻率"
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.coding.version",
        "path": "MedicationRequest.dosageInstruction.timing.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.coding.code",
        "path": "MedicationRequest.dosageInstruction.timing.code.coding.code",
        "short": "TOTFA.p7, TOTFB.p6"
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.coding.userSelected",
        "path": "MedicationRequest.dosageInstruction.timing.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.asNeeded[x]",
        "path": "MedicationRequest.dosageInstruction.asNeeded[x]",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.site",
        "path": "MedicationRequest.dosageInstruction.site",
        "short": "給藥途徑/作用部位"
      },
      {
        "id": "MedicationRequest.dosageInstruction.site.coding",
        "path": "MedicationRequest.dosageInstruction.site.coding",
        "short": "給藥途徑/作用部位"
      },
      {
        "id": "MedicationRequest.dosageInstruction.site.coding.version",
        "path": "MedicationRequest.dosageInstruction.site.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.site.coding.code",
        "path": "MedicationRequest.dosageInstruction.site.coding.code",
        "short": "TOTFA.p9, TOTFB.p7"
      },
      {
        "id": "MedicationRequest.dosageInstruction.site.coding.userSelected",
        "path": "MedicationRequest.dosageInstruction.site.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.method",
        "path": "MedicationRequest.dosageInstruction.method",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.type",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
        "short": "藥品用量",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].value",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].value",
        "short": "TOTFA.p5, TOTFB.p5"
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].comparator",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].comparator",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.maxDosePerPeriod",
        "path": "MedicationRequest.dosageInstruction.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.maxDosePerAdministration",
        "path": "MedicationRequest.dosageInstruction.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.maxDosePerLifetime",
        "path": "MedicationRequest.dosageInstruction.maxDosePerLifetime",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest",
        "path": "MedicationRequest.dispenseRequest",
        "short": "藥物時間與總量"
      },
      {
        "id": "MedicationRequest.dispenseRequest.dispenseInterval",
        "path": "MedicationRequest.dispenseRequest.dispenseInterval",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod",
        "path": "MedicationRequest.dispenseRequest.validityPeriod",
        "short": "執行時間"
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod.start",
        "path": "MedicationRequest.dispenseRequest.validityPeriod.start",
        "short": "執行時間-起"
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod.end",
        "path": "MedicationRequest.dispenseRequest.validityPeriod.end",
        "short": "執行時間-迄"
      },
      {
        "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity",
        "path": "MedicationRequest.dispenseRequest.quantity",
        "short": "總量"
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.value",
        "path": "MedicationRequest.dispenseRequest.quantity.value",
        "short": "TOTFA.p10, TOTFB.p16"
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "short": "藥品給藥日份"
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.value",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.value",
        "short": "TOTFA.p1"
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.performer",
        "path": "MedicationRequest.dispenseRequest.performer",
        "max": "0"
      },
      {
        "id": "MedicationRequest.substitution",
        "path": "MedicationRequest.substitution",
        "max": "0"
      },
      {
        "id": "MedicationRequest.priorPrescription",
        "path": "MedicationRequest.priorPrescription",
        "max": "0"
      },
      {
        "id": "MedicationRequest.detectedIssue",
        "path": "MedicationRequest.detectedIssue",
        "max": "0"
      },
      {
        "id": "MedicationRequest.eventHistory",
        "path": "MedicationRequest.eventHistory",
        "max": "0"
      }
    ]
  }
}