{
  "resourceType": "StructureDefinition",
  "id": "hospital-referral",
  "meta": {
    "lastUpdated": "2020-12-07T02:04:18.054+00:00"
  },
  "url": "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/hospital-referral",
  "name": "HospitalReferral",
  "title": "转诊预约申请",
  "status": "draft",
  "description": "该资源描述医院转诊的的申请。包括上转、下转都使用该资源。",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "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"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Appointment",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Appointment",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Appointment",
        "path": "Appointment",
        "short": "转诊预约申请",
        "definition": "医疗预防机构根据病情需要，将本单位诊疗的病人转到另一个医疗预防机构诊疗或处理 提交的预约申请。"
      },
      {
        "id": "Appointment.identifier",
        "path": "Appointment.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Identifier"
            ]
          }
        ]
      },
      {
        "id": "Appointment.identifier:hospitalReferralIdentifier",
        "path": "Appointment.identifier",
        "sliceName": "hospitalReferralIdentifier",
        "short": "转诊预约编号",
        "definition": "在转身预约申请中，发起申请医院提交的关于转诊申请的业务标识符。",
        "max": "1"
      },
      {
        "id": "Appointment.identifier:otherIdentifier",
        "path": "Appointment.identifier",
        "sliceName": "otherIdentifier",
        "short": "其他业务标识符",
        "definition": "转诊预约申请的其他业务编码"
      },
      {
        "id": "Appointment.status.extension",
        "path": "Appointment.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Appointment.status.extension:status",
        "path": "Appointment.status.extension",
        "sliceName": "status",
        "short": "预约状态",
        "definition": "预约的整体状态。每个此预约相关的人或物都有参与此预约流程相关的自己的状态。但整体状态表示每个参与者可用的共享状态。\r\n这些状态包括：开放中|预约中|已预定|已签到|已完成|已取消|未到场|误录入|已就绪|候补中",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/resource-status"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "description": "预约整体状态",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/appointment-status-vs"
        }
      },
      {
        "id": "Appointment.cancelationReason",
        "path": "Appointment.cancelationReason",
        "max": "0"
      },
      {
        "id": "Appointment.serviceCategory",
        "path": "Appointment.serviceCategory",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Appointment.serviceCategory:sliceServiceCategory",
        "path": "Appointment.serviceCategory",
        "sliceName": "sliceServiceCategory",
        "short": "服务广泛分类",
        "definition": "将在这次任命期间执行的服务的广泛分类。\r\n描述该时段的医疗服务的类别，此类别为大类别，如 医疗服务，康养服务，美容服务，儿童保健、老年护理等。",
        "binding": {
          "strength": "example",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/service-category-vs"
        }
      },
      {
        "id": "Appointment.serviceCategory:otherCategory",
        "path": "Appointment.serviceCategory",
        "sliceName": "otherCategory",
        "short": "其他预约分类",
        "definition": "描述该号源的其他类别"
      },
      {
        "id": "Appointment.serviceType",
        "path": "Appointment.serviceType",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Appointment.serviceType:ServiceType",
        "path": "Appointment.serviceType",
        "sliceName": "ServiceType",
        "short": "服务项目分类",
        "definition": "确定的服务，将在这次任命期间执行。\r\n描述预约的服务项目，可以是具体的医疗服务，0..*的关系，可描述这个预约能完成的多种服务（值集）如：门诊预约挂号、检查预约、手术预约、转诊预约等。",
        "max": "1",
        "binding": {
          "strength": "example",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/service-type-vs"
        }
      },
      {
        "id": "Appointment.serviceType:otherType",
        "path": "Appointment.serviceType",
        "sliceName": "otherType",
        "short": "其他服务项目分类",
        "definition": "转诊服务的其他服务项目分类"
      },
      {
        "id": "Appointment.specialty",
        "path": "Appointment.specialty",
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Appointment.appointmentType",
        "path": "Appointment.appointmentType",
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Appointment.reasonCode",
        "path": "Appointment.reasonCode",
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Appointment.reasonReference",
        "path": "Appointment.reasonReference",
        "max": "0"
      },
      {
        "id": "Appointment.priority",
        "path": "Appointment.priority",
        "short": "优先级",
        "definition": "描述该次预约的优先级。（iCal标准将0定义为未定义，将1定义为最高，将9定义为最低优先级）。"
      },
      {
        "id": "Appointment.description",
        "path": "Appointment.description",
        "short": "简介",
        "definition": "在会议请求或约会列表的主题栏中显示的约会的简短描述。详细或扩展的信息应该放在评论栏中。\r\n描述该次约会的简要介绍信息",
        "comment": "注意FHIR字符串的大小不能超过1MB"
      },
      {
        "id": "Appointment.supportingInformation",
        "path": "Appointment.supportingInformation",
        "short": "附加信息",
        "definition": "在预约时提供的支持预约的附加信息。\r\n该出可以用于利用其它资源对该次预约进行补充，本地化后可以用于关联多个和这个资源相关的资源描述。"
      },
      {
        "id": "Appointment.start",
        "path": "Appointment.start",
        "short": "开始时间",
        "definition": "预约转诊的开始时间"
      },
      {
        "id": "Appointment.end",
        "path": "Appointment.end",
        "short": "结束时间",
        "definition": "预约转诊的结束时间"
      },
      {
        "id": "Appointment.minutesDuration",
        "path": "Appointment.minutesDuration",
        "max": "0"
      },
      {
        "id": "Appointment.slot",
        "path": "Appointment.slot",
        "max": "0"
      },
      {
        "id": "Appointment.created",
        "path": "Appointment.created",
        "short": "申请创建日期",
        "definition": "此约会最初创建的日期。该时间不是数据的创建时间，而是业务发生的真实时间，并且在约会的生命周期内应该保持不变。"
      },
      {
        "id": "Appointment.comment",
        "path": "Appointment.comment",
        "short": "预约评论",
        "definition": "关于预约的补充意见。"
      },
      {
        "id": "Appointment.patientInstruction",
        "path": "Appointment.patientInstruction",
        "short": "注意事项",
        "definition": "给患者的详细信息和说明，本地化后，可以作为预约的事件的一些注意事项。字符串小于1M"
      },
      {
        "id": "Appointment.basedOn",
        "path": "Appointment.basedOn",
        "max": "0"
      },
      {
        "id": "Appointment.participant",
        "path": "Appointment.participant",
        "short": "参与的人员",
        "definition": "参与人员列表"
      },
      {
        "id": "Appointment.participant.type",
        "path": "Appointment.participant.type",
        "short": "参与者角色",
        "definition": "参与者角色",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "参与者角色",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/encounter-participant-type-vs"
        }
      },
      {
        "id": "Appointment.participant.actor",
        "path": "Appointment.participant.actor",
        "short": "参与者",
        "definition": "引用一个参与者的资源，描述这次转诊预约的参与者",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "Appointment.participant.required",
        "path": "Appointment.participant.required",
        "short": "是否必须参与",
        "definition": "是否要求该与会者出席会议。这包括一个用例，在这个用例中，两个医生需要开会讨论特定病人的结果，而病人不需要在场。\r\n必需的|可选的|信息",
        "max": "0"
      },
      {
        "id": "Appointment.participant.status",
        "path": "Appointment.participant.status",
        "short": "应答预约状态",
        "definition": "应答预约状态"
      },
      {
        "id": "Appointment.participant.status.extension",
        "path": "Appointment.participant.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Appointment.participant.status.extension:status",
        "path": "Appointment.participant.status.extension",
        "sliceName": "status",
        "definition": "应答预约状态",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/participation-status"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/participationstatus-vs"
        }
      },
      {
        "id": "Appointment.participant.period",
        "path": "Appointment.participant.period",
        "short": "预约时段",
        "definition": "预约时段，确定时间可选择只录入开始时间",
        "max": "0"
      },
      {
        "id": "Appointment.requestedPeriod",
        "path": "Appointment.requestedPeriod",
        "max": "0",
        "type": [
          {
            "code": "Period",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Period"
            ]
          }
        ]
      }
    ]
  }
}