27 Commits

Author SHA1 Message Date
ac02222082
Update source statement in footer to match guideline 2025-07-25 20:39:50 +10:00
54ca97aac2
Fix typo in NICE thresholds test case 2025-07-25 20:21:28 +10:00
12b36737e9
Add test cases for RWH 2025-07-25 20:20:36 +10:00
f1041dd171
Implement RWH charts 2025-07-25 20:20:26 +10:00
4820669558
Gradual disclosure for RWH extra questions 2025-07-25 19:47:08 +10:00
54afd196a2
Update to Tailwind CSS 4 2025-07-25 18:33:15 +10:00
267c11e37c
Add placeholder RWH dropdown 2025-07-25 18:22:25 +10:00
39b3131939
Add guideline dropdown box 2025-07-25 18:22:25 +10:00
bdfe972113
Namespace NICE-specific functions 2025-07-25 17:24:16 +10:00
258dfefe2d
Remove stray newline 2024-08-29 15:21:36 +10:00
e016afbf45
Fix Chrome/Edge compatibility
Chrome does not support valueAsDate on datetime-local inputs
2024-08-28 08:58:41 +10:00
4e4248a9ae
Tweak margins of result panel 2024-08-27 18:20:05 +10:00
74ea5172c8
Unit tests for description of bilirubin result 2024-08-27 18:00:37 +10:00
030609b45e
Refactor bilirubin vs threshold calculation 2024-08-27 17:53:55 +10:00
f669061d65
Unit tests for dateToISOStringLocal 2024-08-27 17:44:23 +10:00
4b13e48e9f
Unit tests for bilirubin pretty printing 2024-08-27 17:44:14 +10:00
af54b53fd2
Unit tests for pretty printing ages 2024-08-27 17:36:31 +10:00
8b39e849b1
Round 23.5 hours+ to the next day when pretty printing 2024-08-27 17:36:00 +10:00
9f40645d8a
Refactor age pretty printing 2024-08-27 17:35:25 +10:00
b2f71133ae
Add unit tests for threshold calculations 2024-08-27 17:14:45 +10:00
acb0aeffa8
Limit minimum gestation to 23 weeks as per NICE thresholds 2024-08-27 17:13:23 +10:00
f8e26d4e4d
Refactor code into lib and app 2024-08-27 16:17:45 +10:00
de27115917
Show measurement in tooltip on hover 2024-08-27 11:57:02 +10:00
0a6bbc9980
Add padding 2024-08-27 11:42:44 +10:00
c9f5fd1082
Do not display result if invalid inputs 2024-08-26 18:45:07 +10:00
c1f2b0c908
Auto-fill current time in correct time zone
We cannot use valueAsDate because this converts to UTC which is not desired
2024-08-26 18:36:59 +10:00
3bf624f9dd
Initial commit 2024-08-26 17:36:36 +10:00