@Test public void testcreateC2SLocalIdentifier() { String c2sEnvType = "c2sEnvType"; String locId = helper.createC2SLocalIdentifier(c2sEnvType); assertNotNull(locId); assertTrue(locId.startsWith(new String(c2sEnvType).toUpperCase())); }
public String createC2SLocalIdentifier(String c2sEnvType) { StringBuilder localIdIdBuilder = new StringBuilder(); if (null != c2sEnvType) { localIdIdBuilder.append(new String(c2sEnvType).toUpperCase()); localIdIdBuilder.append("."); } localIdIdBuilder.append(RandomStringUtils.randomAlphanumeric((6))); return localIdIdBuilder.toString(); }
SpiritClientHelper { public String createC2SLocalIdentifier(String c2sEnvType) { StringBuilder localIdIdBuilder = new StringBuilder(); if (null != c2sEnvType) { localIdIdBuilder.append(new String(c2sEnvType).toUpperCase()); localIdIdBuilder.append("."); } localIdIdBuilder.append(RandomStringUtils.randomAlphanumeric((6))); return localIdIdBuilder.toString(); } }
SpiritClientHelper { public String createC2SLocalIdentifier(String c2sEnvType) { StringBuilder localIdIdBuilder = new StringBuilder(); if (null != c2sEnvType) { localIdIdBuilder.append(new String(c2sEnvType).toUpperCase()); localIdIdBuilder.append("."); } localIdIdBuilder.append(RandomStringUtils.randomAlphanumeric((6))); return localIdIdBuilder.toString(); }  }
SpiritClientHelper { public String createC2SLocalIdentifier(String c2sEnvType) { StringBuilder localIdIdBuilder = new StringBuilder(); if (null != c2sEnvType) { localIdIdBuilder.append(new String(c2sEnvType).toUpperCase()); localIdIdBuilder.append("."); } localIdIdBuilder.append(RandomStringUtils.randomAlphanumeric((6))); return localIdIdBuilder.toString(); }  EhrPatientClientDto convertFromPatientDto(PatientDto patientDto,
			boolean isBasic, EhrPatientClientDto eClientDto); PatientDto convertFromEhrPatientClientDto(
			EhrPatientRsp patientResponse, PatientDto patientDto); String createC2SLocalIdentifier(String c2sEnvType); List<EhrPIDClientDto> createPIDList(String patientId,
			String domainId, String domainIdType); }
SpiritClientHelper { public String createC2SLocalIdentifier(String c2sEnvType) { StringBuilder localIdIdBuilder = new StringBuilder(); if (null != c2sEnvType) { localIdIdBuilder.append(new String(c2sEnvType).toUpperCase()); localIdIdBuilder.append("."); } localIdIdBuilder.append(RandomStringUtils.randomAlphanumeric((6))); return localIdIdBuilder.toString(); }  EhrPatientClientDto convertFromPatientDto(PatientDto patientDto,
			boolean isBasic, EhrPatientClientDto eClientDto); PatientDto convertFromEhrPatientClientDto(
			EhrPatientRsp patientResponse, PatientDto patientDto); String createC2SLocalIdentifier(String c2sEnvType); List<EhrPIDClientDto> createPIDList(String patientId,
			String domainId, String domainIdType);  }