Java Code Examples for ims.assessment.helper.UserAssessmentInstHelper.updateQuestionStatusToAnswered()

The following are Jave code examples for showing how to use updateQuestionStatusToAnswered() of the ims.assessment.helper.UserAssessmentInstHelper class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: AvoinApotti   File: Logic.java   Source Code and License Vote up 5 votes
protected void onBtnSelectNAQuestionsClick() throws PresentationLogicException
{
	PatientAssessmentVo currentAssessment = form.getLocalContext().getPatientAssessmentVo();
	//Get the changes user eventualy made in the questions
	//updatePatientAssessmentWithTheChanges(currentAssessment);
	UserAssessmentInstHelper helper = getHelper(form.lyrTabs().tabNonApplicable().dynNonApplic());
	currentAssessment = helper.updateQuestionStatusToAnswered(currentAssessment, AnswerStatus.NOTAPPLICABLE);
	
	form.getLocalContext().setPatientAssessmentVo(currentAssessment);
	populateQuestionsGrid(filterQuestions(currentAssessment, DPP));
	form.lyrTabs().showtabCurrent();
	enableContextMenu();
}
 
Example 2
Project: AvoinApotti   File: Logic.java   Source Code and License Vote up 5 votes
protected void onBtnSelectNSQuestionsClick() throws PresentationLogicException
{
	PatientAssessmentVo currentAssessment = form.getLocalContext().getPatientAssessmentVo();
	//Get the changes user eventualy made in the questions
	//updatePatientAssessmentWithTheChanges(currentAssessment);
	UserAssessmentInstHelper helper = getHelper(form.lyrTabs().tabStandardQuestion().dyngrdNonStandard());
	currentAssessment = helper.updateQuestionStatusToAnswered(currentAssessment, AnswerStatus.NOTANSWERED);
	
	form.getLocalContext().setPatientAssessmentVo(currentAssessment);
	currentAssessment = filterQuestions(currentAssessment, DPP);
	populateQuestionsGrid(currentAssessment);
	form.lyrTabs().showtabCurrent();
	enableContextMenu();
}
 
Example 3
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
protected void onBtnSelectNAQuestionsClick() throws PresentationLogicException
{
	PatientAssessmentVo currentAssessment = form.getLocalContext().getPatientAssessmentVo();
	//Get the changes user eventualy made in the questions
	//updatePatientAssessmentWithTheChanges(currentAssessment);
	UserAssessmentInstHelper helper = getHelper(form.lyrTabs().tabNonApplicable().dynNonApplic());
	currentAssessment = helper.updateQuestionStatusToAnswered(currentAssessment, AnswerStatus.NOTAPPLICABLE);
	
	form.getLocalContext().setPatientAssessmentVo(currentAssessment);
	populateQuestionsGrid(filterQuestions(currentAssessment, DPP));
	form.lyrTabs().showtabCurrent();
	enableContextMenu();
}
 
Example 4
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
protected void onBtnSelectNSQuestionsClick() throws PresentationLogicException
{
	PatientAssessmentVo currentAssessment = form.getLocalContext().getPatientAssessmentVo();
	//Get the changes user eventualy made in the questions
	//updatePatientAssessmentWithTheChanges(currentAssessment);
	UserAssessmentInstHelper helper = getHelper(form.lyrTabs().tabStandardQuestion().dyngrdNonStandard());
	currentAssessment = helper.updateQuestionStatusToAnswered(currentAssessment, AnswerStatus.NOTANSWERED);
	
	form.getLocalContext().setPatientAssessmentVo(currentAssessment);
	currentAssessment = filterQuestions(currentAssessment, DPP);
	populateQuestionsGrid(currentAssessment);
	form.lyrTabs().showtabCurrent();
	enableContextMenu();
}
 
Example 5
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
protected void onBtnSelectNAQuestionsClick() throws PresentationLogicException
{
	PatientAssessmentVo currentAssessment = form.getLocalContext().getPatientAssessmentVo();
	//Get the changes user eventualy made in the questions
	//updatePatientAssessmentWithTheChanges(currentAssessment);
	UserAssessmentInstHelper helper = getHelper(form.lyrTabs().tabNonApplicable().dynNonApplic());
	currentAssessment = helper.updateQuestionStatusToAnswered(currentAssessment, AnswerStatus.NOTAPPLICABLE);
	
	form.getLocalContext().setPatientAssessmentVo(currentAssessment);
	populateQuestionsGrid(filterQuestions(currentAssessment, DPP));
	form.lyrTabs().showtabCurrent();
	enableContextMenu();
}
 
Example 6
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
protected void onBtnSelectNSQuestionsClick() throws PresentationLogicException
{
	PatientAssessmentVo currentAssessment = form.getLocalContext().getPatientAssessmentVo();
	//Get the changes user eventualy made in the questions
	//updatePatientAssessmentWithTheChanges(currentAssessment);
	UserAssessmentInstHelper helper = getHelper(form.lyrTabs().tabStandardQuestion().dyngrdNonStandard());
	currentAssessment = helper.updateQuestionStatusToAnswered(currentAssessment, AnswerStatus.NOTANSWERED);
	
	form.getLocalContext().setPatientAssessmentVo(currentAssessment);
	currentAssessment = filterQuestions(currentAssessment, DPP);
	populateQuestionsGrid(currentAssessment);
	form.lyrTabs().showtabCurrent();
	enableContextMenu();
}
 
Example 7
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 5 votes
protected void onBtnSelectNAQuestionsClick() throws PresentationLogicException
{
	PatientAssessmentVo currentAssessment = form.getLocalContext().getPatientAssessmentVo();
	//Get the changes user eventualy made in the questions
	//updatePatientAssessmentWithTheChanges(currentAssessment);
	UserAssessmentInstHelper helper = getHelper(form.lyrTabs().tabNonApplicable().dynNonApplic());
	currentAssessment = helper.updateQuestionStatusToAnswered(currentAssessment, AnswerStatus.NOTAPPLICABLE);
	
	form.getLocalContext().setPatientAssessmentVo(currentAssessment);
	populateQuestionsGrid(filterQuestions(currentAssessment, DPP));
	form.lyrTabs().showtabCurrent();
	enableContextMenu();
}
 
Example 8
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 5 votes
protected void onBtnSelectNSQuestionsClick() throws PresentationLogicException
{
	PatientAssessmentVo currentAssessment = form.getLocalContext().getPatientAssessmentVo();
	//Get the changes user eventualy made in the questions
	//updatePatientAssessmentWithTheChanges(currentAssessment);
	UserAssessmentInstHelper helper = getHelper(form.lyrTabs().tabStandardQuestion().dyngrdNonStandard());
	currentAssessment = helper.updateQuestionStatusToAnswered(currentAssessment, AnswerStatus.NOTANSWERED);
	
	form.getLocalContext().setPatientAssessmentVo(currentAssessment);
	currentAssessment = filterQuestions(currentAssessment, DPP);
	populateQuestionsGrid(currentAssessment);
	form.lyrTabs().showtabCurrent();
	enableContextMenu();
}