Subversion Repository Public Repository

Aurocare_27_07_2018

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
<?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="IPTreatmentReport_1_subreport4" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="7e92beeb-f10c-4654-851b-a08dc5d59537">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="Title" fontName="Times New Roman" fontSize="50" isBold="true" pdfFontName="Times-Bold"/>
	<style name="SubTitle" forecolor="#736343" fontName="Arial" fontSize="18"/>
	<style name="Column header" forecolor="#666666" fontName="Arial" fontSize="12" isBold="true"/>
	<style name="Detail" fontName="Arial" fontSize="12"/>
	<style name="Row" mode="Transparent">
		<conditionalStyle>
			<conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
			<style backcolor="#E6DAC3"/>
		</conditionalStyle>
	</style>
	<parameter name="id" class="java.lang.Long"/>
	<queryString>
		<![CDATA[SELECT
		 DATE_FORMAT(t_inpatent_admission.`admission_date`,'%d/%m/%Y %h:%i %p') AS t_inpatent_admission_admission_date,
		 concat(t_patient.`patient_f_name`,' ',t_patient.`patient_m_name`,' ',t_patient.`patient_l_name`) AS patient_name,
		 concat('Dr. ',t_doctor_information.`doctor_name`) AS t_doctor_information_doctor_name,
		 t_inpatent_admission.`inpatient_id` AS t_inpatent_admission_inpatient_id,
		 t_inpatent_admission.`release_date` AS t_inpatent_admission_release_date,
		 t_inpatent_admission.`patient_disease` AS t_inpatient_admission_disease,
		 t_bed_master.`bed_number` AS t_bed_master_bed_number,
		t_pat_enc_anesthesia.operation_type,
		 t_pat_enc_diagnosis.diagnosis_id,
		t_pat_enc_medication.med_date,
		t_pat_enc_medication.med_timing,
		t_pat_enc_medication.medTake_timing,
		t_medication_master.medication_name,
		t_pat_enc_vitalsign.vital_date,
		t_pat_enc_vitalsign.blood_pressure,
		t_pat_enc_vitalsign.pulse,
		t_pat_enc_vitalsign.enc_id
	
FROM
     `t_patient` t_patient 
     INNER JOIN `t_inpatent_admission` t_inpatent_admission ON t_patient.`id` = t_inpatent_admission.`patient_id`
     INNER JOIN `t_bed_master` t_bed_master ON t_inpatent_admission.`bed_id` = t_bed_master.`id`
     INNER JOIN `t_doctor_information` t_doctor_information ON t_inpatent_admission.`doctor_id` = t_doctor_information.`id`
     INNER JOIN `t_pat_enc` t_pat_enc ON t_inpatent_admission.`enc_id` = t_pat_enc.`enc_id`
	 INNER JOIN `t_pat_enc_anesthesia`  ON t_pat_enc.`enc_id` = t_pat_enc_anesthesia.`enc_id` 
     INNER JOIN `t_pat_enc_diagnosis`  ON t_pat_enc_anesthesia.`enc_id` = t_pat_enc_diagnosis.`enc_id` 
      INNER JOIN `t_pat_enc_medication`  ON t_pat_enc_diagnosis.`enc_id` = t_pat_enc_medication.`enc_id`
      INNER JOIN `t_pat_enc_procedure`  ON t_pat_enc_medication.`enc_id` = t_pat_enc_procedure.`enc_id`
      INNER JOIN `t_pat_enc_vitalsign`  ON t_pat_enc_procedure.`enc_id` = t_pat_enc_vitalsign.`enc_id`
      INNER JOIN `t_medication_master`  ON t_pat_enc_medication.`medication_id` = t_medication_master.`id`

where t_pat_enc.enc_id =$P{id}]]>
	</queryString>
	<field name="t_inpatent_admission_admission_date" class="java.lang.String"/>
	<field name="patient_name" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="t_doctor_information_doctor_name" class="java.lang.String"/>
	<field name="t_inpatent_admission_inpatient_id" class="java.lang.String"/>
	<field name="t_inpatent_admission_release_date" class="java.sql.Timestamp"/>
	<field name="t_inpatient_admission_disease" class="java.lang.String"/>
	<field name="t_bed_master_bed_number" class="java.lang.String"/>
	<field name="operation_type" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="diagnosis_id" class="java.lang.Integer">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="med_date" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="med_timing" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="medTake_timing" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="medication_name" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="vital_date" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="blood_pressure" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="pulse" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="enc_id" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<group name="med_date">
		<groupExpression><![CDATA[$F{med_date}]]></groupExpression>
		<groupHeader>
			<band height="37">
				<textField>
					<reportElement style="SubTitle" x="0" y="13" width="96" height="24" forecolor="#333333" uuid="945713d2-e850-4e8a-bede-24c73adcfcf8"/>
					<textElement>
						<font isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{med_date}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="38"/>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="5" splitType="Stretch"/>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="23" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="15" width="802" height="1" uuid="7ba66363-0ca1-4406-b3af-5257caf97fe3"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement style="Column header" x="96" y="0" width="73" height="15" forecolor="#000000" uuid="fc4dbc73-8184-4bc5-9c26-ec60909eef97"/>
				<text><![CDATA[Time]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="196" y="0" width="121" height="15" forecolor="#000000" uuid="900d6c9e-b981-4539-969e-156d7dc5b113"/>
				<text><![CDATA[Med Routine Timing]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="317" y="1" width="114" height="15" forecolor="#000000" uuid="8a82a145-2808-42f3-85b9-82a60888f4f4"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[Medication Name]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="433" y="0" width="76" height="15" forecolor="#000000" uuid="d0e027c5-8558-497b-9e23-bd35e06bd4f1"/>
				<text><![CDATA[Vital Date]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="509" y="1" width="51" height="15" forecolor="#000000" uuid="9a7f6610-ed24-40fb-8d5d-ff4b2c2846ac"/>
				<text><![CDATA[BP]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="560" y="1" width="41" height="15" forecolor="#000000" uuid="428a4de5-a08a-4f84-bb1b-cf6655896d16"/>
				<text><![CDATA[pulse]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="0" width="70" height="15" uuid="18ad4e99-32b2-469c-87f2-9e8c07e3e00d"/>
				<textElement>
					<font fontName="Arial" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Date]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="15" splitType="Stretch">
			<frame>
				<reportElement style="Row" mode="Opaque" x="0" y="0" width="802" height="15" forecolor="#999999" uuid="440d4fc7-117e-44e9-bd8f-8f48db200806"/>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="96" y="0" width="87" height="15" uuid="a97592b8-2da6-47d6-b3ce-ba16148dd9ef"/>
					<textFieldExpression><![CDATA[$F{med_timing}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="196" y="0" width="87" height="15" uuid="534101a6-1d9d-4665-b58c-5c7861875185"/>
					<textFieldExpression><![CDATA[$F{medTake_timing}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="317" y="0" width="114" height="15" uuid="606004b6-0974-4734-98e6-0be584179315"/>
					<textFieldExpression><![CDATA[$F{medication_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="431" y="0" width="78" height="15" uuid="caa400e9-11bf-4892-8723-ee87f6471aff"/>
					<textFieldExpression><![CDATA[$F{vital_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="509" y="0" width="51" height="15" uuid="96649a7b-e6f2-47cf-8ae1-f7d3485ddd8c"/>
					<textFieldExpression><![CDATA[$F{blood_pressure}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="560" y="0" width="59" height="15" uuid="426a79e8-e9e8-4b1a-911a-ab2cf7b1dcc7"/>
					<textFieldExpression><![CDATA[$F{pulse}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<columnFooter>
		<band height="31" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="3" width="802" height="1" uuid="5831c2cd-da7d-4c76-b409-67c70803f26a"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
		</band>
	</columnFooter>
	<pageFooter>
		<band height="43" splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>

Commits for Aurocare_27_07_2018/AuroCareHealthCareInPatient/src/main/resources/reports/IPTreatmentReport_1_subreport4.jrxml

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