Pharmacy_09_03_18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.bestray.healthcarecommonutil.service;
import com.bestray.healthcarecommonutil.exception.ProcessingException;
import com.bestray.healthcarecommonutil.vo.DuplicatePatient;
import com.bestray.healthcarecommonutil.vo.TPatient;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import org.hibernate.exception.ConstraintViolationException;
import org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException;
// TODO: Auto-generated Javadoc
/**
* The Interface PatientService.
*
* @author User1
*/
public interface PatientService {
/**
* Save patient registration.
*
* @param patient the patient
* @throws ProcessingException the processing exception
* @throws ConstraintViolationException the constraint violation exception
* @throws HibernateOptimisticLockingFailureException the hibernate optimistic locking failure exception
*/
public void savePatientRegistration(TPatient patient)throws ProcessingException,ConstraintViolationException,HibernateOptimisticLockingFailureException;
/**
* Gets the patient details.
*
* @param ID the id
* @return the patient details
* @throws ProcessingException the processing exception
*/
public TPatient getPatientDetails(Long ID)throws ProcessingException;
/**
* Gets the all patientrecords.
*
* @return the all patientrecords
* @throws ProcessingException the processing exception
*/
public Vector<Vector<String>> getAllPatientrecords()throws ProcessingException;
/**
* Gets the patient wise.
*
* @param searchCriteria the search criteria
* @return the patient wise
* @throws ProcessingException the processing exception
*/
public Vector<Vector<String>> getPatientWise(Map searchCriteria)throws ProcessingException;
public Vector<Vector<String>> findDuplicatePatientDetails()throws ProcessingException;
public List<TPatient> findDuplicateRecordsByPatient(DuplicatePatient patient)throws ProcessingException;
public void mergePatients(String patientids,TPatient patient,String ids)throws ProcessingException;
public String getPatientId()throws ProcessingException;
public TPatient getPatientByPatientId(String patientID)throws ProcessingException;
public boolean isDuplicatePatient(TPatient patient)throws ProcessingException;
}
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 27 Jul, 2018 07:30:57 +0000 |
|