Subversion Repository Public Repository

Satyam

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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
package com.bestray.healthcarecommonutil.vo;
// Generated Apr 16, 2013 10:57:49 AM by Hibernate Tools 3.2.1.GA


import java.util.Date;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.Version;


// TODO: Auto-generated Javadoc
/**
 * The Class TPatient.
 */
@NamedQueries({
        @NamedQuery(
	name = "findPatientIdList",
	query = "from TPatient patient where patient.patientId = ? order by id asc"
	),
        @NamedQuery(
	name = "findAllPatientrecords",
	query = "from TPatient patient order by patientId asc"
	),
        @NamedQuery(
	name = "findMaxId",
	query = "from TPatient patient where id=(select max(id) from TPatient)"
	),
        @NamedQuery(
	name = "findDuplicatePatientNameWise",
	query = "from TPatient patient where patientFName = ? and patientMName = ? and patientLName = ? and patientGender = ? AND patient_status = \'ACTIVE\'"
	),
        @NamedQuery(
	name = "updatePatient",
	query = "update TPatient set patientStatus= \'INACTIVE\' where id in(?)"
	)
        
	
})
@Entity
@Table(name="t_patient")
public class TPatient  implements java.io.Serializable {
    
    //@Id@GeneratedValue
    /** The id. */
    @Id@GeneratedValue(strategy = GenerationType.IDENTITY)
     private Long id;
    
    /** The patient id. */
    @Column(name="patient_id")
     private String patientId;
    
    /** The patient f name. */
    @Column(name="patient_f_name")
     private String patientFName;
    
    /** The patient m name. */
    @Column(name="patient_m_name")
     private String patientMName;
    
    /** The patient l name. */
    @Column(name="patient_l_name")
     private String patientLName;
    
    /** The patient gender. */
    @Column(name="patient_gender")
     private String patientGender;
    
    /** The birth date. */
    @Temporal(javax.persistence.TemporalType.DATE)
    @Column(name="birth_date")
     private Date birthDate;
    
    /** The joined date. */
    @Temporal(javax.persistence.TemporalType.DATE)
    @Column(name="joined_date")
     private Date joinedDate;
    
    /** The patient ht number. */
    @Column(name="patient_ht_number")
     private Long patientHtNumber;
    
    /** The patient m number. */
    @Column(name="patient_m_number")
     private Long patientMNumber;
    
    /** The patient e number. */
    @Column(name="patient_e_number")
     private Long patientENumber;
    
    /** The patient e address. */
    @Column(name="patient_e_address")
     private String patientEAddress;
    
    /** The patient driving license details. */
    @Column(name="patient_drivinglicense_details")
     private String patientDrivingLicenseDetails;
    
    /** The patient passport details. */
    @Column(name="patient_passport_details")
     private String patientPassportDetails;
    
    /** The patient voter card details. */
    @Column(name="patient_votercard_details")
     private String patientVoterCardDetails;
    
    /** The patient adhar card details. */
    @Column(name="patient_adharcard_details")
     private String patientAdharCardDetails;
    
    /** The patient pan card details. */
    @Column(name="patient_pancard_details")
     private String patientPanCardDetails;
    
    /** The present address1. */
    @Column(name="present_address1")
     private String presentAddress1;
    
    /** The present address2. */
    @Column(name="present_address2")
     private String presentAddress2;
    
    /** The present patient city. */
    @Column(name="present_patient_city")
     private String presentPatientCity;
    
    /** The present patient district. */
    @Column(name="present_patient_district")
     private String presentPatientDistrict;
    
    /** The present patient state. */
    @Column(name="present_patient_state")
     private String presentPatientState;
    
    /** The present patient country. */
    @Column(name="present_patient_country")
     private String presentPatientCountry;
    
    /** The present patient pincode. */
    @Column(name="present_patient_pincode")
     private Long presentPatientPincode;
    
    /** The permanent address1. */
    @Column(name="permanent_address1")
     private String permanentAddress1;
    
    /** The permanent address2. */
    @Column(name="permanent_address2")
     private String permanentAddress2;
    
    /** The permanent patient city. */
    @Column(name="permanent_patient_city")
     private String permanentPatientCity;
    
    /** The permanent patient district. */
    @Column(name="permanent_patient_district")
     private String permanentPatientDistrict;
    
