Subversion Repository Public Repository

KNH_Project

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
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="PrescriptionReport1" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="71099dce-f03d-4684-9bc8-9ef2ce55acc1">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="appointmentId" class="java.lang.Long"/>
	<queryString>
		<![CDATA[SELECT
     t_doctor_appointment.`id` AS t_doctor_appointment_id,
     t_doctor_appointment.`department_name_id` AS t_doctor_appointment_department_name_id,
     t_doctor_appointment.`appointment_time` AS t_doctor_appointment_appointment_time,
     t_doctor_appointment.`appointment_status` AS t_doctor_appointment_appointment_status,
     DATE_FORMAT(t_doctor_appointment.`patient_checkin_time`,'%h:%i %p') AS t_doctor_appointment_patient_checkin_time,
     t_doctor_appointment.`patient_opd_number` AS t_doctor_appointment_patient_opd_number,
     t_department_master.`department_name` AS t_department_master_department_name,
     t_speciality_master.`speciality_name` AS t_speciality_master_speciality_name,
     t_doctor_information.`doctor_address` AS t_doctor_information_doctor_address,
     t_doctor_information.`doctor_name` AS t_doctor_information_doctor_name,
     t_doctor_information.`doctor_designation` AS t_doctor_information_doctor_designation,
     CONCAT(t_patient.`patient_f_name`," ",t_patient.`patient_m_name`," ",t_patient.`patient_l_name`) AS t_patient_patient_name,DATE_FORMAT(FROM_DAYS(TO_DAYS(NOW())-TO_DAYS(birth_date)), '%y') AS age,
     t_patient.`joined_date` AS t_patient_joined_date,
     t_patient.`patient_m_number` AS t_patient_patient_m_number,
     CONCAT(t_patient.`present_address1`,", ",t_patient.`present_patient_city`) AS t_patient_present_address1,
     t_patient.`patient_gender` AS t_patient_patient_gender,
     t_patient.`birth_date` AS t_patient_birth_date,
     t_patient.`patient_id` AS t_patient_id
FROM
     `t_speciality_master` t_speciality_master INNER JOIN `t_department_master` t_department_master ON t_speciality_master.`id` = t_department_master.`department_specialty_id`
     INNER JOIN `t_doctor_information` t_doctor_information ON t_department_master.`id` = t_doctor_information.`doctor_department_id`
     INNER JOIN `t_doctor_appointment` t_doctor_appointment ON t_doctor_information.`id` = t_doctor_appointment.`doctor_name_id`
     INNER JOIN `t_patient` t_patient ON t_doctor_appointment.`patient_name_id` = t_patient.`id`
WHERE
t_doctor_appointment.`id` = $P{appointmentId}]]>
	</queryString>
	<field name="t_doctor_appointment_id" class="java.lang.Long"/>
	<field name="t_doctor_appointment_department_name_id" class="java.lang.Long"/>
	<field name="t_doctor_appointment_appointment_time" class="java.lang.String"/>
	<field name="t_doctor_appointment_appointment_status" class="java.lang.Integer"/>
	<field name="t_doctor_appointment_patient_checkin_time" class="java.lang.String"/>
	<field name="t_doctor_appointment_patient_opd_number" class="java.lang.Integer"/>
	<field name="t_department_master_department_name" class="java.lang.String"/>
	<field name="t_speciality_master_speciality_name" class="java.lang.String"/>
	<field name="t_doctor_information_doctor_address" class="java.lang.String"/>
	<field name="t_doctor_information_doctor_name" class="java.lang.String"/>
	<field name="t_doctor_information_doctor_designation" class="java.lang.String"/>
	<field name="t_patient_patient_name" class="java.lang.String"/>
	<field name="age" class="java.lang.String"/>
	<field name="t_patient_joined_date" class="java.sql.Date"/>
	<field name="t_patient_patient_m_number" class="java.lang.Long"/>
	<field name="t_patient_present_address1" class="java.lang.String"/>
	<field name="t_patient_patient_gender" class="java.lang.String"/>
	<field name="t_patient_birth_date" class="java.sql.Date"/>
	<field name="t_patient_id" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="66" splitType="Stretch">
			<rectangle radius="10">
				<reportElement uuid="07448835-153d-4c92-90f3-f1a71a6cb4c6" x="0" y="0" width="555" height="66"/>
			</rectangle>
			<staticText>
				<reportElement uuid="0275d7a9-c4e8-4e8f-ba95-8c2eeff1a169" x="11" y="4" width="17" height="16" forecolor="#333300"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Dr.]]></text>
			</staticText>
			<textField pattern="dd-MMM-yyyy">
				<reportElement uuid="7e3a988e-5ce8-46a7-8261-2c792813e8f6" x="463" y="48" width="92" height="18"/>
				<textElement/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="35bd8049-a368-4bba-b166-e12cc18cba81" x="432" y="48" width="31" height="18"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Date :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="35f7cad4-7fa5-4f82-9980-e1c581a405c5" x="11" y="20" width="193" height="16"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[M.B.B.S, M.S.(Surgery), M.Ch.(Neuro)]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="0ed87200-10e4-4a19-8fd5-3194793f2790" x="11" y="36" width="193" height="12"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[Super Specialist Surgeon]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="33b14c3f-02c2-4b29-9833-30a68a553a50" x="11" y="48" width="193" height="18"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[S.C.B. Medical College, Cuttack]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="24631442-7582-4f3f-9450-6b2992353303" x="28" y="4" width="176" height="16" forecolor="#333300"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Shami Salim]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="11" splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="658" splitType="Stretch">
			<staticText>
				<reportElement uuid="2df02fb3-d7d2-4899-a634-05c811d07a4f" x="11" y="0" width="49" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[NAME :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="6477ba6b-fd49-46bc-9c67-1042465fecb3" x="11" y="15" width="49" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[SEX :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="7074593b-fb70-4e21-b39f-343c7a0a1688" x="11" y="29" width="49" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[AGE :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="6c7cfac5-416b-43e5-a2ab-20b94e4215ae" x="11" y="44" width="49" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[ADDRESS :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="d9d9bcde-268c-42dd-bd93-c34dff37590f" x="60" y="0" width="207" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_patient_name}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="04204b5f-3842-4ace-a9f4-acc147da9eaf" x="60" y="15" width="207" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_patient_gender}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="eadeb383-5011-48c8-af81-d0a9fdb92a77" x="60" y="44" width="207" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_present_address1}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="dc6b5678-71ea-41eb-815e-4d1297e103af" x="366" y="0" width="66" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[OPD REGD NO :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="15581f8a-4f49-471e-af79-c94de146a916" x="447" y="0" width="102" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_doctor_appointment_patient_opd_number}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="8a3de224-f7f6-43bb-b157-e49ae7e44708" x="366" y="15" width="66" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[Patient ID :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="d1609b8d-cbfe-4cfd-aece-e5625dbba19c" x="366" y="29" width="81" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[TICKET ISSUE TIME :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="211aa787-4035-41fd-b839-9fe079771599" x="447" y="29" width="102" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_doctor_appointment_patient_checkin_time}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="967e77dc-b0ba-4afd-be9f-ea5d73793018" x="366" y="44" width="50" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[PHONE NO. :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="a04edb34-0ed9-4033-8d57-2a47f40c4f4d" x="447" y="44" width="102" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_patient_m_number}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="8647a976-9ced-4d2d-ab5c-c3cc18106b45" x="366" y="58" width="50" height="13"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[DATE :]]></text>
			</staticText>
			<textField pattern="dd-MMM-yyyy" isBlankWhenNull="true">
				<reportElement uuid="7e3a988e-5ce8-46a7-8261-2c792813e8f6" x="447" y="58" width="102" height="13"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="d27cccfc-6e65-4dfc-8686-d56c01f1157c" x="366" y="71" width="50" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[VISIT :]]></text>
			</staticText>
			<textField>
				<reportElement uuid="b8726292-9031-43d0-b52d-8b6dcf86d796" x="60" y="29" width="17" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{age}]]></textFieldExpression>
			</textField>
			<rectangle radius="10">
				<reportElement uuid="bea6f95c-a9fb-4417-bca0-f3455bf6c4d7" x="0" y="95" width="555" height="563"/>
			</rectangle>
			<textField>
				<reportElement uuid="287bfe0f-5648-460b-a064-5b3cf9fd4ec7" x="447" y="15" width="102" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_id}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="b704d0f4-7bcc-4b49-9d3d-3a5975d02ede" x="77" y="29" width="27" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<text><![CDATA[Years]]></text>
			</staticText>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="56" splitType="Stretch">
			<staticText>
				<reportElement uuid="02b12b99-5bcb-43d0-9b38-3d1c5b2ef24b" x="157" y="14" width="120" height="16"/>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[SHIPHA HOSPITAL -]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="b46ddc9d-fcaa-4f4b-acf3-80227697df2e" x="277" y="14" width="162" height="16"/>
				<textElement textAlignment="Center" verticalAlignment="Top"/>
				<text><![CDATA[TULASIPUR, CUTTACK - 753008]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="4e31b848-2ba4-4e25-9e28-fc5a15e33fc4" x="168" y="30" width="248" height="20"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[94378561,94378561,0671-2305500,0671-2301500]]></text>
			</staticText>
			<rectangle radius="10">
				<reportElement uuid="aba883db-f300-4188-8a36-7ef4589a7f3b" x="0" y="0" width="554" height="56"/>
			</rectangle>
			<staticText>
				<reportElement uuid="4e31b848-2ba4-4e25-9e28-fc5a15e33fc4" x="168" y="30" width="248" height="20"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[94378561,94378561,0671-2305500,0671-2301500]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="02b12b99-5bcb-43d0-9b38-3d1c5b2ef24b" x="157" y="14" width="120" height="16"/>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[SHIFA HOSPITAL -]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="b46ddc9d-fcaa-4f4b-acf3-80227697df2e" x="277" y="14" width="162" height="16"/>
				<textElement textAlignment="Center" verticalAlignment="Top"/>
				<text><![CDATA[TULASIPUR, CUTTACK - 753008]]></text>
			</staticText>
		</band>
	</pageFooter>
	<summary>
		<band height="10" splitType="Stretch"/>
	</summary>
</jasperReport>

Commits for KNH_Project/HealthCareEMR/target/classes/reports/PrescriptionReportStaticHeader.jrxml

Diff revisions: vs.
Revision Author Commited Message
1 girijabapi picture girijabapi Fri 27 Jul, 2018 13:29:42 +0000