Java Code Examples for ims.core.vo.lookups.PatIdType.EMPI

The following are Jave code examples for showing how to use EMPI 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:   View Source Code Vote up 4 votes
private PatIdType getDefaultPatientIdentifier()
	String flagValue = ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue();
	if ("PKEY".equals(flagValue))
		return PatIdType.PKEY;
	if ("HOSPNUM".equals(flagValue))
		return PatIdType.HOSPNUM;
	if ("NHSN".equals(flagValue))
		return PatIdType.NHSN;
	if ("PPSN".equals(flagValue))
		return PatIdType.PPSN;
	if ("CHARTNUM".equals(flagValue))
		return PatIdType.CHARTNUM;
	if ("NTPFNUM".equals(flagValue))
		return PatIdType.NTPFNUM;
	if ("SENTNUM".equals(flagValue))
		return PatIdType.SENTNUM;
	if ("DISTRICT".equals(flagValue))
		return PatIdType.DISTRICT;
	if ("CASENUM".equals(flagValue))
		return PatIdType.CASENUM;
	if ("EMPI".equals(flagValue))
		return PatIdType.EMPI;
	if ("CLIENTID".equals(flagValue))
		return PatIdType.CLIENTID;
	if ("GMSID".equals(flagValue))
		return PatIdType.GMSID;
	if ("PASID".equals(flagValue))
		return PatIdType.PASID;
	if ("PATNUM".equals(flagValue))
		return PatIdType.PATNUM;
	if ("PXNUMBER".equals(flagValue))
		return PatIdType.PXNUMBER;
	if ("MRNNUM".equals(flagValue))
		return PatIdType.MRNNUM;
	return PatIdType.HOSPNUM;