Release 4

Practitionerrole-example.ttl

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 -------------------------------------------------------------------

<http://hl7.org/fhir/PractitionerRole/example> a fhir:PractitionerRole;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.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:PractitionerRole.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.acme.org/practitioners" ];
     fhir:Identifier.value [ fhir:value "23" ]
  ];
  fhir:PractitionerRole.active [ fhir:value "true"^^xsd:boolean];
  fhir:PractitionerRole.period [
     fhir:Period.start [ fhir:value "2012-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2012-03-31"^^xsd:date ]
  ];
  fhir:PractitionerRole.practitioner [
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ];
     fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
  ];
  fhir:PractitionerRole.organization [
     fhir:link <http://hl7.org/fhir/Organization/f001>;
     fhir:Reference.reference [ fhir:value "Organization/f001" ]
  ];
  fhir:PractitionerRole.code [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0286" ];
       fhir:Coding.code [ fhir:value "RP" ]
     ]
  ];
  fhir:PractitionerRole.specialty [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:408443003;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "408443003" ];
       fhir:Coding.display [ fhir:value "General medical practice" ]
     ]
  ];
  fhir:PractitionerRole.location [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Location/1>;
     fhir:Reference.reference [ fhir:value "Location/1" ];
     fhir:Reference.display [ fhir:value "South Wing, second floor" ]
  ];
  fhir:PractitionerRole.healthcareService [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/HealthcareService/example>;
     fhir:Reference.reference [ fhir:value "HealthcareService/example" ]
  ];
  fhir:PractitionerRole.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "adam.southern@example.org" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:PractitionerRole.availableTime [
     fhir:index 0;
     fhir:PractitionerRole.availableTime.daysOfWeek [
       fhir:value "mon";
       fhir:index 0
     ], [
       fhir:value "tue";
       fhir:index 1
     ], [
       fhir:value "wed";
       fhir:index 2
     ];
     fhir:PractitionerRole.availableTime.availableStartTime [ fhir:value "09:00:00"^^xsd:time ];
     fhir:PractitionerRole.availableTime.availableEndTime [ fhir:value "16:30:00"^^xsd:time ]
  ], [
     fhir:index 1;
     fhir:PractitionerRole.availableTime.daysOfWeek [
       fhir:value "thu";
       fhir:index 0
     ], [
       fhir:value "fri";
       fhir:index 1
     ];
     fhir:PractitionerRole.availableTime.availableStartTime [ fhir:value "09:00:00"^^xsd:time ];
     fhir:PractitionerRole.availableTime.availableEndTime [ fhir:value "12:00:00"^^xsd:time ]
  ];
  fhir:PractitionerRole.notAvailable [
     fhir:index 0;
     fhir:PractitionerRole.notAvailable.description [ fhir:value "Adam will be on extended leave during May 2017" ];
     fhir:PractitionerRole.notAvailable.during [
       fhir:Period.start [ fhir:value "2017-05-01"^^xsd:date ];
       fhir:Period.end [ fhir:value "2017-05-20"^^xsd:date ]
     ]
  ];
  fhir:PractitionerRole.availabilityExceptions [ fhir:value "Adam is generally unavailable on public holidays and during the Christmas/New Year break"];
  fhir:PractitionerRole.endpoint [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Endpoint/example>;
     fhir:Reference.reference [ fhir:value "Endpoint/example" ]
  ] .

<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 .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/PractitionerRole/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/PractitionerRole/example.ttl> .

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


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.