Java Code Examples for ims.nursing.vo.CarePlanTemplateTitleCollection

The following are top voted examples for showing how to use ims.nursing.vo.CarePlanTemplateTitleCollection. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd()
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.BREATHING);
	if (tempColl != null)
	{
		 form.gridCarePlans().getRows().clear();
		 GenForm.gridCarePlansRow tempRow;
		 for (int i=0; i<tempColl.size(); i++)
		 {
			 CarePlanTemplateTitle template = tempColl.get(i);
			 tempRow = form.gridCarePlans().getRows().newRow();
			 tempRow.setValue(template);
			 tempRow.setcolCarePlans(template.getTitle());
		 }
	}
}
 
Example 2
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.COMMUNICATION);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 3
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	//Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.SPIRITUALITY);
	if (votempColl != null)
	{
		form.gridCarePlan().getRows().clear();
		GenForm.gridCarePlanRow tempRow;
		for (int i=0; i<votempColl.size(); i++)
		{
			CarePlanTemplateTitle votemplate = votempColl.get(i);
			tempRow = form.gridCarePlan().getRows().newRow();
			tempRow.setValue(votemplate);
			tempRow.setcolCarePlans(votemplate.getTitle());
		}
	}
}
 
Example 4
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection voTempColl = domain.listCarePlanTemplates(AssessmentComponentType.SLEEPING);
	if (voTempColl != null)
	{
		form.gCarePlans().getRows().clear();
		GenForm.gCarePlansRow tempRow;
		for (int i=0; i<voTempColl.size(); i++)
		{
			CarePlanTemplateTitle voTemplate = voTempColl.get(i);
			tempRow = form.gCarePlans().getRows().newRow();
			tempRow.setValue(voTemplate);
			tempRow.setcolCarePlans(voTemplate.getTitle());
		}
	}
}
 
Example 5
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.BLADDER);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 6
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	//Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.BOWELS);
	if (votempColl != null)
	{
		form.container1().gridCarePlans().getRows().clear();
		GenForm.container1Container.gridCarePlansRow tempRow;
		for (int i=0; i<votempColl.size(); i++)
		{
			CarePlanTemplateTitle votemplate = votempColl.get(i);
			tempRow = form.container1().gridCarePlans().getRows().newRow();
			tempRow.setValue(votemplate);
			tempRow.setcolCarePlans(votemplate.getTitle());
		}
	}
}
 
Example 7
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.DRESSING);
	if (votempColl != null)
	{
		 form.gridCarePlan().getRows().clear();
		 GenForm.gridCarePlanRow tempRow;
		 for (int i=0; i<votempColl.size(); i++)
		 {
			  CarePlanTemplateTitle votemplate = votempColl.get(i);
			  tempRow = form.gridCarePlan().getRows().newRow();
			  tempRow.setValue(votemplate);
			  tempRow.setcolCarePlans(votemplate.getTitle());
		 }
	}
}
 
Example 8
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	form.container1().gridCarePlan().getRows().clear();
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.PERSONAL_HYGIENE);
	if (votempColl != null)
	{
		 form.container1().gridCarePlan().getRows().clear();
		 GenForm.container1Container.gridCarePlanRow tempRow;
		 for (int i=0; i<votempColl.size(); i++)
		 {
			 CarePlanTemplateTitle votemplate = votempColl.get(i);
			 tempRow = form.container1().gridCarePlan().getRows().newRow();
			 tempRow.setValue(votemplate);
			 tempRow.setcolCarePlans(votemplate.getTitle());
		 }
	}
}
 
Example 9
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd()
{
	// Populate the Grid CarePlan Templates
	    CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.EATING);
	if (votempColl != null)
	{
		  form.container1().gridCarePlan().getRows().clear();
		  GenForm.container1Container.gridCarePlanRow tempRow;
		  for (int i=0; i<votempColl.size(); i++)
		  {
			   CarePlanTemplateTitle votemplate = votempColl.get(i);
			   tempRow = form.container1().gridCarePlan().getRows().newRow();
			   tempRow.setValue(votemplate);
			   tempRow.setcolCarePlans(votemplate.getTitle());
		  }
	}
}
 
