Bug #378
Divergencia meses de tto
Start date:
02/05/2013
Due date:
% Done:
0%
Componente:
History
#1
Updated by Maurício Dos Santos over 12 years ago
- Assignee set to Maurício Dos Santos
- Target version set to Versão atual
#2
Updated by Maurício Dos Santos over 12 years ago
- Status changed from New to Resolved
No metodo startIndividualizedRegimen() da classe StartTreatmentIndHome, o sistema estava somando a quantidade de meses de alguns medicamentos para definir o tempo em meses de fase continua e intensiva... Veja a alteração abaixo:
for (PrescribedMedicine pm: medicinesIntPhase) {
if (pm.getMonths() > monthsIntPhase)
monthsIntPhase += pm.getMonths();
}
for (PrescribedMedicine pm: medicinesContPhase) {
if (pm.getMonths() > monthsContPhase)
monthsContPhase += pm.getMonths();
}
for (PrescribedMedicine pm: medicinesIntPhase) {
if (pm.getMonths() > monthsIntPhase)
monthsIntPhase = pm.getMonths();
}
for (PrescribedMedicine pm: medicinesContPhase) {
if (pm.getMonths() > monthsContPhase)
monthsContPhase = pm.getMonths();
}
#3
Updated by Maurício Dos Santos over 12 years ago
- Status changed from Resolved to Closed