Session Ready
Exercise

Specialization of resources

In the following exercises, we will look at the employees working in a hospital which are treating patients with Sepsis, a life-threatening condition caused by an infection. Treating these patients is of the utmost importance. Let's see how tasks are divided. The event data is preloaded and called sepsis.

Firstly, we will calculate some process metrics. A process metric is a function which quantifies a certain aspect of the process, like resource_frequency(). It can do this at different levels of granularity, of which there are 6 possibilities in total: "log", "case", "trace", "activity", "resource", and "resource-activity".

There are 3 different metrics relevant for resources: In this exercise we will look at resource frequency.

Instructions 1/3
undefined XP
  • 1

    How many resources are there? Do they all perform the same amount of work?

    • Use the resource_frequency() metric with level = "resource".
    • Look at the results. Which resource performed the most activities?
    • 2

      Some activities will be performed by multiple employees, and others by only one. For each activity, can you calculate how many resources are performing it?

      • Change the level of granularity to look at activities.
      • Look at the results. Which activity was performed by the most resources?
    • 3

      Finally, let's see whether some resources specialize in certain activities. Can you calculate which resources perform which activity?

      • Change the level of granularity to look at resources and activities together.
      • Look at the results. Which resource-activity combination occurs most?