Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example HealthcareService/example (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Example of healthcareservice

@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:HealthcareService ;
  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			25 Dec 2013 9:15am - 9:30am: <b>Busy</b> Physiotherapy\n		</div>"
  ] ; # 
  fhir:contained ( [
     a fhir:Location ;
     fhir:id [ fhir:v "DenBurg" ] ;
     fhir:description [ fhir:v "Greater Denburg area" ] ;
     fhir:mode [ fhir:v "instance" ] ;
     fhir:form [
       fhir:coding ( [
         fhir:code [ fhir:v "area" ] ;
         fhir:display [ fhir:v "Area" ]
       ] )
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://example.org/shared-ids"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "HS-12" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:providedBy [
     fhir:reference [ fhir:v "Organization/f001" ] ;
     fhir:display [ fhir:v "Burgers University Medical Center" ]
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/service-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "8" ] ;
       fhir:display [ fhir:v "Counselling" ]
     ] ) ;
     fhir:text [ fhir:v "Counselling" ]
  ] ) ; # 
  fhir:type ( [
     fhir:coding ( [
       a sct:394913002 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "394913002" ] ;
       fhir:display [ fhir:v "Psychotherapy" ]
     ] )
  ] [
     fhir:coding ( [
       a sct:394587001 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "394587001" ] ;
       fhir:display [ fhir:v "Psychiatry" ]
     ] )
  ] ) ; # 
  fhir:specialty ( [
     fhir:coding ( [
       a sct:47505003 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "47505003" ] ;
       fhir:display [ fhir:v "Posttraumatic stress disorder" ]
     ] )
  ] ) ; # 
  fhir:location ( [
     fhir:reference [ fhir:v "Location/1" ]
  ] ) ; # 
  fhir:name [ fhir:v "Consulting psychologists and/or psychology services"] ; # 
  fhir:comment [ fhir:v "Providing Specialist psychology services to the greater Den Burg area, many years of experience dealing with PTSD issues"] ; # 
  fhir:extraDetails [ fhir:v "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."] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "(555) silent" ] ;
       fhir:use [ fhir:v "work" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "directaddress@example.com" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:coverageArea ( [
     fhir:reference [ fhir:v "#DenBurg" ] ;
     fhir:display [ fhir:v "Greater Denburg area" ]
  ] ) ; # 
  fhir:serviceProvisionCode ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/service-provision-conditions"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "cost" ] ;
       fhir:display [ fhir:v "Fees apply" ]
     ] )
  ] ) ; # 
  fhir:eligibility ( [
     fhir:code [
       fhir:coding ( [
         fhir:display [ fhir:v "DVA Required" ]
       ] )
     ] ;
     fhir:comment [ fhir:v "Evidence of application for DVA status may be sufficient for commencing assessment" ]
  ] ) ; # 
  fhir:program ( [
     fhir:text [ fhir:v "PTSD outreach" ]
  ] ) ; # 
  fhir:characteristic ( [
     fhir:coding ( [
       fhir:display [ fhir:v "Wheelchair access" ]
     ] )
  ] ) ; # 
  fhir:referralMethod ( [
     fhir:coding ( [
       fhir:code [ fhir:v "phone" ] ;
       fhir:display [ fhir:v "Phone" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:code [ fhir:v "fax" ] ;
       fhir:display [ fhir:v "Fax" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:code [ fhir:v "elec" ] ;
       fhir:display [ fhir:v "Secure Messaging" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:code [ fhir:v "semail" ] ;
       fhir:display [ fhir:v "Secure Email" ]
     ] )
  ] ) ; # 
  fhir:appointmentRequired [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:availability ( [
     fhir:availableTime ( [
       fhir:daysOfWeek ( [ fhir:v "wed" ] ) ; #   This is a 24 hour service on wednesdays (due to weekly local service needs)  
       fhir:allDay [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:daysOfWeek ( [ fhir:v "mon" ] [ fhir:v "tue" ] [ fhir:v "thu" ] [ fhir:v "fri" ] ) ;
       fhir:availableStartTime [ fhir:v "08:30:00"^^xsd:time ] ;
       fhir:availableEndTime [ fhir:v "05:30:00"^^xsd:time ]
     ] [
       fhir:daysOfWeek ( [ fhir:v "sat" ] [ fhir:v "fri" ] ) ;
       fhir:availableStartTime [ fhir:v "09:30:00"^^xsd:time ] ;
       fhir:availableEndTime [ fhir:v "04:30:00"^^xsd:time ]
     ] ) ;
     fhir:notAvailableTime ( [
       fhir:description [ fhir:v "Christmas/Boxing Day, Reduced capacity is available during the Christmas period" ] ;
       fhir:during [
         fhir:start [ fhir:v "2015-12-25"^^xsd:date ] ;
         fhir:end [ fhir:v "2015-12-26"^^xsd:date ]
       ]
     ] [
       fhir:description [ fhir:v "New Years Day" ] ;
       fhir:during [
         fhir:start [ fhir:v "2016-01-01"^^xsd:date ] ;
         fhir:end [ fhir:v "2016-01-01"^^xsd:date ]
       ]
     ] )
  ] ) ; # 
  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.