A model to compute the medical cost of patients in intensive care.