/
Opening Hours: FHIR formatting

Opening Hours: FHIR formatting

Introduction

FHIR Opening Hours provide a standardized structured way to represent the opening hours of organization Unit / healthcare entity / Location. This feature allows provider, patients and others to access and exchange information about when the facility will open or close. Opening hours in FHIR are designed to accommodate the complex and varied schedules of healthcare facilities. Whether it’s hospital with round-the-clock services, a clinic with specific working hours or a pharmacy operating only during weekends, FHIR Opening Hours can represent these different scenarios accurately. This flexibility ensures that healthcare professionals and patients can easily access up-to-date information about the availability of services and plan and schedule their visit accordingly.

Example Schema

{ "resourceType": "Location", ..., "hoursOfOperation": [ { "daysOfWeek": ["<code"], //mon | tue | wed | thu | fri | sat | sun "allDay": <boolean>, // Always available ? 24 hrs service "openingTime": "<time>", //Opening time of day (ignored if allDay = true) "closingTime": "<time>", //Closing time of day (ignored if allDay = true) } ] }

 

Example Scenarios

The schema is flexible enough to accommodate different scenarios where the hours of operation might be different. We are discussion some of these below:

1. Location have different hours of operation on weekdays and weekends

{ "resourceType": "Location", "id": "example-location", "status": "active", "name": "Example Hospital", "hoursOfOperation": [ { "daysOfWeek": [ "mon", "tue", "wed", "thu", "fri" ], "allDay": false, "openingTime": "08:00:00", "closingTime": "17:00:00" }, { "daysOfWeek": [ "sat", "sun" ], "allDay": false, "openingTime": "09:00:00", "closingTime": "13:00:00" } ] }

2. Location is open 24/7

{ "resourceType": "Location", "id": "example-location", "status": "active", "name": "Example Hospital", "hoursOfOperation": [ { "daysOfWeek": [ "mon", "tue", "wed", "thu", "fri", "sat", "sun" ], "allDay": true } ] }

3. Location is opening every morning and evening

4. Location has different hours of operation for different services offered

 

5. Hours of operation specific to a Practitioner or Group of Practitioners

Note: if you have different scenarios that are not covered here, Please let us know.

Related content