Skip to main content

ActivityWorkItem

Subtype of tour work item, representing a single activity

type ActivityWorkItem implements TourWorkItem, WorkItem {
activity: String!
comments: [Comment!]!
description: String
deviations: [Deviation!]!
estimatedEnd: Time
estimatedStart: Time
id: TourWorkItemID!
location: Geolocation
origin: TourEntry
reason: String
referenceValue: Int!
requiredQualification: Qualification!
state: WorkItemState!
timeOfDay: TimeOfDayType!
tour: ActiveTour!
}

Fields

ActivityWorkItem.activity ● String! non-null scalar

The name of the activity. E.g. "Communication", "Meeting" ...

ActivityWorkItem.comments ● [Comment!]! non-null object

List of additional comments by the employees.

ActivityWorkItem.description ● String scalar

Optional description made by a PDL.

ActivityWorkItem.deviations ● [Deviation!]! non-null enum

Shows all possible deviations, if available

ActivityWorkItem.estimatedEnd ● Time scalar

Estimated end time

ActivityWorkItem.estimatedStart ● Time scalar

Estimated start time

ActivityWorkItem.id ● TourWorkItemID! non-null scalar

The unique identifier

ActivityWorkItem.location ● Geolocation object

The location this activity takes place. If location is null, the activity takes place at the care facility.

ActivityWorkItem.origin ● TourEntry interface

Connection to the original tour entry (source).

ActivityWorkItem.reason ● String scalar

Reason why this work item is rejected. Only available if state is REJECTED.

ActivityWorkItem.referenceValue ● Int! non-null scalar

Reference value of the Benefit in minutes, up to 3 digits. Shows the average execution time of the Benefit

ActivityWorkItem.requiredQualification ● Qualification! non-null scalar

Required qualification for the activity work item

ActivityWorkItem.state ● WorkItemState! non-null enum

Current state of the work item.

ActivityWorkItem.timeOfDay ● TimeOfDayType! non-null enum

The time of the day this work items is planned for.

ActivityWorkItem.tour ● ActiveTour! non-null object

The tour this work item belongs to.

Interfaces

TourWorkItem interface

Represents a single tour work item

WorkItem interface

Work items are tasks an employee can perform during his shift.

Currently it's implemented by

  • ActivityWorkItem
  • ClientPoolWorkItem
  • SingleClientWorkItem which have the following sub tasks:
  • BenefitWorkItem
  • ClientWorkItem