Subversion Repository Public Repository

Pharmacy_09_03_18

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
<?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="report name" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="68b766be-b356-4ada-add8-c04324906438">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<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>
		<conditionalStyle>
			<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
			<style backcolor="#EFF7FF"/>
		</conditionalStyle>
	</style>
	<subDataset name="Table Dataset 1" uuid="ec6fe0fe-dd7c-4550-8a67-1effeb5d80f7"/>
	<parameter name="BillingDetails" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="encId" class="java.lang.String"/>
	<parameter name="date" class="java.lang.String"/>
	<parameter name="month" class="java.lang.String"/>
	<parameter name="year" class="java.lang.String"/>
	<queryString>
		<![CDATA[SELECT
     DATE_FORMAT(t_outdoorbilling.`item_date`,'%d-%m-%y') AS t_outdoorbilling_item_date,
     t_outdoorbilling.`BillingDetails_Name` AS BillingDetails_Name,
     t_outdoorbilling.`OutDoorBilling_Amount` AS OutDoorBilling_Amount,
    
     concat(t_patient.`patient_f_name`, ' ',t_patient.`patient_m_name`,' ',t_patient.`patient_l_name` ) As     t_patient_patient_f_name
     FROM
     `t_pat_enc` t_pat_enc INNER JOIN `t_outdoorbilling` t_outdoorbilling ON t_pat_enc.`enc_id` = t_outdoorbilling.`inpatient_charge_enc`
     INNER JOIN `t_patient` t_patient ON t_pat_enc.`mrn_id` = t_patient.`id`
     
 WHERE 
   (DATE(t_outdoorbilling.`item_date`)= $P{date}
    OR
    EXTRACT(YEAR_MONTH FROM t_outdoorbilling.`item_date`)=$P{month} 
    OR
    year(t_outdoorbilling.`item_date`)= $P{year})]]>
	</queryString>
	<field name="t_outdoorbilling_item_date" class="java.lang.String"/>
	<field name="BillingDetails_Name" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="OutDoorBilling_Amount" class="java.lang.Double">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="t_patient_patient_f_name" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="88" splitType="Stretch">
			<staticText>
				<reportElement x="70" y="0" width="423" height="31" uuid="c7c0fe95-2570-4fb5-871c-1f413d81a85a"/>
				<textElement verticalAlignment="Middle">
					<font size="18" isBold="true" pdfFontName="Times-Bold" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[ODISHA ORTHOPAEDICS HOSPITAL PVT.LTD.]]></text>
			</staticText>
			<staticText>
				<reportElement x="70" y="31" width="423" height="20" uuid="22c9a80b-79ad-4a5b-a1ee-2382b494f762"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="14"/>
				</textElement>
				<text><![CDATA[Kathagola,Mangalabag,Cuttack,753001]]></text>
			</staticText>
			<staticText>
				<reportElement x="70" y="51" width="423" height="20" uuid="e1ff2c3e-4708-4b88-b8ac-0494b8bc7f71"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Bookman Old Style" size="14"/>
				</textElement>
				<text><![CDATA[Ph.:067-2304200,Cell:9040665000,9040775000]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="82" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="10" width="565" height="21" forecolor="#FF0000" uuid="2d85e9a8-4247-4eef-9b52-ae663e6cbb41"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="14" isBold="true"/>
				</textElement>
				<text><![CDATA[Paid Amount]]></text>
			</staticText>
			<staticText>
				<reportElement x="137" y="62" width="100" height="20" uuid="88e8ccc1-4876-4396-a82e-87a6ee67aef5"/>
				<text><![CDATA[Patient Name]]></text>
			</staticText>
			<staticText>
				<reportElement x="282" y="62" width="100" height="20" uuid="86e42242-d6a4-4505-a109-8db4ddf3c675"/>
				<text><![CDATA[Billing Detail Name]]></text>
			</staticText>
			<staticText>
				<reportElement x="429" y="62" width="100" height="20" uuid="41ebf392-bddd-4505-b9f0-b443c69d522c"/>
				<text><![CDATA[Paid Amount]]></text>
			</staticText>
			<staticText>
				<reportElement x="24" y="62" width="100" height="20" uuid="e06357a9-353a-4e8a-84d3-26c854ecfa1c"/>
				<text><![CDATA[date]]></text>
			</staticText>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="52" splitType="Stretch">
			<textField>
				<reportElement x="293" y="18" width="100" height="20" uuid="3599e25b-bc1c-4735-ac25-6d242edb3a4f"/>
				<textFieldExpression><![CDATA[$F{BillingDetails_Name}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="440" y="18" width="100" height="20" uuid="f780e2ff-15da-4482-b6ec-c7db3c811782"/>
				<textFieldExpression><![CDATA[$F{OutDoorBilling_Amount}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="137" y="18" width="100" height="20" uuid="68f045d4-1039-4148-8add-4f4dc0571f74"/>
				<textFieldExpression><![CDATA[$F{t_patient_patient_f_name}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="13" y="18" width="100" height="20" uuid="e9211413-9f74-4e21-957b-edf4e61b7341"/>
				<textFieldExpression><![CDATA[$F{t_outdoorbilling_item_date}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="99" splitType="Stretch"/>
	</detail>
	<columnFooter>
		<band height="45" splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="54" splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="42" splitType="Stretch"/>
	</summary>
</jasperReport>

Commits for Pharmacy_09_03_18/Dr Gyana ProjectSpace/DrGyanaEMR/target/classes/reports/AmbulatoryFeeReports.jrxml

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