Java 类ims.nursing.vo.lookups.PlanOfCareActionStatus 实例源码

项目:AvoinApotti    文件:Logic.java   
private PlanOfCareNotingVo populateDataFromScreenForNoting(PlanOfCareActionsVoCollection recordColl) 
    {
        PlanOfCareNotingVo pocNoting = form.getGlobalContext().getPlanOfCareActionsReview();
//      POCNoting CareContext
        pocNoting.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

        AuthoringInformationVo voAuthoringInformation = new AuthoringInformationVo();
        voAuthoringInformation.setAuthoringDateTime(form.customAuthoring().getValue().getAuthoringDateTime());
        voAuthoringInformation.setAuthoringHcp(form.customAuthoring().getValue().getAuthoringHcp());
        pocNoting.setAuthoringInformation(voAuthoringInformation);

        //POCNoting ReviewingHCP ReviewingDateTime
        pocNoting.setReviewingDateTime(form.customReviewing().getValue().getAuthoringDateTime());
        pocNoting.setReviewingHCP(form.customReviewing().getValue().getAuthoringHcp());

        pocNoting.setActionStatus(PlanOfCareActionStatus.ACTIVE);

        pocNoting.setActions(recordColl);

        return pocNoting;
    }
项目:openMAXIMS    文件:Logic.java   
private PlanOfCareNotingVo populateDataFromScreenForNoting(PlanOfCareActionsVoCollection recordColl) 
    {
        PlanOfCareNotingVo pocNoting = form.getGlobalContext().getPlanOfCareActionsReview();
//      POCNoting CareContext
        pocNoting.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

        AuthoringInformationVo voAuthoringInformation = new AuthoringInformationVo();
        voAuthoringInformation.setAuthoringDateTime(form.customAuthoring().getValue().getAuthoringDateTime());
        voAuthoringInformation.setAuthoringHcp(form.customAuthoring().getValue().getAuthoringHcp());
        pocNoting.setAuthoringInformation(voAuthoringInformation);

        //POCNoting ReviewingHCP ReviewingDateTime
        pocNoting.setReviewingDateTime(form.customReviewing().getValue().getAuthoringDateTime());
        pocNoting.setReviewingHCP(form.customReviewing().getValue().getAuthoringHcp());

        pocNoting.setActionStatus(PlanOfCareActionStatus.ACTIVE);

        pocNoting.setActions(recordColl);

        return pocNoting;
    }
项目:openMAXIMS    文件:Logic.java   
private PlanOfCareNotingVo populateDataFromScreenForNoting(PlanOfCareActionsVoCollection recordColl) 
    {
        PlanOfCareNotingVo pocNoting = form.getGlobalContext().getPlanOfCareActionsReview();
//      POCNoting CareContext
        pocNoting.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

        AuthoringInformationVo voAuthoringInformation = new AuthoringInformationVo();
        voAuthoringInformation.setAuthoringDateTime(form.customAuthoring().getValue().getAuthoringDateTime());
        voAuthoringInformation.setAuthoringHcp(form.customAuthoring().getValue().getAuthoringHcp());
        pocNoting.setAuthoringInformation(voAuthoringInformation);

        //POCNoting ReviewingHCP ReviewingDateTime
        pocNoting.setReviewingDateTime(form.customReviewing().getValue().getAuthoringDateTime());
        pocNoting.setReviewingHCP(form.customReviewing().getValue().getAuthoringHcp());

        pocNoting.setActionStatus(PlanOfCareActionStatus.ACTIVE);

        pocNoting.setActions(recordColl);

        return pocNoting;
    }
项目:openmaxims-linux    文件:Logic.java   
private PlanOfCareNotingVo populateDataFromScreenForNoting(PlanOfCareActionsVoCollection recordColl) 
    {
        PlanOfCareNotingVo pocNoting = form.getGlobalContext().getPlanOfCareActionsReview();
//      POCNoting CareContext
        pocNoting.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

        AuthoringInformationVo voAuthoringInformation = new AuthoringInformationVo();
        voAuthoringInformation.setAuthoringDateTime(form.customAuthoring().getValue().getAuthoringDateTime());
        voAuthoringInformation.setAuthoringHcp(form.customAuthoring().getValue().getAuthoringHcp());
        pocNoting.setAuthoringInformation(voAuthoringInformation);

        //POCNoting ReviewingHCP ReviewingDateTime
        pocNoting.setReviewingDateTime(form.customReviewing().getValue().getAuthoringDateTime());
        pocNoting.setReviewingHCP(form.customReviewing().getValue().getAuthoringHcp());

        pocNoting.setActionStatus(PlanOfCareActionStatus.ACTIVE);

        pocNoting.setActions(recordColl);

        return pocNoting;
    }
