Java Code Examples for ims.nursing.vo.PlanOfCareHistoryVo

The following are top voted examples for showing how to use ims.nursing.vo.PlanOfCareHistoryVo. 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   Source Code and License 6 votes vote down vote up
private void populateGrdDPP(PlanOfCareHistoryVoCollection list) 
{
	if (list != null)
	{
		NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list);
		helper.sortDesc();			

		ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null;

		for(int i=0; i< list.size(); i++)
		{
			PlanOfCareHistoryVo voHistoryItem = list.get(i);
			row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow();

			if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
				row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString());
			if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull())
				row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString());
			if (voHistoryItem.getAnswerTextIsNotNull())
				row.setColDPP(voHistoryItem.getAnswerText());

			row.setBackColor(voHistoryItem.getLevelOfIntervention());
			row.setValue(voHistoryItem);
		}
	}	
}
 
Example 2
Project: openMAXIMS   File: Logic.java   Source Code and License 6 votes vote down vote up
private void populateGrdDPP(PlanOfCareHistoryVoCollection list) 
{
	if (list != null)
	{
		NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list);
		helper.sortDesc();			

		ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null;

		for(int i=0; i< list.size(); i++)
		{
			PlanOfCareHistoryVo voHistoryItem = list.get(i);
			row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow();

			if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
				row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString());
			if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull())
				row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString());
			if (voHistoryItem.getAnswerTextIsNotNull())
				row.setColDPP(voHistoryItem.getAnswerText());

			row.setBackColor(voHistoryItem.getLevelOfIntervention());
			row.setValue(voHistoryItem);
		}
	}	
}
 
Example 3
Project: openMAXIMS   File: Logic.java   Source Code and License 6 votes vote down vote up
private void populateGrdDPP(PlanOfCareHistoryVoCollection list) 
{
	if (list != null)
	{
		NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list);
		helper.sortDesc();			

		ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null;

		for(int i=0; i< list.size(); i++)
		{
			PlanOfCareHistoryVo voHistoryItem = list.get(i);
			row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow();

			if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
				row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString());
			if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull())
				row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString());
			if (voHistoryItem.getAnswerTextIsNotNull())
				row.setColDPP(voHistoryItem.getAnswerText());

			row.setBackColor(voHistoryItem.getLevelOfIntervention());
			row.setValue(voHistoryItem);
		}
	}	
}
 
Example 4
Project: openmaxims-linux   File: Logic.java   Source Code and License 6 votes vote down vote up
private void populateGrdDPP(PlanOfCareHistoryVoCollection list) 
{
	if (list != null)
	{
		NursingSummaryHelper helper = new NursingSummaryHelper(null, null, null, null,null, list);
		helper.sortDesc();			

		ims.nursing.forms.planofcare.GenForm.lyrPOCLayer.tabPocDetailsContainer.grdDPPRow row = null;

		for(int i=0; i< list.size(); i++)
		{
			PlanOfCareHistoryVo voHistoryItem = list.get(i);
			row = form.lyrPOC().tabPocDetails().grdDPP().getRows().newRow();

			if (voHistoryItem.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
				row.setColDateTime(voHistoryItem.getAuthoringInformation().getAuthoringDateTime().toString());
			if (voHistoryItem.getAuthoringInformation().getAuthoringHcpIsNotNull())
				row.setColHcps(voHistoryItem.getAuthoringInformation().getAuthoringHcp().toString());
			if (voHistoryItem.getAnswerTextIsNotNull())
				row.setColDPP(voHistoryItem.getAnswerText());

			row.setBackColor(voHistoryItem.getLevelOfIntervention());
			row.setValue(voHistoryItem);
		}
	}	
}