diff --git a/package.json b/package.json index 90ec3fe..727a5bf 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "server.js", "scripts": { "start": "node server.js", + "test": "node --test test/", "maint:check": "node scripts/maintenance.js check", "maint:reindex": "node scripts/maintenance.js reindex", "migrate": "node-pg-migrate", diff --git a/public/components/calculators.html b/public/components/calculators.html index 8823e4b..1537e7c 100644 --- a/public/components/calculators.html +++ b/public/components/calculators.html @@ -15,7 +15,52 @@ - + + + + +
+
Age → Weight estimator
+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
Estimator only — copy the weight into whichever calculator you need.
+ + +
+ Weight-estimation formulas +
+
APLS (Luscombe & Owens 2007 / APLS-UK 2016)
+
+ • 0-12 months: (0.5 × age in months) + 4
+ • 1-5 years: (2 × age in years) + 8
+ • 6-12 years: (3 × age in years) + 7 +
+
Best Guess (Tinning & Acworth 2007)
+
+ • 1-11 months: (age in months + 9) / 2
+ • 1-4 years: 2 × (age in years + 5)
+ • 5-14 years: 4 × age in years +
+
Broselow tape (length-based) is most accurate when available.
+
+
@@ -638,38 +683,494 @@ - -