Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example PractitionerRole/example (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification)

Dr Adam Careful's role at the Acme Hospital

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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 -------------------------------------------------------------------

[a fhir:PractitionerRole ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<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>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://www.acme.org/practitioners"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "23" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:period [
     fhir:start [ fhir:v "2012-01-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2012-03-31"^^xsd:date ]
  ] ; # 
  fhir:practitioner [
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Dr Adam Careful" ]
  ] ; # 
  fhir:organization [
     fhir:reference [ fhir:v "Organization/f001" ]
  ] ; # 
  fhir:code ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0286"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "RP" ]
     ] )
  ] ) ; #   Referring Practitioner for the first 3 months of 2012  
  fhir:specialty ( [
     fhir:coding ( [
       a sct:408443003 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "408443003" ] ;
       fhir:display [ fhir:v "General medical practice" ]
     ] )
  ] ) ; # 
  fhir:location ( [
     fhir:reference [ fhir:v "Location/1" ] ;
     fhir:display [ fhir:v "South Wing, second floor" ]
  ] ) ; # 
  fhir:healthcareService ( [
     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:code [ fhir:v "in-person" ] ;
       fhir:display [ fhir:v "In Person" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/service-mode"^^xsd:anyURI ] ;
       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: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:reference [ fhir:v "Endpoint/example" ] #   Endpoint that handles the v2 messaging for the external organization  
  ] )] . # 

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


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.