{
  "resourceType": "StructureDefinition",
  "id": "da77aea1-b35a-47d2-98b5-11dd8406ea39",
  "meta": {
    "lastUpdated": "2022-05-10T20:43:21.8194047+00:00"
  },
  "url": "https://simplifier.net/winningtest/outpatient-slot-profile",
  "name": "OutpatientSlot",
  "title": "门诊号源",
  "status": "draft",
  "date": "2022-05-10T20:47:07.2526438+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "ical",
      "uri": "http://ietf.org/rfc/2445",
      "name": "iCalendar"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Slot",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Slot",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Slot.extension",
        "path": "Slot.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Slot.extension:price",
        "path": "Slot.extension",
        "sliceName": "price",
        "short": "金额",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-price"
            ]
          }
        ]
      },
      {
        "id": "Slot.extension:additional",
        "path": "Slot.extension",
        "sliceName": "additional",
        "short": "加号标志",
        "definition": "用于说明此号源是额外添加的，还是原有的。",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-additional"
            ]
          }
        ]
      },
      {
        "id": "Slot.extension:slotNo",
        "path": "Slot.extension",
        "sliceName": "slotNo",
        "short": "号源号序",
        "definition": "用于同排班标识一起标识某一号源",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-slot-no"
            ]
          }
        ]
      },
      {
        "id": "Slot.extension:serviceChannelType",
        "path": "Slot.extension",
        "sliceName": "serviceChannelType",
        "short": "服务渠道类别",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-service-channel-type"
            ]
          }
        ]
      },
      {
        "id": "Slot.identifier",
        "path": "Slot.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Slot.identifier:slotId",
        "path": "Slot.identifier",
        "sliceName": "slotId",
        "short": "号源标识",
        "max": "1"
      },
      {
        "id": "Slot.identifier:slotId.use",
        "path": "Slot.identifier.use",
        "max": "0"
      },
      {
        "id": "Slot.identifier:slotId.type",
        "path": "Slot.identifier.type",
        "max": "0"
      },
      {
        "id": "Slot.identifier:slotId.system",
        "path": "Slot.identifier.system",
        "short": "业务资源标识",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.4574"
      },
      {
        "id": "Slot.identifier:slotId.period",
        "path": "Slot.identifier.period",
        "max": "0"
      },
      {
        "id": "Slot.identifier:slotId.assigner",
        "path": "Slot.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Slot.serviceCategory",
        "path": "Slot.serviceCategory",
        "max": "0"
      },
      {
        "id": "Slot.serviceCategory.coding",
        "path": "Slot.serviceCategory.coding",
        "max": "1"
      },
      {
        "id": "Slot.serviceType",
        "path": "Slot.serviceType",
        "short": "初复诊代码",
        "max": "1",
        "binding": {
          "strength": "required",
          "description": "初复诊类型",
          "valueSet": "urn:oid:1.2.156.112604.1.2.429"
        }
      },
      {
        "id": "Slot.specialty",
        "path": "Slot.specialty",
        "max": "0"
      },
      {
        "id": "Slot.appointmentType",
        "path": "Slot.appointmentType",
        "short": "预约类型",
        "binding": {
          "strength": "required",
          "description": "预约类型代码",
          "valueSet": "urn:oid:1.2.156.112604.1.2.1725"
        }
      },
      {
        "id": "Slot.schedule",
        "path": "Slot.schedule",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/outpatient-schedule-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "Slot.schedule.identifier",
        "path": "Slot.schedule.identifier",
        "short": "排班标识"
      },
      {
        "id": "Slot.status",
        "path": "Slot.status",
        "definition": "free代表可预约，busy-unavailable代表不可预约"
      },
      {
        "id": "Slot.start",
        "path": "Slot.start",
        "short": "开始时间"
      },
      {
        "id": "Slot.end",
        "path": "Slot.end",
        "short": "结束时间"
      },
      {
        "id": "Slot.overbooked",
        "path": "Slot.overbooked",
        "max": "0"
      },
      {
        "id": "Slot.comment",
        "path": "Slot.comment",
        "max": "0"
      }
    ]
  }
}