{
  "resourceType": "StructureDefinition",
  "id": "outpatient-schedule",
  "meta": {
    "lastUpdated": "2020-12-07T02:45:51.85+00:00"
  },
  "url": "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/outpatient-schedule",
  "name": "OutpatientSchedule",
  "title": "门诊排班",
  "status": "draft",
  "description": "门诊排班，号源所属班次，是排班表、排期表的组成部分，该资源主要描述门诊排班",
  "fhirVersion": "4.0.0",
  "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": "Schedule",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Schedule",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Schedule",
        "path": "Schedule",
        "short": "门诊号源所属班次，是排班表、排期表的组成部分",
        "definition": "门诊排班班次"
      },
      {
        "id": "Schedule.identifier",
        "path": "Schedule.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Identifier"
            ]
          }
        ]
      },
      {
        "id": "Schedule.identifier:scheduleIdentifier",
        "path": "Schedule.identifier",
        "sliceName": "scheduleIdentifier",
        "short": "门诊排班业务编码",
        "definition": "门诊排班业务编码",
        "max": "1"
      },
      {
        "id": "Schedule.identifier:otherIdentifier",
        "path": "Schedule.identifier",
        "sliceName": "otherIdentifier",
        "short": "其他编码",
        "definition": "其他门诊排班业务编码"
      },
      {
        "id": "Schedule.serviceCategory",
        "path": "Schedule.serviceCategory",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        },
        "definition": "描述该班次中提供的医疗服务所属的类别，如门诊服务、医技检查、上门服务、预防接种等。（值集）\r\n该出固定为门诊排班",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Schedule.serviceCategory:serviceCategory",
        "path": "Schedule.serviceCategory",
        "sliceName": "serviceCategory",
        "max": "1",
        "binding": {
          "strength": "example",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/service-category-vs"
        }
      },
      {
        "id": "Schedule.serviceCategory:otherCategory",
        "path": "Schedule.serviceCategory",
        "sliceName": "otherCategory",
        "short": "其他服务类别",
        "definition": "描述该班次的其他纬度的类别",
        "max": "1"
      },
      {
        "id": "Schedule.serviceType",
        "path": "Schedule.serviceType",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Schedule.serviceType:serviceType",
        "path": "Schedule.serviceType",
        "sliceName": "serviceType",
        "max": "1",
        "binding": {
          "strength": "example",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/service-type-vs"
        }
      },
      {
        "id": "Schedule.serviceType:otherType",
        "path": "Schedule.serviceType",
        "sliceName": "otherType",
        "short": "其他服务项目分类",
        "definition": "门诊班次的其他服务项目分类"
      },
      {
        "id": "Schedule.specialty",
        "path": "Schedule.specialty",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Schedule.specialty:specialty",
        "path": "Schedule.specialty",
        "sliceName": "specialty",
        "max": "1",
        "binding": {
          "strength": "preferred",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/practice-setting-code-vs"
        }
      },
      {
        "id": "Schedule.specialty:otherSpecialty",
        "path": "Schedule.specialty",
        "sliceName": "otherSpecialty",
        "short": "其他专业要求",
        "definition": "该班次中执行的医疗服务者的其他专业要求"
      },
      {
        "id": "Schedule.actor",
        "path": "Schedule.actor",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:consultingRoom",
        "path": "Schedule.actor",
        "sliceName": "consultingRoom",
        "short": "诊室",
        "definition": "关联 该排班中的诊室资源",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/outpatient-consultation-room"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:doctor",
        "path": "Schedule.actor",
        "sliceName": "doctor",
        "short": "门诊医生",
        "definition": "关联 该排班中的门诊医生信息",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://StructureDefinition/hl7fhir.cn/Practitioner"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:otherActor",
        "path": "Schedule.actor",
        "sliceName": "otherActor",
        "short": "其他医疗资源",
        "definition": "关联此班次中包含的号源将拥有此元素指定的其他医疗服务资源，如医生、设备、床位等。"
      },
      {
        "id": "Schedule.planningHorizon",
        "path": "Schedule.planningHorizon",
        "type": [
          {
            "code": "Period",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Period"
            ]
          }
        ]
      }
    ]
  }
}