Java 类ims.nursing.vo.PlanOfCareHistoryVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateGrdDPP(PlanOfCareHistoryVoCollection list) 
{
    if (list != null)
    {
        NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list);
        helper.sortDesc();          

        ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null;

        for(int i=0; i< list.size(); i++)
        {
            PlanOfCareHistoryVo voHistoryItem = list.get(i);
            row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow();

            if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
                row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString());
            if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull())
                row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString());
            if (voHistoryItem.getAnswerTextIsNotNull())
                row.setColDPP(voHistoryItem.getAnswerText());

            row.setBackColor(voHistoryItem.getLevelOfIntervention());
            row.setValue(voHistoryItem);
        }
    }   
}
项目:openMAXIMS    文件:Logic.java   
private void populateGrdDPP(PlanOfCareHistoryVoCollection list) 
{
    if (list != null)
    {
        NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list);
        helper.sortDesc();          

        ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null;

        for(int i=0; i< list.size(); i++)
        {
            PlanOfCareHistoryVo voHistoryItem = list.get(i);
            row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow();

            if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
                row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString());
            if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull())
                row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString());
            if (voHistoryItem.getAnswerTextIsNotNull())
                row.setColDPP(voHistoryItem.getAnswerText());

            row.setBackColor(voHistoryItem.getLevelOfIntervention());
            row.setValue(voHistoryItem);
        }
    }   
}
项目:openMAXIMS    文件:Logic.java   
private void populateGrdDPP(PlanOfCareHistoryVoCollection list) 
{
    if (list != null)
    {
        NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list);
        helper.sortDesc();          

        ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null;

        for(int i=0; i< list.size(); i++)
        {
            PlanOfCareHistoryVo voHistoryItem = list.get(i);
            row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow();

            if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
                row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString());
            if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull())
                row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString());
            if (voHistoryItem.getAnswerTextIsNotNull())
                row.setColDPP(voHistoryItem.getAnswerText());

            row.setBackColor(voHistoryItem.getLevelOfIntervention());
            row.setValue(voHistoryItem);
        }
    }   
}
项目:openmaxims-linux    文件:Logic.java   
private void populateGrdDPP(PlanOfCareHistoryVoCollection list) 
{
    if (list != null)
    {
        NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list);
        helper.sortDesc();          

        ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null;

        for(int i=0; i< list.size(); i++)
        {
            PlanOfCareHistoryVo voHistoryItem = list.get(i);
            row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow();

            if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
                row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString());
            if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull())
                row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString());
            if (voHistoryItem.getAnswerTextIsNotNull())
                row.setColDPP(voHistoryItem.getAnswerText());

            row.setBackColor(voHistoryItem.getLevelOfIntervention());
            row.setValue(voHistoryItem);
        }
    }   
}
项目:AvoinApotti    文件:PlanOfCareImpl.java   
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
    return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
            getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()})); 
}
项目:openMAXIMS    文件:PlanOfCareImpl.java   
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
    return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
            getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()})); 
}
项目:openMAXIMS    文件:PlanOfCareImpl.java   
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
    return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
            getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()})); 
}
项目:openmaxims-linux    文件:PlanOfCareImpl.java   
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
    return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
            getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()})); 
}