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
<?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_subreport1" language="groovy" pageWidth="802" pageHeight="555" orientation="Landscape" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="27d94e0d-869b-466f-abab-f1ce6322a0fa">
	<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="parameter1" class="java.lang.String"/>
	<parameter name="pid" class="java.lang.Long">
		<defaultValueExpression><![CDATA[$F{enc_id}]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT
        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{pid}]]>
	</queryString>
	<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">
				<frame>
					<reportElement mode="Opaque" x="-21" y="7" width="843" height="24" forecolor="#B89F7D" backcolor="#F2EBDF" uuid="0cc52872-2779-453c-8e07-553c1e78cf33"/>
					<rectangle>
						<reportElement mode="Opaque" x="21" y="0" width="36" height="24" backcolor="#736343" uuid="0cbc02b4-edf8-4f85-84a8-7bfa13c5a107"/>
						<graphicElement>
							<pen lineWidth="0.0"/>
						</graphicElement>
					</rectangle>
					<textField>
						<reportElement style="SubTitle" x="68" y="0" width="755" height="24" forecolor="#736343" uuid="c3ec25c8-f4f9-4522-8e22-e5eca90f4132"/>
						<textElement>
							<font isBold="true"/>
						</textElement>
						<textFieldExpression><![CDATA[$F{med_date}]]></textFieldExpression>
					</textField>
				</frame>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="6"/>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="136" splitType="Stretch"/>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="16" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="15" width="802" height="1" uuid="e6005cfd-a760-4c97-aa95-360b2ec44b4e"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement style="Column header" x="0" y="0" width="114" height="15" forecolor="#736343" uuid="daee3da5-e991-47b9-86d0-f5f9b281a09b"/>
				<text><![CDATA[med_timing]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="228" y="0" width="114" height="15" forecolor="#736343" uuid="72021d4b-5787-487b-8ef6-4b83ad13d648"/>
				<text><![CDATA[medication_name]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="342" y="0" width="114" height="15" forecolor="#736343" uuid="17a9bdfb-b2ad-436f-80a1-d94bd51284d9"/>
				<text><![CDATA[vital_date]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="456" y="0" width="114" height="15" forecolor="#736343" uuid="3f1db2dc-be68-4794-a35a-ccd76cc0d6e2"/>
				<text><![CDATA[blood_pressure]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="570" y="0" width="114" height="15" forecolor="#736343" uuid="c577ae6c-b928-48ca-88e0-8a307995feae"/>
				<text><![CDATA[pulse]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="684" y="0" width="114" height="15" forecolor="#736343" uuid="93968901-c59c-42b5-9dad-5e41ccee113e"/>
				<text><![CDATA[enc_id]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="114" y="0" width="114" height="15" forecolor="#736343" uuid="093dcfef-e8bf-4fda-bc41-ba673eede23e"/>
				<text><![CDATA[medTake_timing]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="15" splitType="Stretch">
			<frame>
				<reportElement style="Row" mode="Opaque" x="0" y="0" width="802" height="15" uuid="16c1d473-e704-4315-9a28-13e579f416fd"/>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="0" y="0" width="114" height="15" uuid="ced839c5-2be6-4af6-aa30-f369b907afdf"/>
					<textFieldExpression><![CDATA[$F{med_timing}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="114" y="0" width="114" height="15" uuid="7a2bd433-f809-4d37-ba30-6bc6a8deb4b3"/>
					<textFieldExpression><![CDATA[$F{medTake_timing}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="228" y="0" width="114" height="15" uuid="726b5eb1-a68f-468f-8f5a-a5ee04600cf5"/>
					<textFieldExpression><![CDATA[$F{medication_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="342" y="0" width="114" height="15" uuid="7790cd52-bc2d-401b-9923-0ce21aa0b026"/>
					<textFieldExpression><![CDATA[$F{vital_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="456" y="0" width="114" height="15" uuid="23583e0d-6e11-45cd-9a87-d81d45c403e5"/>
					<textFieldExpression><![CDATA[$F{blood_pressure}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="570" y="0" width="114" height="15" uuid="13b9f0dd-8b2a-4449-ab56-57c0fa2c9936"/>
					<textFieldExpression><![CDATA[$F{pulse}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="684" y="0" width="114" height="15" uuid="8841e736-9f96-40a8-8496-62469b5ff9c5"/>
					<textFieldExpression><![CDATA[$F{enc_id}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<columnFooter>
		<band height="6" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="3" width="802" height="1" uuid="3529b36d-6e60-4efa-a2f6-daf5c4ed484c"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
		</band>
	</columnFooter>
	<pageFooter>
		<band height="25" splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>

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

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