    /** The permanent patient state. */
    @Column(name="permanent_patient_state")
     private String permanentPatientState;
    
    /** The permanent patient country. */
    @Column(name="permanent_patient_country")
     private String permanentPatientCountry;
    
    /** The permanent patient pincode. */
    @Column(name="permanent_patient_pincode")
     private Long permanentPatientPincode;
    
    /** The patient religion. */
    @Column(name="patient_religion")
     private String patientReligion;
    
    /** The patient marital status. */
    @Column(name="patient_marital_status")
     private String patientMaritalStatus;
    
    /** The patient language. */
    @Column(name="patient_language")
     private String patientLanguage;
    
    /** The patient comments. */
    @Column(name="patient_comments")
     private String patientComments;
    
    /** The created date. */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    @Column(name="created_date")
     private Date createdDate;
    
    /** The updated date. */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    @Column(name="updated_date")
     private Date updatedDate;
    
    /** The insurance id. */
    @Column(name="insurance_id")
     private String insuranceId;
    
    /** The insurance name. */
    @Column(name="insurance_name")
     private String insuranceName;
    
    /** The subscriber name. */
    @Column(name="subscriber_name")
     private String subscriberName;
    
    /** The effective from. */
    @Temporal(javax.persistence.TemporalType.DATE)
    @Column(name="effective_from")
     private Date effectiveFrom;
    
    /** The effective to. */
    @Temporal(javax.persistence.TemporalType.DATE)
    @Column(name="effective_to")
     private Date effectiveTo;
    
    /** The relation name. */
    @Column(name="relation_name")
     private String relationName;
    
    /** The patient occupation. */
    @Column(name="patient_occupation")
     private String patientOccupation;
    
    /** The company name. */
    @Column(name="company_name")
     private String companyName;
    
    /** The company address1. */
    @Column(name="company_address1")
     private String companyAddress1;
    
    /** The company address2. */
    @Column(name="company_address2")
     private String companyAddress2;
    
    /** The company number. */
    @Column(name="company_number")
     private Long companyNumber;
    
    /** The colleague reference. */
    @Column(name="colleague_reference")
     private String colleagueReference;
    
    /** The colleague number. */
    @Column(name="colleague_number")
     private Long colleagueNumber;
    
    /** The patient encounter. */
    @OneToMany(mappedBy="patient")
    private Set<TPatientEncounter> patientEncounter;
    
    @OneToMany(mappedBy="patientId")
    private Set<TPatLabReceipt> patLabReceipt;
    
    @OneToMany(mappedBy="patientNameId")
    private Set<TAppointment> patientAppoint;
    
    @OneToMany(mappedBy="patientId")
    private Set<TInpatentAdmission> inPatientAdmission;
    
    @Column(name = "patient_status")
    private String patientStatus;
    
    /** The record version. */
    @Version
    @Column(name = "record_version")
    private Long recordVersion;  
    
    /** The op ip status. */
    @Column(name = "opip_status")
    private String opIpStatus;
/*
    public TPatient() {
    }

    public TPatient(long patientId) {
        this.patientId = patientId;
    }
    public TPatient(long patientId, String patientFName, String patientMName, String patientLName, String patientGender, Date birthDate, Integer patientAge, Date joinedDate, Long patientHtNumber, Long patientMNumber, Long patientENumber, String patientEAddress, String patientDrivingLicenseDetails, String patientVoterCardDetails, String presentAddress1, String presentAddress2, String presentPatientCity, String presentPatientDistrict, String presentPatientState, String presentPatientCountry, Long presentPatientPincode, String permanentAddress1, String permanentAddress2, String permanentPatientCity, String permanentPatientDistrict, String permanentPatientState, String permanentPatientCountry, Long permanentPatientPincode, String patientReligion, String patientMaritalStatus, String patientLanguage, String patientComments, Date createdDate, Date updatedDate) {
       this.patientId = patientId;
       this.patientFName = patientFName;
       this.patientMName = patientMName;
       this.patientLName = patientLName;
       this.patientGender = patientGender;
       this.birthDate = birthDate;
       this.patientAge = patientAge;
       this.joinedDate = joinedDate;
       this.patientHtNumber = patientHtNumber;
       this.patientMNumber = patientMNumber;
       this.patientENumber = patientENumber;
       this.patientEAddress = patientEAddress;
       this.patientDrivingLicenseDetails = patientDrivingLicenseDetails;
       this.patientVoterCardDetails = patientVoterCardDetails;
       this.presentAddress1 = presentAddress1;
       this.presentAddress2 = presentAddress2;
       this.presentPatientCity = presentPatientCity;
       this.presentPatientDistrict = presentPatientDistrict;
       this.presentPatientState = presentPatientState;
       this.presentPatientCountry = presentPatientCountry;
       this.presentPatientPincode = presentPatientPincode;
       this.permanentAddress1 = permanentAddress1;
       this.permanentAddress2 = permanentAddress2;
       this.permanentPatientCity = permanentPatientCity;
       this.permanentPatientDistrict = permanentPatientDistrict;
       this.permanentPatientState = permanentPatientState;
       this.permanentPatientCountry = permanentPatientCountry;
       this.permanentPatientPincode = permanentPatientPincode;
       this.patientReligion = patientReligion;
       this.patientMaritalStatus = patientMaritalStatus;
       this.patientLanguage = patientLanguage;
       this.patientComments = patientComments;
       this.createdDate = createdDate;
       this.updatedDate = updatedDate;
    }*/
   