项目:AvoinApotti    文件:Logic.java   
protected void onGrdChronologicalSelectionChanged() throws PresentationLogicException 
{
    if (form.lyr1().tabChronological().grdChronological().getSelectedRow().getValue() != null)
    {
        PlanOfCareNotingVo voItem = form.lyr1().tabChronological().grdChronological().getSelectedRow().getValue();

        if (voItem.getActionStatusIsNotNull() &&
                voItem.getActionStatus().equals(PlanOfCareActionStatus.REQUIRES_CONFIRMATION) &&
                returnFlagStatus())
        {
            if (voItem.getActionStatus().equals(PlanOfCareActionStatus.REQUIRES_CONFIRMATION))
            {
                form.getContextMenus().getGenericGridAddItem().setText("Review Actions");
                form.getContextMenus().getGenericGridAddItem().setVisible(true);
            }
            else
            {
                form.getContextMenus().getGenericGridAddItem().setVisible(false);

            }
        }
        else
        {
            form.getContextMenus().getGenericGridAddItem().setVisible(false);
        }
        form.getGlobalContext().setPlanOfCareActionsReview(voItem);
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onGrdChronologicalSelectionChanged() throws PresentationLogicException 
{
    if (form.lyr1().tabChronological().grdChronological().getSelectedRow().getValue() != null)
    {
        PlanOfCareNotingVo voItem = form.lyr1().tabChronological().grdChronological().getSelectedRow().getValue();

        if (voItem.getActionStatusIsNotNull() &&
                voItem.getActionStatus().equals(PlanOfCareActionStatus.REQUIRES_CONFIRMATION) &&
                returnFlagStatus())
        {
            if (voItem.getActionStatus().equals(PlanOfCareActionStatus.REQUIRES_CONFIRMATION))
            {
                form.getContextMenus().getGenericGridAddItem().setText("Review Actions");
                form.getContextMenus().getGenericGridAddItem().setVisible(true);
            }
            else
            {
                form.getContextMenus().getGenericGridAddItem().setVisible(false);

            }
        }
        else
        {
            form.getContextMenus().getGenericGridAddItem().setVisible(false);
        }
        form.getGlobalContext().setPlanOfCareActionsReview(voItem);
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onGrdChronologicalSelectionChanged() throws PresentationLogicException 
{
    if (form.lyr1().tabChronological().grdChronological().getSelectedRow().getValue() != null)
    {
        PlanOfCareNotingVo voItem = form.lyr1().tabChronological().grdChronological().getSelectedRow().getValue();

        if (voItem.getActionStatusIsNotNull() &&
                voItem.getActionStatus().equals(PlanOfCareActionStatus.REQUIRES_CONFIRMATION) &&
                returnFlagStatus())
        {
            if (voItem.getActionStatus().equals(PlanOfCareActionStatus.REQUIRES_CONFIRMATION))
            {
                form.getContextMenus().getGenericGridAddItem().setText("Review Actions");
                form.getContextMenus().getGenericGridAddItem().setVisible(true);
            }
            else
            {
                form.getContextMenus().getGenericGridAddItem().setVisible(false);

            }
        }
        else
        {
            form.getContextMenus().getGenericGridAddItem().setVisible(false);
        }
        form.getGlobalContext().setPlanOfCareActionsReview(voItem);
    }
}
项目:openmaxims-linux    文件:Logic.java   
protected void onGrdChronologicalSelectionChanged() throws PresentationLogicException 
{
    if (form.lyr1().tabChronological().grdChronological().getSelectedRow().getValue() != null)
    {
        PlanOfCareNotingVo voItem = form.lyr1().tabChronological().grdChronological().getSelectedRow().getValue();

        if (voItem.getActionStatusIsNotNull() &&
                voItem.getActionStatus().equals(PlanOfCareActionStatus.REQUIRES_CONFIRMATION) &&
                returnFlagStatus())
        {
            if (voItem.getActionStatus().equals(PlanOfCareActionStatus.REQUIRES_CONFIRMATION))
            {
                form.getContextMenus().getGenericGridAddItem().setText("Review Actions");
                form.getContextMenus().getGenericGridAddItem().setVisible(true);
            }
            else
            {
                form.getContextMenus().getGenericGridAddItem().setVisible(false);

            }
        }
        else
        {
            form.getContextMenus().getGenericGridAddItem().setVisible(false);
        }
        form.getGlobalContext().setPlanOfCareActionsReview(voItem);
    }
}