@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

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

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

<http://hl7.org/fhir/Organization/f001> a fhir:Organization .

<http://hl7.org/fhir/Location/1> a fhir:Location .

<http://hl7.org/fhir/HealthcareService/example> a fhir:HealthcareService .

<http://hl7.org/fhir/Endpoint/example> a fhir:Endpoint .

# -------------------------------------------------------------------------------------

