Add jxpath function for active patient alerts

Description

Add a patient:alerts(patient) function that returns active alerts for a patient ordered on ascending start time.
Active alerts are those that are IN_PROGRESS with a start time <= now and a null end time or end time >= now

Environment

None

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Priority

Minor
Configure