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