{
  "resourceType": "StructureDefinition",
  "id": "ef8ad881-2d98-4c00-b099-af32b25d3386",
  "meta": {
    "lastUpdated": "2023-11-27T07:28:09.0161154+00:00"
  },
  "url": "https://simplifier.net/winningtest/traditional-chinese-medication-request-profile",
  "name": "TraditionalChineseMedicationRequest",
  "title": "中草药药材申请",
  "status": "draft",
  "date": "2023-11-27T07:29:23.3326227+00:00",
  "description": "可作为中草药医嘱的明细。",
  "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/StructureDefinition/MedicationRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest.extension:authenticationRequired",
        "path": "MedicationRequest.extension",
        "sliceName": "authenticationRequired",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-authentication-required"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationRequest.extension:doubleConfirmed",
        "path": "MedicationRequest.extension",
        "sliceName": "doubleConfirmed",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-double-confirmed"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationRequest.extension:pulseCase",
        "path": "MedicationRequest.extension",
        "sliceName": "pulseCase",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-tcm-pulse-case"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationRequest.extension:extractPackMethod",
        "path": "MedicationRequest.extension",
        "sliceName": "extractPackMethod",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-herbal-extract-packing-method"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationRequest.identifier",
        "path": "MedicationRequest.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderId",
        "path": "MedicationRequest.identifier",
        "sliceName": "clinicalOrderId",
        "short": "医嘱标识",
        "max": "1"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderId.use",
        "path": "MedicationRequest.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderId.type",
        "path": "MedicationRequest.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderId.system",
        "path": "MedicationRequest.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.801"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderId.period",
        "path": "MedicationRequest.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderId.assigner",
        "path": "MedicationRequest.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderItemId",
        "path": "MedicationRequest.identifier",
        "sliceName": "clinicalOrderItemId",
        "short": "医嘱项标识",
        "max": "1"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderItemId.use",
        "path": "MedicationRequest.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderItemId.type",
        "path": "MedicationRequest.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderItemId.system",
        "path": "MedicationRequest.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.4118"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderItemId.period",
        "path": "MedicationRequest.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationRequest.identifier:clinicalOrderItemId.assigner",
        "path": "MedicationRequest.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationRequest.status",
        "path": "MedicationRequest.status",
        "fixedCode": "active"
      },
      {
        "id": "MedicationRequest.statusReason",
        "path": "MedicationRequest.statusReason",
        "max": "0"
      },
      {
        "id": "MedicationRequest.intent",
        "path": "MedicationRequest.intent",
        "fixedCode": "reflex-order"
      },
      {
        "id": "MedicationRequest.category",
        "path": "MedicationRequest.category",
        "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]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/traditional-chinese-medication-profile"
            ]
          }
        ]
      },
      {
        "id": "MedicationRequest.encounter",
        "path": "MedicationRequest.encounter",
        "max": "0"
      },
      {
        "id": "MedicationRequest.supportingInformation",
        "path": "MedicationRequest.supportingInformation",
        "max": "0"
      },
      {
        "id": "MedicationRequest.authoredOn",
        "path": "MedicationRequest.authoredOn",
        "max": "0"
      },
      {
        "id": "MedicationRequest.requester",
        "path": "MedicationRequest.requester",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performer",
        "path": "MedicationRequest.performer",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performerType",
        "path": "MedicationRequest.performerType",
        "max": "0"
      },
      {
        "id": "MedicationRequest.recorder",
        "path": "MedicationRequest.recorder",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonCode",
        "path": "MedicationRequest.reasonCode",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonReference",
        "path": "MedicationRequest.reasonReference",
        "max": "0"
      },
      {
        "id": "MedicationRequest.instantiatesCanonical",
        "path": "MedicationRequest.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "MedicationRequest.instantiatesUri",
        "path": "MedicationRequest.instantiatesUri",
        "max": "0"
      },
      {
        "id": "MedicationRequest.basedOn",
        "path": "MedicationRequest.basedOn",
        "short": "中草药处方",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/traditional-chinese-medication-prescription-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "MedicationRequest.courseOfTherapyType",
        "path": "MedicationRequest.courseOfTherapyType",
        "max": "0"
      },
      {
        "id": "MedicationRequest.insurance",
        "path": "MedicationRequest.insurance",
        "max": "1"
      },
      {
        "id": "MedicationRequest.note",
        "path": "MedicationRequest.note",
        "short": "备注"
      },
      {
        "id": "MedicationRequest.note.author[x]",
        "path": "MedicationRequest.note.author[x]",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note.time",
        "path": "MedicationRequest.note.time",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note.text",
        "path": "MedicationRequest.note.text",
        "short": "备注"
      },
      {
        "id": "MedicationRequest.dosageInstruction",
        "path": "MedicationRequest.dosageInstruction",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.initialFill",
        "path": "MedicationRequest.dispenseRequest.initialFill",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.dispenseInterval",
        "path": "MedicationRequest.dispenseRequest.dispenseInterval",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod",
        "path": "MedicationRequest.dispenseRequest.validityPeriod",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity",
        "path": "MedicationRequest.dispenseRequest.quantity",
        "short": "发药数量"
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.performer",
        "path": "MedicationRequest.dispenseRequest.performer",
        "short": "发药药房",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/department-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "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"
      }
    ]
  }
}