dynamic data values
The Head Injury guideline includes time of injury and time of assessment data definitions. In Tallis they are set up as times that default to 06:00 and 10:00. In proformajs the Date class of data definitions is sufficient1 to model these attributes, however there is no way to set the default times automatically. It would be great to allow expressions as default values so that we could use expressions like now().add(-4, 'hours')
for the purposes of demonstration.
-
arguably this approach is an improvement as the date is explicitly linked to the time though it's not as straightforward.
↩
Edited by Matt South