Example 10
Project: AvoinApotti   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.EMOTIONAL_STATE);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 11
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd()
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.BREATHING);
	if (tempColl != null)
	{
		 form.gridCarePlans().getRows().clear();
		 GenForm.gridCarePlansRow tempRow;
		 for (int i=0; i<tempColl.size(); i++)
		 {
			 CarePlanTemplateTitle template = tempColl.get(i);
			 tempRow = form.gridCarePlans().getRows().newRow();
			 tempRow.setValue(template);
			 tempRow.setcolCarePlans(template.getTitle());
		 }
	}
}
 
Example 12
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.COMMUNICATION);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 13
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	//Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.SPIRITUALITY);
	if (votempColl != null)
	{
		form.gridCarePlan().getRows().clear();
		GenForm.gridCarePlanRow tempRow;
		for (int i=0; i<votempColl.size(); i++)
		{
			CarePlanTemplateTitle votemplate = votempColl.get(i);
			tempRow = form.gridCarePlan().getRows().newRow();
			tempRow.setValue(votemplate);
			tempRow.setcolCarePlans(votemplate.getTitle());
		}
	}
}
 
Example 14
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection voTempColl = domain.listCarePlanTemplates(AssessmentComponentType.SLEEPING);
	if (voTempColl != null)
	{
		form.gCarePlans().getRows().clear();
		GenForm.gCarePlansRow tempRow;
		for (int i=0; i<voTempColl.size(); i++)
		{
			CarePlanTemplateTitle voTemplate = voTempColl.get(i);
			tempRow = form.gCarePlans().getRows().newRow();
			tempRow.setValue(voTemplate);
			tempRow.setcolCarePlans(voTemplate.getTitle());
		}
	}
}
 
Example 15
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.BLADDER);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 16
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	//Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.BOWELS);
	if (votempColl != null)
	{
		form.container1().gridCarePlans().getRows().clear();
		GenForm.container1Container.gridCarePlansRow tempRow;
		for (int i=0; i<votempColl.size(); i++)
		{
			CarePlanTemplateTitle votemplate = votempColl.get(i);
			tempRow = form.container1().gridCarePlans().getRows().newRow();
			tempRow.setValue(votemplate);
			tempRow.setcolCarePlans(votemplate.getTitle());
		}
	}
}
 
Example 17
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.DRESSING);
	if (votempColl != null)
	{
		 form.gridCarePlan().getRows().clear();
		 GenForm.gridCarePlanRow tempRow;
		 for (int i=0; i<votempColl.size(); i++)
		 {
			  CarePlanTemplateTitle votemplate = votempColl.get(i);
			  tempRow = form.gridCarePlan().getRows().newRow();
			  tempRow.setValue(votemplate);
			  tempRow.setcolCarePlans(votemplate.getTitle());
		 }
	}
}
 
Example 18
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	form.container1().gridCarePlan().getRows().clear();
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.PERSONAL_HYGIENE);
	if (votempColl != null)
	{
		 form.container1().gridCarePlan().getRows().clear();
		 GenForm.container1Container.gridCarePlanRow tempRow;
		 for (int i=0; i<votempColl.size(); i++)
		 {
			 CarePlanTemplateTitle votemplate = votempColl.get(i);
			 tempRow = form.container1().gridCarePlan().getRows().newRow();
			 tempRow.setValue(votemplate);
			 tempRow.setcolCarePlans(votemplate.getTitle());
		 }
	}
}
 
Example 19
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd()
{
	// Populate the Grid CarePlan Templates
	    CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.EATING);
	if (votempColl != null)
	{
		  form.container1().gridCarePlan().getRows().clear();
		  GenForm.container1Container.gridCarePlanRow tempRow;
		  for (int i=0; i<votempColl.size(); i++)
		  {
			   CarePlanTemplateTitle votemplate = votempColl.get(i);
			   tempRow = form.container1().gridCarePlan().getRows().newRow();
			   tempRow.setValue(votemplate);
			   tempRow.setcolCarePlans(votemplate.getTitle());
		  }
	}
}
 
Example 20
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.EMOTIONAL_STATE);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 21
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd()
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.BREATHING);
	if (tempColl != null)
	{
		 form.gridCarePlans().getRows().clear();
		 GenForm.gridCarePlansRow tempRow;
		 for (int i=0; i<tempColl.size(); i++)
		 {
			 CarePlanTemplateTitle template = tempColl.get(i);
			 tempRow = form.gridCarePlans().getRows().newRow();
			 tempRow.setValue(template);
			 tempRow.setcolCarePlans(template.getTitle());
		 }
	}
}
 
