{
  "resourceType": "StructureDefinition",
  "id": "outpatient-registration-source",
  "meta": {
    "lastUpdated": "2020-12-07T02:42:10.696+00:00"
  },
  "url": "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/outpatient-registration-source",
  "name": "OutpatientRegistrationSource",
  "title": "门诊号源信息",
  "status": "draft",
  "description": "该资源描述门诊号源信息，包括号源、挂号都是用该资源。",
  "fhirVersion": "4.0.0",
  "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.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:thirdPartyidentifier",
        "path": "Appointment.identifier",
        "sliceName": "thirdPartyidentifier",
        "max": "1"
      },
      {
        "id": "Appointment.identifier:sourceIdentifier",
        "path": "Appointment.identifier",
        "sliceName": "sourceIdentifier",
        "max": "1"
      },
      {
        "id": "Appointment.identifier:otherIdentifier",
        "path": "Appointment.identifier",
        "sliceName": "otherIdentifier"
      },
      {
        "id": "Appointment.status",
        "path": "Appointment.status",
        "short": "号源和挂号申请状态"
      },
      {
        "id": "Appointment.status.extension",
        "path": "Appointment.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Appointment.status.extension:ststus",
        "path": "Appointment.status.extension",
        "sliceName": "ststus",
        "short": "号源和挂号申请状态",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/resource-status"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "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:serviceCategory",
        "path": "Appointment.serviceCategory",
        "sliceName": "serviceCategory",
        "max": "1",
        "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",
        "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",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Appointment.specialty:specialty",
        "path": "Appointment.specialty",
        "sliceName": "specialty",
        "max": "1",
        "binding": {
          "strength": "preferred",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/practice-setting-code-vs"
        }
      },
      {
        "id": "Appointment.specialty:otherSpecialty",
        "path": "Appointment.specialty",
        "sliceName": "otherSpecialty",
        "definition": "该门诊号源中执行的医疗服务者的其他专业要求"
      },
      {
        "id": "Appointment.appointmentType",
        "path": "Appointment.appointmentType",
        "short": "患者预约的类型",
        "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": "Appointment.reasonCode",
        "path": "Appointment.reasonCode",
        "max": "0"
      },
      {
        "id": "Appointment.reasonReference",
        "path": "Appointment.reasonReference",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "Appointment.supportingInformation",
        "path": "Appointment.supportingInformation",
        "short": "其他支持信息",
        "definition": "在进行预约时提供的支持预约的其他资料。",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "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",
        "short": "时段信息",
        "definition": "该号源所属的时段信息",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Slot",
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/outpatient-slot"
            ]
          }
        ]
      },
      {
        "id": "Appointment.basedOn",
        "path": "Appointment.basedOn",
        "max": "0"
      },
      {
        "id": "Appointment.participant",
        "path": "Appointment.participant",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Appointment.participant:consultingRoom",
        "path": "Appointment.participant",
        "sliceName": "consultingRoom",
        "short": "诊室",
        "definition": "关联 该排班中的诊室资源，type 中固定为诊室",
        "max": "1"
      },
      {
        "id": "Appointment.participant:consultingRoom.type",
        "path": "Appointment.participant.type",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/encounter-participant-type-vs"
        }
      },
      {
        "id": "Appointment.participant:consultingRoom.actor",
        "path": "Appointment.participant.actor",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "Appointment.participant:doctor",
        "path": "Appointment.participant",
        "sliceName": "doctor",
        "short": "门诊医生",
        "definition": "关联 该排班中的门诊医生信息",
        "max": "1"
      },
      {
        "id": "Appointment.participant:doctor.type",
        "path": "Appointment.participant.type",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/encounter-participant-type-vs"
        }
      },
      {
        "id": "Appointment.participant:doctor.actor",
        "path": "Appointment.participant.actor",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "Appointment.participant:otherParticipant",
        "path": "Appointment.participant",
        "sliceName": "otherParticipant",
        "short": "其他参与者",
        "definition": "关联此班次中包含的号源将拥有此元素指定的其他医疗服务资源，如医生、设备、床位等。"
      },
      {
        "id": "Appointment.participant:otherParticipant.actor",
        "path": "Appointment.participant.actor",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "Appointment.requestedPeriod",
        "path": "Appointment.requestedPeriod",
        "max": "0"
      }
    ]
  }
}