Java 类ims.clinical.vo.CataractIntraOperativeDetailVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateCataractIntraOperativeDetails(CataractIntraOperativeDetailVo details)
{
    clearCataractIntraOperativeDetails();

    if (details == null)
        return;
    if (details.getMedicationsIsNotNull())
    {
        PatientMedicationLiteVoCollection medications = details.getMedications();
        for (int i = 0; i < medications.size(); i++)
        {
            PatientMedicationLiteVo pMedi = medications.get(i);
            if (pMedi != null)
            {
                addRowToMedication(pMedi);
            }
        }
    }
    if (details.getSkinPreperationUsedIsNotNull())
    {
        SkinPreperationVoCollection skinps = details.getSkinPreperationUsed();
        for (int i = 0; i < skinps.size(); i++)
        {
            SkinPreperationVo skin = skinps.get(i);
            if (skin != null)
            {
                newRowToSkinPreparation(skin);

            }
        }
    }
    if (details.getLocalAnaestheticUsedIsNotNull())
    {
        LocalAnaestheticAdministeredVoCollection anests = details.getLocalAnaestheticUsed();
        for (int i = 0; i < anests.size(); i++)
        {
            LocalAnaestheticAdministeredVo anest = anests.get(i);
            if (anest != null)
            {
                newRowToAnaesthetic(anest);
            }
        }
    }
    // GridDressings
    if (details.getDressingsIsNotNull())
    {
        CataractDressingsCollection dresings = details.getDressings();
        for (int i = 0; i < dresings.size(); i++)
        {
            form.lyrMain().tabDetails().grdDressings().getRowByValue(dresings.get(i)).setColSelect(true);
        }
    }
    // End GridDressings
    form.lyrMain().tabDetails().intSwapCount().setValue(details.getSwabNeedleCount());
    if (details.getWasSwabNeedleCountCorrectIsNotNull())
    {
        form.lyrMain().tabDetails().grpYesNo().setValue(details.getWasSwabNeedleCountCorrect().equals(YesNo.YES) ? grpYesNoEnumeration.rdoYes : grpYesNoEnumeration.rdoNo);
    }
    rebindAllAnaesthetic();
    rebindAllMedications();
    rebindAllSkinPreparation();
}
项目:openMAXIMS    文件:Logic.java   
private void populateCataractIntraOperativeDetails(CataractIntraOperativeDetailVo details)
{
    clearCataractIntraOperativeDetails();

    if (details == null)
        return;
    if (details.getMedicationsIsNotNull())
    {
        PatientMedicationLiteVoCollection medications = details.getMedications();
        for (int i = 0; i < medications.size(); i++)
        {
            PatientMedicationLiteVo pMedi = medications.get(i);
            if (pMedi != null)
            {
                addRowToMedication(pMedi);
            }
        }
    }
    if (details.getSkinPreperationUsedIsNotNull())
    {
        SkinPreperationVoCollection skinps = details.getSkinPreperationUsed();
        for (int i = 0; i < skinps.size(); i++)
        {
            SkinPreperationVo skin = skinps.get(i);
            if (skin != null)
            {
                newRowToSkinPreparation(skin);

            }
        }
    }
    if (details.getLocalAnaestheticUsedIsNotNull())
    {
        LocalAnaestheticAdministeredVoCollection anests = details.getLocalAnaestheticUsed();
        for (int i = 0; i < anests.size(); i++)
        {
            LocalAnaestheticAdministeredVo anest = anests.get(i);
            if (anest != null)
            {
                newRowToAnaesthetic(anest);
            }
        }
    }
    // GridDressings
    if (details.getDressingsIsNotNull())
    {
        CataractDressingsCollection dresings = details.getDressings();
        for (int i = 0; i < dresings.size(); i++)
        {
            form.lyrMain().tabDetails().grdDressings().getRowByValue(dresings.get(i)).setColSelect(true);
        }
    }
    // End GridDressings
    form.lyrMain().tabDetails().intSwapCount().setValue(details.getSwabNeedleCount());
    if (details.getWasSwabNeedleCountCorrectIsNotNull())
    {
        form.lyrMain().tabDetails().grpYesNo().setValue(details.getWasSwabNeedleCountCorrect().equals(YesNo.YES) ? grpYesNoEnumeration.rdoYes : grpYesNoEnumeration.rdoNo);
    }
    rebindAllAnaesthetic();
    rebindAllMedications();
    rebindAllSkinPreparation();
}
项目:openMAXIMS    文件:Logic.java   
private void populateCataractIntraOperativeDetails(CataractIntraOperativeDetailVo details)
{
    clearCataractIntraOperativeDetails();

    if (details == null)
        return;
    if (details.getMedicationsIsNotNull())
    {
        PatientMedicationLiteVoCollection medications = details.getMedications();
        for (int i = 0; i < medications.size(); i++)
        {
            PatientMedicationLiteVo pMedi = medications.get(i);
            if (pMedi != null)
            {
                addRowToMedication(pMedi);
            }
        }
    }
    if (details.getSkinPreperationUsedIsNotNull())
    {
        SkinPreperationVoCollection skinps = details.getSkinPreperationUsed();
        for (int i = 0; i < skinps.size(); i++)
        {
            SkinPreperationVo skin = skinps.get(i);
            if (skin != null)
            {
                newRowToSkinPreparation(skin);

            }
        }
    }
    if (details.getLocalAnaestheticUsedIsNotNull())
    {
        LocalAnaestheticAdministeredVoCollection anests = details.getLocalAnaestheticUsed();
        for (int i = 0; i < anests.size(); i++)
        {
            LocalAnaestheticAdministeredVo anest = anests.get(i);
            if (anest != null)
            {
                newRowToAnaesthetic(anest);
            }
        }
    }
    // GridDressings
    if (details.getDressingsIsNotNull())
    {
        CataractDressingsCollection dresings = details.getDressings();
        for (int i = 0; i < dresings.size(); i++)
        {
            form.lyrMain().tabDetails().grdDressings().getRowByValue(dresings.get(i)).setColSelect(true);
        }
    }
    // End GridDressings
    form.lyrMain().tabDetails().intSwapCount().setValue(details.getSwabNeedleCount());
    if (details.getWasSwabNeedleCountCorrectIsNotNull())
    {
        form.lyrMain().tabDetails().grpYesNo().setValue(details.getWasSwabNeedleCountCorrect().equals(YesNo.YES) ? grpYesNoEnumeration.rdoYes : grpYesNoEnumeration.rdoNo);
    }
    rebindAllAnaesthetic();
    rebindAllMedications();
    rebindAllSkinPreparation();
}
项目:openmaxims-linux    文件:Logic.java   
private void populateCataractIntraOperativeDetails(CataractIntraOperativeDetailVo details)
{
    clearCataractIntraOperativeDetails();

    if (details == null)
        return;
    if (details.getMedicationsIsNotNull())
    {
        PatientMedicationLiteVoCollection medications = details.getMedications();
        for (int i = 0; i < medications.size(); i++)
        {
            PatientMedicationLiteVo pMedi = medications.get(i);
            if (pMedi != null)
            {
                addRowToMedication(pMedi);
            }
        }
    }
    if (details.getSkinPreperationUsedIsNotNull())
    {
        SkinPreperationVoCollection skinps = details.getSkinPreperationUsed();
        for (int i = 0; i < skinps.size(); i++)
        {
            SkinPreperationVo skin = skinps.get(i);
            if (skin != null)
            {
                newRowToSkinPreparation(skin);

            }
        }
    }
    if (details.getLocalAnaestheticUsedIsNotNull())
    {
        LocalAnaestheticAdministeredVoCollection anests = details.getLocalAnaestheticUsed();
        for (int i = 0; i < anests.size(); i++)
        {
            LocalAnaestheticAdministeredVo anest = anests.get(i);
            if (anest != null)
            {
                newRowToAnaesthetic(anest);
            }
        }
    }
    // GridDressings
    if (details.getDressingsIsNotNull())
    {
        CataractDressingsCollection dresings = details.getDressings();
        for (int i = 0; i < dresings.size(); i++)
        {
            form.lyrMain().tabDetails().grdDressings().getRowByValue(dresings.get(i)).setColSelect(true);
        }
    }
    // End GridDressings
    form.lyrMain().tabDetails().intSwapCount().setValue(details.getSwabNeedleCount());
    if (details.getWasSwabNeedleCountCorrectIsNotNull())
    {
        form.lyrMain().tabDetails().grpYesNo().setValue(details.getWasSwabNeedleCountCorrect().equals(YesNo.YES) ? grpYesNoEnumeration.rdoYes : grpYesNoEnumeration.rdoNo);
    }
    rebindAllAnaesthetic();
    rebindAllMedications();
    rebindAllSkinPreparation();
}