Subversion Repository Public Repository

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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bestray.healthcareemr.Service;

import com.bestray.healthcarecommonutil.exception.ProcessingException;
import com.bestray.healthcarecommonutil.vo.TAppointment;
import com.bestray.healthcarecommonutil.vo.TDepartmentMaster;
import com.bestray.healthcarecommonutil.vo.TDoctorInformation;
import com.bestray.healthcarecommonutil.vo.TPatient;
import java.util.Date;
import java.util.List;
import java.util.Vector;
import org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException;

// TODO: Auto-generated Javadoc
/**
 * The Interface AppointmentService.
 *
 * @author sumitHome
 */
public interface AppointmentService {

    /**
     * Gets the department list.
     *
     * @return the department list
     * @throws ProcessingException the processing exception
     */
 

    /**
     * Gets the appointment list.
     *
     * @param dt the dt
     * @param doctorId the doctor id
     * @return the appointment list
     * @throws ProcessingException the processing exception
     */
    public Vector<Vector<String>> getAppointmentList(Date dt,TDoctorInformation doctorId)throws ProcessingException;

    /**
     * Save appointment.
     *
     * @param newAppointment the new appointment
     * @param oldAppointment the old appointment
     * @throws ProcessingException the processing exception
     */
    public void saveAppointment(TAppointment newAppointment, TAppointment oldAppointment)throws ProcessingException;

    /**
     * Gets the appointment list by patient.
     *
     * @param patientId the patient id
     * @return the appointment list by patient
     * @throws ProcessingException the processing exception
     */
    public Vector<Vector<String>> getAppointmentListByPatient(TPatient patientId)throws ProcessingException;

    /**
     * Gets the appointment details by id.
     *
     * @param appointmentID the appointment id
     * @return the appointment details by id
     * @throws ProcessingException the processing exception
     */
    public TAppointment getAppointmentDetailsById(Long appointmentID)throws ProcessingException;

    /**
     * Gets the appointment list by date.
     *
     * @param appointmentDate the appointment date
     * @return the appointment list by date
     * @throws ProcessingException the processing exception
     */
    public Vector<Vector<String>> getAppointmentListByDate(Date appointmentDate)throws ProcessingException;

    /**
     * Delete appointmentrecord.
     *
     * @param appointment the appointment
     * @throws ProcessingException the processing exception
     * @throws HibernateOptimisticLockingFailureException the hibernate optimistic locking failure exception
     */
    public void deleteAppointmentrecord(TAppointment appointment)throws ProcessingException, HibernateOptimisticLockingFailureException;

    /**
     * Save next appointments.
     *
     * @param appointment the appointment
     * @param dateList the date list
     * @throws ProcessingException the processing exception
     */
    public void saveNextAppointments(TAppointment appointment, List<Date> dateList)throws ProcessingException;

    /**
     * Check out appointmentrecord.
     *
     * @param appointment the appointment
     * @throws ProcessingException the processing exception
     * @throws HibernateOptimisticLockingFailureException the hibernate optimistic locking failure exception
     */
    public void checkOutAppointmentrecord(TAppointment appointment)throws ProcessingException,HibernateOptimisticLockingFailureException;

    /**
     * Check in appointmentrecord.
     *
     * @param appointment the appointment
     * @throws ProcessingException the processing exception
     * @throws HibernateOptimisticLockingFailureException the hibernate optimistic locking failure exception
     */
    public void CheckInAppointmentrecord(TAppointment appointment)throws ProcessingException,HibernateOptimisticLockingFailureException;
    
    public void addRemark(TAppointment appointment)throws ProcessingException,HibernateOptimisticLockingFailureException;

    /**
     * Find previous appointments.
     *
     * @param patientId the patient id
     * @param AppointmentDate the appointment date
     * @param departmentId the department id
     * @param doctorName the doctor name
     * @param visitType the visit type
     * @return the list
     * @throws ProcessingException the processing exception
     */
    public List<TAppointment> findPreviousAppointments(TPatient patientId, Date AppointmentDate, TDepartmentMaster departmentId, TDoctorInformation doctorName, String visitType)throws ProcessingException;

    /**
     * Gets the appointment list by doctor.
     *
     * @param appointmentDate the appointment date
     * @param departmentId the department id
     * @param doctorId the doctor id
     * @return the appointment list by doctor
     * @throws ProcessingException the processing exception
     */
    public Vector<Vector<String>> getAppointmentListByDoctor(Date appointmentDate, TDepartmentMaster departmentId, TDoctorInformation doctorId)throws ProcessingException;

    /**
     * Gets the appointment list by department.
     *
     * @param appointmentDate the appointment date
     * @param departmentId the department id
     * @return the appointment list by department
     * @throws ProcessingException the processing exception
     */
    public Vector<Vector<String>> getAppointmentListByDepartment(Date appointmentDate, TDepartmentMaster departmentId)throws ProcessingException;

    /**
     * Cancel check in appointmentrecord.
     *
     * @param appointment the appointment
     * @throws ProcessingException the processing exception
     * @throws HibernateOptimisticLockingFailureException the hibernate optimistic locking failure exception
     */
    public void CancelCheckInAppointmentrecord(TAppointment appointment)throws ProcessingException,HibernateOptimisticLockingFailureException;

    /**
     * Cancel check out appointmentrecord.
     *
     * @param appointment the appointment
     * @throws ProcessingException the processing exception
     * @throws HibernateOptimisticLockingFailureException the hibernate optimistic locking failure exception
     */
    public void CancelCheckOutAppointmentrecord(TAppointment appointment)throws ProcessingException,HibernateOptimisticLockingFailureException;

    /**
     * Gets the visit occurance.
     *
     * @param id the id
     * @return the visit occurance
     * @throws ProcessingException the processing exception
     */
    public int getVisitOccurance(TPatient patient)throws ProcessingException;

    /**
     * Cancel delete appointmentrecord.
     *
     * @param appointment the appointment
     * @throws ProcessingException the processing exception
     * @throws HibernateOptimisticLockingFailureException the hibernate optimistic locking failure exception
     */
    public void cancelDeleteAppointmentrecord(TAppointment appointment)throws ProcessingException, HibernateOptimisticLockingFailureException;

    public void saveAppointmentFee(TAppointment oldAppointment)throws ProcessingException, HibernateOptimisticLockingFailureException;
    
    public Vector<Vector<String>> showAppointmentList(Date date,String month,int monthyear,int year,TDepartmentMaster dept)throws ProcessingException;

    public Vector<Vector<String>> getAppointmentListCanceled(Date appointmentDate)throws ProcessingException;
    
    public List<TAppointment> showAppointmentListCanceled(Date date,String month,int monthyear,int year,TDepartmentMaster dept)throws ProcessingException;
}

Commits for Pharmacy_09_03_18/Dr Gyana ProjectSpace/DrGyanaEMR/src/main/java/com/bestray/healthcareemr/Service/AppointmentService.java

Diff revisions: vs.
Revision Author Commited Message
1 girijabapi picture girijabapi Fri 27 Jul, 2018 07:30:57 +0000