    /**
 * Gets the id.
 *
 * @return the id
 */
public Long getId() {
        return this.id;
    }
    
    /**
     * Sets the id.
     *
     * @param id the new id
     */
    public void setId(Long id) {
        this.id = id;
    }
    
    /**
     * Gets the patient id.
     *
     * @return the patient id
     */
    public String getPatientId() {
        return this.patientId;
    }
    
    /**
     * Sets the patient id.
     *
     * @param patientId the new patient id
     */
    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }
    
    /**
     * Gets the patient f name.
     *
     * @return the patient f name
     */
    public String getPatientFName() {
        return this.patientFName;
    }
    
    /**
     * Sets the patient f name.
     *
     * @param patientFName the new patient f name
     */
    public void setPatientFName(String patientFName) {
        this.patientFName = patientFName;
    }
    
    /**
     * Gets the patient m name.
     *
     * @return the patient m name
     */
    public String getPatientMName() {
        return this.patientMName;
    }
    
    /**
     * Sets the patient m name.
     *
     * @param patientMName the new patient m name
     */
    public void setPatientMName(String patientMName) {
        this.patientMName = patientMName;
    }
    
    /**
     * Gets the patient l name.
     *
     * @return the patient l name
     */
    public String getPatientLName() {
        return this.patientLName;
    }
    
    /**
     * Sets the patient l name.
     *
     * @param patientLName the new patient l name
     */
    public void setPatientLName(String patientLName) {
        this.patientLName = patientLName;
    }
    
    /**
     * Gets the patient gender.
     *
     * @return the patient gender
     */
    public String getPatientGender() {
        return this.patientGender;
    }
    
    /**
     * Sets the patient gender.
     *
     * @param patientGender the new patient gender
     */
    public void setPatientGender(String patientGender) {
        this.patientGender = patientGender;
    }
    
    /**
     * Gets the birth date.
     *
     * @return the birth date
     */
    public Date getBirthDate() {
        return this.birthDate;
    }
    
    /**
     * Sets the birth date.
     *
     * @param birthDate the new birth date
     */
    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }
    
    /**
     * Gets the joined date.
     *
     * @return the joined date
     */
    public Date getJoinedDate() {
        return this.joinedDate;
    }
    
    /**
     * Sets the joined date.
     *
     * @param joinedDate the new joined date
     */
    public void setJoinedDate(Date joinedDate) {
        this.joinedDate = joinedDate;
    }
    
    /**
     * Gets the patient ht number.
     *
     * @return the patient ht number
     */
    public Long getPatientHtNumber() {
        return this.patientHtNumber;
    }
    
    /**
     * Sets the patient ht number.
     *
     * @param patientHtNumber the new patient ht number
     */
    public void setPatientHtNumber(Long patientHtNumber) {
        this.patientHtNumber = patientHtNumber;
    }
    
    /**
     * Gets the patient m number.
     *
     * @return the patient m number
     */
    public Long getPatientMNumber() {
        return this.patientMNumber;
    }
    
    /**
     * Sets the patient m number.
     *
     * @param patientMNumber the new patient m number
     */
    public void setPatientMNumber(Long patientMNumber) {
        this.patientMNumber = patientMNumber;
    }
    
    /**
     * Gets the patient e number.
     *
     * @return the patient e number
     */
    public Long getPatientENumber() {
        return this.patientENumber;
    }
    
    /**
     * Sets the patient e number.
     *
     * @param patientENumber the new patient e number
     */
    public void setPatientENumber(Long patientENumber) {
        this.patientENumber = patientENumber;
    }
    
    /**
     * Gets the patient e address.
     *
     * @return the patient e address
     */
    public String getPatientEAddress() {
        return this.patientEAddress;
    }
    
    /**
     * Sets the patient e address.
     *
     * @param patientEAddress the new patient e address
     */
    public void setPatientEAddress(String patientEAddress) {
        this.patientEAddress = patientEAddress;
    }
    
    /**
     * Gets the patient driving license details.
     *
     * @return the patient driving license details
     */
    public String getPatientDrivingLicenseDetails() {
        return this.patientDrivingLicenseDetails;
    }
    
    /**
     * Sets the patient driving license details.
     *
     * @param patientDrivingLicenseDetails the new patient driving license details
     */
    public void setPatientDrivingLicenseDetails(String patientDrivingLicenseDetails) {
        this.patientDrivingLicenseDetails = patientDrivingLicenseDetails;
    }
    
    /**
     * Gets the patient voter card details.
     *
     * @return the patient voter card details
     */
    public String getPatientVoterCardDetails() {
        return this.patientVoterCardDetails;
    }
    
    /**
     * Sets the patient voter card details.
     *
     * @param patientVoterCardDetails the new patient voter card details
     */
    public void setPatientVoterCardDetails(String patientVoterCardDetails) {
        this.patientVoterCardDetails = patientVoterCardDetails;
    }

    /**
     * Sets the patient passport details.
     *
     * @param patientPassportDetails the new patient passport details
     */
    public void setPatientPassportDetails(String patientPassportDetails) {
        this.patientPassportDetails = patientPassportDetails;
    }

    /**
     * Gets the patient passport details.
     *
     * @return the patient passport details
     */
    public String getPatientPassportDetails() {
        return patientPassportDetails;
    }

    /**
     * Sets the patient pan card details.
     *
     * @param patientPanCardDetails the new patient pan card details
     */
    public void setPatientPanCardDetails(String patientPanCardDetails) {
        this.patientPanCardDetails = patientPanCardDetails;
    }

    /**
     * Gets the patient pan card details.
     *
     * @return the patient pan card details
     */
    public String getPatientPanCardDetails() {
        return patientPanCardDetails;
    }

    /**
     * Sets the patient adhar card details.
     *
     * @param patientAdharCardDetails the new patient adhar card details
     */
    public void setPatientAdharCardDetails(String patientAdharCardDetails) {
        this.patientAdharCardDetails = patientAdharCardDetails;
    }

    /**
     * Gets the patient adhar card details.
     *
     * @return the patient adhar card details
     */
    public String getPatientAdharCardDetails() {
        return patientAdharCardDetails;
    }
    
    /**
     * Gets the present address1.
     *
     * @return the present address1
     */
    public String getPresentAddress1() {
        return this.presentAddress1;
    }
    
    /**
     * Sets the present address1.
     *
     * @param presentAddress1 the new present address1
     */
    public void setPresentAddress1(String presentAddress1) {
        this.presentAddress1 = presentAddress1;
    }
    
    /**
     * Gets the present address2.
     *
     * @return the present address2
     */
    public String getPresentAddress2() {
        return this.presentAddress2;
    }
    
    /**
     * Sets the present address2.
     *
     * @param presentAddress2 the new present address2
     */
    public void setPresentAddress2(String presentAddress2) {
        this.presentAddress2 = presentAddress2;
    }
    
    /**
     * Gets the present patient city.
     *
     * @return the present patient city
     */
    public String getPresentPatientCity() {
        return this.presentPatientCity;
    }
    
    /**
     * Sets the present patient city.
     *
     * @param presentPatientCity the new present patient city
     */
    public void setPresentPatientCity(String presentPatientCity) {
        this.presentPatientCity = presentPatientCity;
    }
    
    /**
     * Gets the present patient district.
     *
     * @return the present patient district
     */
    public String getPresentPatientDistrict() {
        return this.presentPatientDistrict;
    }
    
    /**
     * Sets the present patient district.
     *
     * @param presentPatientDistrict the new present patient district
     */
    public void setPresentPatientDistrict(String presentPatientDistrict) {
        this.presentPatientDistrict = presentPatientDistrict;
    }
    
    /**
     * Gets the present patient state.
     *
     * @return the present patient state
     */
    public String getPresentPatientState() {
        return this.presentPatientState;
    }
    
    /**
     * Sets the present patient state.
     *
     * @param presentPatientState the new present patient state
     */
    public void setPresentPatientState(String presentPatientState) {
        this.presentPatientState = presentPatientState;
    }
    
    /**
     * Gets the present patient country.
     *
     * @return the present patient country
     */
    public String getPresentPatientCountry() {
        return this.presentPatientCountry;
    }
    
    /**
     * Sets the present patient country.
     *
     * @param presentPatientCountry the new present patient country
     */
    public void setPresentPatientCountry(String presentPatientCountry) {
        this.presentPatientCountry = presentPatientCountry;
    }
    
    /**
     * Gets the present patient pincode.
     *
     * @return the present patient pincode
     */
    public Long getPresentPatientPincode() {
        return this.presentPatientPincode;
    }
    
    /**
     * Sets the present patient pincode.
     *
     * @param presentPatientPincode the new present patient pincode
     */
    public void setPresentPatientPincode(Long presentPatientPincode) {
        this.presentPatientPincode = presentPatientPincode;
    }
    
    /**
     * Gets the permanent address1.
     *
     * @return the permanent address1
     */
    public String getPermanentAddress1() {
        return this.permanentAddress1;
    }
    
    /**
     * Sets the permanent address1.
     *
     * @param permanentAddress1 the new permanent address1
     */
    public void setPermanentAddress1(String permanentAddress1) {
        this.permanentAddress1 = permanentAddress1;
    }
    
    /**
     * Gets the permanent address2.
     *
     * @return the permanent address2
     */
    public String getPermanentAddress2() {
        return this.permanentAddress2;
    }
    
    /**
     * Sets the permanent address2.
     *
     * @param permanentAddress2 the new permanent address2
     */
    public void setPermanentAddress2(String permanentAddress2) {
        this.permanentAddress2 = permanentAddress2;
    }
    
    /**
     * Gets the permanent patient city.
     *
     * @return the permanent patient city
     */
    public String getPermanentPatientCity() {
        return this.permanentPatientCity;
    }
    
    /**
     * Sets the permanent patient city.
     *
     * @param permanentPatientCity the new permanent patient city
     */
    public void setPermanentPatientCity(String permanentPatientCity) {
        this.permanentPatientCity = permanentPatientCity;
    }
    
    /**
     * Gets the permanent patient district.
     *
     * @return the permanent patient district
     */
    public String getPermanentPatientDistrict() {
        return this.permanentPatientDistrict;
    }
    
    /**
     * Sets the permanent patient district.
     *
     * @param permanentPatientDistrict the new permanent patient district
     */
    public void setPermanentPatientDistrict(String permanentPatientDistrict) {
        this.permanentPatientDistrict = permanentPatientDistrict;
    }
    
    /**
     * Gets the permanent patient state.
     *
     * @return the permanent patient state
     */
    public String getPermanentPatientState() {
        return this.permanentPatientState;
    }
    
    /**
     * Sets the permanent patient state.
     *
     * @param permanentPatientState the new permanent patient state
     */
    public void setPermanentPatientState(String permanentPatientState) {
        this.permanentPatientState = permanentPatientState;
    }
    
    /**
     * Gets the permanent patient country.
     *
     * @return the permanent patient country
     */
    public String getPermanentPatientCountry() {
        return this.permanentPatientCountry;
    }
    
    /**
     * Sets the permanent patient country.
     *
     * @param permanentPatientCountry the new permanent patient country
     */
    public void setPermanentPatientCountry(String permanentPatientCountry) {
        this.permanentPatientCountry = permanentPatientCountry;
    }
    
    /**
     * Gets the permanent patient pincode.
     *
     * @return the permanent patient pincode
     */
    public Long getPermanentPatientPincode() {
        return this.permanentPatientPincode;
    }
    
    /**
     * Sets the permanent patient pincode.
     *
     * @param permanentPatientPincode the new permanent patient pincode
     */
    public void setPermanentPatientPincode(Long permanentPatientPincode) {
        this.permanentPatientPincode = permanentPatientPincode;
    }
    
    /**
     * Gets the patient religion.
     *
     * @return the patient religion
     */
    public String getPatientReligion() {
        return this.patientReligion;
    }
    
    /**
     * Sets the patient religion.
     *
     * @param patientReligion the new patient religion
     */
    public void setPatientReligion(String patientReligion) {
        this.patientReligion = patientReligion;
    }
    
    /**
     * Gets the patient marital status.
     *
     * @return the patient marital status
     */
    public String getPatientMaritalStatus() {
        return this.patientMaritalStatus;
    }
    
    /**
     * Sets the patient marital status.
     *
     * @param patientMaritalStatus the new patient marital status
     */
    public void setPatientMaritalStatus(String patientMaritalStatus) {
        this.patientMaritalStatus = patientMaritalStatus;
    }
    
    /**
     * Gets the patient language.
     *
     * @return the patient language
     */
    public String getPatientLanguage() {
        return this.patientLanguage;
    }
    
    /**
     * Sets the patient language.
     *
     * @param patientLanguage the new patient language
     */
    public void setPatientLanguage(String patientLanguage) {
        this.patientLanguage = patientLanguage;
    }
    
    /**
     * Gets the patient comments.
     *
     * @return the patient comments
     */
    public String getPatientComments() {
        return this.patientComments;
    }
    
    /**
     * Sets the patient comments.
     *
     * @param patientComments the new patient comments
     */
    public void setPatientComments(String patientComments) {
        this.patientComments = patientComments;
    }
    
    /**
     * Gets the created date.
     *
     * @return the created date
     */
    public Date getCreatedDate() {
        return this.createdDate;
    }
    
    /**
     * Sets the created date.
     *
     * @param createdDate the new created date
     */
    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }
    
    /**
     * Gets the updated date.
     *
     * @return the updated date
     */
    public Date getUpdatedDate() {
        return this.updatedDate;
    }
    
    /**
     * Sets the updated date.
     *
     * @param updatedDate the new updated date
     */
    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    /**
     * Gets the insurance id.
     *
     * @return the insurance id
     */
    public String getInsuranceId() {
        return insuranceId;
    }

    /**
     * Sets the insurance id.
     *
     * @param insuranceId the new insurance id
     */
    public void setInsuranceId(String insuranceId) {
        this.insuranceId = insuranceId;
    }

    /**
     * Gets the insurance name.
     *
     * @return the insurance name
     */
    public String getInsuranceName() {
        return insuranceName;
    }

    /**
     * Sets the insurance name.
     *
     * @param insuranceName the new insurance name
     */
    public void setInsuranceName(String insuranceName) {
        this.insuranceName = insuranceName;
    }

    /**
     * Gets the subscriber name.
     *
     * @return the subscriber name
     */
    public String getSubscriberName() {
        return subscriberName;
    }

    /**
     * Sets the subscriber name.
     *
     * @param subscriberName the new subscriber name
     */
    public void setSubscriberName(String subscriberName) {
        this.subscriberName = subscriberName;
    }

    /**
     * Gets the effective from.
     *
     * @return the effective from
     */
    public Date getEffectiveFrom() {
        return effectiveFrom;
    }

    /**
     * Sets the effective from.
     *
     * @param effectiveFrom the new effective from
     */
    public void setEffectiveFrom(Date effectiveFrom) {
        this.effectiveFrom = effectiveFrom;
    }

    /**
     * Gets the effective to.
     *
     * @return the effective to
     */
    public Date getEffectiveTo() {
        return effectiveTo;
    }

    /**
     * Sets the effective to.
     *
     * @param effectiveTo the new effective to
     */
    public void setEffectiveTo(Date effectiveTo) {
        this.effectiveTo = effectiveTo;
    }

    /**
     * Gets the relation name.
     *
     * @return the relation name
     */
    public String getRelationName() {
        return relationName;
    }

    /**
     * Sets the relation name.
     *
     * @param relationName the new relation name
     */
    public void setRelationName(String relationName) {
        this.relationName = relationName;
    }

    /**
     * Gets the patient occupation.
     *
     * @return the patient occupation
     */
    public String getPatientOccupation() {
        return patientOccupation;
    }

    /**
     * Sets the patient occupation.
     *
     * @param patientOccupation the new patient occupation
     */
    public void setPatientOccupation(String patientOccupation) {
        this.patientOccupation = patientOccupation;
    }

    /**
     * Gets the company name.
     *
     * @return the company name
     */
    public String getCompanyName() {
        return companyName;
    }

    /**
     * Sets the company name.
     *
     * @param companyName the new company name
     */
    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    /**
     * Gets the company address1.
     *
     * @return the company address1
     */
    public String getCompanyAddress1() {
        return companyAddress1;
    }

    /**
     * Sets the company address1.
     *
     * @param companyAddress1 the new company address1
     */
    public void setCompanyAddress1(String companyAddress1) {
        this.companyAddress1 = companyAddress1;
    }

    /**
     * Gets the company address2.
     *
     * @return the company address2
     */
    public String getCompanyAddress2() {
        return companyAddress2;
    }

    /**
     * Sets the company address2.
     *
     * @param companyAddress2 the new company address2
     */
    public void setCompanyAddress2(String companyAddress2) {
        this.companyAddress2 = companyAddress2;
    }

    /**
     * Gets the company number.
     *
     * @return the company number
     */
    public Long getCompanyNumber() {
        return companyNumber;
    }

    /**
     * Sets the company number.
     *
     * @param companyNumber the new company number
     */
    public void setCompanyNumber(Long companyNumber) {
        this.companyNumber = companyNumber;
    }

    /**
     * Gets the colleague reference.
     *
     * @return the colleague reference
     */
    public String getColleagueReference() {
        return colleagueReference;
    }

    /**
     * Sets the colleague reference.
     *
     * @param colleagueReference the new colleague reference
     */
    public void setColleagueReference(String colleagueReference) {
        this.colleagueReference = colleagueReference;
    }

    /**
     * Gets the colleague number.
     *
     * @return the colleague number
     */
    public Long getColleagueNumber() {
        return colleagueNumber;
    }

    /**
     * Sets the colleague number.
     *
     * @param colleagueNumber the new colleague number
     */
    public void setColleagueNumber(Long colleagueNumber) {
        this.colleagueNumber = colleagueNumber;
    }
    
    /**
     * Gets the record version.
     *
     * @return the record version
     */
    public Long getRecordVersion() {
        
        return recordVersion;
    }

    /**
     * Sets the record version.
     *
     * @param recordVersion the new record version
     */
    public void setRecordVersion(Long recordVersion) {
        this.recordVersion = recordVersion;
    }

    /**
     * Gets the patient encounter.
     *
     * @return the patient encounter
     */
    public Set<TPatientEncounter> getPatientEncounter() {
        return patientEncounter;
    }

    /**
     * Sets the patient encounter.
     *
     * @param patientEncounter the new patient encounter
     */
    public void setPatientEncounter(Set<TPatientEncounter> patientEncounter) {
        this.patientEncounter = patientEncounter;
    }

    /**
     * Gets the op ip status.
     *
     * @return the op ip status
     */
    public String getOpIpStatus() {
        return opIpStatus;
    }

    /**
     * Sets the op ip status.
     *
     * @param opIpStatus the new op ip status
     */
    public void setOpIpStatus(String opIpStatus) {
        this.opIpStatus = opIpStatus;
    }

    public Set<TPatLabReceipt> getPatLabReceipt() {
        return patLabReceipt;
    }

    public void setPatLabReceipt(Set<TPatLabReceipt> patLabReceipt) {
        this.patLabReceipt = patLabReceipt;
    }

    public String getPatientStatus() {
        return patientStatus;
    }

    public void setPatientStatus(String patientStatus) {
        this.patientStatus = patientStatus;
    }

    public Set<TAppointment> getPatientAppoint() {
        return patientAppoint;
    }

    public void setPatientAppoint(Set<TAppointment> patientAppoint) {
        this.patientAppoint = patientAppoint;
    }

    public Set<TInpatentAdmission> getInPatientEncounter() {
        return inPatientAdmission;
    }

    public void setInPatientEncounter(Set<TInpatentAdmission> inPatientAdmission) {
        this.inPatientAdmission = inPatientAdmission;
    }
   
    
}


Commits for Satyam/AuroCareCommonUtil/src/main/java/com/bestray/healthcarecommonutil/vo/TPatient.java

Diff revisions: vs.
Revision Author Commited Message
1 girijabapi picture girijabapi Fri 20 Jul, 2018 05:59:17 +0000