cardea.fhir.Slot

class cardea.fhir.Slot(dict_values=None)

A slot of time on a schedule that may be available for booking appointments.

Parameters
  • resourceType – This is a Slot resource

  • identifier – External Ids for this item.

  • serviceCategory – A broad categorisation of the service that is to be performed during this appointment.

  • serviceType – The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource.

  • specialty – The specialty of a practitioner that would be required to perform the service requested in this appointment.

  • appointmentType – The style of appointment or patient that may be booked in the slot (not service type).

  • schedule – The schedule resource that this slot defines an interval of status information.

  • status – busy | free | busy-unavailable | busy-tentative | entered-in-error.

  • start – Date/Time that the slot is to begin.

  • end – Date/Time that the slot is to conclude.

  • overbooked – This slot has already been overbooked, appointments are unlikely to be accepted for this time.

  • comment – Comments on the slot to describe any extended information. Such as custom constraints on the slot.

__init__(dict_values=None)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([dict_values])

Initialize self.

assert_type()

Checks class values follow set possible enumerations.

get_dataframe()

Returns dataframe from class attribute values.

get_eligible_relationships()

Returns class relationships for attributes that are used.

get_id()

Returns fhir class identifier.

get_relationships()

Returns class relationships.

set_attributes(dict_values)

Sets values to class attributes.