scheduler startcase - part-cw/lambdanative GitHub Wiki

(scheduler-startcase store name)

scheduler-startcase marks the beginning of a patient case.

Note: If this is not called plugins won't run as their main function will not be executed!

Parameter Description
store Store name
name Case name string, e.g. "Case104" or a "20130806_2122"

Example

Example 1: Initialize a trendoutput plugin to save the store values of variables "HR" "SP" and "SQI" into the Trends file. This example assumes that the trendoutput plugin is included in the application's PLUGINS file.

(set! store (make-store "store"))
(scheduler-startcase store (time->timestamp (current-time)))
(make-instance store "TRENDOUT" "trendoutput" '("Trends" ("HR" "SP" "SQI")))
(scheduler-init)