Synthetic data only. Hours and ratios describe the timecards and census in the file, not any real hospital. Ratios are checked against a policy you set, not any state law. Flags are for review.
HPPD is productive RN, LPN and CNA hours over patient days (each shift's census counts half a day). Unit clerks are left out.
| Unit | Shift | Month | Shifts | Patient days | Hours | HPPD | Target | Gap |
|---|---|---|---|---|---|---|---|---|
| 4W | All | All | 302 | 4,029.5 | 27,512.6 | 6.83 | 7.10 | -3.8% |
| 4W | Day | All | 151 | 2,028.0 | 14,568.7 | 7.18 | 7.10 | +1.2% |
| 4W | Night | All | 151 | 2,001.5 | 12,943.9 | 6.47 | 7.10 | -8.9% |
| ICU | All | All | 301 | 1,449.0 | 15,496.4 | 10.69 | 11.00 | -2.8% |
| ICU | Day | All | 150 | 727.5 | 7,777.2 | 10.69 | 11.00 | -2.8% |
| ICU | Night | All | 151 | 721.5 | 7,719.1 | 10.70 | 11.00 | -2.7% |
| TELE | All | All | 306 | 3,184.0 | 24,951.2 | 7.84 | 8.00 | -2.0% |
| TELE | Day | All | 153 | 1,596.5 | 12,493.7 | 7.83 | 8.00 | -2.2% |
| TELE | Night | All | 153 | 1,587.5 | 12,457.5 | 7.85 | 8.00 | -1.9% |
| ORTH | All | All | 302 | 2,522.5 | 17,171.3 | 6.81 | 6.60 | +3.1% |
| ORTH | Day | All | 151 | 1,271.0 | 8,724.6 | 6.86 | 6.60 | +4.0% |
| ORTH | Night | All | 151 | 1,251.5 | 8,446.8 | 6.75 | 6.60 | +2.3% |
| Unit | Shift | Month | HPPD | Target | Gap |
|---|---|---|---|---|---|
| 4W | Day | 2026-07 | 7.20 | 7.10 | +1.3% |
| 4W | Day | 2026-08 | 7.15 | 7.10 | +0.7% |
| 4W | Day | 2026-09 | 7.18 | 7.10 | +1.2% |
| 4W | Day | 2026-10 | 7.14 | 7.10 | +0.5% |
| 4W | Day | 2026-11 | 7.26 | 7.10 | +2.2% |
| 4W | Night | 2026-07 | 6.98 | 7.10 | -1.6% |
| 4W | Night | 2026-08 | 6.84 | 7.10 | -3.6% |
| 4W | Night | 2026-09 | 6.50 | 7.10 | -8.5% |
| 4W | Night | 2026-10 | 6.01 | 7.10 | -15.3% |
| 4W | Night | 2026-11 | 5.96 | 7.10 | -16.1% |
| ICU | Day | 2026-07 | 10.74 | 11.00 | -2.3% |
| ICU | Day | 2026-08 | 10.27 | 11.00 | -6.7% |
| ICU | Day | 2026-09 | 10.68 | 11.00 | -2.9% |
| ICU | Day | 2026-10 | 11.25 | 11.00 | +2.3% |
| ICU | Day | 2026-11 | 10.48 | 11.00 | -4.8% |
| ICU | Night | 2026-07 | 10.77 | 11.00 | -2.1% |
| ICU | Night | 2026-08 | 10.44 | 11.00 | -5.1% |
| ICU | Night | 2026-09 | 10.75 | 11.00 | -2.3% |
| ICU | Night | 2026-10 | 10.76 | 11.00 | -2.2% |
| ICU | Night | 2026-11 | 10.80 | 11.00 | -1.9% |
| TELE | Day | 2026-07 | 7.89 | 8.00 | -1.4% |
| TELE | Day | 2026-08 | 7.74 | 8.00 | -3.3% |
| TELE | Day | 2026-09 | 7.93 | 8.00 | -0.9% |
| TELE | Day | 2026-10 | 7.82 | 8.00 | -2.3% |
| TELE | Day | 2026-11 | 7.76 | 8.00 | -3.0% |
| TELE | Night | 2026-07 | 7.77 | 8.00 | -2.9% |
| TELE | Night | 2026-08 | 7.73 | 8.00 | -3.4% |
| TELE | Night | 2026-09 | 7.98 | 8.00 | -0.2% |
| TELE | Night | 2026-10 | 7.91 | 8.00 | -1.1% |
| TELE | Night | 2026-11 | 7.85 | 8.00 | -1.9% |
| ORTH | Day | 2026-07 | 6.75 | 6.60 | +2.3% |
| ORTH | Day | 2026-08 | 6.81 | 6.60 | +3.1% |
| ORTH | Day | 2026-09 | 7.00 | 6.60 | +6.0% |
| ORTH | Day | 2026-10 | 6.90 | 6.60 | +4.5% |
| ORTH | Day | 2026-11 | 6.88 | 6.60 | +4.2% |
| ORTH | Night | 2026-07 | 6.72 | 6.60 | +1.9% |
| ORTH | Night | 2026-08 | 6.95 | 6.60 | +5.2% |
| ORTH | Night | 2026-09 | 6.75 | 6.60 | +2.3% |
| ORTH | Night | 2026-10 | 6.79 | 6.60 | +2.9% |
| ORTH | Night | 2026-11 | 6.51 | 6.60 | -1.3% |
Agency and traveler hours are counted together as contract labor. Premium is the extra paid over the regular rate for that job.
| Unit | Paid hours | Productive | Non-productive hours | Overtime | Contract | Cost | OT premium | Contract premium |
|---|---|---|---|---|---|---|---|---|
| 4W | 29,263 | 95.2% | 1,392 | 2.7% | 13.2% | $1,242,797 | $15,248 | $96,716 |
| ICU | 16,413 | 96.1% | 644 | 8.3% | 3.5% | $749,746 | $30,024 | $15,250 |
| TELE | 25,983 | 96.0% | 1,032 | 5.7% | 4.0% | $1,011,753 | $28,745 | $23,560 |
| ORTH | 18,165 | 95.9% | 748 | 10.1% | 4.3% | $782,728 | $37,808 | $18,329 |
| Unit | Month | Paid hours | Overtime | Contract | Cost | Contract premium |
|---|---|---|---|---|---|---|
| 4W | 2026-07 | 2,839 | 7.0% | 9.6% | $122,773 | $7,172 |
| 4W | 2026-08 | 2,826 | 7.4% | 20.5% | $128,935 | $15,030 |
| 4W | 2026-09 | 2,602 | 4.3% | 21.4% | $117,016 | $14,323 |
| 4W | 2026-10 | 2,455 | 0.5% | 31.2% | $113,000 | $18,582 |
| 4W | 2026-11 | 2,383 | 0.0% | 37.4% | $111,339 | $21,161 |
| ICU | 2026-07 | 1,615 | 8.5% | 2.3% | $72,697 | $835 |
| ICU | 2026-08 | 1,550 | 13.5% | 3.1% | $72,990 | $1,369 |
| ICU | 2026-09 | 1,542 | 13.6% | 0.8% | $71,682 | $382 |
| ICU | 2026-10 | 1,593 | 11.6% | 4.7% | $74,635 | $2,099 |
| ICU | 2026-11 | 1,531 | 14.5% | 4.0% | $73,349 | $1,630 |
| TELE | 2026-07 | 2,491 | 6.4% | 2.5% | $97,030 | $1,774 |
| TELE | 2026-08 | 2,516 | 10.8% | 4.9% | $101,411 | $2,779 |
| TELE | 2026-09 | 2,482 | 11.0% | 4.5% | $99,107 | $2,404 |
| TELE | 2026-10 | 2,528 | 7.3% | 4.9% | $100,709 | $2,978 |
| TELE | 2026-11 | 2,440 | 9.1% | 6.1% | $98,566 | $3,422 |
| ORTH | 2026-07 | 1,708 | 9.4% | 3.6% | $72,579 | $1,667 |
| ORTH | 2026-08 | 1,775 | 16.7% | 4.1% | $78,825 | $1,687 |
| ORTH | 2026-09 | 1,702 | 14.5% | 3.6% | $74,568 | $1,506 |
| ORTH | 2026-10 | 1,756 | 12.7% | 3.5% | $77,112 | $1,252 |
| ORTH | 2026-11 | 1,629 | 16.7% | 3.8% | $72,045 | $1,539 |
Need is each shift's census by acuity level times the policy hours per patient per day, scaled to the shift. A shift is understaffed or overstaffed when worked hours miss need by more than 10%.
| Unit | Shift | Shifts | Under | Over | On target | Need hours | Worked hours | Variance |
|---|---|---|---|---|---|---|---|---|
| 4W | Day | 151 | 1 | 3 | 147 | 14,410 | 14,569 | +1.1% |
| 4W | Night | 151 | 76 | 0 | 75 | 14,308 | 12,944 | -9.5% |
| ICU | Day | 150 | 13 | 17 | 120 | 7,738 | 7,777 | +0.5% |
| ICU | Night | 151 | 13 | 14 | 124 | 7,723 | 7,719 | -0.0% |
| TELE | Day | 153 | 2 | 8 | 143 | 12,400 | 12,494 | +0.8% |
| TELE | Night | 153 | 5 | 8 | 140 | 12,325 | 12,457 | +1.1% |
| ORTH | Day | 151 | 11 | 17 | 123 | 8,629 | 8,725 | +1.1% |
| ORTH | Night | 151 | 12 | 20 | 119 | 8,360 | 8,447 | +1.0% |
The ratio for each unit and shift comes from units.csv. It is a policy set by the user of this tool for the demo, not any state law or staffing mandate.
| unit | shift | month | policy_ratio | shifts | breaches | breach_pct | mean_patients_per_rn | worst_patients_per_rn |
|---|---|---|---|---|---|---|---|---|
| 4W | D | All | 6 | 151 | 1 | 0.7 | 4.79 | 6.50 |
| 4W | N | All | 5 | 151 | 107 | 70.9 | 5.45 | 7.25 |
| ICU | D | All | 3 | 150 | 0 | 0.0 | 2.47 | 3.00 |
| ICU | N | All | 3 | 151 | 1 | 0.7 | 2.43 | 3.33 |
| TELE | D | All | 6 | 153 | 5 | 3.3 | 5.21 | 7.00 |
| TELE | N | All | 6 | 153 | 3 | 2.0 | 5.14 | 6.33 |
| ORTH | D | All | 6 | 151 | 0 | 0.0 | 4.69 | 6.00 |
| ORTH | N | All | 7 | 151 | 0 | 0.0 | 4.83 | 6.00 |
The forecast takes each unit's mean census and acuity-weighted need by weekday over the trailing weeks and lays them over the next 28 days. It does not know about holidays, outbreaks or admissions plans.
| unit | week | start | end | need_hours | shifts_12h | rn_shifts | recent_weekly_hours | gap_hours |
|---|---|---|---|---|---|---|---|---|
| 4W | 1 | 2026-12-01 | 2026-12-07 | 1295.8 | 111 | 75 | 1202.6 | 93.2 |
| 4W | 2 | 2026-12-08 | 2026-12-14 | 1295.8 | 111 | 75 | 1202.6 | 93.2 |
| 4W | 3 | 2026-12-15 | 2026-12-21 | 1295.8 | 111 | 75 | 1202.6 | 93.2 |
| 4W | 4 | 2026-12-22 | 2026-12-28 | 1295.8 | 111 | 75 | 1202.6 | 93.2 |
| ICU | 1 | 2026-12-01 | 2026-12-07 | 705.7 | 63 | 54 | 711.6 | -5.9 |
| ICU | 2 | 2026-12-08 | 2026-12-14 | 705.7 | 63 | 54 | 711.6 | -5.9 |
| ICU | 3 | 2026-12-15 | 2026-12-21 | 705.7 | 63 | 54 | 711.6 | -5.9 |
| ICU | 4 | 2026-12-22 | 2026-12-28 | 705.7 | 63 | 54 | 711.6 | -5.9 |
| TELE | 1 | 2026-12-01 | 2026-12-07 | 1135.1 | 99 | 56 | 1148.1 | -13.0 |
| TELE | 2 | 2026-12-08 | 2026-12-14 | 1135.1 | 99 | 56 | 1148.1 | -13.0 |
| TELE | 3 | 2026-12-15 | 2026-12-21 | 1135.1 | 99 | 56 | 1148.1 | -13.0 |
| TELE | 4 | 2026-12-22 | 2026-12-28 | 1135.1 | 99 | 56 | 1148.1 | -13.0 |
| ORTH | 1 | 2026-12-01 | 2026-12-07 | 773.3 | 67 | 42 | 784.1 | -10.8 |
| ORTH | 2 | 2026-12-08 | 2026-12-14 | 773.3 | 67 | 42 | 784.1 | -10.8 |
| ORTH | 3 | 2026-12-15 | 2026-12-21 | 773.3 | 67 | 42 | 784.1 | -10.8 |
| ORTH | 4 | 2026-12-22 | 2026-12-28 | 773.3 | 67 | 42 | 784.1 | -10.8 |
| unit | weekday | mean_day_census | mean_night_census | need_hours | rn_shifts |
|---|---|---|---|---|---|
| 4W | Mon | 27.4 | 27.5 | 183.0 | 11 |
| 4W | Tue | 28.4 | 27.9 | 200.3 | 11 |
| 4W | Wed | 28.0 | 27.7 | 184.2 | 11 |
| 4W | Thu | 26.9 | 26.3 | 179.6 | 11 |
| 4W | Fri | 26.4 | 26.6 | 190.9 | 11 |
| 4W | Sat | 25.0 | 25.0 | 176.3 | 10 |
| 4W | Sun | 25.5 | 24.8 | 181.4 | 10 |
| ICU | Mon | 10.1 | 10.0 | 102.8 | 8 |
| ICU | Tue | 10.2 | 9.7 | 103.5 | 8 |
| ICU | Wed | 9.6 | 9.9 | 103.7 | 8 |
| ICU | Thu | 9.6 | 9.5 | 102.6 | 8 |
| ICU | Fri | 9.5 | 9.1 | 96.4 | 8 |
| ICU | Sat | 9.0 | 8.9 | 97.1 | 6 |
| ICU | Sun | 9.2 | 9.2 | 99.6 | 8 |
| TELE | Mon | 21.9 | 21.5 | 173.4 | 8 |
| TELE | Tue | 22.6 | 21.9 | 171.4 | 8 |
| TELE | Wed | 21.5 | 21.8 | 170.2 | 8 |
| TELE | Thu | 21.4 | 20.8 | 161.2 | 8 |
| TELE | Fri | 20.1 | 20.6 | 156.8 | 8 |
| TELE | Sat | 19.0 | 19.1 | 147.6 | 8 |
| TELE | Sun | 19.8 | 19.5 | 154.6 | 8 |
| ORTH | Mon | 17.1 | 17.2 | 116.8 | 6 |
| ORTH | Tue | 17.2 | 16.9 | 113.8 | 6 |
| ORTH | Wed | 17.4 | 17.2 | 117.8 | 6 |
| ORTH | Thu | 16.5 | 16.8 | 109.0 | 6 |
| ORTH | Fri | 16.9 | 16.6 | 105.4 | 6 |
| ORTH | Sat | 15.9 | 15.9 | 106.3 | 6 |
| ORTH | Sun | 15.9 | 15.8 | 104.2 | 6 |
A flag says review this. It does not say the data is wrong.
| Flag | Severity | File | Line | Key | Message | Left out |
|---|---|---|---|---|---|---|
| NH001-001 | warning | timecards.csv | 1618 | P001611 | this punch id was already read | yes |
| NH001-002 | warning | timecards.csv | 3937 | P003922 | this punch id was already read | yes |
| NH001-003 | warning | timecards.csv | 4006 | P003990 | this punch id was already read | yes |
| NH001-004 | warning | timecards.csv | 5294 | P005272 | this punch id was already read | yes |
| NH001-005 | warning | timecards.csv | 7208 | P007178 | this punch id was already read | yes |
| NH002-001 | error | timecards.csv | 1229 | P007941 | clock-out is not after clock-in | yes |
| NH002-002 | error | timecards.csv | 4890 | P007940 | clock-out is not after clock-in | yes |
| NH002-003 | error | timecards.csv | 5564 | P007939 | clock-out is not after clock-in | yes |
| NH002-004 | error | timecards.csv | 5924 | P007938 | clock-out is not after clock-in | yes |
| NH003-001 | error | timecards.csv | 539 | P007942 | shift is 17.5 hours, over 16 | yes |
| NH003-002 | error | timecards.csv | 2057 | P007943 | shift is 17.5 hours, over 16 | yes |
| NH003-003 | error | timecards.csv | 5664 | P007944 | shift is 17.5 hours, over 16 | yes |
| NH004-001 | error | timecards.csv | 1509 | P007946 | E1074 is already on a shift at 2026-07-29 09:54 | yes |
| NH004-002 | error | timecards.csv | 1713 | P007945 | E1104 is already on a shift at 2026-08-02 10:12 | yes |
| NH004-003 | error | timecards.csv | 6533 | P007947 | E1101 is already on a shift at 2026-11-02 21:54 | yes |
| NH004-004 | error | timecards.csv | 7401 | P007948 | E1049 is already on a shift at 2026-11-19 22:08 | yes |
| NH005-001 | error | timecards.csv | 757 | P007950 | unit '7E' is not in units.csv | yes |
| NH005-002 | error | timecards.csv | 4476 | P007951 | unit 'NICU' is not in units.csv | yes |
| NH005-003 | error | timecards.csv | 7723 | P007949 | unit 'ZZ9' is not in units.csv | yes |
| NH006-001 | error | timecards.csv | 1487 | P007952 | job code 'RT' is not one of RN, LPN, CNA, UC | yes |
| NH006-002 | error | timecards.csv | 2473 | P007953 | job code 'TECH' is not one of RN, LPN, CNA, UC | yes |
| NH006-003 | error | timecards.csv | 7199 | P007954 | job code 'XX' is not one of RN, LPN, CNA, UC | yes |
| NH007-001 | warning | census.csv | 0 | 4W 2026-11-23 D | no census row for this unit, date and shift | no |
| NH007-002 | warning | census.csv | 0 | 4W 2026-11-26 N | no census row for this unit, date and shift | no |
| NH007-003 | warning | census.csv | 0 | ICU 2026-11-10 N | no census row for this unit, date and shift | no |
| NH007-004 | warning | census.csv | 0 | ORTH 2026-09-13 N | no census row for this unit, date and shift | no |
| NH007-005 | warning | census.csv | 0 | ORTH 2026-09-24 D | no census row for this unit, date and shift | no |
| NH007-006 | warning | census.csv | 0 | ORTH 2026-11-13 N | no census row for this unit, date and shift | no |
| NH008-001 | error | timecards.csv | 2420 | P007955 | hours '-12.0' are negative or unreadable | yes |
| NH008-002 | error | timecards.csv | 3053 | P007956 | hours 'n/a' are negative or unreadable | yes |
| NH008-003 | error | timecards.csv | 6127 | P007957 | hours 'twelve' are negative or unreadable | yes |
| NH008-004 | error | timecards.csv | 7517 | P007958 | hours '-1.5' are negative or unreadable | yes |
| NH009-001 | error | timecards.csv | 7971 | P007959 | punch is dated 2026-12-08, after 2026-12-01 | yes |
| NH009-002 | error | timecards.csv | 7972 | P007960 | punch is dated 2026-12-15, after 2026-12-01 | yes |
| NH009-003 | error | timecards.csv | 7973 | P007961 | punch is dated 2026-12-22, after 2026-12-01 | yes |
| NH010-001 | error | census.csv | 224 | ORTH 2026-07-28 D | census 24 is above 20 beds | yes |
| NH010-002 | error | census.csv | 498 | 4W 2026-09-01 D | census 34 is above 30 beds | yes |
| NH011-001 | error | census.csv | 500 | ICU 2026-09-01 D | acuity counts add to 13, census is 11 | yes |
| NH011-002 | error | census.csv | 995 | ICU 2026-11-02 N | acuity counts add to 12, census is 10 | yes |
| NH011-003 | error | census.csv | 1009 | 4W 2026-11-04 N | acuity counts add to 28, census is 26 | yes |
| NH012-001 | error | census.csv | 260 | ICU 2026-08-02 D | census or an acuity count is missing, negative or not a whole number | yes |
| NH012-002 | error | census.csv | 468 | ICU 2026-08-28 D | census or an acuity count is missing, negative or not a whole number | yes |
| NH012-003 | error | timecards.csv | 1857 | P007963 | a required value is missing or unreadable (id, employee, unit, job, clock times or rate) | yes |
| NH012-004 | error | timecards.csv | 4107 | P007964 | a required value is missing or unreadable (id, employee, unit, job, clock times or rate) | yes |
| NH012-005 | error | timecards.csv | 4477 | P007962 | a required value is missing or unreadable (id, employee, unit, job, clock times or rate) | yes |
| NH013-001 | warning | timecards.csv | 3641 | P003627 | recorded 8.00 hours, clock times give 12.33; clock times are used | no |
| NH013-002 | warning | timecards.csv | 5070 | P005049 | recorded 15.00 hours, clock times give 12.17; clock times are used | no |
| NH013-003 | warning | timecards.csv | 6181 | P006154 | recorded 6.50 hours, clock times give 12.08; clock times are used | no |
| NH013-004 | warning | timecards.csv | 6660 | P006632 | recorded 12.90 hours, clock times give 12.37; clock times are used | no |
| NH014-001 | warning | census.csv | 1220 | TELE 2026-07-29 D | this unit, date and shift was already read | yes |
| NH014-002 | warning | census.csv | 1221 | ORTH 2026-09-27 N | this unit, date and shift was already read | yes |
| NH015-001 | error | timecards.csv | 1752 | P007967 | pay type 'per_diem' or category 'worked' is not allowed | yes |
| NH015-002 | error | timecards.csv | 4108 | P007966 | pay type 'regular' or category 'float' is not allowed | yes |
| NH015-003 | error | timecards.csv | 5410 | P007965 | pay type 'bonus' or category 'worked' is not allowed | yes |
| Rule | Meaning | Severity | Count |
|---|---|---|---|
| NH001 | Duplicate punch | warning | 5 |
| NH002 | Clock-out at or before clock-in | error | 4 |
| NH003 | Shift over the maximum length | error | 3 |
| NH004 | Overlapping shifts for one employee | error | 4 |
| NH005 | Unit not in the unit table | error | 3 |
| NH006 | Unknown job code | error | 3 |
| NH007 | Missing census for a unit-day shift | warning | 6 |
| NH008 | Negative or unreadable hours | error | 4 |
| NH009 | Punch dated after the as-of date | error | 3 |
| NH010 | Census above the unit's bed count | error | 2 |
| NH011 | Acuity counts do not add up to the census | error | 3 |
| NH012 | Required value missing or unreadable | error | 5 |
| NH013 | Recorded hours differ from the clock times | warning | 4 |
| NH014 | Duplicate census row | warning | 2 |
| NH015 | Pay type or category not allowed | error | 3 |