the patient’s illness trajectory, improving the quality
of the information exchanged in shift handoffs and
patient handovers, enabling activity- and time-related
information retrieval and coordinating collaborative
tasks (as e.g., order handling). Accordingly in our
case study, we conceived of any single form, record or
document used to enter and retrieve clinical data from
the patient record (e.g., a therapy prescription sheet)
as a single AD that is endowed by local behaviors and
is bound to other ADs by means of reactive mecha-
nisms that characterize a specific WoAD. In what fol-
lows, we consider in some more details both the pas-
sive part of ADs (i.e., didgets and templates in Sec-
tion 2.1) and their active parts (i.e., mechanisms, in
Section 2.2).
2.1 Didgets and Templates
With reference to Figure 3, in WOAD, each document
is composed by: i) a set of didgets that are spatially ar-
ranged according to a specific document template (see
’Document Template’ in Figure 2); ii) sets of data i.e.,
the document content, that are associated with the did-
gets contained in the template (see ’Didget Content’
in Figure 2).
A didget is defined as a coherent group of form
elements, e.g., input fields, iconic elements, buttons,
that can be positioned in one or more documents of
a WoAD. These elements are gathered together at de-
sign time because they relate to either the same ab-
stract data type (e.g., the patient), the same work ac-
tivity (e.g., drug prescription), or even the same por-
tion of a paper-based artifact, e.g., a table in a record.
Each didget is defined in terms of i) a content
model (i.e., data types, constraints, ranges), ii) a lay-
out model (i.e., how it is displayed at the user in-
terface in default of other information) and iii) a set
of rendering functions, i.e., executable code that can
be interpreted by a client application (e.g., a web
browser) to change how the didget’s elements and
data are displayed. These models build up what we
call a didget schema (see Figure 2). Users can place
a didget (schema) in any position of a document tem-
plate and thus create a structure of that didget (see
Figure 3). A didget structure can be reused in any
other document of the same WoAD, so that it consti-
tutes a sort of distributed “entry point” to the same
set of data (i.e., the content of the same didget struc-
ture). When a user puts a didget structure in a cer-
tain position of a document template, she can specify
whether the associated group of elements must appear
only once in the document (and exactly there) or if
users can add more (didget) content (see Figure 2) in
that structure in tight succession (much like multiple
rows in a table) to allow for extemporaneous needs
for additional room for data that are not predictable
at document design time. For instance, a template of
the Anamnesis form can contain a didget to record the
examinations previously undertaken by the patient. If
the didget has been defined as “multiple”, this means
that if a physician needs to record more than one ex-
amination for a patient into an Anamnesis form doc-
ument, she can add how many rows (i.e., examina-
tions) she needs and all of them will be stored into
the didget. Didgets hold all the data that users feed
into them into a permanent memory, time-stamp these
data, allow to distinguish between (logically) elimi-
nated, provisional and consolidated data and display
these latter data in a last-in-first-out fashion: in this
way, users can get access to the whole history of data
imputation for any single didget.
Users can create the templates they need by means
of the AD Template Editor (ADTE). This is an edi-
tor intended to enable users to create document tem-
plates through a graphical interface by picking up spe-
cific didget schema from a palette of predefined ones
and placing them in the draft template in a what-you-
see-is-what-you-get manner. Didget schemas can be
domain-independent (e.g., regular text-boxes, check-
boxes, identification fields) or domain-dependent,
e.g., a group of data fields that is related to the iden-
tification of patients, or related to drug prescription,
like drug name, dosage, administration way and the
like. Domain-dependent didget schemas are usually
defined by business analysts in cooperation with ex-
pert users of the application field and made avail-
able to users by a standard palette in the ADTE. The
ADTE also provides a second palette containing the
didget structures that have already been created in the
same WoAD. Users can use this palette in order to
reuse the same didgets in different templates. More-
over, users can use the ADTE to define new didget
schemas in terms of both the content model (e.g., data
fields with their type) and the layout model, i.e., its
visual aspect. In addition, the ADTE allows to de-
fine the specific rendering procedures of a didget (see
c in Figure 3) in terms of Javascript functions, which
can affect user interaction with the single didget in
each document embedding it by enabling advanced
features of text formatting and document rendering.
For instance, for a certain didget, users can define a
rendering procedure that displays a balloon contain-
ing some information regarding a specified field of the
didget (the purpose of these procedures will be clear
after reading Section 2.2).
Once a template has been defined, users can be-
gin use the documents that are built on that template.
In fact, a WOAD document is generated by coupling
HEALTHINF 2010 - International Conference on Health Informatics
48