
library. This task library should be built from best-
practice clinical guidelines (Field and Lohr, 1990),
and should vary in scope according to the skills of the
organisation. Tasks are classified according to an in-
formation model of healthcare concepts, so that tasks
to accomplish similar goals are grouped/classified to-
gether. The intention, generic pre-conditions and
generic post-conditions of each task are made explicit
and stored in the task library. Candidates for activ-
ity crediting are then identified by the activity’s path
in the task hierarchy, the activity’s intention, and the
activity’s data pre/post-conditions.
3.1.4 Activity Target Objects
In this section, we introduce the concept of an activity
target object in order, firstly, to support those special
activities in our self-modifying schemas that act on
the workflow schema instance itself to perform cred-
iting, and secondly, to support the necessary temporal
constraints that may be required for crediting.
Workflow models are typically viewed as acting on
a workflow case. Sometimes this case corresponds to
a physical product, such as the production of an air-
craft. Sometimes the case corresponds to a business
service such as an insurance claim, travel booking
or document processing. However, in the healthcare
context, there are often a number of objects, or tar-
gets of a given activity or set of activities that need to
be considered. At the highest level, we are concerned
with providing a healthcare service. The particular
service is often the major objective of the workflow
schema. In this sense, we have two similar process
targets:- the completion of the service, and the im-
proved health of the patient that corresponds to this
service case. The success of the former is often mea-
sured by the quality of service provided, independent
of the patient outcome. The latter is measured by a
change of state of the patient.
However, some parts of the workflow schema may
act on secondary targets. For instance, a patient spec-
imen, preparation of resources such as an operating
theatre, analysis of patient data, analysis of the en-
vironment. An activity could be undertaken which
teaches a carer how to care for a diabetic foot. Here
the target might be regarded as a resource, or even
part of the environment, since the carer may not be a
participant in the usual sense of an initiator of a mod-
elled activity, but merely the recipient of an activity
undertaken by another service provider. Because of
the flexibility required in the healthcare domain, we
even introduce activities that act on the current work-
flow schema itself, in order to adapt the schema for
changed conditions. A corresponding set of state pa-
rameters can be introduced to represent the state of
these different targets at any one time. These are:-
• workflow state, S
W
• patient state, S
P
• environment state, S
E
• resource state, S
R
Workflow state S
W
is further comprised of two com-
ponents,
• control state, S
W c
, representing the workflow be-
haviour, and
• data state, S
W d
The reason for explicitly defining data state, S
W d
is to clearly differentiate information that is a snap-
shot of real, continually changing, physical informa-
tion from the physical information itself. For in-
stance, a patient’s blood pressure continually changes
with time, whereas recorded blood pressure is a dis-
crete set of zero or more values taken at specific in-
stances of time. Theoretically, we can measure a pa-
tient’s blood pressure at any future time t, but we may
only have access to a small set of readings from the
past, and may be unable to determine what the blood
pressure was at any given moment in the past. Thus,
a workflow data variable can be represented by a set
of tuples, where any one s ∈ S
W d
can be expressed
as s = (n, d, a, v
s
, v
e
), where n is the name of the
state variable, d is the data value, a is the workflow
activity that acquired or set this data value, v
s
is the
time at which data value became valid, and v
e
is the
time for which the data value is no longer valid. Thus
v
e
−v
s
represents the validity duration or time-to-live
of the data value. Some temporal databases (Snod-
grass and Ahn, 1985) only capture the start validity
timestamp, assuming that updates to the data variable
will automatically define the end of the previous va-
lidity time. In healthcare, we often have data being
contributed from different sources whereby it is possi-
ble to have overlapping validity timestamps entering a
shared repository. Many temporal databases also cap-
ture transaction time. In the healthcare context, we
assume that all data is implicitely timestamped with
its transaction time as would normally occur in patient
Electronic Health Record (EHR) repositories. Some
EHR-based systems may capture additional metadata
regarding each data variable, such as the accuracy;
the clinician’s confidence in the value; a reference to
the clinician who was responsible for this value of the
data for a given activity.
Thus an activity target object O can be any one ele-
ment of the set {C, P, W, E, R} where C is the work-
flow case, P is the patient, W is the workflow schema,
E is the environment, R is the set of resources in-
volved in the case.
Healthcare activities are often categorised into In-
vestigations/Observations, Evaluations/Assessments
and Interventions/Treatments. From our definitions
of state above, we can say that Investigations mea-
sure patient state (S
P
) in order to change workflow
ACTIVITY CREDITING IN DISTRIBUTED WORKFLOW ENVIRONMENTS
249