Different individuals manifest infection by the same infectious
agent in different ways. A primary goal of EpiSims is to capture the
dependence of disease manifestation on demographics. To this end, each
person in the population is assigned:
The assignment is consistent with user specified probabilities
conditional on demographics. A variety of assignments may be
produced by varying the random seed. During the course of the
simulation, each location (at the finest resolution simulated) is also
associated with a disease state. Some aspects of a location's disease
state may be modified by exogenous events created by the user (e.g.
contamination, decontamination); others reflect transmission dynamics
internal to the simulation.
In addition to the conditional probabilities for the assignments
described above, the user must also specify the following:
Planned
implementation of Disease
Manifestations
Each possible Disease Manifestation must be specified by the user prior
to using EpiSims. A Disease Manifestation is a Markov Chain consisting
of a finite set of Disease States together with transition
probabilities among them and a distribution of residence times in each
state. Most Disease States are associated with values for the following
attributes relevant to the spread of disease:
- prodrome (non-specific symptoms, easily mis-diagnosed)
- symptoms (depending on thresholds)
- infectivity (capable of transmitting disease -
may also
represent contamination)
- incapacitation (cannot perform some activity -
distinct from
symptoms)
The value of some
attributes affects the dynamics of disease
transmission directly. For example, infectivity is related to the
probability
of transmission as explained
below.
Others may affect
the behaviour of an infected person:
symptom levels reflect the severity of symptoms, the likelihood
of health-care-seeking behaviour, and the likelihood of correct
diagnosis; the degree of incapacitation affects
whether a person stays home from work, shopping,
or other activities. Detailed interpretation of these attributes is
provided
below.
In addition to these attributes, the user can assign each state a
unique name. Simulation outputs and analysis tools will refer to
states by this name.
Note that the Disease State does not contain a "recovered" attribute.
The simulation
maintains information about each person's history, including whether an
individual has ever been infected and whether he or she is currently
infected.
These can be combined into the notion of "recovered".
Alternatively, it is possible to specify a transition from one Disease
Manifestation to another upon "recovery". That is, a person who has
contracted the disease and recovered may have a different reaction the
next time.
As mentioned above, the finest resolution of location also includes a
form of Disease State. A location's Disease State contains enough
information to represent contamination. Thus, at least the
"infectivity" attribute of a Location's Disease State should be
maintained, although other attributes are ill defined. Possibly, the
"symptom" attribute could be used to specify whether contamination
could be detected. Note that, unlike a person's Disease State, a
Location will probably cycle through many infections in the course of
the simulation. Whenever an infectious person is present, the Location
will become contaminated. This contamination may decay quickly if the
residence time in the infected state specified by the user is short.
Residence Times
Every Disease State except the special
dead and
uninfected
states is associated with a probability distribution of residence
times. The user may choose from a predetermined set of distributions
and assign any necessary parameters.
State Transitions
The user may specify an arbitrary number of transitions out of each
Disease State into others. Associated with each transition is a
probability. Optionally, each transition may also be associated with a
set of Treatment Ids. When a person leaves a Disease State, she or
he will pick a new state from among those whose transitions are
labelled with the person's treatment id, with
Planned
Implementation of Disease
Transmission
A transmission rate function returns the (baseline) probability of a
person's becoming infected per minute of contact as a function of
his/her
disease transmission type and the type of an infectious person at the
same location. That is, if exactly one susceptible of
transmission type
j
and one infectious person transmission type
k have
been in a work location for one minute, the base probability that the
susceptible has become infected is given by
work(j,k)
. The susceptible or infectious "person" may in fact be a location.
Note that the transmission rate function need not be symmetric between
susceptible and infective, and that
it may be activity specific.
Planned
Adjustments to
Transmission Rates
The reason
the probability returned by the transmission rate function is called a
"baseline" is that it is further
adjusted
by duration of contact, number of
people in the location, infectivity, and susceptibility.
Duration of Contact
If more or less time than one minute has passed, the probability is
adjusted as for a Poisson process, using the survival rate and assuming
the probability of infection in each time interval is
independent. Thus if the base probability for infection per minute is
p,
the probability in
t time units is
1 - (1-p)t.
Number of People Present
If more than one infective is present, the probability is
scaled under the assumption that each infective spreads disease
independently. Thus if there are
Ni
infectives of transmission type
i, with probability of
transmission
pi, the overall
probability of transmission in time
t will be
1 -
exp{t Σ
i Ni ln(1-pi)}.
If
M
susceptibles are present, we divide the probability of
transmission by the scale factor M
α, where α is a
user specified scale factor. Each susceptible present undergoes a
Bernoulli trial with the probability relevant to that person.
Infectivity and
Susceptibility
If the infective has infectivity
r, and the susceptible
has susceptibility
s, the base transmission probability is
adjusted to be
srρ
work(j,k).
The user should ensure that all possible resulting probabilities
are less than unity.
Taking into account the different levels of infectivity associated with
each Disease State, if there are
nk,r infectious
people of type
k with infectivity
r, then the
probability of infecting a single susceptible of type
j in
time
t would be
p(t) = 1 - exp [t Σ
types k Σ
infectivity
r nk,r ln(1 - rρ
work(j,k)
j)].
Total probability
of transmission
Putting everything together, the probability of infecting a person of
transmission type
j with susceptibility
s in a
location with activity type
a with
M
susceptibles and
nk,l infectious people of type
k
with infectivity
r during a time
t, subject to
user specified scaling in susceptibles α, is:
pj,s(t) = {1 - exp [t Σ
types k Σ
infectivity
r nk,r ln(1 - rsa(j,k)]}/
M
Planned
Disease
Manifestation Constraints
There is a single consistency constraint on allowed values of
attributes
for a Disease State: non-zero incapacitation implies non-zero prodrome
or symptoms.
In particular, the following constraints are
NOT imposed:
- infectious => symptomatic or prodromal
- dead => uninfectious (corpses can be hazardous)
In addition, the transition probabilities for each state must sum to
unity by Treatment Id.
Planned
Implementation of Behavioural
Thresholds
Some actions taken at run time during the simulation depend on
thresholds set by the user. For example, when a person becomes
incapacitated, he or she will skip some normal activities. Which
activities are skipped depends on the value of the person's
incapacitation versus user specified thresholds. Similarly, symptomatic
people may be mis-diagnosed if their level of symptoms is not above a
user specified threshold. Also, symptomatic people may seek
over-the-counter remedies or emergency care as the level of their
symptoms rises. The user may specify a threshold value for
incapacitated for staying home from any of the defined activity types.
Furthermore, the user may specify any of the following thresholds for
the symptomatic and prodrome attributes:
- seek over-the-counter remedies
- seek treatment at hospital/clinic
- be readily diagnosed by trained physician, lab test, etc.
- be readily diagnosed by casual observer (or contact tracer)
The user may specify two sets of thresholds – when more than a
user specified number of people have been diagnosed with the disease
the second set of thresholds will be used. This allows for the
increased likelihood of correct diagnosis when the disease is known to
be present in the community.
Planned
Implementation of Prophylaxis
and Treatment
Prophylaxis (before infection) is modelled by changing the person's
susceptibility. The user must specify a distribution of
susceptibilities to use. As usual, this distribution may be conditioned
on people's demographics. The variability in susceptibility
post-prophylaxis allows one to model variable efficacy.
During the course of the simulation, an individual may seek treatment
as described above. Availability of treatment is constrained by the
simulation based on available resources (in an as-yet-to-be-determined
way) and on level of symptoms (also to be determined). The simulation
will determine whether each individual seeking treatment receives it,
and also what kind of treatment is given. Examples of possible
treatments might include:
- over-the-counter drugs
- anti-virals
- vaccinations
- antibiotics
- ventilators
- hospitalization
- morgue
The effect of
treatment (after
infection) is specified by the user in the Disease Manifestation Model.
Each state transition may be labelled with a set of Treatment Ids.
If
it is not labelled, the transition is available to any individual. A
labelled transition is only available to individuals who have received
treatment at one of the ids included in the set.