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
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bestray.healthcarecommonutil.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 *
 * @author user3
 */
@Entity
@Table(name="t_referral")
public class TReferral implements java.io.Serializable{
    
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name="id")
    private Long id;
    
    @ManyToOne
    @JoinColumn(name="patient_id")
    private TPatient patient;
    
    @ManyToOne
    @JoinColumn(name="referal_class")
    private TCCodeValues referalclass;
    
    @ManyToOne
    @JoinColumn(name="ref_by_provider")
    private TDoctorInformation refbyprovider;
    
    @ManyToOne
    @JoinColumn(name="enc_id")
    private TPatientEncounter encounter;
    
    @Column(name="ref_by_dept")
    private String refbydept;
    
    @Column(name="ref_by_notes")
    private String refbynotes;
    
    @ManyToOne
    @JoinColumn(name="ref_to_provider")
    private TDoctorInformation reftoprovider;
    
    @Column(name="ref_to_dept")
    private String reftodept;
    
    @Column(name="ref_to_notes")
    private String reftonotes;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public TCCodeValues getReferalclass() {
        return referalclass;
    }

    public void setReferalclass(TCCodeValues referalclass) {
        this.referalclass = referalclass;
    }

    public TDoctorInformation getRefbyprovider() {
        return refbyprovider;
    }

    public void setRefbyprovider(TDoctorInformation refbyprovider) {
        this.refbyprovider = refbyprovider;
    }

    public String getRefbydept() {
        return refbydept;
    }

    public void setRefbydept(String refbydept) {
        this.refbydept = refbydept;
    }

    public String getRefbynotes() {
        return refbynotes;
    }

    public void setRefbynotes(String refbynotes) {
        this.refbynotes = refbynotes;
    }

    public TDoctorInformation getReftoprovider() {
        return reftoprovider;
    }

    public void setReftoprovider(TDoctorInformation reftoprovider) {
        this.reftoprovider = reftoprovider;
    }

    public String getReftodept() {
        return reftodept;
    }

    public void setReftodept(String reftodept) {
        this.reftodept = reftodept;
    }

    public String getReftonotes() {
        return reftonotes;
    }

    public void setReftonotes(String reftonotes) {
        this.reftonotes = reftonotes;
    }

    public TPatient getPatient() {
        return patient;
    }

    public void setPatient(TPatient patient) {
        this.patient = patient;
    }
    
    public TPatientEncounter getEncounter() {
        return encounter;
    }

    public void setEncounter(TPatientEncounter encounter) {
        this.encounter = encounter;
    }
    
}

Commits for Pharmacy_09_03_18/Dr Gyana ProjectSpace/DrGyanaCommonUtil/src/main/java/com/bestray/healthcarecommonutil/vo/TReferral.java

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