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

项目:AvoinApotti    文件:Logic.java   
private void populateNotesGrid(HospitalAtNightNotesVoCollection notes) 
{
    form.grdUpdatedNotes().getRows().clear();

    if(notes == null || notes.size() == 0)
        return;

    for(int i=0; i<notes.size(); i++)
    {
        HospitalAtNightNotesVo note = notes.get(i);

        if(note == null)
            return;

        grdUpdatedNotesRow row = form.grdUpdatedNotes().getRows().newRow();
        addNotesGrid(note, row);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void addNotesGrid(HospitalAtNightNotesVo note, grdUpdatedNotesRow row) 
{
    if(note == null)
        return;

    if(row == null)
        row = form.grdUpdatedNotes().getRows().newRow();

    row.setColDateTime(note.getAuthoringInformationIsNotNull() && note.getAuthoringInformation().getAuthoringDateTimeIsNotNull() ? note.getAuthoringInformation().getAuthoringDateTime().toString() : null);
    row.setTooltipForColDateTime(row.getColDateTime());
    row.setColHCP(note.getAuthoringInformationIsNotNull() && note.getAuthoringInformation().getAuthoringHcpIsNotNull() ? note.getAuthoringInformation().getAuthoringHcp().toString() : null);
    row.setTooltipForColHCP(row.getColHCP());
    row.setColNote(note.getNote());
    row.setTooltipForColNote(row.getColNote());

    row.setValue(note);
}
项目:AvoinApotti    文件:Logic.java   
public int compare(HospitalAtNightNotesVo o1, HospitalAtNightNotesVo o2)
{
    DateTime o1DateTime = o1.getAuthoringInformation() != null ? o1.getAuthoringInformation().getAuthoringDateTime() : null;
    DateTime o2DateTime = o2.getAuthoringInformation() != null ? o2.getAuthoringInformation().getAuthoringDateTime() : null;

    if (o1DateTime != null && o2DateTime != null)
    {
        return order * o1DateTime.compareTo(o2DateTime);
    }

    if (o1DateTime == null)
        return -1 * order;

    if (o2DateTime == null)
        return order;

    return 0;
}
项目:AvoinApotti    文件:Logic.java   
private boolean save() 
{
    HospitalAtNightNotesVo note = populateDataFromScreen(form.getGlobalContext().Clinical.getHospitalAtNightNotes() != null ? (HospitalAtNightNotesVo) form.getGlobalContext().Clinical.getHospitalAtNightNotes().clone() : null);

    String[] errors = note.validate();

    if(errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return false;
    }

    form.getGlobalContext().Clinical.setRemoveFromHospitalAtNight(form.chkRemoveFromList().getValue());
    form.getGlobalContext().Clinical.setHospitalAtNightNotes(note);

    return true;
}
项目:openMAXIMS    文件:Logic.java   
private void populateNotesGrid(HospitalAtNightNotesVoCollection notes) 
{
    form.grdUpdatedNotes().getRows().clear();

    if(notes == null || notes.size() == 0)
        return;

    for(int i=0; i<notes.size(); i++)
    {
        HospitalAtNightNotesVo note = notes.get(i);

        if(note == null)
            return;

        grdUpdatedNotesRow row = form.grdUpdatedNotes().getRows().newRow();
        addNotesGrid(note, row);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addNotesGrid(HospitalAtNightNotesVo note, grdUpdatedNotesRow row) 
{
    if(note == null)
        return;

    if(row == null)
        row = form.grdUpdatedNotes().getRows().newRow();

    row.setColDateTime(note.getAuthoringInformationIsNotNull() && note.getAuthoringInformation().getAuthoringDateTimeIsNotNull() ? note.getAuthoringInformation().getAuthoringDateTime().toString() : null);
    row.setTooltipForColDateTime(row.getColDateTime());
    row.setColHCP(note.getAuthoringInformationIsNotNull() && note.getAuthoringInformation().getAuthoringHcpIsNotNull() ? note.getAuthoringInformation().getAuthoringHcp().toString() : null);
    row.setTooltipForColHCP(row.getColHCP());
    row.setColNote(note.getNote());
    row.setTooltipForColNote(row.getColNote());

    row.setValue(note);
}
项目:openMAXIMS    文件:Logic.java   
public int compare(HospitalAtNightNotesVo o1, HospitalAtNightNotesVo o2)
{
    DateTime o1DateTime = o1.getAuthoringInformation() != null ? o1.getAuthoringInformation().getAuthoringDateTime() : null;
    DateTime o2DateTime = o2.getAuthoringInformation() != null ? o2.getAuthoringInformation().getAuthoringDateTime() : null;

    if (o1DateTime != null && o2DateTime != null)
    {
        return order * o1DateTime.compareTo(o2DateTime);
    }

    if (o1DateTime == null)
        return -1 * order;

    if (o2DateTime == null)
        return order;

    return 0;
}
项目:openMAXIMS    文件:Logic.java   
private boolean save() 
{
    HospitalAtNightNotesVo note = populateDataFromScreen(form.getGlobalContext().Clinical.getHospitalAtNightNotes() != null ? (HospitalAtNightNotesVo) form.getGlobalContext().Clinical.getHospitalAtNightNotes().clone() : null);

    String[] errors = note.validate();

    if(errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return false;
    }

    form.getGlobalContext().Clinical.setRemoveFromHospitalAtNight(form.chkRemoveFromList().getValue());
    form.getGlobalContext().Clinical.setHospitalAtNightNotes(note);

    return true;
}
项目:openMAXIMS    文件:Logic.java   
private void populateNotesGrid(HospitalAtNightNotesVoCollection notes) 
{
    form.grdUpdatedNotes().getRows().clear();

    if(notes == null || notes.size() == 0)
        return;

    for(int i=0; i<notes.size(); i++)
    {
        HospitalAtNightNotesVo note = notes.get(i);

        if(note == null)
            return;

        grdUpdatedNotesRow row = form.grdUpdatedNotes().getRows().newRow();
        addNotesGrid(note, row);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addNotesGrid(HospitalAtNightNotesVo note, grdUpdatedNotesRow row) 
{
    if(note == null)
        return;

    if(row == null)
        row = form.grdUpdatedNotes().getRows().newRow();

    row.setColDateTime(note.getAuthoringInformationIsNotNull() && note.getAuthoringInformation().getAuthoringDateTimeIsNotNull() ? note.getAuthoringInformation().getAuthoringDateTime().toString() : null);
    row.setTooltipForColDateTime(row.getColDateTime());
    row.setColHCP(note.getAuthoringInformationIsNotNull() && note.getAuthoringInformation().getAuthoringHcpIsNotNull() ? note.getAuthoringInformation().getAuthoringHcp().toString() : null);
    row.setTooltipForColHCP(row.getColHCP());
    row.setColNote(note.getNote());
    row.setTooltipForColNote(row.getColNote());

    row.setValue(note);
}
项目:openMAXIMS    文件:Logic.java   
public int compare(HospitalAtNightNotesVo o1, HospitalAtNightNotesVo o2)
{
    DateTime o1DateTime = o1.getAuthoringInformation() != null ? o1.getAuthoringInformation().getAuthoringDateTime() : null;
    DateTime o2DateTime = o2.getAuthoringInformation() != null ? o2.getAuthoringInformation().getAuthoringDateTime() : null;

    if (o1DateTime != null && o2DateTime != null)
    {
        return order * o1DateTime.compareTo(o2DateTime);
    }

    if (o1DateTime == null)
        return -1 * order;

    if (o2DateTime == null)
        return order;

    return 0;
}
项目:openMAXIMS    文件:Logic.java   
private boolean save() 
{
    HospitalAtNightNotesVo note = populateDataFromScreen(form.getGlobalContext().Clinical.getHospitalAtNightNotes() != null ? (HospitalAtNightNotesVo) form.getGlobalContext().Clinical.getHospitalAtNightNotes().clone() : null);

    String[] errors = note.validate();

    if(errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return false;
    }

    form.getGlobalContext().Clinical.setRemoveFromHospitalAtNight(form.chkRemoveFromList().getValue());
    form.getGlobalContext().Clinical.setHospitalAtNightNotes(note);

    return true;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateNotesGrid(HospitalAtNightNotesVoCollection notes) 
{
    form.grdUpdatedNotes().getRows().clear();

    if(notes == null || notes.size() == 0)
        return;

    for(int i=0; i<notes.size(); i++)
    {
        HospitalAtNightNotesVo note = notes.get(i);

        if(note == null)
            return;

        grdUpdatedNotesRow row = form.grdUpdatedNotes().getRows().newRow();
        addNotesGrid(note, row);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void addNotesGrid(HospitalAtNightNotesVo note, grdUpdatedNotesRow row) 
{
    if(note == null)
        return;

    if(row == null)
        row = form.grdUpdatedNotes().getRows().newRow();

    row.setColDateTime(note.getAuthoringInformationIsNotNull() && note.getAuthoringInformation().getAuthoringDateTimeIsNotNull() ? note.getAuthoringInformation().getAuthoringDateTime().toString() : null);
    row.setTooltipForColDateTime(row.getColDateTime());
    row.setColHCP(note.getAuthoringInformationIsNotNull() && note.getAuthoringInformation().getAuthoringHcpIsNotNull() ? note.getAuthoringInformation().getAuthoringHcp().toString() : null);
    row.setTooltipForColHCP(row.getColHCP());
    row.setColNote(note.getNote());
    row.setTooltipForColNote(row.getColNote());

    row.setValue(note);
}
项目:openmaxims-linux    文件:Logic.java   
public int compare(HospitalAtNightNotesVo o1, HospitalAtNightNotesVo o2)
{
    DateTime o1DateTime = o1.getAuthoringInformation() != null ? o1.getAuthoringInformation().getAuthoringDateTime() : null;
    DateTime o2DateTime = o2.getAuthoringInformation() != null ? o2.getAuthoringInformation().getAuthoringDateTime() : null;

    if (o1DateTime != null && o2DateTime != null)
    {
        return order * o1DateTime.compareTo(o2DateTime);
    }

    if (o1DateTime == null)
        return -1 * order;

    if (o2DateTime == null)
        return order;

    return 0;
}
项目:openmaxims-linux    文件:Logic.java   
private boolean save() 
{
    HospitalAtNightNotesVo note = populateDataFromScreen(form.getGlobalContext().Clinical.getHospitalAtNightNotes() != null ? (HospitalAtNightNotesVo) form.getGlobalContext().Clinical.getHospitalAtNightNotes().clone() : null);

    String[] errors = note.validate();

    if(errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return false;
    }

    form.getGlobalContext().Clinical.setRemoveFromHospitalAtNight(form.chkRemoveFromList().getValue());
    form.getGlobalContext().Clinical.setHospitalAtNightNotes(note);

    return true;
}
项目:AvoinApotti    文件:Logic.java   
private void updateControlsState() 
{
    boolean isNewStatus = form.getLocalContext().getSelectedInstance() == null || (form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));
    boolean isNotRemoveFromList = form.getLocalContext().getSelectedInstance() == null || (form.getLocalContext().getSelectedInstanceIsNotNull() && !HospitalAtNightPatientStatus.REMOVE_FROM_LIST.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));

    form.ccRequestingHCP().setEnabled(FormMode.EDIT.equals(form.getMode()) && isNewStatus);

    form.getContextMenus().Clinical.getHospitalAtNightClinicalTaskMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && isNewStatus);
    form.getContextMenus().Clinical.getHospitalAtNightUpdateNotesNEWItem().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && isNotRemoveFromList);
    form.getContextMenus().Clinical.getHospitalAtNightUpdateNotesEDITItem().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.grdUpdatedNotes().getValue() instanceof HospitalAtNightNotesVo && isNotRemoveFromList);

    if(FormMode.VIEW.equals(form.getMode()))
    {
        //WDEV-18180
        boolean canAllocateTask = engine.hasRight(AppRight.HAN_CAN_ALLOCATE_TASKS)&& form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus());
        form.btnActive().setVisible(canAllocateTask);
        form.btnRemoveFromList().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.ACTIVE.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));//  WDEV-13968
        form.btnEdit().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));
    }
    else if(FormMode.EDIT.equals(form.getMode()))
    {
        form.txtSituation().setEnabled(isNewStatus);
        form.txtBackground().setEnabled(isNewStatus);
        form.txtAssessment().setEnabled(isNewStatus);
        form.txtRecommendation().setEnabled(isNewStatus);
        form.cmbMEWS().setEnabled(isNewStatus);
        form.grdTypeRequest().setReadOnly(!isNewStatus);
        form.dtimRequestingDate().setEnabled(isNewStatus);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateScreenFromData(HospitalAtNightNotesVo hospitalAtNightNotes) 
{
    if(hospitalAtNightNotes == null)
        return;

    clearScreen();

    form.ccAUthoringHCP().setValue(hospitalAtNightNotes.getAuthoringInformation());
    form.txtNotes().setValue(hospitalAtNightNotes.getNote());
}
项目:openMAXIMS    文件:Logic.java   
private void updateControlsState() 
{
    boolean isNewStatus = form.getLocalContext().getSelectedInstance() == null || (form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));
    boolean isNotRemoveFromList = form.getLocalContext().getSelectedInstance() == null || (form.getLocalContext().getSelectedInstanceIsNotNull() && !HospitalAtNightPatientStatus.REMOVE_FROM_LIST.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));

    form.ccRequestingHCP().setEnabled(FormMode.EDIT.equals(form.getMode()) && isNewStatus);

    form.getContextMenus().Clinical.getHospitalAtNightClinicalTaskMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && isNewStatus);
    form.getContextMenus().Clinical.getHospitalAtNightUpdateNotesNEWItem().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && isNotRemoveFromList);
    form.getContextMenus().Clinical.getHospitalAtNightUpdateNotesEDITItem().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.grdUpdatedNotes().getValue() instanceof HospitalAtNightNotesVo && isNotRemoveFromList);

    if(FormMode.VIEW.equals(form.getMode()))
    {
        //WDEV-18180
        boolean canAllocateTask = engine.hasRight(AppRight.HAN_CAN_ALLOCATE_TASKS)&& form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus());
        form.btnActive().setVisible(canAllocateTask);
        form.btnRemoveFromList().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.ACTIVE.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));//  WDEV-13968
        form.btnEdit().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));
    }
    else if(FormMode.EDIT.equals(form.getMode()))
    {
        form.txtSituation().setEnabled(isNewStatus);
        form.txtBackground().setEnabled(isNewStatus);
        form.txtAssessment().setEnabled(isNewStatus);
        form.txtRecommendation().setEnabled(isNewStatus);
        form.cmbMEWS().setEnabled(isNewStatus);
        form.grdTypeRequest().setReadOnly(!isNewStatus);
        form.dtimRequestingDate().setEnabled(isNewStatus);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFromData(HospitalAtNightNotesVo hospitalAtNightNotes) 
{
    if(hospitalAtNightNotes == null)
        return;

    clearScreen();

    form.ccAUthoringHCP().setValue(hospitalAtNightNotes.getAuthoringInformation());
    form.txtNotes().setValue(hospitalAtNightNotes.getNote());
}
项目:openMAXIMS    文件:Logic.java   
private void updateControlsState() 
{
    boolean isNewStatus = form.getLocalContext().getSelectedInstance() == null || (form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));
    boolean isNotRemoveFromList = form.getLocalContext().getSelectedInstance() == null || (form.getLocalContext().getSelectedInstanceIsNotNull() && !HospitalAtNightPatientStatus.REMOVE_FROM_LIST.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));

    form.ccRequestingHCP().setEnabled(FormMode.EDIT.equals(form.getMode()) && isNewStatus);

    form.getContextMenus().Clinical.getHospitalAtNightClinicalTaskMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && isNewStatus);
    form.getContextMenus().Clinical.getHospitalAtNightUpdateNotesNEWItem().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && isNotRemoveFromList);
    form.getContextMenus().Clinical.getHospitalAtNightUpdateNotesEDITItem().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.grdUpdatedNotes().getValue() instanceof HospitalAtNightNotesVo && isNotRemoveFromList);

    if(FormMode.VIEW.equals(form.getMode()))
    {
        //WDEV-18180
        boolean canAllocateTask = engine.hasRight(AppRight.HAN_CAN_ALLOCATE_TASKS)&& form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus());
        form.btnActive().setVisible(canAllocateTask);
        form.btnRemoveFromList().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.ACTIVE.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));//  WDEV-13968
        form.btnEdit().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));
    }
    else if(FormMode.EDIT.equals(form.getMode()))
    {
        form.txtSituation().setEnabled(isNewStatus);
        form.txtBackground().setEnabled(isNewStatus);
        form.txtAssessment().setEnabled(isNewStatus);
        form.txtRecommendation().setEnabled(isNewStatus);
        form.cmbMEWS().setEnabled(isNewStatus);
        form.grdTypeRequest().setReadOnly(!isNewStatus);
        form.dtimRequestingDate().setEnabled(isNewStatus);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFromData(HospitalAtNightNotesVo hospitalAtNightNotes) 
{
    if(hospitalAtNightNotes == null)
        return;

    clearScreen();

    form.ccAUthoringHCP().setValue(hospitalAtNightNotes.getAuthoringInformation());
    form.txtNotes().setValue(hospitalAtNightNotes.getNote());
}
项目:openmaxims-linux    文件:Logic.java   
private void updateControlsState() 
{
    boolean isNewStatus = form.getLocalContext().getSelectedInstance() == null || (form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));
    boolean isNotRemoveFromList = form.getLocalContext().getSelectedInstance() == null || (form.getLocalContext().getSelectedInstanceIsNotNull() && !HospitalAtNightPatientStatus.REMOVE_FROM_LIST.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));

    form.ccRequestingHCP().setEnabled(FormMode.EDIT.equals(form.getMode()) && isNewStatus);

    form.getContextMenus().Clinical.getHospitalAtNightClinicalTaskMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && isNewStatus);
    form.getContextMenus().Clinical.getHospitalAtNightUpdateNotesNEWItem().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && isNotRemoveFromList);
    form.getContextMenus().Clinical.getHospitalAtNightUpdateNotesEDITItem().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.grdUpdatedNotes().getValue() instanceof HospitalAtNightNotesVo && isNotRemoveFromList);

    if(FormMode.VIEW.equals(form.getMode()))
    {
        //WDEV-18180
        boolean canAllocateTask = engine.hasRight(AppRight.HAN_CAN_ALLOCATE_TASKS)&& form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus());
        form.btnActive().setVisible(canAllocateTask);
        form.btnRemoveFromList().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.ACTIVE.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));//  WDEV-13968
        form.btnEdit().setVisible(form.getLocalContext().getLoggedHCPIsNotNull() && form.getLocalContext().getSelectedInstanceIsNotNull() && HospitalAtNightPatientStatus.NEW.equals(form.getLocalContext().getSelectedInstance().getCurrentStatus().getStatus()));
    }
    else if(FormMode.EDIT.equals(form.getMode()))
    {
        form.txtSituation().setEnabled(isNewStatus);
        form.txtBackground().setEnabled(isNewStatus);
        form.txtAssessment().setEnabled(isNewStatus);
        form.txtRecommendation().setEnabled(isNewStatus);
        form.cmbMEWS().setEnabled(isNewStatus);
        form.grdTypeRequest().setReadOnly(!isNewStatus);
        form.dtimRequestingDate().setEnabled(isNewStatus);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateScreenFromData(HospitalAtNightNotesVo hospitalAtNightNotes) 
{
    if(hospitalAtNightNotes == null)
        return;

    clearScreen();

    form.ccAUthoringHCP().setValue(hospitalAtNightNotes.getAuthoringInformation());
    form.txtNotes().setValue(hospitalAtNightNotes.getNote());
}