{
  "resourceType": "StructureDefinition",
  "id": "outpatient-slot",
  "meta": {
    "lastUpdated": "2020-12-07T02:46:04.07+00:00"
  },
  "url": "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/outpatient-slot",
  "name": "OutpatientSlot",
  "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": "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"
        }
      },
      {
        "id": "Slot.extension:SourceNumber",
        "path": "Slot.extension",
        "sliceName": "SourceNumber",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/source-number"
            ]
          }
        ]
      },
      {
        "id": "Slot.identifier",
        "path": "Slot.identifier",
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Identifier"
            ]
          }
        ]
      },
      {
        "id": "Slot.serviceCategory",
        "path": "Slot.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": "Slot.serviceCategory:serviceCategory",
        "path": "Slot.serviceCategory",
        "sliceName": "serviceCategory",
        "max": "1",
        "binding": {
          "strength": "example",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/service-category-vs"
        }
      },
      {
        "id": "Slot.serviceCategory:otherCategory",
        "path": "Slot.serviceCategory",
        "sliceName": "otherCategory",
        "short": "其他服务类别",
        "definition": "描述该号源时段的其他类别"
      },
      {
        "id": "Slot.serviceType",
        "path": "Slot.serviceType",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        },
        "definition": "将在该号源时段内执行的具体服务。如：门诊预约挂号、检查预约、手术预约等。\r\n此处固定为  门诊预约挂号",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Slot.serviceType:serviceType",
        "path": "Slot.serviceType",
        "sliceName": "serviceType",
        "max": "1",
        "binding": {
          "strength": "example",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/service-type-vs"
        }
      },
      {
        "id": "Slot.serviceType:otherType",
        "path": "Slot.serviceType",
        "sliceName": "otherType",
        "short": "其他服务项目分类",
        "definition": "门诊号源时段的其他服务项目分类"
      },
      {
        "id": "Slot.specialty",
        "path": "Slot.specialty",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        },
        "definition": "门诊号源时段中执行的医疗服务者的临床专业要求，如 骨科门诊、牙科门诊、心内科门诊。",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Slot.specialty:specialty",
        "path": "Slot.specialty",
        "sliceName": "specialty",
        "max": "1",
        "binding": {
          "strength": "preferred",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/practice-setting-code-vs"
        }
      },
      {
        "id": "Slot.specialty:otherSpecialty",
        "path": "Slot.specialty",
        "sliceName": "otherSpecialty",
        "definition": "该门诊号源时段中执行的医疗服务者的其他专业要求"
      },
      {
        "id": "Slot.appointmentType",
        "path": "Slot.appointmentType",
        "definition": "描述此门诊号源时段提供的预约方式或此号源时段可供哪类患者预约。如，电话预约、网上预约、现场预约",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/appointment-type-vs"
        }
      },
      {
        "id": "Slot.schedule",
        "path": "Slot.schedule",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://StructureDefinition/hl7fhir.cn/outpatient-schedule"
            ]
          }
        ]
      },
      {
        "id": "Slot.status",
        "path": "Slot.status",
        "short": "busy | free | busy-unavailable | busy-tentative | entered-in-error  号源时段状态"
      },
      {
        "id": "Slot.status.extension",
        "path": "Slot.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Slot.status.extension:status",
        "path": "Slot.status.extension",
        "sliceName": "status",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/resource-status"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/Slot-status-vs"
        }
      },
      {
        "id": "Slot.status.extension:status.value[x]",
        "path": "Slot.status.extension.value[x]",
        "short": "号源时段状态",
        "binding": {
          "strength": "example",
          "description": "号源时段状态",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/slot-status-vs"
        }
      }
    ]
  }
}