jaspersoft studio6.x 设计医院超声检查报告单
Posted 在奋斗的大道
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jaspersoft studio6.x 设计医院超声检查报告单相关的知识,希望对你有一定的参考价值。
简单编写了一个超声检查报告单。效果展示如下:
jaspersoft studio 设计截图:
源码XML
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.10.0.final using JasperReports Library version 6.10.0-unknown -->
<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="Blank_A4_2" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="25fea06f-95dc-4235-b19a-4b01e7944b7d">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<queryString>
<![CDATA[]]>
</queryString>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="30" splitType="Stretch">
<staticText>
<reportElement x="227" y="0" width="100" height="30" uuid="7db8b8d4-7ce8-4155-9df5-facfe71a1049"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[超声波检查报告单]]></text>
</staticText>
</band>
</title>
<columnHeader>
<band height="91" splitType="Stretch">
<textField>
<reportElement x="0" y="0" width="50" height="30" uuid="4cfb3096-efb7-41e2-b8f2-922c10290712"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["姓名:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="50" y="0" width="80" height="30" uuid="00d92903-0096-4272-91d6-c30378c942ea"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["盛琳"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="130" y="0" width="50" height="30" uuid="c9b67443-0fe4-4136-80fe-764fb79387db"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["性別:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="180" y="0" width="80" height="30" uuid="041e141b-b998-4d7d-a96a-7659550414d5">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["女"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="260" y="0" width="50" height="30" uuid="133a57e7-f96e-440a-badd-cb9b4d57df98"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["年龄:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="310" y="0" width="100" height="30" uuid="5ab25f9d-037f-4527-83be-a5d303932ca4"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["30"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="410" y="0" width="50" height="30" uuid="d5ef435c-1273-4459-886c-416815f485fb"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["检查号:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="460" y="0" width="90" height="30" uuid="001f7372-de48-481d-9806-859bb71c18a6"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["202111290001"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="31" width="50" height="30" uuid="37e0ed84-71ba-497d-8854-1963a04b2fd1"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["来源:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="50" y="31" width="80" height="30" uuid="47d511e1-af17-4cf7-972b-1b2c52ad8a97"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["门诊"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="130" y="31" width="50" height="30" uuid="dbff7125-f236-4a07-a06d-fbbed8cd7bb1"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["临床科室:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="180" y="30" width="80" height="30" uuid="0d22e456-e801-4187-a39b-ccbdaaa7ea95">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[""]]></textFieldExpression>
</textField>
<textField>
<reportElement x="260" y="30" width="50" height="30" uuid="00ad2d87-13bc-4042-accb-c25737dd845a"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["住院号:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="310" y="30" width="100" height="30" uuid="3bfb87ba-9317-429c-8528-9651689d6e99"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[""]]></textFieldExpression>
</textField>
<textField>
<reportElement x="410" y="30" width="50" height="30" uuid="0a9bf48b-6891-4170-a013-fe382d6e6bd3"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["床号:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="460" y="30" width="90" height="30" uuid="a7d57c51-a4f2-4cf7-b4c4-6eae174af7af"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[""]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="60" width="50" height="30" uuid="05acd3e6-c0f6-482d-9daa-edb4a409a3e6"/>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["设备型号:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="50" y="60" width="80" height="30" uuid="75454988-b986-44d7-bf3e-ca65038ff070"/>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["CE-Youlince730"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="130" y="60" width="50" height="30" uuid="8a0816fa-57f9-4ca6-9f94-9b6ad1f183e8"/>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["临床诊断:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="180" y="60" width="80" height="30" uuid="f277a16b-0739-46e8-af76-101ddc401304">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[""]]></textFieldExpression>
</textField>
<textField>
<reportElement x="260" y="60" width="50" height="30" uuid="edfd8f56-0bbd-4a07-ae61-3b813a403207"/>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["检查部位:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="310" y="60" width="240" height="30" uuid="836d6d2d-2767-4a5b-aea0-e5f05bb79b59"/>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["胎儿+三维"]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="230" splitType="Stretch">
<image>
<reportElement x="65" y="0" width="180" height="130" uuid="487a16f9-77a7-4769-968f-10e2eca4ad02"/>
<imageExpression><![CDATA["file:///D:/img/1.png"]]></imageExpression>
</image>
<image>
<reportElement x="300" y="0" width="180" height="130" uuid="f771091c-fc5c-488e-8cf3-174915261223">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<imageExpression><![CDATA["file:///D:/img/1.png"]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="130" width="100" height="30" uuid="4fdfadd2-0cab-4fa1-8127-a380b6f521b6"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[超声所见:]]></text>
</staticText>
<textField>
<reportElement x="0" y="160" width="550" height="20" uuid="18fbcda6-fd7e-40ac-b98e-b393f7819450"/>
<textFieldExpression><![CDATA["子宫略大,形态饱满,肌层回声均匀,宫腔内探及-11*7mm 的孕囊发射,胎芽胎心不明显,双侧附件区未见明显异常。"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="180" width="100" height="30" uuid="494aa4d7-003c-4635-b5dc-14d7e5fa844b"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[超声诊断:]]></text>
</staticText>
<textField>
<reportElement x="0" y="210" width="550" height="20" uuid="132b0e49-a801-4a6e-9516-768906d6638e"/>
<textFieldExpression><![CDATA["早孕"]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="45" splitType="Stretch">
<textField>
<reportElement x="0" y="0" width="50" height="30" uuid="88613f3f-cb1c-4107-908e-795109ef5b7b"/>
<box>
<topPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["审核医生:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="50" y="0" width="80" height="30" uuid="391ffa09-9d8e-4bea-93fa-d6f4272f7832"/>
<box>
<topPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["周志刚"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="130" y="0" width="50" height="30" uuid="bfbea3da-2ef0-4d61-8a75-378616cd3f5d"/>
<box>
<topPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["报告医生:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="180" y="0" width="80" height="30" uuid="2b4ede2f-5f7c-465c-abdf-0ada1fa1d3da"/>
<box>
<topPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["周志刚"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="260" y="0" width="50" height="30" uuid="3de9fe08-613b-4b20-ac66-b5348a88e341"/>
<box>
<topPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["报告日期:"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="310" y="0" width="240" height="30" uuid="283898a5-420b-44da-a086-7178363bfae2"/>
<box>
<topPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["2021-11-29"]]></textFieldExpression>
</textField>
</band>
</columnFooter>
</jasperReport>
*.jasper 和*.jrxml 源文件
链接:https://pan.baidu.com/s/1fVckSBsd4XVGq1P3PXOclg
提取码:1234
--来自百度网盘超级会员V5的分享
以上是关于jaspersoft studio6.x 设计医院超声检查报告单的主要内容,如果未能解决你的问题,请参考以下文章
说说如何使用 Jaspersoft Studio 设计你的第一张报表
Jaspersoft Studio(报表设计器)中文乱码问题的解决方法
Jaspersoft studio工具(报表生成工具)之 设置PDF 的开发