Java Code Examples for ims.nursing.vo.PlanOfCareHistoryVoCollection

The following are top voted examples for showing how to use ims.nursing.vo.PlanOfCareHistoryVoCollection. 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 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   View source code 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   View source code 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   View source code 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 5
Project: AvoinApotti   File: PlanOfCareImpl.java   View source code 4 votes vote down vote up
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
	return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
			getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()}));	
}
 
Example 6
Project: openMAXIMS   File: PlanOfCareImpl.java   View source code 4 votes vote down vote up
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
	return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
			getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()}));	
}
 
Example 7
Project: openMAXIMS   File: PlanOfCareImpl.java   View source code 4 votes vote down vote up
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
	return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
			getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()}));	
}
 
Example 8
Project: openmaxims-linux   File: PlanOfCareImpl.java   View source code 4 votes vote down vote up
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
	return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
			getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()}));	
}