XML Modeling

From SRASWiki

Jump to: navigation, search

Contents

Senario

XML attribute Purpose Sample data
title Name of senario "Monday"
timeUnit The name of the units of time "minute", "week"
simDuration the number of timeUnits in a simulation "1440" (minutes in a day)

Event

XML attribute Purpose Sample data
title The (brief) title

in the form (adverb) verb (adjective) noun

"wants coffee"
description A longer description "This person would like a cup of coffee"
duration the amount of timeUnits the event takes to fulfill "5"
eventId a unique id for each event This id is not entered by the user, but by the software

"0"

Child

XML attribute Purpose Sample data
triggerTermination What termination would trigger the spawn event "EXPIRED" or "COMPLETED"
triggerSuitability
xyz

resources

XML attribute Purpose Sample data
title Name of senario "Monday"

Event Trump Card

XML attribute Purpose Sample data
eTrumpID Unique ID "01"
cardinality How many events the trump can be played on "Single", "Multiple"
patientID Which patient it can apply to "10"
tStart Start time it can be invoked "970"
tEnd End time it can be invoked. "1120"
duration How long the card lasts "10"

Resource Trump Card

Ranking

Events require a certain minimum Role. Some Roles outrank other roles. This information is held in the rankings section.

for example: <TRAINEENURSE> <NURSE> <STAFFNURSE/> </TRAINEENURSE> <nowiki> means that when TRAINEENURSE is required, NURSE or STAFFNURSE is an acceptable substitution

XML attribute Purpose Sample data
rTrumpID Unique ID "01"
resourceID ID of the staff that are made available "10", "11"
tStart Start time it can be invoked "970"
tEnd End time it can be invoked. "1120"
duration How long the card lasts "10"
Personal tools