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

项目:AvoinApotti    文件:Logic.java   
/**
 * Function used to populate grid with search results
 */
private void populateAssessmentGrid(PatientAssessmentListVoCollection assessments)
{
    // Clear the grid
    form.grdAssessments().getRows().clear();
    form.getGlobalContext().Clinical.setReturnToFormName(null); //WDEV-17142

    // Check results collection
    if (assessments == null)
        return;


    // Iterate assessments collection and add them to grid
    for (PatientAssessmentListVo assessment : assessments)
    {
        // Create row for assessment
        grdAssessmentsRow row = form.grdAssessments().getRows().newRow();

        populateAssessmentGridRow(assessment, row);
    }
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Function used to populate grid with search results
 */
private void populateAssessmentGrid(PatientAssessmentListVoCollection assessments)
{
    // Clear the grid
    form.grdAssessments().getRows().clear();
    form.getGlobalContext().Clinical.setReturnToFormName(null); //WDEV-17142

    // Check results collection
    if (assessments == null)
        return;


    // Iterate assessments collection and add them to grid
    for (PatientAssessmentListVo assessment : assessments)
    {
        // Create row for assessment
        grdAssessmentsRow row = form.grdAssessments().getRows().newRow();

        populateAssessmentGridRow(assessment, row);
    }
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Function used to populate grid with search results
 */
private void populateAssessmentGrid(PatientAssessmentListVoCollection assessments)
{
    // Clear the grid
    form.grdAssessments().getRows().clear();
    form.getGlobalContext().Clinical.setReturnToFormName(null); //WDEV-17142

    // Check results collection
    if (assessments == null)
        return;


    // Iterate assessments collection and add them to grid
    for (PatientAssessmentListVo assessment : assessments)
    {
        // Create row for assessment
        grdAssessmentsRow row = form.grdAssessments().getRows().newRow();

        populateAssessmentGridRow(assessment, row);
    }
}
项目:openmaxims-linux    文件:Logic.java   
/**
 * Function used to populate grid with search results
 */
private void populateAssessmentGrid(PatientAssessmentListVoCollection assessments)
{
    // Clear the grid
    form.grdAssessments().getRows().clear();
    form.getGlobalContext().Clinical.setReturnToFormName(null); //WDEV-17142

    // Check results collection
    if (assessments == null)
        return;


    // Iterate assessments collection and add them to grid
    for (PatientAssessmentListVo assessment : assessments)
    {
        // Create row for assessment
        grdAssessmentsRow row = form.grdAssessments().getRows().newRow();

        populateAssessmentGridRow(assessment, row);
    }
}
项目:AvoinApotti    文件:Logic.java   
/**
 *  Function used to perform search
 *  Will validate search criteria, retain valid search criteria in persistent GC
 *  perform domain search 
 */
private void search()
{
    // Validate search criteria
    String[] errors = validateSearchCriteria();

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

    // Update search criteria
    form.getGlobalContext().Clinical.setPatientAssessmentListAndSearchCriteriaVo(populateSearchCriteriaFromScreen());

    PatientAssessmentListAndSearchCriteriaVo criteria = form.getGlobalContext().Clinical.getPatientAssessmentListAndSearchCriteriaVo();

    // Perform search
    PatientAssessmentListVoCollection patientAssessments = domain.listPatientAssessments(form.getGlobalContext().Core.getPatientShort(), criteria.getSpecialty(), criteria.getAuthoringHCP(), criteria.getResponsibleHCP(), criteria.getAssessmentName(), criteria.getAssessesmentStatus(), criteria.getDateFrom(), criteria.getDateTo(), GroupDateEnumeration.rdoEventDate.equals(form.GroupDate().getValue()));

    if (patientAssessments == null || patientAssessments.size() == 0)
    {
        engine.showMessage("No results matching search criteria were found");
    }

    // Populate patient assessments results to the grid
    populateAssessmentGrid(patientAssessments);
}
项目:openMAXIMS    文件:Logic.java   
/**
 *  Function used to perform search
 *  Will validate search criteria, retain valid search criteria in persistent GC
 *  perform domain search 
 */
private void search()
{
    // Validate search criteria
    String[] errors = validateSearchCriteria();

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

    // Update search criteria
    form.getGlobalContext().Clinical.setPatientAssessmentListAndSearchCriteriaVo(populateSearchCriteriaFromScreen());

    PatientAssessmentListAndSearchCriteriaVo criteria = form.getGlobalContext().Clinical.getPatientAssessmentListAndSearchCriteriaVo();

    // Perform search
    PatientAssessmentListVoCollection patientAssessments = domain.listPatientAssessments(form.getGlobalContext().Core.getPatientShort(), criteria.getSpecialty(), criteria.getAuthoringHCP(), criteria.getResponsibleHCP(), criteria.getAssessmentName(), criteria.getAssessesmentStatus(), criteria.getDateFrom(), criteria.getDateTo(), GroupDateEnumeration.rdoEventDate.equals(form.GroupDate().getValue()));

    if (patientAssessments == null || patientAssessments.size() == 0)
    {
        engine.showMessage("No results matching search criteria were found");
    }

    // Populate patient assessments results to the grid
    populateAssessmentGrid(patientAssessments);
}
项目:openMAXIMS    文件:Logic.java   
/**
 *  Function used to perform search
 *  Will validate search criteria, retain valid search criteria in persistent GC
 *  perform domain search 
 */
private void search()
{
    // Validate search criteria
    String[] errors = validateSearchCriteria();

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

    // Update search criteria
    form.getGlobalContext().Clinical.setPatientAssessmentListAndSearchCriteriaVo(populateSearchCriteriaFromScreen());

    PatientAssessmentListAndSearchCriteriaVo criteria = form.getGlobalContext().Clinical.getPatientAssessmentListAndSearchCriteriaVo();

    // Perform search
    PatientAssessmentListVoCollection patientAssessments = domain.listPatientAssessments(form.getGlobalContext().Core.getPatientShort(), criteria.getSpecialty(), criteria.getAuthoringHCP(), criteria.getResponsibleHCP(), criteria.getAssessmentName(), criteria.getAssessesmentStatus(), criteria.getDateFrom(), criteria.getDateTo(), GroupDateEnumeration.rdoEventDate.equals(form.GroupDate().getValue()));

    if (patientAssessments == null || patientAssessments.size() == 0)
    {
        engine.showMessage("No results matching search criteria were found");
    }

    // Populate patient assessments results to the grid
    populateAssessmentGrid(patientAssessments);
}
项目:openmaxims-linux    文件:Logic.java   
/**
 *  Function used to perform search
 *  Will validate search criteria, retain valid search criteria in persistent GC
 *  perform domain search 
 */
private void search()
{
    // Validate search criteria
    String[] errors = validateSearchCriteria();

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

    // Update search criteria
    form.getGlobalContext().Clinical.setPatientAssessmentListAndSearchCriteriaVo(populateSearchCriteriaFromScreen());

    PatientAssessmentListAndSearchCriteriaVo criteria = form.getGlobalContext().Clinical.getPatientAssessmentListAndSearchCriteriaVo();

    // Perform search
    PatientAssessmentListVoCollection patientAssessments = domain.listPatientAssessments(form.getGlobalContext().Core.getPatientShort(), criteria.getSpecialty(), criteria.getAuthoringHCP(), criteria.getResponsibleHCP(), criteria.getAssessmentName(), criteria.getAssessesmentStatus(), criteria.getDateFrom(), criteria.getDateTo(), GroupDateEnumeration.rdoEventDate.equals(form.GroupDate().getValue()));

    if (patientAssessments == null || patientAssessments.size() == 0)
    {
        engine.showMessage("No results matching search criteria were found");
    }

    // Populate patient assessments results to the grid
    populateAssessmentGrid(patientAssessments);
}