|
|
|
@ -798,7 +798,7 @@ public class FichasClinicasLogic
|
|
|
|
fichaBD.setToAntecedentes_ocupacionais_id(fd);
|
|
|
|
fichaBD.setToAntecedentes_ocupacionais_id(fd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(fichaBean.getAntecentesOcupacionaisAcidentesTrabalho() != null && fichaBean.getAntecentesOcupacionaisAcidentesTrabalho().size() > 0)
|
|
|
|
if(fichaBean.getAntecentesOcupacionaisAcidentesTrabalho() != null )//&& fichaBean.getAntecentesOcupacionaisAcidentesTrabalho().size() > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FcFichaAntecedentesOcupacionaisData fd = null;
|
|
|
|
FcFichaAntecedentesOcupacionaisData fd = null;
|
|
|
|
if(fichaBD.toAntecedentes_ocupacionais_id() != null)
|
|
|
|
if(fichaBD.toAntecedentes_ocupacionais_id() != null)
|
|
|
|
@ -845,7 +845,7 @@ public class FichasClinicasLogic
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(fichaBean.getAntecentesOcupacionaisActividadesAnteriores() != null && fichaBean.getAntecentesOcupacionaisActividadesAnteriores().size() > 0)
|
|
|
|
if(fichaBean.getAntecentesOcupacionaisActividadesAnteriores() != null )//&& fichaBean.getAntecentesOcupacionaisActividadesAnteriores().size() > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FcFichaAntecedentesOcupacionaisData fd = null;
|
|
|
|
FcFichaAntecedentesOcupacionaisData fd = null;
|
|
|
|
if(fichaBD.toAntecedentes_ocupacionais_id() != null)
|
|
|
|
if(fichaBD.toAntecedentes_ocupacionais_id() != null)
|
|
|
|
@ -892,7 +892,7 @@ public class FichasClinicasLogic
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(fichaBean.getAntecentesOcupacionaisDoencasProfissionais() != null && fichaBean.getAntecentesOcupacionaisDoencasProfissionais().size() > 0)
|
|
|
|
if(fichaBean.getAntecentesOcupacionaisDoencasProfissionais() != null )//&& fichaBean.getAntecentesOcupacionaisDoencasProfissionais().size() > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FcFichaAntecedentesOcupacionaisData fd = null;
|
|
|
|
FcFichaAntecedentesOcupacionaisData fd = null;
|
|
|
|
if(fichaBD.toAntecedentes_ocupacionais_id() != null)
|
|
|
|
if(fichaBD.toAntecedentes_ocupacionais_id() != null)
|
|
|
|
@ -1009,7 +1009,7 @@ public class FichasClinicasLogic
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(fichaBean.getAntecedentesPessoaisCirurgias() != null && fichaBean.getAntecedentesPessoaisCirurgias().size() > 0)
|
|
|
|
if(fichaBean.getAntecedentesPessoaisCirurgias() != null )//&& fichaBean.getAntecedentesPessoaisCirurgias().size() > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FcFichaAntecedentesPessoaisData fd = null;
|
|
|
|
FcFichaAntecedentesPessoaisData fd = null;
|
|
|
|
if(fichaBD.toAntecedentes_pessoais_id() != null)
|
|
|
|
if(fichaBD.toAntecedentes_pessoais_id() != null)
|
|
|
|
@ -1057,7 +1057,7 @@ public class FichasClinicasLogic
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(fichaBean.getAntecedentesPessoaisFracturas() != null && fichaBean.getAntecedentesPessoaisFracturas().size() > 0)
|
|
|
|
if(fichaBean.getAntecedentesPessoaisFracturas() != null )//&& fichaBean.getAntecedentesPessoaisFracturas().size() > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FcFichaAntecedentesPessoaisData fd = null;
|
|
|
|
FcFichaAntecedentesPessoaisData fd = null;
|
|
|
|
if(fichaBD.toAntecedentes_pessoais_id() != null)
|
|
|
|
if(fichaBD.toAntecedentes_pessoais_id() != null)
|
|
|
|
@ -1104,7 +1104,7 @@ public class FichasClinicasLogic
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(fichaBean.getAntecedentesPessoaisInternamentos() != null && fichaBean.getAntecedentesPessoaisInternamentos().size() > 0)
|
|
|
|
if(fichaBean.getAntecedentesPessoaisInternamentos() != null ) //&& fichaBean.getAntecedentesPessoaisInternamentos().size() > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FcFichaAntecedentesPessoaisData fd = null;
|
|
|
|
FcFichaAntecedentesPessoaisData fd = null;
|
|
|
|
if(fichaBD.toAntecedentes_pessoais_id() != null)
|
|
|
|
if(fichaBD.toAntecedentes_pessoais_id() != null)
|
|
|
|
@ -1437,4 +1437,20 @@ public class FichasClinicasLogic
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EvoResponseBean<FichaExchangeBean> getFichaAptidao(EvoUsrUserData user, Integer fichaID)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EvoResponseBean<FichaExchangeBean> saveFichaAptidao(EvoUsrUserData user, FichaExchangeBean ficha)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|