{
  "resourceType": "StructureDefinition",
  "id": "24deb4bc-b1a0-4a46-8650-8773b10d56b8",
  "meta": {
    "lastUpdated": "2021-02-07T06:49:42.538+00:00"
  },
  "url": "https://simplifier.net/winningtest/healthcare-material-request-profile",
  "name": "HealthcareMaterialRequest",
  "title": "Healthcare Material Request",
  "status": "draft",
  "date": "2021-02-05T06:53:38.1925433Z",
  "description": "卫材医嘱",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "SupplyRequest",
  "baseDefinition": "https://simplifier.net/winningtest/supply-request-profile",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "SupplyRequest.identifier",
        "path": "SupplyRequest.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "SupplyRequest.identifier:clinicalOrderId",
        "path": "SupplyRequest.identifier",
        "sliceName": "clinicalOrderId",
        "short": "医嘱标识",
        "max": "1"
      },
      {
        "id": "SupplyRequest.status",
        "path": "SupplyRequest.status",
        "fixedCode": "active"
      },
      {
        "id": "SupplyRequest.item[x]",
        "path": "SupplyRequest.item[x]",
        "short": "卫材",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Substance",
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          }
        ]
      },
      {
        "id": "SupplyRequest.item[x].identifier",
        "path": "SupplyRequest.item[x].identifier",
        "short": "标识"
      },
      {
        "id": "SupplyRequest.quantity.value",
        "path": "SupplyRequest.quantity.value",
        "short": "数量"
      },
      {
        "id": "SupplyRequest.quantity.comparator",
        "path": "SupplyRequest.quantity.comparator",
        "max": "0"
      },
      {
        "id": "SupplyRequest.quantity.unit",
        "path": "SupplyRequest.quantity.unit",
        "short": "单位"
      },
      {
        "id": "SupplyRequest.quantity.system",
        "path": "SupplyRequest.quantity.system",
        "max": "0"
      },
      {
        "id": "SupplyRequest.quantity.code",
        "path": "SupplyRequest.quantity.code",
        "max": "0"
      },
      {
        "id": "SupplyRequest.occurrence[x]",
        "path": "SupplyRequest.occurrence[x]",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "SupplyRequest.deliverFrom",
        "path": "SupplyRequest.deliverFrom",
        "short": "库房",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/department-profile"
            ]
          }
        ]
      }
    ]
  }
}