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
<?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="IPBillingSummary" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isIgnorePagination="true" uuid="7539f776-945e-4263-adfc-fc0fcc640d46">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="15"/>
	<style name="table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<subDataset name="payment" uuid="f6802408-e297-49c7-9986-e018d17ffab1">
		<parameter name="encId" class="java.lang.String"/>
		<queryString>
			<![CDATA[SELECT 
DATE_FORMAT(t_inpatient_paid.`paid_date`, '%d/%m/%Y') AS paid_date,
     t_inpatient_paid.`paid_amount` AS paid_amount
FROM 
t_inpatient_paid
WHERE inpatient_paid_enc = $P{encId}]]>
		</queryString>
		<field name="paid_date" class="java.lang.String"/>
		<field name="paid_amount" class="java.lang.Double"/>
		<variable name="totalPaid" class="java.math.BigDecimal" calculation="Sum">
			<variableExpression><![CDATA[$F{paid_amount}]]></variableExpression>
		</variable>
	</subDataset>
	<subDataset name="charges" uuid="b92882b9-2684-4cc6-ba13-b470432e57ca">
		<parameter name="encId" class="java.lang.String"/>
		<queryString>
			<![CDATA[SELECT 
t_inpatient_charges.`charge_type` AS charge_type,
sum(t_inpatient_charges.`amount_charge`) AS amount_charge
FROM 
t_inpatient_charges 
WHERE inpatient_charge_enc = $P{encId} 
Group By charge_type]]>
		</queryString>
		<field name="charge_type" class="java.lang.String"/>
		<field name="amount_charge" class="java.math.BigDecimal"/>
		<variable name="totalCharge" class="java.math.BigDecimal" calculation="Sum">
			<variableExpression><![CDATA[$F{amount_charge}]]></variableExpression>
		</variable>
	</subDataset>
	<parameter name="encId" class="java.lang.Integer"/>
	<parameter name="invoiceNo" class="java.lang.String"/>
	<parameter name="logo" class="java.io.InputStream"/>
	<parameter name="aurologo1" class="java.io.InputStream"/>
	<parameter name="aurologo2" class="java.io.InputStream"/>
	<queryString>
		<![CDATA[SELECT
     concat(t_patient.`patient_f_name`, ' ',t_patient.`patient_m_name`,' ',t_patient.`patient_l_name` ) As patent_name,
     t_patient.`patient_gender` AS gender,
     t_department_master.`department_name` AS department_name,
     t_patient.`patient_id` AS MRN,
     t_patient.`birth_date` AS birth_date,
     DATE_FORMAT(FROM_DAYS(TO_DAYS(NOW())-TO_DAYS(t_patient.`birth_date`)), '%m%y') AS age,
     TIMESTAMPDIFF(YEAR, t_patient.`birth_date`, CURDATE()) as ageyr,
     TIMESTAMPDIFF(MONTH, t_patient.`birth_date`, CURDATE())%12 as agemn,
     concat('AT- ',t_patient.`present_address1`) AS present_address1,
     concat('PO- ',t_patient.`present_address2`) AS present_address2,
     concat('City- ',t_patient.`present_patient_city`) AS t_patient_present_patient_city,
     concat('Dist- ',t_patient.`present_patient_district`) AS t_patient_present_patient_district,
     concat('State- ',ifnull(t_patient.`present_patient_state`,'')) AS t_patient_present_patient_state,
     DATE_FORMAT(t_inpatent_admission.`admission_date`, '%d/%m/%y') AS admission_date,
     DATEDIFF(ifnull(t_inpatent_admission.`release_date`,CURDATE()),t_inpatent_admission.admission_date) AS LOS,
     DATE_FORMAT(t_inpatent_admission.`release_date`, '%d/%m/%y') AS release_date,
     t_inpatent_admission.`inpatient_id` AS inpatient_id,
     t_bed_master.`bed_number` AS bed_number,
     t_room_master.`room_number` AS room_number,
     concat('Dr. ',t_doctor_information.`doctor_name`) AS doctor_name
FROM
    `t_inpatient_charges` t_inpatient_charges 
INNER JOIN `t_pat_enc` t_pat_enc ON 
t_pat_enc.`enc_id` = t_inpatient_charges.`inpatient_charge_enc`
     INNER JOIN `t_patient` t_patient ON 
t_pat_enc.`mrn_id` = t_patient.`id`
     INNER JOIN `t_inpatent_admission` t_inpatent_admission ON 
t_inpatent_admission.`enc_id` = t_pat_enc.`enc_id`
     INNER JOIN `t_doctor_information` t_doctor_information ON 
t_inpatent_admission.`doctor_id` = t_doctor_information.`id`
     INNER JOIN `t_bed_master` t_bed_master ON 
t_inpatent_admission.`bed_id` = t_bed_master.`id`
     INNER JOIN `t_room_master` t_room_master ON 
t_bed_master.`room_id` = t_room_master.`id`
     INNER JOIN `t_department_master` t_department_master ON 
t_department_master.`id`=t_doctor_information.`doctor_department_id`    

where t_inpatient_charges.`inpatient_charge_enc`=$P{encId} 
AND
t_inpatent_admission.`inpatient_status` IN('ADMITTED','DISCHARGED')]]>
	</queryString>
	<field name="patent_name" class="java.lang.String"/>
	<field name="gender" class="java.lang.String"/>
	<field name="department_name" class="java.lang.String"/>
	<field name="MRN" class="java.lang.String"/>
	<field name="birth_date" class="java.sql.Date"/>
	<field name="age" class="java.lang.String"/>
	<field name="ageyr" class="java.lang.Long"/>
	<field name="agemn" class="java.lang.Long"/>
	<field name="present_address1" class="java.lang.String"/>
	<field name="present_address2" class="java.lang.String"/>
	<field name="t_patient_present_patient_city" class="java.lang.String"/>
	<field name="t_patient_present_patient_district" class="java.lang.String"/>
	<field name="t_patient_present_patient_state" class="java.lang.String"/>
	<field name="admission_date" class="java.lang.String"/>
	<field name="LOS" class="java.lang.Long"/>
	<field name="release_date" class="java.lang.String"/>
	<field name="inpatient_id" class="java.lang.String"/>
	<field name="bed_number" class="java.lang.String"/>
	<field name="room_number" class="java.lang.String"/>
	<field name="doctor_name" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="115" splitType="Stretch">
			<staticText>
				<reportElement x="110" y="51" width="335" height="20" forecolor="#006633" uuid="1a688927-9f8f-446d-81e3-719507c7c838"/>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font fontName="Bookman Old Style" size="11" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[N-5/121,JAYDEV VIHAR, BHUBANESWAR]]></text>
			</staticText>
			<staticText>
				<reportElement x="110" y="8" width="335" height="22" forecolor="#006633" uuid="6e1b4515-d6c9-413b-9a12-bbc4bb6066a2"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Bodoni MT Black" size="16" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[SATYAM HOSPITAL]]></text>
			</staticText>
			<staticText>
				<reportElement x="110" y="31" width="335" height="18" forecolor="#006633" uuid="2807bf7c-db2e-4132-858f-8719b85c7b32"/>
				<textElement textAlignment="Center">
					<font fontName="Bookman Old Style" size="12" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[(Complete Treatment..........Gently)]]></text>
			</staticText>
			<image>
				<reportElement x="455" y="10" width="88" height="82" uuid="528f444b-687e-420f-aa8d-d83012e8c653"/>
				<imageExpression><![CDATA[$P{aurologo2}]]></imageExpression>
			</image>
			<image>
				<reportElement x="18" y="16" width="85" height="82" uuid="a25862f3-29ca-4b6c-b6f3-a069dd7a9494"/>
				<imageExpression><![CDATA[$P{aurologo1}]]></imageExpression>
			</image>
			<staticText>
				<reportElement x="110" y="72" width="335" height="20" forecolor="#006633" uuid="038cb878-a87d-4fd6-a790-46c860b65d24"/>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font fontName="Bookman Old Style" size="11" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[MOB:- 9438144007]]></text>
			</staticText>
			<staticText>
				<reportElement x="110" y="93" width="335" height="20" forecolor="#006633" uuid="ab00866e-afb1-4cf0-89d1-f229e5e58977"/>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font fontName="Bookman Old Style" size="12" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[Email:-satyambbsr121@gmail.com]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="229" splitType="Stretch">
			<rectangle>
				<reportElement x="0" y="25" width="352" height="120" uuid="c1c859aa-e89a-4e10-a5d7-14bec2b8fc20"/>
			</rectangle>
			<rectangle>
				<reportElement x="352" y="25" width="203" height="120" uuid="e61c975a-7a4e-4863-a4ce-80176018d69f"/>
			</rectangle>
			<rectangle>
				<reportElement x="0" y="145" width="352" height="50" uuid="06725612-b72c-4f20-a880-1b332bf074cf"/>
			</rectangle>
			<rectangle>
				<reportElement x="352" y="145" width="203" height="50" uuid="eccccfa6-4730-479b-ad31-eb4454a139a5"/>
			</rectangle>
			<staticText>
				<reportElement x="9" y="209" width="120" height="20" uuid="e8ce3362-d42c-4179-9768-a929c87c5198"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Bill Information :]]></text>
			</staticText>
			<staticText>
				<reportElement x="9" y="25" width="60" height="20" uuid="09ccbdc8-1a7b-43e8-a822-604ac651a0ac"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Name :]]></text>
			</staticText>
			<staticText>
				<reportElement x="223" y="25" width="31" height="20" forecolor="#000000" uuid="d07268bd-7f2b-4510-b8ab-5df49427ace8"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Age :]]></text>
			</staticText>
			<staticText>
				<reportElement x="223" y="45" width="31" height="20" uuid="ee548f49-ddf8-4d0f-9b40-6218472ebdef"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Sex :]]></text>
			</staticText>
			<staticText>
				<reportElement x="9" y="45" width="60" height="20" uuid="e8ff3b01-6cad-4518-9a9d-0760d014fffd"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Address :]]></text>
			</staticText>
			<staticText>
				<reportElement x="358" y="85" width="94" height="20" uuid="162abbf2-a19e-4856-a9bc-0df472a27a8c"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Discharge Date :]]></text>
			</staticText>
			<staticText>
				<reportElement x="358" y="25" width="94" height="20" uuid="52232060-f683-4b36-b54a-1bc6eee7797e"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[InDoorRegd.No. :]]></text>
			</staticText>
			<staticText>
				<reportElement x="358" y="105" width="94" height="20" uuid="c473a5d7-3a85-495e-8a09-16b4876e6e91"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Length of Stay :]]></text>
			</staticText>
			<staticText>
				<reportElement x="358" y="65" width="94" height="20" uuid="c5a4abfa-9f83-4d51-9050-23579125270b"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Admitted Date :]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="145" width="83" height="20" uuid="43d38d64-cd93-4a86-b6de-314172d9d145"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Doctor Name :]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="175" width="83" height="20" uuid="fb4e724d-94ae-4980-84ff-50e26aec7262"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Department :]]></text>
			</staticText>
			<staticText>
				<reportElement x="358" y="145" width="94" height="20" uuid="532868be-a0b1-445d-a77b-e5df716f8ae6"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Invoice No :]]></text>
			</staticText>
			<staticText>
				<reportElement x="358" y="165" width="94" height="20" uuid="734bb6cc-aeaf-4620-ac15-1337df861257"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Invoice Date :]]></text>
			</staticText>
			<staticText>
				<reportElement x="301" y="25" width="50" height="20" forecolor="#3333FF" uuid="01703ca2-7886-4c30-81d1-8cd1870314b1"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Bookman Old Style"/>
				</textElement>
				<text><![CDATA[Months]]></text>
			</staticText>
			<staticText>
				<reportElement x="270" y="25" width="17" height="20" forecolor="#3333FF" uuid="ae024c70-c24b-425f-ad5f-beaf2af6786b"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Bookman Old Style"/>
				</textElement>
				<text><![CDATA[Yrs]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="69" y="25" width="154" height="20" forecolor="#3333FF" uuid="d5a01ee7-a9e0-43c6-b426-e1dc6e5b3a3f"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{patent_name}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="69" y="45" width="154" height="20" forecolor="#3333FF" uuid="1eafc517-120f-4792-80b6-6bc5a144063b"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{present_address1}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="69" y="65" width="154" height="20" forecolor="#3333FF" uuid="cbe206f4-2ff4-49c8-9752-bcf69a0ff481"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{present_address2}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="254" y="45" width="97" height="20" forecolor="#3333FF" uuid="e8ebfea3-de66-400c-b827-a26b8a4ffbe8"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{gender}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="254" y="25" width="16" height="20" forecolor="#3333FF" uuid="971ff6f5-e556-4572-ac63-6a8b6701de1a"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{ageyr}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="287" y="25" width="14" height="20" forecolor="#3333FF" uuid="1582b40a-3dab-48f2-b434-4139527dc23d"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{agemn}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="93" y="145" width="259" height="20" forecolor="#3333FF" uuid="1c2afac3-3e3c-4d15-9a14-94bd52f4a51c"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{doctor_name}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="93" y="175" width="259" height="20" forecolor="#3333FF" uuid="56c34c6a-d59c-4c7e-9e1d-13af8b89b7d9"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{department_name}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="452" y="25" width="103" height="20" forecolor="#3333FF" uuid="6905027f-5bb4-41ca-b5a5-26f05ccb35bc"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{inpatient_id}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="452" y="65" width="103" height="20" forecolor="#3333FF" uuid="18ebb44c-c606-4766-ad9b-1c64b00cd134"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{admission_date}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="452" y="85" width="103" height="20" forecolor="#3333FF" uuid="2efa2b4e-1ceb-41eb-a54d-a532c1ab2b3c"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{release_date}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="452" y="105" width="103" height="20" forecolor="#3333FF" uuid="fcc5793d-71be-46e5-896a-506989961f37"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{LOS}]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MMM-yy">
				<reportElement x="452" y="165" width="103" height="20" forecolor="#3333FF" uuid="9d463c41-b9ce-4fa8-bc2a-03bf0800a826"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="452" y="145" width="103" height="20" forecolor="#3333FF" uuid="3905ea92-8ac8-45ee-86c0-bbd651a22784"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{invoiceNo}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="69" y="85" width="154" height="20" forecolor="#3333FF" uuid="63a03945-367e-40c7-80f7-591c5089999d"/>
				<textFieldExpression><![CDATA[$F{t_patient_present_patient_city}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="69" y="105" width="154" height="20" forecolor="#3333FF" uuid="df6920f1-26bf-4f12-bb63-29e6d7ec10d7"/>
				<textFieldExpression><![CDATA[$F{t_patient_present_patient_district}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="69" y="125" width="154" height="20" forecolor="#3333FF" uuid="f9f72434-a3b3-43c2-aed7-79a2056aed6d"/>
				<textFieldExpression><![CDATA[$F{t_patient_present_patient_state}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="358" y="45" width="94" height="20" uuid="2fc7f8a6-2df3-40ab-95e8-a8a48b7e3f67"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Bed Number :]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="452" y="45" width="103" height="20" forecolor="#3333FF" uuid="e0c693df-b246-4992-84a2-790ff1371a75"/>
				<textElement verticalAlignment="Middle">
					<font isBold="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{bed_number}]]></textFieldExpression>
			</textField>
			<rectangle>
				<reportElement x="0" y="0" width="555" height="25" uuid="df606cb4-078c-4cb8-8a35-eda1075ebc32"/>
			</rectangle>
			<staticText>
				<reportElement x="199" y="0" width="153" height="25" uuid="77841686-3f71-4176-b09a-6956eed2b73d"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[IP Billing Summary]]></text>
			</staticText>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="133" splitType="Stretch">
			<componentElement>
				<reportElement key="table 1" style="table 1" stretchType="RelativeToBandHeight" x="10" y="0" width="545" height="133" uuid="d641ca2c-f327-48f0-a2d6-10ddf2acb6b1"/>
				<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
					<datasetRun subDataset="charges" uuid="690b8d18-ce68-4eed-b6dc-ca26c6dbd58c">
						<datasetParameter name="encId">
							<datasetParameterExpression><![CDATA[$P{encId}]]></datasetParameterExpression>
						</datasetParameter>
						<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					</datasetRun>
					<jr:column width="254" uuid="bd8019c0-36a3-4c89-841a-421844fecad4">
						<jr:columnHeader style="table 1_CH" height="25" rowSpan="1">
							<staticText>
								<reportElement x="0" y="0" width="254" height="25" uuid="21b8bace-db10-4173-89ba-959736095a8b"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Bookman Old Style" size="12" isBold="true"/>
								</textElement>
								<text><![CDATA[Charge Type]]></text>
							</staticText>
						</jr:columnHeader>
						<jr:columnFooter style="table 1_CH" height="25" rowSpan="1">
							<staticText>
								<reportElement x="0" y="0" width="254" height="25" uuid="1cbac6ec-6ceb-4376-a1b7-007ae1605cda"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Bookman Old Style" isBold="true"/>
								</textElement>
								<text><![CDATA[Total Charges (INR) :]]></text>
							</staticText>
						</jr:columnFooter>
						<jr:detailCell style="table 1_TD" height="20" rowSpan="1">
							<textField>
								<reportElement x="0" y="0" width="254" height="20" uuid="46bb00cd-fce8-4121-bd98-d62ec9ce9c2a"/>
								<textElement textAlignment="Center" verticalAlignment="Middle"/>
								<textFieldExpression><![CDATA[$F{charge_type}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="90" uuid="903d16fa-fbb1-405b-8cea-ed435f185727">
						<jr:columnHeader style="table 1_CH" height="25" rowSpan="1">
							<staticText>
								<reportElement x="0" y="0" width="90" height="25" uuid="d82b83ca-2339-424b-a6b4-5e195c297eef"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Bookman Old Style" size="12" isBold="true"/>
								</textElement>
								<text><![CDATA[Amount]]></text>
							</staticText>
						</jr:columnHeader>
						<jr:columnFooter style="table 1_CH" height="25" rowSpan="1">
							<textField>
								<reportElement x="0" y="0" width="90" height="25" uuid="3f630446-bc91-4d0a-aefb-4cd1bff364bc"/>
								<textElement textAlignment="Center" verticalAlignment="Middle"/>
								<textFieldExpression><![CDATA[$V{totalCharge}]]></textFieldExpression>
							</textField>
						</jr:columnFooter>
						<jr:detailCell style="table 1_TD" height="20" rowSpan="1">
							<textField>
								<reportElement x="0" y="0" width="90" height="20" uuid="1c8c9ca2-8aaa-48ac-b3f7-161f55a7fd9d"/>
								<textElement textAlignment="Center" verticalAlignment="Middle"/>
								<textFieldExpression><![CDATA[$F{amount_charge}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
				</jr:table>
			</componentElement>
		</band>
	</columnHeader>
	<detail>
		<band height="109" splitType="Stretch"/>
	</detail>
	<columnFooter>
		<band height="20" splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="161" splitType="Stretch">
			<staticText>
				<reportElement x="398" y="141" width="157" height="20" uuid="3c000ff2-a44f-4de7-8593-26d44652fd6d"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="12"/>
				</textElement>
				<text><![CDATA[Accountant's Signature]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="141" width="157" height="20" uuid="3c000ff2-a44f-4de7-8593-26d44652fd6d"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="12"/>
				</textElement>
				<text><![CDATA[Pt.Attendant's Signature]]></text>
			</staticText>
		</band>
	</pageFooter>
	<summary>
		<band height="9" splitType="Stretch"/>
	</summary>
</jasperReport>

Commits for Satyam/AuroCareHealthCareInPatient/src/main/resources/reports/InvoiceReport.jrxml

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