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
<?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="PrescriptionReport" 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.8150000000000004"/>
	<property name="ireport.x" value="163"/>
	<property name="ireport.y" value="0"/>
	<parameter name="appointmentId" class="java.lang.Long"/>
	<parameter name="printedby" class="java.lang.String"/>
	<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,
    t_doctor_appointment.visit_number AS visit_number,
     to_char(t_doctor_appointment.patient_checkin_time,'HH12:MI AM') 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_part('year',age(birth_date)) AS age,
     t_patient.joined_date AS t_patient_joined_date,
     t_patient.patient_ht_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 as t_speciality_master INNER JOIN t_department_master as t_department_master ON t_speciality_master.id = t_department_master.department_specialty_id
     INNER JOIN t_doctor_information as t_doctor_information ON t_department_master.id = t_doctor_information.doctor_department_id
     INNER JOIN t_doctor_appointment as t_doctor_appointment ON t_doctor_information.id = t_doctor_appointment.doctor_name_id
     INNER JOIN t_patient as 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="visit_number" 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.Double"/>
	<field name="t_patient_joined_date" class="java.sql.Timestamp"/>
	<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.Timestamp"/>
	<field name="t_patient_id" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="18" splitType="Stretch"/>
	</title>
	<pageHeader>
		<band height="99" splitType="Stretch">
			<textField pattern="dd MMMMM yyyy" isBlankWhenNull="true">
				<reportElement uuid="7e3a988e-5ce8-46a7-8261-2c792813e8f6" x="473" y="67" width="76" height="13"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="650" splitType="Stretch">
			<staticText>
				<reportElement uuid="2df02fb3-d7d2-4899-a634-05c811d07a4f" x="11" y="0" width="54" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<text><![CDATA[NAME :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="6477ba6b-fd49-46bc-9c67-1042465fecb3" x="11" y="15" width="54" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<text><![CDATA[SEX :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="7074593b-fb70-4e21-b39f-343c7a0a1688" x="11" y="29" width="54" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<text><![CDATA[AGE :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="6c7cfac5-416b-43e5-a2ab-20b94e4215ae" x="11" y="44" width="54" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<text><![CDATA[ADDRESS :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="d9d9bcde-268c-42dd-bd93-c34dff37590f" x="65" y="0" width="202" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_patient_name}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="04204b5f-3842-4ace-a9f4-acc147da9eaf" x="65" y="15" width="202" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_patient_gender}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="eadeb383-5011-48c8-af81-d0a9fdb92a77" x="65" y="44" width="202" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_present_address1}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="dc6b5678-71ea-41eb-815e-4d1297e103af" x="344" y="0" width="103" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</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="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_doctor_appointment_patient_opd_number}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="8a3de224-f7f6-43bb-b157-e49ae7e44708" x="344" y="15" width="103" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<text><![CDATA[PATIENT ID :]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="d1609b8d-cbfe-4cfd-aece-e5625dbba19c" x="344" y="29" width="103" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</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="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_doctor_appointment_patient_checkin_time}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="967e77dc-b0ba-4afd-be9f-ea5d73793018" x="344" y="44" width="103" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<text><![CDATA[CONTACT NUMBER :]]></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="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_patient_m_number}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="d27cccfc-6e65-4dfc-8686-d56c01f1157c" x="344" y="58" width="103" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<text><![CDATA[VISIT NUMBER:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="b8726292-9031-43d0-b52d-8b6dcf86d796" x="65" y="29" width="17" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{age}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="287bfe0f-5648-460b-a064-5b3cf9fd4ec7" x="447" y="15" width="102" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{t_patient_id}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="b704d0f4-7bcc-4b49-9d3d-3a5975d02ede" x="82" y="29" width="27" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<text><![CDATA[Years]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="3f2ac700-6843-42fb-92a4-9d978fe9ac1b" x="77" y="630" width="153" height="20"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="12" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{printedby}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="b930b79e-0df4-4555-94dc-770d2197ce01" x="0" y="630" width="77" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Printed By :]]></text>
			</staticText>
			<textField>
				<reportElement uuid="8e38fea5-1e60-4402-be15-ed1ab9ed422e" x="447" y="58" width="102" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{visit_number}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="3" splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="2" splitType="Stretch"/>
	</summary>
</jasperReport>

Commits for Satyam/AuroCareEMR/src/main/resources/reports/PrescriptionReportPostgreSQL.jrxml

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