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
<?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="YearlySummeryReport" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c86fe64e-74fd-4b87-822b-d702c1c30f39">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="79"/>
	<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>
	<style name="table 2">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 2_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 2_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 2_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<subDataset name="New Dataset 1" uuid="a66a30ff-5d2a-461d-bde8-01dab303822d">
		<parameter name="sm_year" class="java.lang.Integer">
			<defaultValueExpression><![CDATA[]]></defaultValueExpression>
		</parameter>
		<queryString>
			<![CDATA[select monthname(joined_date) As month,count(joined_date) as total_registration from t_patient where  year(joined_date) = $P{sm_year} group by str_to_date(month, '%M')]]>
		</queryString>
		<field name="month" class="java.lang.String"/>
		<field name="total_registration" class="java.lang.Long"/>
		<variable name="sum" class="java.math.BigDecimal" calculation="Sum">
			<variableExpression><![CDATA[$F{total_registration}]]></variableExpression>
		</variable>
	</subDataset>
	<parameter name="year" class="java.lang.Integer"/>
	<queryString>
		<![CDATA[select 1 from dual]]>
	</queryString>
	<field name="1" class="java.lang.Long"/>
	<variable name="sum" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="64" splitType="Stretch">
			<staticText>
				<reportElement uuid="64cb977b-cfac-480c-8ca3-bd345a9a3f38" x="0" y="14" width="555" height="20" forecolor="#FF0000"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="14" isBold="true"/>
				</textElement>
				<text><![CDATA[: Registration Summary Reports :]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="81" splitType="Stretch">
			<staticText>
				<reportElement uuid="72189318-e86d-4510-bfa8-60d7ac497f97" x="0" y="20" width="555" height="20" forecolor="#CC3300"/>
				<textElement verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Report Parameters : ]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="2a76013c-a2a7-400c-a67c-43d50954eab8" x="0" y="40" width="100" height="20" forecolor="#000000"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Year]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="6b135ad2-70f7-41fd-ae8f-4ac15a6b45da" x="0" y="0" width="83" height="20" forecolor="#CC3300"/>
				<textElement verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Report Name : ]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="bc9f08f6-1759-47e4-8697-702d69332413" x="83" y="0" width="472" height="20"/>
				<textElement verticalAlignment="Middle"/>
				<text><![CDATA[Yearly Summery Report]]></text>
			</staticText>
			<textField>
				<reportElement uuid="cc92de78-aa24-43a3-953f-8a2c0af9391f" x="100" y="40" width="123" height="20"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{year}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="23" splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="338" splitType="Stretch">
			<componentElement>
				<reportElement uuid="da5244fa-2534-422e-ab7f-b33d0d57b706" key="table 2" style="table 2" stretchType="RelativeToBandHeight" x="0" y="0" width="210" height="107" isPrintWhenDetailOverflows="true"/>
				<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="New Dataset 1" uuid="140f19a2-26ef-4d6a-8de9-6b354cbf710f">
						<datasetParameter name="sm_year">
							<datasetParameterExpression><![CDATA[$P{year}]]></datasetParameterExpression>
						</datasetParameter>
						<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					</datasetRun>
					<jr:column uuid="00ae900f-95b6-457f-bf4c-c11ae3de77d7" width="90">
						<jr:columnHeader style="table 2_CH" height="30" rowSpan="1">
							<staticText>
								<reportElement uuid="c75f22b6-9ff8-4c31-a7d8-bfe5fc74c556" x="0" y="0" width="90" height="30"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font size="12" isBold="true"/>
								</textElement>
								<text><![CDATA[Month]]></text>
							</staticText>
						</jr:columnHeader>
						<jr:columnFooter height="30" rowSpan="1">
							<staticText>
								<reportElement uuid="6cfc9cde-d163-4050-a408-395f1fac31bf" x="0" y="0" width="90" height="30"/>
								<textElement textAlignment="Right" verticalAlignment="Middle">
									<font size="12" isBold="true"/>
								</textElement>
								<text><![CDATA[Total :]]></text>
							</staticText>
						</jr:columnFooter>
						<jr:detailCell style="table 2_TD" height="20" rowSpan="1">
							<textField>
								<reportElement uuid="e74fd97b-463f-4f68-8439-c9aa540d1cf7" x="0" y="0" width="90" height="20"/>
								<textElement textAlignment="Center" verticalAlignment="Middle"/>
								<textFieldExpression><![CDATA[$F{month}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column uuid="d19a48b9-bdf7-4304-ae7d-dbdf54de76ce" width="128">
						<jr:columnHeader style="table 2_CH" height="30" rowSpan="1">
							<staticText>
								<reportElement uuid="ec14e05a-fe70-41fa-a769-9fe1d3aaf61d" x="0" y="0" width="127" height="30"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font size="12" isBold="true"/>
								</textElement>
								<text><![CDATA[ No. of Registration]]></text>
							</staticText>
						</jr:columnHeader>
						<jr:columnFooter height="30" rowSpan="1">
							<textField>
								<reportElement uuid="499450ec-48cf-4da6-8ba6-fecc93960e6a" x="0" y="0" width="127" height="30"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font size="12" isBold="true"/>
								</textElement>
								<textFieldExpression><![CDATA[$V{sum}]]></textFieldExpression>
							</textField>
						</jr:columnFooter>
						<jr:detailCell style="table 2_TD" height="20" rowSpan="1">
							<textField>
								<reportElement uuid="53787929-4c87-41eb-bd78-188380ea6cf3" x="0" y="0" width="128" height="20"/>
								<textElement textAlignment="Center" verticalAlignment="Middle"/>
								<textFieldExpression><![CDATA[$F{total_registration}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
				</jr:table>
			</componentElement>
			<bar3DChart>
				<chart>
					<reportElement uuid="4d0c7345-f52a-433f-a165-df993b6861d3" positionType="Float" x="0" y="107" width="555" height="229"/>
					<chartTitle/>
					<chartSubtitle/>
					<chartLegend/>
				</chart>
				<categoryDataset>
					<dataset>
						<datasetRun subDataset="New Dataset 1" uuid="4b967101-47c8-401c-92a0-6618ce18cc05">
							<datasetParameter name="sm_year">
								<datasetParameterExpression><![CDATA[$P{year}]]></datasetParameterExpression>
							</datasetParameter>
							<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
						</datasetRun>
					</dataset>
					<categorySeries>
						<seriesExpression><![CDATA[$F{month}]]></seriesExpression>
						<categoryExpression><![CDATA[$F{month}]]></categoryExpression>
						<valueExpression><![CDATA[$F{total_registration}]]></valueExpression>
					</categorySeries>
				</categoryDataset>
				<bar3DPlot>
					<plot labelRotation="45.0"/>
					<itemLabel/>
					<categoryAxisFormat labelRotation="45.0">
						<axisFormat tickLabelMask="222">
							<labelFont>
								<font size="10"/>
							</labelFont>
							<tickLabelFont>
								<font size="10"/>
							</tickLabelFont>
						</axisFormat>
					</categoryAxisFormat>
					<valueAxisFormat>
						<axisFormat>
							<labelFont>
								<font size="10"/>
							</labelFont>
							<tickLabelFont>
								<font size="10"/>
							</tickLabelFont>
						</axisFormat>
					</valueAxisFormat>
				</bar3DPlot>
			</bar3DChart>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="19" splitType="Stretch"/>
	</summary>
</jasperReport>

Commits for Satyam/AuroCareEMR/target/classes/reports/YearlySummeryReport.jrxml

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