Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. 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: Not linked to any 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: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.form [
       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: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: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.contact [
     fhir:index 0;
     fhir:ExtendedContactDetail.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" ]
     ]
  ];
  fhir:HealthcareService.eligibility [
     fhir:index 0;
     fhir:HealthcareService.eligibility.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.display [ fhir:value "DVA Required" ]
       ]
     ];
     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.availability [
     fhir:index 0;
     fhir:Availability.availableTime [
       fhir:index 0;
       fhir:Availability.availableTime.daysOfWeek [
         fhir:value "wed";
         fhir:index 0
       ];
       fhir:Availability.availableTime.allDay [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index 1;
       fhir:Availability.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:Availability.availableTime.availableStartTime [ fhir:value "08:30:00"^^xsd:time ];
       fhir:Availability.availableTime.availableEndTime [ fhir:value "05:30:00"^^xsd:time ]
     ], [
       fhir:index 2;
       fhir:Availability.availableTime.daysOfWeek [
         fhir:value "sat";
         fhir:index 0
       ], [
         fhir:value "fri";
         fhir:index 1
       ];
       fhir:Availability.availableTime.availableStartTime [ fhir:value "09:30:00"^^xsd:time ];
       fhir:Availability.availableTime.availableEndTime [ fhir:value "04:30:00"^^xsd:time ]
     ];
     fhir:Availability.notAvailableTime [
       fhir:index 0;
       fhir:Availability.notAvailableTime.description [ fhir:value "Christmas/Boxing Day, Reduced capacity is available during the Christmas period" ];
       fhir:Availability.notAvailableTime.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:Availability.notAvailableTime.description [ fhir:value "New Years Day" ];
       fhir:Availability.notAvailableTime.during [
         fhir:Period.start [ fhir:value "2016-01-01"^^xsd:date ];
         fhir:Period.end [ fhir:value "2016-01-01"^^xsd:date ]
       ]
     ]
  ];
  fhir:HealthcareService.endpoint [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Endpoint/example" ]
  ]] .

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

[a owl:Ontology;
  owl:imports fhir:fhir.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.