Availability
Based on the FHIR-model for Availability.
| Name | Type | Description | Merknader |
|---|---|---|---|
| availableTime | object | Information on the available hours for the location/healthcare service | |
| notAvailableTime | object | Information on when the location/healtchare service is not available, for instance on weekends and holidays |
JSON structure
{
// from Element: extension
"availableTime" : [{ // Times the {item} is available
"daysOfWeek" : ["<code>"], // mon | tue | wed | thu | fri | sat | sun
"allDay" : <boolean>, // Always available? i.e. 24 hour service
"availableStartTime" : "<time>", // Opening time of day (ignored if allDay = true)
"availableEndTime" : "<time>" // Closing time of day (ignored if allDay = true)
}],
"notAvailableTime" : [{ // Not available during this time due to provided reason
"description" : "<string>", // Reason presented to the user explaining why time not available
"during" : {
"start" : "<dateTime>", // Starting time with inclusive boundary
"end" : "<dateTime>" // End time with inclusive boundary, if not ongoing
} // Service not available during this period
}]
}