<?xml version="1.0" encoding="UTF-8"?>

<PractitionerRole xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">
			<p>
				Dr Adam Careful is a Referring Practitioner for Acme Hospital from 1-Jan 2012 to 31-Mar
				2012
			</p>
		</div>
  </text>
  <identifier>
    <system value="http://www.acme.org/practitioners"/>
    <value value="23"/>
  </identifier>
  <active value="true"/>
  <period>
    <start value="2012-01-01"/>
    <end value="2012-03-31"/>
  </period>
  <practitioner>
    <reference value="Practitioner/example"/>
    <display value="Dr Adam Careful"/>
  </practitioner>
  <organization>
    <reference value="Organization/f001"/>
  </organization>
  <!--  Referring Practitioner for the first 3 months of 2012  -->
  <code>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0286"/>
      <code value="RP"/>
    </coding>
  </code>
  <display value="Dr Adam Careful, Referring Practitioner at Burgers University Medical Center"/>
  <specialty>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="408443003"/>
      <display value="General medical practice"/>
    </coding>
  </specialty>
  <location>
    <reference value="Location/1"/>
    <display value="South Wing, second floor"/>
  </location>
  <healthcareService>
    <reference value="HealthcareService/example"/>
  </healthcareService>
  <contact>
    <telecom>
      <system value="phone"/>
      <value value="(03) 5555 6473"/>
      <use value="work"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="adam.southern@example.org"/>
      <use value="work"/>
    </telecom>
  </contact>
  <characteristic>
    <coding>
      <system value="http://hl7.org/fhir/service-mode"/>
      <code value="in-person"/>
      <display value="In Person"/>
    </coding>
    <coding>
      <system value="http://hl7.org/fhir/service-mode"/>
      <code value="videoconference"/>
      <display value="Video Conference"/>
    </coding>
  </characteristic>
  <communication>
    <coding>
      <system value="urn:ietf:bcp:47"/>
      <code value="en"/>
    </coding>
  </communication>
  <availability>
    <availableTime>
      <daysOfWeek value="mon"/>
      <daysOfWeek value="tue"/>
      <daysOfWeek value="wed"/>
      <availableStartTime value="09:00:00"/>
      <availableEndTime value="16:30:00"/>
    </availableTime>
    <availableTime>
      <daysOfWeek value="thu"/>
      <daysOfWeek value="fri"/>
      <availableStartTime value="09:00:00"/>
      <availableEndTime value="12:00:00"/>
    </availableTime>
    <notAvailableTime>
      <description value="Adam will be on extended leave during May 2017"/>
      <during>
        <start value="2017-05-01"/>
        <end value="2017-05-20"/>
      </during>
    </notAvailableTime>
    <notAvailableTime>
      <description value="Adam is generally unavailable on public holidays and during the Christmas/New Year break"/>
    </notAvailableTime>
  </availability>
  <endpoint>
    <!--  Endpoint that handles the v2 messaging for the external organization  -->
    <reference value="Endpoint/example"/>
  </endpoint>
</PractitionerRole>