Java Code Examples for ims.core.vo.lookups.PatIdType.getText()

The following are Jave code examples for showing how to use getText() of the ims.core.vo.lookups.PatIdType class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: AvoinApotti   File: Logic.java   View Source Code Vote up 5 votes
private void initialise() 
{
	updateMenuState();
	updateButtonState();
	
	// WDEV-16083 Use display patid type, otherwise if not set, use NHS Number as was previous
	String patidColHeader="NHS Number";
	PatIdType dispIdType = PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue());
	if(dispIdType != null)
		patidColHeader=dispIdType.getText();
	form.grdDetails().setColPatIdCaption(patidColHeader);

}
 
Example 2
Project: AvoinApotti   File: Logic.java   View Source Code Vote up 5 votes
private String getPatientIdentifier()
{
	PatIdType dispIdType = PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue());
	if(dispIdType != null)
		return dispIdType.getText();
	
	return "Hospital No.";
}
 
Example 3
Project: AvoinApotti   File: Logic.java   View Source Code Vote up 5 votes
private String getPatientIdentifier()
{
	PatIdType dispIdType = PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue());
	if(dispIdType != null)
		return dispIdType.getText();
	
	return "Hospital No.";
}
 
Example 4
Project: AvoinApotti   File: Logic.java   View Source Code Vote up 5 votes
private String getPatientIdentifier()
{
	PatIdType dispIdType = PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue());
	if(dispIdType != null)
		return dispIdType.getText();
	
	return "Hospital No.";
}
 
Example 5
Project: AvoinApotti   File: Logic.java   View Source Code Vote up 4 votes
private void clearAllControls()
{
	form.txtName().setValue(null);
	form.txtDOB().setValue(null);
	form.txtHospnum().setValue(null);
	form.txtNHSNo().setValue(null);
	
	form.txtLabRadNo().setValue(null);
	form.lblName().setValue("");//WDEV-16952
	form.txtOrderingLocation().setValue(null);
	form.txtClinician().setValue(null);
	form.txtRequestedBy().setValue(null);
	
	form.txtTypeOrExamDt().setValue(null);
	form.txtCollOrStat().setValue(null);
	form.txtReceived().setValue(null);
	form.txtSite().setValue(null);//WDEV-16773
	form.lnkViewOrderNotes().setEnabled(false);
	form.lnkViewOrderNotes().setTooltip("");
	form.dyngrdResults().clear();
	
	form.chkEnableExit().setValue(false);
	form.chkMarkAsSeen().setValue(false);
	form.chkMarkAsChecked().setVisible(false);
	form.chkMarkForReview().setValue(false);

	PatIdType dispIdType = PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue());
	
	if(dispIdType != null && dispIdType.getText() != null)
	{
		if (PatIdType.NHSN.equals(dispIdType) && ConfigFlag.UI.DISPLAY_HOSPNO_FIELD_ON_RESULTS_FORM.getValue())
		{
			form.lblPatId().setValue(PatIdType.HOSPNUM.getText());
		}
		else
		{
			form.lblPatId().setValue(dispIdType.getText() + ":");
		}
	}
	
	// WDEV-13321
	// Clear "Allocated for Review" controls
	form.lblAllocatedForReview().setValue("");
	form.htmAllocatedForReview().setHTML("");//WDEV-13976
	form.ccMedicReview().clear();
}