Project

General

Profile

Bug #378

Divergencia meses de tto

Added by Maurício Dos Santos over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/05/2013
Due date:
% Done:

0%

Componente:

Divergencia em meses de tto individualizado.doc (83 KB) Maurício Dos Santos, 02/05/2013 06:10 PM

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

Also available in: Atom PDF