{
  "resourceType": "StructureDefinition",
  "url": "http://hl7.org.cn/fhir/StructureDefinition/profile-medication",
  "name": "Medication",
  "title": "药物",
  "status": "active",
  "experimental": true,
  "date": "2024-05-11T07:38:08.155878+00:00",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Medication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Medication.identifier",
        "path": "Medication.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Medication.identifier:drugStandardCode",
        "path": "Medication.identifier",
        "sliceName": "drugStandardCode",
        "short": "药品本位码",
        "max": "1"
      },
      {
        "id": "Medication.identifier:drugStandardCode.use",
        "path": "Medication.identifier.use",
        "fixedCode": "official"
      },
      {
        "id": "Medication.identifier:drugStandardCode.type",
        "path": "Medication.identifier.type",
        "max": "0"
      },
      {
        "id": "Medication.identifier:drugStandardCode.system",
        "path": "Medication.identifier.system",
        "fixedUri": "https://www.nmpa.gov.cn/zwfw/zwfwzxfw/zxfwsjxz/20240109145510149.html"
      },
      {
        "id": "Medication.identifier:drugStandardCode.period",
        "path": "Medication.identifier.period",
        "max": "0"
      },
      {
        "id": "Medication.code",
        "path": "Medication.code",
        "min": 1
      },
      {
        "id": "Medication.code.coding",
        "path": "Medication.code.coding",
        "max": "0"
      },
      {
        "id": "Medication.code.text",
        "path": "Medication.code.text",
        "min": 1
      },
      {
        "id": "Medication.status",
        "path": "Medication.status",
        "min": 1
      },
      {
        "id": "Medication.doseForm",
        "path": "Medication.doseForm",
        "short": "剂型",
        "min": 1
      },
      {
        "id": "Medication.totalVolume.comparator",
        "path": "Medication.totalVolume.comparator",
        "max": "0"
      },
      {
        "id": "Medication.totalVolume.system",
        "path": "Medication.totalVolume.system",
        "max": "0"
      },
      {
        "id": "Medication.totalVolume.code",
        "path": "Medication.totalVolume.code",
        "max": "0"
      },
      {
        "id": "Medication.ingredient.item",
        "path": "Medication.ingredient.item",
        "type": [
          {
            "code": "CodeableReference",
            "targetProfile": [
              "http://hl7china.org.cn/fhir/StructureDefinition/profile-medication"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Medication.ingredient.item.concept",
        "path": "Medication.ingredient.item.concept",
        "max": "0"
      },
      {
        "id": "Medication.ingredient.strength[x]",
        "path": "Medication.ingredient.strength[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Medication.batch.lotNumber",
        "path": "Medication.batch.lotNumber",
        "min": 1
      },
      {
        "id": "Medication.definition",
        "path": "Medication.definition",
        "max": "0"
      }
    ]
  }
}