<HealthcareService xmlns="http://hl7.org/fhir">
  <id value="example-healthcareservice-submission" />
  <meta>
    <profile value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-submission-profile-HealthcareService|1.0.0" />
  </meta>
  <identifier>
    <use value="official" />
    <system value="https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi" />
    <value value="123456789012" />
  </identifier>
  <active value="true" />
  <providedBy>
    <reference value="urn:uuid:fe16095b-9412-430d-8633-2b4e034be37c" />
    <display value="Psychotherapy Institute of Peel" />
  </providedBy>
  <category>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="413294000" />
      <display value="Community health services" />
    </coding>
    <text value="Community health services" />
  </category>
  <type>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="394913002" />
      <display value="Psychotherapy (specialty)" />
    </coding>
  </type>
  <type>
    <extension url="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-time">
      <extension url="type">
        <valueCoding>
          <system value="http://ontariohealth.ca/fhir/CodeSystem/wait-time-type" />
          <version value="1.0" />
          <code value="w1" />
          <display value="wait1 (Patient waiting for the first consultation with a clinician)" />
        </valueCoding>
      </extension>
      <extension url="length">
        <valueDuration>
          <value value="5" />
          <unit value="day" />
          <system value="http://unitsofmeasure.org" />
          <code value="d" />
        </valueDuration>
      </extension>
      <extension url="priority">
        <valueCoding>
          <system value="http://ontariohealth.ca/fhir/CodeSystem/wait-time-priority" />
          <version value="1.0" />
          <code value="pl3" />
          <display value="Priority Level 3 – semi-urgent" />
        </valueCoding>
      </extension>
      <extension url="access-target">
        <valueDuration>
          <value value="25" />
          <unit value="day" />
          <system value="http://unitsofmeasure.org" />
          <code value="d" />
        </valueDuration>
      </extension>
      <extension url="procedure-code">
        <valueCoding>
          <system value="http://ontariohealth.ca/fhir/CodeSystem/WTIS-procedure-code" />
          <code value="W.CAR.PCI.NA" />
          <display value="Cardiac - PCI" />
        </valueCoding>
      </extension>
    </extension>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="310142007" />
      <display value="Cardiac surgery service" />
    </coding>
  </type>
  <location>
    <reference value="urn:uuid:b71844d3-e24b-4be3-9d7d-464b58cace0e" />
  </location>
  <name value="HealthcareService Example" />
  <comment value="Providing psychotherapy services in the community setting." />
  <extraDetails value="Several assessments are required for these specialist services, and the waiting times can be greater than 3 months at times. Existing patients are prioritized when requesting appointments on the schedule." />
  <telecom>
    <system value="phone" />
    <value value="416-355-6643" />
    <use value="work" />
  </telecom>
  <coverageArea>
    <reference value="urn:uuid:9cee66dc-1523-4a1f-9bf2-85040e6918f5" />
    <display value="Greater Toronto Area" />
  </coverageArea>
  <serviceProvisionCode>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/service-provision-conditions" />
      <code value="cost" />
      <display value="Fees apply" />
    </coding>
  </serviceProvisionCode>
  <eligibility>
    <code>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0136" />
        <code value="Y" />
      </coding>
    </code>
  </eligibility>
  <communication>
    <coding>
      <system value="urn:ietf:bcp:47" />
      <code value="en" />
      <display value="English" />
    </coding>
  </communication>
  <appointmentRequired value="false" />
  <availableTime>
    <daysOfWeek value="wed" />
    <allDay value="true" />
  </availableTime>
  <availableTime>
    <daysOfWeek value="mon" />
    <daysOfWeek value="tue" />
    <daysOfWeek value="thu" />
    <daysOfWeek value="fri" />
    <availableStartTime value="08:30:00" />
    <availableEndTime value="05:30:00" />
  </availableTime>
  <availableTime>
    <daysOfWeek value="sat" />
    <daysOfWeek value="fri" />
    <availableStartTime value="09:30:00" />
    <availableEndTime value="04:30:00" />
  </availableTime>
  <notAvailable>
    <description value="Christmas/Boxing Day" />
    <during>
      <start value="2015-12-25" />
      <end value="2015-12-26" />
    </during>
  </notAvailable>
  <notAvailable>
    <description value="New Years Day" />
    <during>
      <start value="2016-01-01" />
      <end value="2016-01-01" />
    </during>
  </notAvailable>
</HealthcareService>