Hospital bed management and primary preventive health