Infections   A
last analyzed

Complexity

Total Complexity 35

Size/Duplication

Total Lines 227
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 35
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 227
rs 9

35 Methods

Rating   Name   Duplication   Size   Complexity  
A getG() 0 3 1
A setG() 0 4 1
A getA() 0 3 1
A setA() 0 4 1
A getB() 0 3 1
A setB() 0 4 1
A getBzak() 0 3 1
A setBzak() 0 4 1
A getZMO() 0 3 1
A setZMO() 0 4 1
A getZUM() 0 3 1
A setZUM() 0 4 1
A getPNEUVAP() 0 3 1
A setPNEUVAP() 0 4 1
A getZODC() 0 3 1
A setZODC() 0 4 1
A getZKR() 0 3 1
A setZKR() 0 4 1
A getOIOM() 0 3 1
A setOIOM() 0 4 1
A getBM() 0 3 1
A setBM() 0 4 1
A getIZOL() 0 3 1
A setIZOL() 0 4 1
A getZAK() 0 3 1
A setZAK() 0 4 1
A getROZIII() 0 3 1
A setROZIII() 0 4 1
A getROZII() 0 3 1
A setROZII() 0 4 1
A getUwagi() 0 3 1
A setUwagi() 0 4 1
A getWeryfikacja() 0 3 1
A setWeryfikacja() 0 4 1
A getFields() 0 21 1
1
<?php
2
3
/**
4
 * Patient
5
 *
6
 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
7
 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
8
 *
9
 * Permission is hereby granted to use or copy this program
10
 * for any purpose, provided the above notices are retained on all copies.
11
 * Permission to modify the code and to distribute modified code is granted,
12
 * provided the above notices are retained, and a notice that the code was
13
 * modified is included with the above copyright notice.
14
 *
15
 * @category  Wp
16
 * @package   Punction
17
 * @author    Andrzej Marcinkowski <[email protected]>
18
 * @copyright 2014 Wojewódzki Szpital Zespolony, Kalisz
19
 * @license   MIT http://opensource.org/licenses/MIT
20
 * @version   1.0 $Id: 5e3d6d9fad27385cb557282c244e0767bf6c41e0 $ $Format:%H$
21
 * @link      http://
22
 * @since     File available since Release 1.0.0
23
 * PHP Version 5
24
 */
25
namespace Hospitalplugin\Entities;
26
27
/**
28
 * Infections
29
 *
30
 * @category Wp
31
 * @package Epidemio
32
 * @author Andrzej Marcinkowski <[email protected]>
33
 * @copyright 2014 Wojewódzki Szpital Zespolony, Kalisz
34
 * @license MIT http://opensource.org/licenses/MIT
35
 * @version 1.0 $Id: 5e3d6d9fad27385cb557282c244e0767bf6c41e0 $ $Format:%H$
36
 * @link http://
37
 * @since File available since Release 1.0.0
38
 *       
39
 *        @Entity
40
 *        @Table(name="epidemio_infections",
41
 *        options={"collate"="utf8_polish_ci", "charset"="utf8", "engine"="MyISAM"},
42
 *        indexes={
43
 *        @index(name="dataRaportu_idx", columns={"dataRaportu"}),
44
 *        @index(name="oddzialId_idx", columns={"oddzialId"}),
45
 *        @index(name="userId_idx", columns={"userId"})})
46
 */