Example 22
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.COMMUNICATION);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 23
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	//Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.SPIRITUALITY);
	if (votempColl != null)
	{
		form.gridCarePlan().getRows().clear();
		GenForm.gridCarePlanRow tempRow;
		for (int i=0; i<votempColl.size(); i++)
		{
			CarePlanTemplateTitle votemplate = votempColl.get(i);
			tempRow = form.gridCarePlan().getRows().newRow();
			tempRow.setValue(votemplate);
			tempRow.setcolCarePlans(votemplate.getTitle());
		}
	}
}
 
Example 24
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection voTempColl = domain.listCarePlanTemplates(AssessmentComponentType.SLEEPING);
	if (voTempColl != null)
	{
		form.gCarePlans().getRows().clear();
		GenForm.gCarePlansRow tempRow;
		for (int i=0; i<voTempColl.size(); i++)
		{
			CarePlanTemplateTitle voTemplate = voTempColl.get(i);
			tempRow = form.gCarePlans().getRows().newRow();
			tempRow.setValue(voTemplate);
			tempRow.setcolCarePlans(voTemplate.getTitle());
		}
	}
}
 
Example 25
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.BLADDER);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 26
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	//Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.BOWELS);
	if (votempColl != null)
	{
		form.container1().gridCarePlans().getRows().clear();
		GenForm.container1Container.gridCarePlansRow tempRow;
		for (int i=0; i<votempColl.size(); i++)
		{
			CarePlanTemplateTitle votemplate = votempColl.get(i);
			tempRow = form.container1().gridCarePlans().getRows().newRow();
			tempRow.setValue(votemplate);
			tempRow.setcolCarePlans(votemplate.getTitle());
		}
	}
}
 
Example 27
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.DRESSING);
	if (votempColl != null)
	{
		 form.gridCarePlan().getRows().clear();
		 GenForm.gridCarePlanRow tempRow;
		 for (int i=0; i<votempColl.size(); i++)
		 {
			  CarePlanTemplateTitle votemplate = votempColl.get(i);
			  tempRow = form.gridCarePlan().getRows().newRow();
			  tempRow.setValue(votemplate);
			  tempRow.setcolCarePlans(votemplate.getTitle());
		 }
	}
}
 
Example 28
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	form.container1().gridCarePlan().getRows().clear();
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.PERSONAL_HYGIENE);
	if (votempColl != null)
	{
		 form.container1().gridCarePlan().getRows().clear();
		 GenForm.container1Container.gridCarePlanRow tempRow;
		 for (int i=0; i<votempColl.size(); i++)
		 {
			 CarePlanTemplateTitle votemplate = votempColl.get(i);
			 tempRow = form.container1().gridCarePlan().getRows().newRow();
			 tempRow.setValue(votemplate);
			 tempRow.setcolCarePlans(votemplate.getTitle());
		 }
	}
}
 
Example 29
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd()
{
	// Populate the Grid CarePlan Templates
	    CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.EATING);
	if (votempColl != null)
	{
		  form.container1().gridCarePlan().getRows().clear();
		  GenForm.container1Container.gridCarePlanRow tempRow;
		  for (int i=0; i<votempColl.size(); i++)
		  {
			   CarePlanTemplateTitle votemplate = votempColl.get(i);
			   tempRow = form.container1().gridCarePlan().getRows().newRow();
			   tempRow.setValue(votemplate);
			   tempRow.setcolCarePlans(votemplate.getTitle());
		  }
	}
}
 
Example 30
Project: openMAXIMS   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.EMOTIONAL_STATE);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 31
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd()
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.BREATHING);
	if (tempColl != null)
	{
		 form.gridCarePlans().getRows().clear();
		 GenForm.gridCarePlansRow tempRow;
		 for (int i=0; i<tempColl.size(); i++)
		 {
			 CarePlanTemplateTitle template = tempColl.get(i);
			 tempRow = form.gridCarePlans().getRows().newRow();
			 tempRow.setValue(template);
			 tempRow.setcolCarePlans(template.getTitle());
		 }
	}
}
 
