mahipalss Posted July 29, 2015 Share Posted July 29, 2015 <?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="report1" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <background> <band splitType="Stretch"/> </background> <title> <band height="79" splitType="Stretch"> <staticText> <reportElement x="235" y="11" width="178" height="39"/> <textElement> <font fontName="SansSerif" size="16" isBold="true"/> </textElement> <text><![CDATA[New Device Registration]]></text> </staticText> <image> <reportElement x="0" y="11" width="200" height="39"/> <imageExpression><![CDATA[$P{medtronicLogo}]]></imageExpression> </image> </band> </title> <detail> <band height="802" splitType="Stretch"> <staticText> <reportElement x="11" y="11" width="100" height="20"/> <textElement> <font size="14" isBold="true" isUnderline="true"/> </textElement> <text><![CDATA[Patient Details]]></text> </staticText> <staticText> <reportElement x="11" y="42" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[First Name]]></text> </staticText> <textField> <reportElement x="135" y="42" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getHccAddressDTO().getFirstname()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="74" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Middle Name]]></text> </staticText> <textField> <reportElement x="135" y="74" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getHccAddressDTO().getMiddlename()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="104" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Last Name]]></text> </staticText> <textField> <reportElement x="135" y="104" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getHccAddressDTO().getLastname()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="138" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Gender]]></text> </staticText> <textField> <reportElement x="135" y="138" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getGender()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="172" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Patient Chart ID]]></text> </staticText> <textField> <reportElement x="135" y="172" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getPatientChartID()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="206" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Address]]></text> </staticText> <textField> <reportElement x="135" y="206" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getHccAddressDTO().getLine1()]]></textFieldExpression> </textField> <textField> <reportElement x="135" y="236" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getHccAddressDTO().getTown()]]></textFieldExpression> </textField> <textField> <reportElement x="135" y="267" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getHccAddressDTO().getPostalcode()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="298" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA]></text> </staticText> <textField> <reportElement x="135" y="298" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getHccAddressDTO().getEmail()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="331" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Date Of Birth]]></text> </staticText> <textField> <reportElement x="135" y="331" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getDateOfBirth()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="366" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Monitoring Duration]]></text> </staticText> <textField> <reportElement x="135" y="366" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getMonitoringDuration()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="401" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Primary Language]]></text> </staticText> <textField> <reportElement x="135" y="401" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getPatientDTO().getPrimaryLanguage()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="443" width="100" height="20"/> <textElement> <font size="14" isBold="true" isUnderline="true"/> </textElement> <text><![CDATA[Health Care Facility]]></text> </staticText> <staticText> <reportElement x="11" y="477" width="100" height="20"/> <textElement> <font isBold="true"/> </textElement> <text><![CDATA[Facility Name]]></text> </staticText> <textField> <reportElement x="135" y="477" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getHealthCareFacilityDTO().getHccB2BPartnerDTO().getPartnerName()]]></textFieldExpression> </textField> <staticText> <reportElement x="11" y="515" width="100" height="20"/> <text><![CDATA[Account Number]]></text> </staticText> <textField> <reportElement x="135" y="515" width="100" height="20"/> <textFieldExpression><![CDATA[$F{cardiocomRegistrationDTO}.getHealthCareFacilityDTO().getHccB2BPartnerDTO().getSapPartnerId()]]></textFieldExpression> </textField> </band> </detail> </jasperReport> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now