cardea.fhir.Schedule

class cardea.fhir.Schedule(dict_values=None)

A container for slots of time that may be available for booking appointments.

Parameters
  • resourceType – This is a Schedule resource

  • identifier – External Ids for this item.

  • active – Whether this schedule record is in active use, or should not be used (such as was entered in error).

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

  • serviceType – The specific service that is to be performed during this appointment.

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

  • actor – The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, PractitionerRole, Device, Patient or RelatedPerson.

  • planningHorizon – The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization’s planning horizon; the interval for which they are currently accepting appointments. This does not define a “template” for planning outside these dates.

  • comment – Comments on the availability to describe any extended information. Such as custom constraints on the slots that may be associated.

__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.