Example 32
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.COMMUNICATION);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 33
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	//Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.SPIRITUALITY);
	if (votempColl != null)
	{
		form.gridCarePlan().getRows().clear();
		GenForm.gridCarePlanRow tempRow;
		for (int i=0; i<votempColl.size(); i++)
		{
			CarePlanTemplateTitle votemplate = votempColl.get(i);
			tempRow = form.gridCarePlan().getRows().newRow();
			tempRow.setValue(votemplate);
			tempRow.setcolCarePlans(votemplate.getTitle());
		}
	}
}
 
Example 34
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection voTempColl = domain.listCarePlanTemplates(AssessmentComponentType.SLEEPING);
	if (voTempColl != null)
	{
		form.gCarePlans().getRows().clear();
		GenForm.gCarePlansRow tempRow;
		for (int i=0; i<voTempColl.size(); i++)
		{
			CarePlanTemplateTitle voTemplate = voTempColl.get(i);
			tempRow = form.gCarePlans().getRows().newRow();
			tempRow.setValue(voTemplate);
			tempRow.setcolCarePlans(voTemplate.getTitle());
		}
	}
}
 
Example 35
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.BLADDER);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}
 
Example 36
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	//Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.BOWELS);
	if (votempColl != null)
	{
		form.container1().gridCarePlans().getRows().clear();
		GenForm.container1Container.gridCarePlansRow tempRow;
		for (int i=0; i<votempColl.size(); i++)
		{
			CarePlanTemplateTitle votemplate = votempColl.get(i);
			tempRow = form.container1().gridCarePlans().getRows().newRow();
			tempRow.setValue(votemplate);
			tempRow.setcolCarePlans(votemplate.getTitle());
		}
	}
}
 
Example 37
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void loadCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.DRESSING);
	if (votempColl != null)
	{
		 form.gridCarePlan().getRows().clear();
		 GenForm.gridCarePlanRow tempRow;
		 for (int i=0; i<votempColl.size(); i++)
		 {
			  CarePlanTemplateTitle votemplate = votempColl.get(i);
			  tempRow = form.gridCarePlan().getRows().newRow();
			  tempRow.setValue(votemplate);
			  tempRow.setcolCarePlans(votemplate.getTitle());
		 }
	}
}
 
Example 38
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	// Populate the Grid CarePlan Templates
	form.container1().gridCarePlan().getRows().clear();
	CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.PERSONAL_HYGIENE);
	if (votempColl != null)
	{
		 form.container1().gridCarePlan().getRows().clear();
		 GenForm.container1Container.gridCarePlanRow tempRow;
		 for (int i=0; i<votempColl.size(); i++)
		 {
			 CarePlanTemplateTitle votemplate = votempColl.get(i);
			 tempRow = form.container1().gridCarePlan().getRows().newRow();
			 tempRow.setValue(votemplate);
			 tempRow.setcolCarePlans(votemplate.getTitle());
		 }
	}
}
 
Example 39
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd()
{
	// Populate the Grid CarePlan Templates
	    CarePlanTemplateTitleCollection votempColl = domain.listCarePlanTemplates(AssessmentComponentType.EATING);
	if (votempColl != null)
	{
		  form.container1().gridCarePlan().getRows().clear();
		  GenForm.container1Container.gridCarePlanRow tempRow;
		  for (int i=0; i<votempColl.size(); i++)
		  {
			   CarePlanTemplateTitle votemplate = votempColl.get(i);
			   tempRow = form.container1().gridCarePlan().getRows().newRow();
			   tempRow.setValue(votemplate);
			   tempRow.setcolCarePlans(votemplate.getTitle());
		  }
	}
}
 
Example 40
Project: openmaxims-linux   File: Logic.java   View source code 6 votes vote down vote up
private void prePopulateCarePlanGrd() 
{
	CarePlanTemplateTitleCollection tempColl = domain.listCarePlanTemplates(AssessmentComponentType.EMOTIONAL_STATE);
	if (tempColl != null)
	{
		form.container1().gridCarePlan().getRows().clear();
		GenForm.container1Container.gridCarePlanRow tempRow;
		
		for (int i=0; i<tempColl.size(); i++)
		{
			CarePlanTemplateTitle template = tempColl.get(i);
			tempRow = form.container1().gridCarePlan().getRows().newRow();
			tempRow.setValue(template);
			tempRow.setcolCarePlans(template.getTitle());
		}
	}
}