47
class Infections extends InfectionRaport {
48
	
49
	/**
50
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
51
	 */
52
	public $G;
53
	
54
	/**
55
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
56
	 */
57
	public $A;
58
	
59
	/**
60
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
61
	 */
62
	public $B;
63
	
64
	/**
65
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
66
	 */
67
	public $Bzak;
68
	
69
	/**
70
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
71
	 */
72
	public $ZMO;
73
	
74
	/**
75
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
76
	 */
77
	public $ZUM;
78
	
79
	/**
80
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
81
	 */
82
	public $PNEUVAP;
83
	
84
	/**
85
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
86
	 */
87
	public $ZODC;
88
	
89
	/**
90
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
91
	 */
92
	public $ZKR;
93
	
94
	/**
95
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
96
	 */
97
	public $ROZIII;
98
	
99
	/**
100
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
101
	 */
102
	public $ROZII;
103
	
104
	/**
105
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
106
	 */
107
	public $OIOM;
108
	
109
	/**
110
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
111
	 */
112
	public $BM;
113
	
114
	/**
115
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
116
	 */
117
	public $IZOL;
118
	
119
	/**
120
	 * @Column(columnDefinition="SMALLINT NOT NULL DEFAULT 0") *
121
	 */
122
	public $ZAK;
123
	
124
	/**
125
	 * @Column(type="string", length=1000)
126
	 */
127
	public $Uwagi;
128
	
129
	/**
130
	 * @Column(type="string", length=1000)
131
	 */
132
	public $Weryfikacja = "";
133
	public function getG() {
134
		return $this->G;
135
	}
136
	public function setG($G) {
137
		$this->G = $G;
138
		return $this;
139
	}
140
	public function getA() {
141
		return $this->A;
142
	}
143
	public function setA($A) {
144
		$this->A = $A;
145
		return $this;
146
	}
147
	public function getB() {
148
		return $this->B;
149
	}
150
	public function setB($B) {
151
		$this->B = $B;
152
		return $this;
153
	}
154
	public function getBzak() {
155
		return $this->Bzak;
156
	}
157
	public function setBzak($Bzak) {
158
		$this->Bzak = $Bzak;
159
		return $this;
160
	}
161
	public function getZMO() {
162
		return $this->ZMO;
163
	}
164
	public function setZMO($ZMO) {
165
		$this->ZMO = $ZMO;
166
		return $this;
167
	}
168
	public function getZUM() {
169
		return $this->ZUM;
170
	}
171
	public function setZUM($ZUM) {
172
		$this->ZUM = $ZUM;
173
		return $this;
174
	}
175
	public function getPNEUVAP() {
176
		return $this->PNEUVAP;
177
	}
178
	public function setPNEUVAP($PNEUVAP) {
179
		$this->PNEUVAP = $PNEUVAP;
180
		return $this;
181
	}
182
	public function getZODC() {
183
		return $this->ZODC;
184
	}
185
	public function setZODC($ZODC) {
186
		$this->ZODC = $ZODC;
187
		return $this;
188
	}
189
	public function getZKR() {
190
		return $this->ZKR;
191
	}
192
	public function setZKR($ZKR) {
193
		$this->ZKR = $ZKR;
194
		return $this;
195
	}
196
	public function getOIOM() {
197
		return $this->OIOM;
198
	}
199
	public function setOIOM($OIOM) {
200
		$this->OIOM = $OIOM;
201
		return $this;
202
	}
203
	public function getBM() {
204
		return $this->BM;
205
	}
206
	public function setBM($BM) {
207
		$this->BM = $BM;
208
		return $this;
209
	}
210
	public function getIZOL() {
211
		return $this->IZOL;
212
	}
213
	public function setIZOL($IZOL) {
214
		$this->IZOL = $IZOL;
215
		return $this;
216
	}
217
	public function getZAK() {
218
		return $this->ZAK;
219
	}
220
	public function setZAK($ZAK) {
221
		$this->ZAK = $ZAK;
222
		return $this;
223
	}
224
	public function getROZIII() {
225
		return $this->ROZIII;
226
	}
227
	public function setROZIII($ROZIII) {
228
		$this->ROZIII = $ROZIII;
229
		return $this;
230
	}
231
	public function getROZII() {
232
		return $this->ROZII;
233
	}
234
	public function setROZII($ROZII) {
235
		$this->ROZII = $ROZII;
236
		return $this;
237
	}
238
	public function getUwagi() {
239
		return $this->Uwagi;
240
	}
241
	public function setUwagi($Uwagi) {
242
		$this->Uwagi = $Uwagi;
243
		return $this;
244
	}
245
	public function getWeryfikacja() {
246
		return $this->Weryfikacja;
247
	}
248
	public function setWeryfikacja($Weryfikacja) {
249
		$this->Weryfikacja = $Weryfikacja;
250
		return $this;
251
	}
252
	public static function getFields() {
253
		return array (
254
				"Data raportu" => "dataRaportu",
255
				"Oddział" => "ward",
256
				"G" => "G",
257
				"A" => "A",
258
				"B" => "B",
259
				"Bzak" => "Bzak",
260
				"ZMO" => "ZMO",
261
				"ZUM" => "ZUM",
262
				"PNEU-VAP" => "PNEUVAP",
263
				"ZODC" => "ZODC",
264
				"ZKR" => "ZKR",
265
				"ROZ-III" => "ROZIII",
266
				"ROZ-II" => "ROZII",
267
				"OIOM" => "OIOM",
268
				"BM" => "BM",
269
				"IZOL" => "IZOL",
270
				"ZAK" => "ZAK" 
271
		);
272
	}
273
}
274