Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Healthcareservice-example.ttl

Example HealthcareService/example (Turtle)

Maturity Level : N/A
Responsible Owner: Patient Administration Work Group Standards Status : Informative Compartments : Not linked to any 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 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/HealthcareService/example> a fhir:HealthcareService;
  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			25 Dec 2013 9:15am - 9:30am: <b>Busy</b> Physiotherapy\n		</div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Location;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "DenBurg" ];
     fhir:Location.description [ fhir:value "Greater Denburg area" ];
     fhir:Location.mode [ fhir:value "instance" ];
     fhir:Location.physicalType [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "area" ];
         fhir:Coding.display [ fhir:value "Area" ]
       ]
     ]
  ];
  fhir:HealthcareService.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://example.org/shared-ids" ];
     fhir:Identifier.value [ fhir:value "HS-12" ]
  ];
  fhir:HealthcareService.active [ fhir:value "true"^^xsd:boolean];
  fhir:HealthcareService.providedBy [
     fhir:link <http://hl7.org/fhir/Organization/f001>;
     fhir:Reference.reference [ fhir:value "Organization/f001" ];
     fhir:Reference.display [ fhir:value "Burgers University Medical Center" ]
  ];
  fhir:HealthcareService.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/service-category" ];
       fhir:Coding.code [ fhir:value "8" ];
       fhir:Coding.display [ fhir:value "Counselling" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Counselling" ]
  ];
  fhir:HealthcareService.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:394913002;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "394913002" ];
       fhir:Coding.display [ fhir:value "Psychotherapy" ]
     ]
  ], [
     fhir:index 1;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:394587001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "394587001" ];
       fhir:Coding.display [ fhir:value "Psychiatry" ]
     ]
  ];
  fhir:HealthcareService.specialty [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:47505003;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "47505003" ];
       fhir:Coding.display [ fhir:value "Posttraumatic stress disorder" ]
     ]
  ];
  fhir:HealthcareService.location [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Location/1>;
     fhir:Reference.reference [ fhir:value "Location/1" ]
  ];
  fhir:HealthcareService.name [ fhir:value "Consulting psychologists and/or psychology services"];
  fhir:HealthcareService.comment [ fhir:value "Providing Specialist psychology services to the greater Den Burg area, many years of experience dealing with PTSD issues"];
  fhir:HealthcareService.extraDetails [ fhir:value "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:HealthcareService.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(555) silent" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "directaddress@example.com" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:HealthcareService.coverageArea [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#DenBurg" ];
     fhir:Reference.display [ fhir:value "Greater Denburg area" ]
  ];
  fhir:HealthcareService.serviceProvisionCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/service-provision-conditions" ];
       fhir:Coding.code [ fhir:value "cost" ];
       fhir:Coding.display [ fhir:value "Fees apply" ]

<http://hl7.org/fhir/HealthcareService/example> a fhir:HealthcareService ;
  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			25 Dec 2013 9:15am - 9:30am: <b>Busy</b> Physiotherapy\n		</div>"^^rdf:XMLLiteral ]
  ] ; # 
  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:HealthcareService.eligibility [
     fhir:index 0;
     fhir:HealthcareService.eligibility.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.display [ fhir:value "DVA Required" ]

  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/shared-ids"^^xsd:anyURI ;
       fhir:l <http://example.org/shared-ids>
     ] ;
     fhir:value [ fhir:v "HS-12" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:providedBy [
     fhir:l <http://hl7.org/fhir/Organization/f001> ;
     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:l <http://terminology.hl7.org/CodeSystem/service-category>
       ] ;
       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:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "394913002" ] ;
       fhir:display [ fhir:v "Psychotherapy (specialty)" ]
     ] )
  ] [
     fhir:coding ( [
       a sct:394587001 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       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:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "47505003" ] ;
       fhir:display [ fhir:v "Posttraumatic stress disorder" ]
     ] )
  ] ) ; # 
  fhir:location ( [
     fhir:l <http://hl7.org/fhir/Location/1> ;
     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:l <#DenBurg> ;
     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:l <http://terminology.hl7.org/CodeSystem/service-provision-conditions>
       ] ;
       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] ; # 
  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 ]
     ] [
       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:HealthcareService.eligibility.comment [ fhir:value "Evidence of application for DVA status may be sufficient for commencing assessment" ]
  ];
  fhir:HealthcareService.program [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "PTSD outreach" ]
  ];
  fhir:HealthcareService.characteristic [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.display [ fhir:value "Wheelchair access" ]
     ]
  ];
  fhir:HealthcareService.referralMethod [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "phone" ];
       fhir:Coding.display [ fhir:value "Phone" ]
     ]
  ], [
     fhir:index 1;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "fax" ];
       fhir:Coding.display [ fhir:value "Fax" ]
     ]
  ], [
     fhir:index 2;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "elec" ];
       fhir:Coding.display [ fhir:value "Secure Messaging" ]
     ]
  ], [
     fhir:index 3;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "semail" ];
       fhir:Coding.display [ fhir:value "Secure Email" ]
     ]
  ];
  fhir:HealthcareService.appointmentRequired [ fhir:value "false"^^xsd:boolean];
  fhir:HealthcareService.availableTime [
     fhir:index 0;
     fhir:HealthcareService.availableTime.daysOfWeek [
       fhir:value "wed";
       fhir:index 0
     ];
     fhir:HealthcareService.availableTime.allDay [ fhir:value "true"^^xsd:boolean ]
  ], [
     fhir:index 1;
     fhir:HealthcareService.availableTime.daysOfWeek [
       fhir:value "mon";
       fhir:index 0
     ], [
       fhir:value "tue";
       fhir:index 1
     ], [
       fhir:value "thu";
       fhir:index 2
     ], [
       fhir:value "fri";
       fhir:index 3
     ];
     fhir:HealthcareService.availableTime.availableStartTime [ fhir:value "08:30:00"^^xsd:time ];
     fhir:HealthcareService.availableTime.availableEndTime [ fhir:value "05:30:00"^^xsd:time ]
  ], [
     fhir:index 2;
     fhir:HealthcareService.availableTime.daysOfWeek [
       fhir:value "sat";
       fhir:index 0
     ], [
       fhir:value "fri";
       fhir:index 1
     ];
     fhir:HealthcareService.availableTime.availableStartTime [ fhir:value "09:30:00"^^xsd:time ];
     fhir:HealthcareService.availableTime.availableEndTime [ fhir:value "04:30:00"^^xsd:time ]
  ];
  fhir:HealthcareService.notAvailable [
     fhir:index 0;
     fhir:HealthcareService.notAvailable.description [ fhir:value "Christmas/Boxing Day" ];
     fhir:HealthcareService.notAvailable.during [
       fhir:Period.start [ fhir:value "2015-12-25"^^xsd:date ];
       fhir:Period.end [ fhir:value "2015-12-26"^^xsd:date ]
     ]
  ], [
     fhir:index 1;
     fhir:HealthcareService.notAvailable.description [ fhir:value "New Years Day" ];
     fhir:HealthcareService.notAvailable.during [
       fhir:Period.start [ fhir:value "2016-01-01"^^xsd:date ];
       fhir:Period.end [ fhir:value "2016-01-01"^^xsd:date ]
     ]
  ];
  fhir:HealthcareService.availabilityExceptions [ fhir:value "Reduced capacity is available during the Christmas period"];
  fhir:HealthcareService.endpoint [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Endpoint/example>;
     fhir:Reference.reference [ fhir:value "Endpoint/example" ]
  ] .

     ] [
       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: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/Organization/f001> a fhir:Organization .

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

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

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

<http://hl7.org/fhir/HealthcareService/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/HealthcareService/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.