# Functions
NewEventStream creates a new EventStream for the given patient, initialized to 0 events.
NewNotApplicableError returns a new NotApplicableError with the given message.
NewPie constructs a new pie for the given patient, sets the Create time to now, and generates a new ID.
SortEventsByDate sorts the events by their date.
SortResultsByAsOfDate sorts the results by their as-of date.
# Structs
Event represents an event that may be of importance to a risk calculation.
EventStream represents a patient and an ordered stream of events.
NotApplicableError indicates that the given algorithm is not applicable for the requested patient.
Pie represents the chart in Intervention Engine.
RiskServiceCalculationResult represents risk assessment info for a given point in time.
RiskServicePluginConfig represents key information about the risk service plugin.
Slice represents a component that factors into the overall risk assessment algorithm.
# Interfaces
RiskServicePlugin provides the interface that risk service plugins should adhere to.