{
  "resourceType": "StructureDefinition",
  "id": "c9403087-e04d-4070-8d3f-d0f4778d7ce2",
  "meta": {
    "lastUpdated": "2020-10-18T17:41:20.623+00:00"
  },
  "url": "https://simplifier.net/winningtest/chinese-medication-prescription-profile",
  "name": "ChineseMedicationPrescription",
  "title": "Chinese Medication Prescription",
  "status": "retired",
  "date": "2020-10-18T17:40:29.5468311+00:00",
  "description": "中草药处方（弃用）",
  "purpose": "不再使用此profile，请参阅：https://simplifier.net/winningtest/traditional-chinese-medication-prescription-profile",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RequestGroup",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RequestGroup",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RequestGroup.extension",
        "path": "RequestGroup.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "RequestGroup.extension:totalQuantity",
        "path": "RequestGroup.extension",
        "sliceName": "totalQuantity",
        "short": "总付数",
        "definition": "即总剂数，RequestGroup中的所有Medication组成了一付药，发药时再乘以付数。",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-quantity"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.extension:totalQuantity.value[x]:valueQuantity",
        "path": "RequestGroup.extension.value[x]",
        "sliceName": "valueQuantity",
        "short": "总剂数"
      },
      {
        "id": "RequestGroup.extension:totalQuantity.value[x]:valueQuantity.comparator",
        "path": "RequestGroup.extension.value[x].comparator",
        "max": "0"
      },
      {
        "id": "RequestGroup.extension:totalQuantity.value[x]:valueQuantity.system",
        "path": "RequestGroup.extension.value[x].system",
        "max": "0"
      },
      {
        "id": "RequestGroup.extension:decoction",
        "path": "RequestGroup.extension",
        "sliceName": "decoction",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-chinese-medicine-decoction"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.extension:decoctionService",
        "path": "RequestGroup.extension",
        "sliceName": "decoctionService",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-chinese-medicine-decoction-service"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.identifier",
        "path": "RequestGroup.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "RequestGroup.identifier:recipeId",
        "path": "RequestGroup.identifier",
        "sliceName": "recipeId",
        "short": "处方标识",
        "max": "1"
      },
      {
        "id": "RequestGroup.identifier:recipeId.use",
        "path": "RequestGroup.identifier.use",
        "max": "0"
      },
      {
        "id": "RequestGroup.identifier:recipeId.type",
        "path": "RequestGroup.identifier.type",
        "max": "0"
      },
      {
        "id": "RequestGroup.identifier:recipeId.system",
        "path": "RequestGroup.identifier.system",
        "short": "处方标识",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.3571"
      },
      {
        "id": "RequestGroup.identifier:recipeId.period",
        "path": "RequestGroup.identifier.period",
        "max": "0"
      },
      {
        "id": "RequestGroup.identifier:recipeId.assigner",
        "path": "RequestGroup.identifier.assigner",
        "max": "0"
      },
      {
        "id": "RequestGroup.instantiatesCanonical",
        "path": "RequestGroup.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "RequestGroup.instantiatesUri",
        "path": "RequestGroup.instantiatesUri",
        "max": "0"
      },
      {
        "id": "RequestGroup.basedOn",
        "path": "RequestGroup.basedOn",
        "max": "0"
      },
      {
        "id": "RequestGroup.replaces",
        "path": "RequestGroup.replaces",
        "max": "0"
      },
      {
        "id": "RequestGroup.groupIdentifier",
        "path": "RequestGroup.groupIdentifier",
        "short": "处方标识"
      },
      {
        "id": "RequestGroup.groupIdentifier.extension",
        "path": "RequestGroup.groupIdentifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "RequestGroup.groupIdentifier.extension:groupNo",
        "path": "RequestGroup.groupIdentifier.extension",
        "sliceName": "groupNo",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-group-no"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.groupIdentifier.use",
        "path": "RequestGroup.groupIdentifier.use",
        "max": "0"
      },
      {
        "id": "RequestGroup.groupIdentifier.type",
        "path": "RequestGroup.groupIdentifier.type",
        "max": "0"
      },
      {
        "id": "RequestGroup.groupIdentifier.system",
        "path": "RequestGroup.groupIdentifier.system",
        "short": "处方标识",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.3571"
      },
      {
        "id": "RequestGroup.groupIdentifier.period",
        "path": "RequestGroup.groupIdentifier.period",
        "max": "0"
      },
      {
        "id": "RequestGroup.groupIdentifier.assigner",
        "path": "RequestGroup.groupIdentifier.assigner",
        "max": "0"
      },
      {
        "id": "RequestGroup.status",
        "path": "RequestGroup.status",
        "fixedCode": "active"
      },
      {
        "id": "RequestGroup.intent",
        "path": "RequestGroup.intent",
        "fixedCode": "order"
      },
      {
        "id": "RequestGroup.priority",
        "path": "RequestGroup.priority",
        "max": "0"
      },
      {
        "id": "RequestGroup.code",
        "path": "RequestGroup.code",
        "max": "0"
      },
      {
        "id": "RequestGroup.subject",
        "path": "RequestGroup.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/patient-profile"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.reasonCode",
        "path": "RequestGroup.reasonCode",
        "max": "0"
      },
      {
        "id": "RequestGroup.reasonReference",
        "path": "RequestGroup.reasonReference",
        "short": "诊断",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/diagnosis-profile"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.action",
        "path": "RequestGroup.action",
        "min": 1
      },
      {
        "id": "RequestGroup.action.prefix",
        "path": "RequestGroup.action.prefix",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.title",
        "path": "RequestGroup.action.title",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.description",
        "path": "RequestGroup.action.description",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.textEquivalent",
        "path": "RequestGroup.action.textEquivalent",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.priority",
        "path": "RequestGroup.action.priority",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.code",
        "path": "RequestGroup.action.code",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.documentation",
        "path": "RequestGroup.action.documentation",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.condition",
        "path": "RequestGroup.action.condition",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.relatedAction",
        "path": "RequestGroup.action.relatedAction",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.timing[x]",
        "path": "RequestGroup.action.timing[x]",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.participant",
        "path": "RequestGroup.action.participant",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.type",
        "path": "RequestGroup.action.type",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.groupingBehavior",
        "path": "RequestGroup.action.groupingBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.selectionBehavior",
        "path": "RequestGroup.action.selectionBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.requiredBehavior",
        "path": "RequestGroup.action.requiredBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.precheckBehavior",
        "path": "RequestGroup.action.precheckBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.cardinalityBehavior",
        "path": "RequestGroup.action.cardinalityBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.resource",
        "path": "RequestGroup.action.resource",
        "short": "中草药药品申请",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/chinese-medication-request-profile"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.action.action",
        "path": "RequestGroup.action.action",
        "max": "0"
      }
    ]
  }
}