Update ResepDokterService
Penyesuaian cetakan
This commit is contained in:
parent
3418991936
commit
63e1b6d8be
@ -17,15 +17,6 @@ import com.jasamedika.medifirst2000.entities.ResepDokter;
|
||||
*/
|
||||
@Repository("resepDokterDao")
|
||||
public interface ResepDokterDao extends PagingAndSortingRepository<ResepDokter, String> {
|
||||
@Query("select distinct new Map(so.noRec as noRec," + "so.tglOrder as tglOrder," + "so.masalah as alergi,"
|
||||
+ "so.diagnosis as beratBadan," + "ru.namaRuangan as ruangan," + "pg.namaLengkap as dokter,"
|
||||
+ "pd.noRegistrasi as noRegistrasi," + "ps.namaPasien as namaPasien," + "ps.tglLahir as tglLahir,"
|
||||
+ "ps.noCm as noCm, " + "rd.racikanKe as rKe," + "rd.namaObat as obat," + "rd.qtyProduk as jumlah,"
|
||||
+ "rd.keteranganLainnya as instruksi," + "rd.keteranganPakai as aturanPakai) " + "from ResepDokter rd "
|
||||
+ "left join rd.strukOrder so " + "left join rd.ruangan ru " + "left join so.noRegistrasi pd "
|
||||
+ "left join so.noCm ps " + "inner join so.pegawaiOrder pg " + "where rd.strukOrderId = :strukOrderId")
|
||||
List<Map<String, Object>> findByStrukOrderId(@Param("strukOrderId") String strukOrderId);
|
||||
|
||||
@Query("select distinct new Map(so.noRec as noRec," + "so.tglOrder as tglOrder," + "so.masalah as alergi,"
|
||||
+ "so.diagnosis as beratBadan," + "ru.namaRuangan as ruangan," + "pg.namaLengkap as dokter,"
|
||||
+ "pd.noRegistrasi as noRegistrasi," + "ps.namaPasien as namaPasien," + "ps.tglLahir as tglLahir,"
|
||||
@ -37,6 +28,7 @@ public interface ResepDokterDao extends PagingAndSortingRepository<ResepDokter,
|
||||
@Query("select new Map(rd.racikanKe as rKe," + "rd.namaObat as obat," + "rd.qtyProduk as jumlah,"
|
||||
+ "rd.keteranganLainnya as instruksi," + "rd.keteranganPakai as aturanPakai) " + "from ResepDokter rd "
|
||||
+ "left join rd.strukOrder so " + "left join rd.ruangan ru " + "left join so.noRegistrasi pd "
|
||||
+ "left join so.noCm ps " + "inner join so.pegawaiOrder pg " + "where rd.strukOrderId = :strukOrderId")
|
||||
+ "left join so.noCm ps " + "inner join so.pegawaiOrder pg " + "where rd.strukOrderId = :strukOrderId "
|
||||
+ "order by rd.racikanKe, rd.namaObat")
|
||||
List<Map<String, Object>> findResepBodyByStrukOrderId(@Param("strukOrderId") String strukOrderId);
|
||||
}
|
||||
|
||||
@ -13,8 +13,6 @@ import com.jasamedika.medifirst2000.vo.ResepDokterVO;
|
||||
*/
|
||||
public interface ResepDokterService extends BaseVoService<ResepDokter, ResepDokterVO, String> {
|
||||
|
||||
public List<Map<String, Object>> findByStrukOrderId(String strukOrderId);
|
||||
|
||||
public Map<String, Object> findHeaderResep(String strukOrderId);
|
||||
|
||||
public List<Map<String, Object>> findResepSatuan(String strukOrderId);
|
||||
|
||||
@ -140,15 +140,6 @@ public class ResepDokterServiceImpl extends BaseVoServiceImpl implements ResepDo
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Map<String, Object>> findByStrukOrderId(String strukOrderId) {
|
||||
List<Map<String, Object>> result = resepDokterDao.findByStrukOrderId(strukOrderId);
|
||||
if (CommonUtil.isNotNullOrEmpty(result)) {
|
||||
return result;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> findHeaderResep(String strukOrderId) {
|
||||
Map<String, Object> result = resepDokterDao.findResepHeaderByStrukOrderId(strukOrderId);
|
||||
@ -170,13 +161,15 @@ public class ResepDokterServiceImpl extends BaseVoServiceImpl implements ResepDo
|
||||
Map<String, Object> rsMap = new HashMap<String, Object>();
|
||||
for (Map<String, Object> map : data) {
|
||||
if (resepKe.equals(map.get("rKe"))) {
|
||||
rsMap.putAll(map);
|
||||
jumlahResep++;
|
||||
rsMap.putAll(map);
|
||||
}
|
||||
}
|
||||
if (jumlahResep == 1) {
|
||||
result.add(rsMap);
|
||||
rsMap.put("isRacikan", false);
|
||||
if (jumlahResep > 1) {
|
||||
rsMap.put("isRacikan", true);
|
||||
}
|
||||
result.add(rsMap);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -201,13 +201,13 @@
|
||||
<dependency>
|
||||
<groupId>net.sf.jasperreports</groupId>
|
||||
<artifactId>jasperreports</artifactId>
|
||||
<version>6.20.0</version>
|
||||
<version>6.12.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>net.sf.jasperreports</groupId>
|
||||
<artifactId>jasperreports-fonts</artifactId>
|
||||
<version>6.20.0</version>
|
||||
<version>6.12.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
@ -7504,33 +7504,6 @@ public class ReportingController extends LocaleController<RegistrasiPelayananVO>
|
||||
return m;
|
||||
}
|
||||
|
||||
@RequestMapping("/resep")
|
||||
public ModelAndView generateResep(ModelAndView m, @RequestParam(value = "format", required = false) String format,
|
||||
@RequestParam(value = "struk_order_id", required = true) String strukOrderId) {
|
||||
Map<String, Object> headerResep = resepDokterService.findHeaderResep(strukOrderId);
|
||||
List<Map<String, Object>> dsResep = resepDokterService.findResepSatuan(strukOrderId);
|
||||
List<Map<String, Object>> sdsResep = resepDokterService.findResepRacikan(strukOrderId);
|
||||
|
||||
m.addObject("dsResep", dsResep);
|
||||
m.addObject("sdsResep", sdsResep);
|
||||
m.addObject("noRec", headerResep.get("noRec"));
|
||||
m.addObject("tglOrder", headerResep.get("tglOrder"));
|
||||
m.addObject("alergi", headerResep.get("alergi"));
|
||||
m.addObject("beratBadan", headerResep.get("beratBadan"));
|
||||
m.addObject("ruangan", headerResep.get("ruangan"));
|
||||
m.addObject("dokter", headerResep.get("dokter"));
|
||||
m.addObject("noRegistrasi", headerResep.get("noRegistrasi"));
|
||||
m.addObject("namaPasien", headerResep.get("namaPasien"));
|
||||
m.addObject("tglLahir", headerResep.get("tglLahir"));
|
||||
m.addObject("noCm", headerResep.get("noCm"));
|
||||
m.addObject("format", "pdf");
|
||||
if (format != null && !format.isEmpty()) {
|
||||
m.addObject("format", format);
|
||||
}
|
||||
|
||||
return m;
|
||||
}
|
||||
|
||||
@RequestMapping("/suratPelimpahanTugas")
|
||||
public ModelAndView generateSuratPelimpahanTugas(ModelAndView m,
|
||||
@RequestParam(value = "format", required = false) String format,
|
||||
@ -7812,5 +7785,33 @@ public class ReportingController extends LocaleController<RegistrasiPelayananVO>
|
||||
return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage);
|
||||
}
|
||||
}
|
||||
|
||||
@RequestMapping("/resep")
|
||||
public ModelAndView generateResep(ModelAndView m,
|
||||
@RequestParam(value = "format", required = false) String format,
|
||||
@RequestParam(value = "struk_order_id", required = true) String strukOrderId) {
|
||||
Map<String, Object> headerResep = resepDokterService.findHeaderResep(strukOrderId);
|
||||
List<Map<String, Object>> dsResep = resepDokterService.findResepSatuan(strukOrderId);
|
||||
List<Map<String, Object>> sdsResep = resepDokterService.findResepRacikan(strukOrderId);
|
||||
|
||||
m.addObject("dsResep", dsResep);
|
||||
m.addObject("sdsResep", sdsResep);
|
||||
m.addObject("noRec", headerResep.get("noRec"));
|
||||
m.addObject("tglOrder", headerResep.get("tglOrder"));
|
||||
m.addObject("alergi", headerResep.get("alergi"));
|
||||
m.addObject("beratBadan", headerResep.get("beratBadan"));
|
||||
m.addObject("ruangan", headerResep.get("ruangan"));
|
||||
m.addObject("dokter", headerResep.get("dokter"));
|
||||
m.addObject("noRegistrasi", headerResep.get("noRegistrasi"));
|
||||
m.addObject("namaPasien", headerResep.get("namaPasien"));
|
||||
m.addObject("tglLahir", headerResep.get("tglLahir"));
|
||||
m.addObject("noCm", headerResep.get("noCm"));
|
||||
m.addObject("format", "pdf");
|
||||
if (format != null && !format.isEmpty()) {
|
||||
m.addObject("format", format);
|
||||
}
|
||||
|
||||
return m;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 245 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.20.0.final using JasperReports Library version 6.20.0-2bc7ab61c56f459e8176eb05c7705e145cd400ad -->
|
||||
<!-- Created with Jaspersoft Studio version 6.12.2.final using JasperReports Library version 6.12.2-75c5e90a222ab406e416cbf590a5397028a52de3 -->
|
||||
<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="resep" pageWidth="396" pageHeight="612" columnWidth="380" leftMargin="8" rightMargin="8" topMargin="20" bottomMargin="20" uuid="43912c45-d572-4c40-a3e6-1b613948cb5c">
|
||||
<property name="com.jaspersoft.studio.unit." value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageHeight" value="cm"/>
|
||||
@ -12,370 +12,331 @@
|
||||
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
|
||||
<parameter name="detailResep" class="net.sf.jasperreports.engine.JasperReport"/>
|
||||
<parameter name="sdsResep" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/>
|
||||
<parameter name="startDate" class="java.util.Date"/>
|
||||
<parameter name="endDate" class="java.util.Date"/>
|
||||
<parameter name="grandSubTotal" class="java.lang.String"/>
|
||||
<parameter name="grandTotal" class="java.lang.String"/>
|
||||
<parameter name="grandBerat" class="java.lang.String"/>
|
||||
<parameter name="rataanBeratCucian" class="java.lang.String"/>
|
||||
<parameter name="rataanLembarCucian" class="java.lang.String"/>
|
||||
<parameter name="nipPegawai" class="java.lang.String"/>
|
||||
<parameter name="namaPegawai" class="java.lang.String"/>
|
||||
<parameter name="grandRupiahTerbilang" class="java.lang.String"/>
|
||||
<field name="idDepartemen" class="java.lang.Integer"/>
|
||||
<field name="namaDepartemen" class="java.lang.String"/>
|
||||
<field name="qtySubTotal" class="java.lang.String"/>
|
||||
<field name="subTotal" class="java.lang.String"/>
|
||||
<field name="beratSubTotal" class="java.lang.String"/>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<parameter name="tglOrder" class="java.util.Date"/>
|
||||
<parameter name="tglLahir" class="java.util.Date"/>
|
||||
<parameter name="alergi" class="java.lang.String"/>
|
||||
<parameter name="beratBadan" class="java.lang.String"/>
|
||||
<parameter name="ruangan" class="java.lang.String"/>
|
||||
<parameter name="dokter" class="java.lang.String"/>
|
||||
<parameter name="noRegistrasi" class="java.lang.String"/>
|
||||
<parameter name="namaPasien" class="java.lang.String"/>
|
||||
<parameter name="noCm" class="java.lang.String"/>
|
||||
<field name="rKe" class="java.lang.String"/>
|
||||
<field name="obat" class="java.lang.String"/>
|
||||
<field name="jumlah" class="java.lang.String"/>
|
||||
<field name="instruksi" class="java.lang.String"/>
|
||||
<field name="aturanPakai" class="java.lang.String"/>
|
||||
<field name="isRacikan" class="java.lang.Boolean"/>
|
||||
<title>
|
||||
<band height="90" splitType="Stretch">
|
||||
<image>
|
||||
<reportElement x="-4" y="-20" width="388" height="110" uuid="0d6d891e-46bc-4742-b8dd-ef5167539064"/>
|
||||
<imageExpression><![CDATA["src/main/webapp/WEB-INF/images/kop.png"]]></imageExpression>
|
||||
<imageExpression><![CDATA["../images/kop.png"]]></imageExpression>
|
||||
</image>
|
||||
</band>
|
||||
</title>
|
||||
<columnHeader>
|
||||
<band height="120" splitType="Stretch">
|
||||
<staticText>
|
||||
<reportElement x="0" y="10" width="20" height="40" uuid="fb803607-ca67-4374-b6c1-3400af5d7d28"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<band height="60" splitType="Stretch">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="250" y="0" width="120" height="12" uuid="033a78ae-f96a-4948-aab8-fd3b44d02f0d">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
|
||||
<font isBold="true"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[NO]]></text>
|
||||
<textFieldExpression><![CDATA[": " + ($P{alergi} != null ? $P{alergi} : "")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="250" y="12" width="120" height="12" uuid="2df6be30-ca49-4b63-9040-3fd28b2471df">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[": " + ($P{beratBadan} != null ? $P{beratBadan} + " kg" : "- kg")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="250" y="48" width="120" height="12" uuid="062baf7f-9232-4742-810f-4cb7e3365f68">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[": " + ($P{ruangan} != null ? $P{ruangan} : "")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="250" y="24" width="120" height="12" uuid="bfe24aff-b909-4fbe-9639-c8ce603f8771">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[": " + ($P{dokter} != null ? $P{dokter} : "")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="60" y="0" width="120" height="12" uuid="c130f5ee-5f30-45a4-a28e-bcde9892b5b8">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[": " + ($P{noRegistrasi} != null ? $P{noRegistrasi} : "")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="60" y="24" width="120" height="12" uuid="1730be10-8875-434b-9196-743c046be25b">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8" isUnderline="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[": " + ($P{noCm} != null ? $P{noCm} : "")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="60" y="12" width="120" height="12" uuid="590b2329-9980-424c-8615-aac5fce96881">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[": " + ($P{namaPasien} != null ? $P{namaPasien} : "")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="60" y="36" width="120" height="12" uuid="9e8e17b2-cd18-49f0-82d5-975e26ddccf3">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[": " + ($P{tglLahir} != null ? $P{tglLahir} : "")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="250" y="36" width="120" height="12" uuid="ce56f8ad-fab3-4f0c-b71a-9374ca9118f6">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[": " + ($P{tglOrder} != null ? $P{tglOrder} : "")]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="60" height="12" uuid="004f8d41-a930-4bc3-a112-f632261294a0">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[No]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="20" y="10" width="240" height="40" uuid="e8235c02-414a-4694-90a0-5de02366a282"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
|
||||
<font size="8" isBold="true"/>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="12" width="60" height="12" uuid="41dddb5e-4d2f-40ef-a55b-3159fdde250b">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[UNIT KERJA/BANGSAL]]></text>
|
||||
<text><![CDATA[Nama Pasien]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="260" y="10" width="300" height="20" uuid="c71c9978-4e8d-4193-baa7-09f6065da952"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
|
||||
<font isBold="true"/>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="24" width="60" height="12" uuid="9290195c-891c-46d6-8bac-1510c3c6950a">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[JUMLAH]]></text>
|
||||
<text><![CDATA[No CM]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="260" y="30" width="100" height="20" uuid="02ebef51-e5b7-402c-8fb4-8eddd04d8100"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
|
||||
<font isBold="true"/>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="36" width="60" height="12" uuid="4e100239-ce48-4a9e-8c49-0170ba009267">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[LEMBAR]]></text>
|
||||
<text><![CDATA[Tanggal Lahir]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="360" y="30" width="100" height="20" uuid="8dcb6435-cef3-41f9-9d5c-5d4debf6dcf8"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
|
||||
<font isBold="true"/>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="190" y="0" width="60" height="12" uuid="78ff798a-fcb4-4015-a8fa-69580495a687">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[RUPIAH]]></text>
|
||||
<text><![CDATA[Alergi]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="460" y="30" width="100" height="20" uuid="e6b5b78b-96e8-4f6a-af3e-34d56c447269"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
|
||||
<font isBold="true"/>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="190" y="12" width="60" height="12" uuid="ff12e5f9-efdf-4474-91db-a74fb1331478">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[KILOGRAM]]></text>
|
||||
<text><![CDATA[Berat Badan]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="190" y="24" width="60" height="12" uuid="1d5ec63a-e2a5-4673-8710-c45e98a24346">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Dokter]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="190" y="36" width="60" height="12" uuid="8e49d7b9-01c7-4952-a739-a7aec4403992">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Tanggal Input]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="190" y="48" width="60" height="12" uuid="5d75ba7a-89a8-42da-b1aa-d8a3e3bb3289">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Ruangan]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="60" splitType="Stretch">
|
||||
<band height="48" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="20" y="0" width="240" height="20" uuid="cd3072c8-ac8d-413e-9f4c-ea9c96d8c2dd">
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="10" y="12" width="240" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="cd3072c8-ac8d-413e-9f4c-ea9c96d8c2dd">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="21c489cf-54ea-4179-b618-89425111d3db"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[$F{namaDepartemen}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="260" y="40" width="100" height="20" uuid="cd26fd42-3879-4a86-8abf-8c66512daa0c">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="45cea68b-cf82-4513-9372-166e6905295c"/>
|
||||
</reportElement>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="SansSerif" size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtySubTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="360" y="40" width="100" height="20" uuid="7ac94749-24ad-4f82-94b5-9f05be5d4f75">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="9ca0db3a-8746-471a-bf3c-4b7cef1fb07f"/>
|
||||
</reportElement>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{subTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="460" y="40" width="100" height="20" uuid="a9fec580-d6e4-46e1-afce-1bd9d1c654a3">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="0636e748-5771-499b-84cf-d3773845ccd1"/>
|
||||
</reportElement>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{beratSubTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="20" height="20" uuid="5136c27f-f7ba-4480-8914-16e8293151ac"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="260" y="0" width="100" height="20" uuid="f5206dfe-0914-47b3-a4f6-c35a65f9c275"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="360" y="0" width="100" height="20" uuid="12ebc0f8-dcab-4cba-ac59-d827c85e438b"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="460" y="0" width="100" height="20" uuid="2484452a-9299-4e04-b4ab-2fe3db95b464"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="20" y="40" width="240" height="20" uuid="76f65440-e7c2-4568-a711-5f203eb2504d"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
||||
<text><![CDATA[JUMLAH]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="0" y="40" width="20" height="20" uuid="8a05c5b3-841a-4c33-b6ac-e025f2ae6de5"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textFieldExpression><![CDATA[$F{isRacikan} ? "" : $F{obat}]]></textFieldExpression>
|
||||
</textField>
|
||||
<subreport>
|
||||
<reportElement x="0" y="20" width="560" height="20" uuid="c871a371-86b9-4f3e-ba62-b2b233798a32"/>
|
||||
<subreportParameter name="idDepartemen">
|
||||
<subreportParameterExpression><![CDATA[$F{idDepartemen}]]></subreportParameterExpression>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="24" width="380" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="c871a371-86b9-4f3e-ba62-b2b233798a32">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<subreportParameter name="rKe">
|
||||
<subreportParameterExpression><![CDATA[$F{rKe}]]></subreportParameterExpression>
|
||||
</subreportParameter>
|
||||
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource ($P{sdsResep}.getData())]]></dataSourceExpression>
|
||||
<subreportExpression><![CDATA[$P{detailResep}]]></subreportExpression>
|
||||
</subreport>
|
||||
<staticText>
|
||||
<reportElement x="0" y="0" width="15" height="12" uuid="77291745-ed58-4293-bf37-01be6b4fa86f">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[R/]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="250" y="12" width="130" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="b34f8385-f2bc-416c-846b-0a4daf421e9d">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="943091f4-cbec-41f8-93d2-5b8fb2e2ac43"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{isRacikan} ? "" : $F{jumlah}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="200" y="36" width="100" height="12" uuid="d8492f5a-6e45-4a92-a456-8174bb84e2b1">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="f9a69edd-15e7-4066-89fd-f45f376694b7"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{instruksi}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="300" y="36" width="80" height="12" uuid="0056156b-c610-4b1d-8fba-01e8939cdbbd">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="61129d6a-13dd-498e-972e-6d44db74b69f"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{aturanPakai}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
<band height="60" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="20" height="30" uuid="468c6f69-af12-4785-9b90-fdb5a43c506e"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement>
|
||||
<font size="11"/>
|
||||
</textElement>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="20" y="0" width="240" height="30" uuid="90c7b705-2b33-47d0-a1da-f6fa1349a752"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font size="11"/>
|
||||
</textElement>
|
||||
<text><![CDATA[JUMLAH]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="260" y="0" width="100" height="30" uuid="033a78ae-f96a-4948-aab8-fd3b44d02f0d"/>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font size="11"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{grandSubTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="360" y="0" width="100" height="30" uuid="2df6be30-ca49-4b63-9040-3fd28b2471df"/>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font size="11"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{grandTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="460" y="0" width="100" height="30" uuid="062baf7f-9232-4742-810f-4cb7e3365f68"/>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font size="11"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{grandBerat}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="20" y="40" width="540" height="20" uuid="8faf396b-f8e0-4178-8013-67b3c09baf64"/>
|
||||
<textFieldExpression><![CDATA[$P{grandRupiahTerbilang}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</columnFooter>
|
||||
<summary>
|
||||
<band height="200" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="260" y="20" width="100" height="20" uuid="bfe24aff-b909-4fbe-9639-c8ce603f8771"/>
|
||||
<box padding="3"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[$P{rataanBeratCucian}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="260" y="40" width="100" height="20" uuid="c130f5ee-5f30-45a4-a28e-bcde9892b5b8"/>
|
||||
<box padding="3"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[$P{rataanLembarCucian}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="360" y="20" width="100" height="20" uuid="46e46832-1d02-417e-ae72-87116c731d4c"/>
|
||||
<box padding="3"/>
|
||||
<textElement verticalAlignment="Middle"/>
|
||||
<text><![CDATA[Kilogram]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="360" y="40" width="100" height="20" uuid="d131be0d-78b8-4d56-adf3-f15734b823ee"/>
|
||||
<box padding="3"/>
|
||||
<textElement verticalAlignment="Middle"/>
|
||||
<text><![CDATA[Lembar]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="20" y="20" width="240" height="20" uuid="5e999a1e-5eaa-4ce8-bc4c-bf5e9ced735f"/>
|
||||
<textElement verticalAlignment="Middle"/>
|
||||
<text><![CDATA[Berat cucian rata-rata perhari]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="20" y="40" width="240" height="20" uuid="f07ef997-0ef8-49e8-87c4-1c8b7849b21d"/>
|
||||
<textElement verticalAlignment="Middle"/>
|
||||
<text><![CDATA[Jumlah cucian rata-rata perhari]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="360" y="80" width="200" height="20" uuid="533f2a74-21f7-4d83-8bc4-45771bd21aef"/>
|
||||
<textElement verticalAlignment="Bottom"/>
|
||||
<textFieldExpression><![CDATA["Jakarta, " + new SimpleDateFormat("dd MMMM yyyy", new Locale("in","ID")).format(new Date())]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="360" y="100" width="200" height="20" uuid="2cac6c91-5b59-431d-b32c-b3f381c197d9"/>
|
||||
<textElement verticalAlignment="Bottom"/>
|
||||
<text><![CDATA[Ka. Ins. Laundry dan Sterilisasi Sentral]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="360" y="160" width="200" height="20" uuid="1730be10-8875-434b-9196-743c046be25b"/>
|
||||
<textElement verticalAlignment="Bottom">
|
||||
<font isUnderline="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{namaPegawai}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="360" y="180" width="200" height="20" uuid="9962aee1-b08f-49bc-b412-b93f304b3d4f"/>
|
||||
<textElement verticalAlignment="Bottom"/>
|
||||
<textFieldExpression><![CDATA["NIP."+$P{nipPegawai}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</summary>
|
||||
</jasperReport>
|
||||
|
||||
@ -1,81 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.20.0.final using JasperReports Library version 6.20.0-2bc7ab61c56f459e8176eb05c7705e145cd400ad -->
|
||||
<!-- Created with Jaspersoft Studio version 6.12.2.final using JasperReports Library version 6.12.2-75c5e90a222ab406e416cbf590a5397028a52de3 -->
|
||||
<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="resep_racikan" pageWidth="380" pageHeight="596" columnWidth="380" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="4eb3dc11-d6a4-4305-88ec-3a25852333fa">
|
||||
<parameter name="idDepartemen" class="java.lang.Integer"/>
|
||||
<field name="idRuangan" class="java.lang.Integer"/>
|
||||
<field name="namaRuangan" class="java.lang.String"/>
|
||||
<field name="qtySubTotal" class="java.lang.String"/>
|
||||
<field name="subTotal" class="java.lang.String"/>
|
||||
<field name="beratSubTotal" class="java.lang.String"/>
|
||||
<field name="idDepartemen" class="java.lang.Integer"/>
|
||||
<parameter name="rKe" class="java.lang.String"/>
|
||||
<field name="obat" class="java.lang.String"/>
|
||||
<field name="jumlah" class="java.lang.String"/>
|
||||
<field name="rKe" class="java.lang.String"/>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<detail>
|
||||
<band height="20" splitType="Stretch">
|
||||
<printWhenExpression><![CDATA[($P{idDepartemen}).equals($F{idDepartemen})]]></printWhenExpression>
|
||||
<band height="12" splitType="Stretch">
|
||||
<printWhenExpression><![CDATA[($P{rKe}).equals($F{rKe})]]></printWhenExpression>
|
||||
<textField>
|
||||
<reportElement x="460" y="0" width="100" height="20" uuid="c644c0a6-95cc-4398-8ac6-fa38fd38a5c8">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="9df8a222-9341-4054-ae95-b227b954198a"/>
|
||||
</reportElement>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[($P{idDepartemen}).equals($F{idDepartemen}) ? $F{beratSubTotal}:""]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="360" y="0" width="100" height="20" uuid="e4fdc223-d5c2-43e8-bcc5-a8ecde383466">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ce5614cd-416d-4bbb-a067-7a57d6979cec"/>
|
||||
</reportElement>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[($P{idDepartemen}).equals($F{idDepartemen}) ? $F{subTotal}:""]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="260" y="0" width="100" height="20" uuid="40d048a8-0e81-47c3-aab9-583b6b6cf3cd">
|
||||
<reportElement x="250" y="0" width="130" height="12" isRemoveLineWhenBlank="true" uuid="40d048a8-0e81-47c3-aab9-583b6b6cf3cd">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="5cdfcc34-0f33-4f99-8809-4ee7291a599d"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[($P{idDepartemen}).equals($F{idDepartemen}) ? $F{qtySubTotal}:""]]></textFieldExpression>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($P{rKe}).equals($F{rKe}) ? $F{jumlah}:""]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="20" height="20" uuid="7e21c8e1-ec33-4edb-aef6-c0d837caca45"/>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[($P{idDepartemen}).equals($F{idDepartemen}) ? $V{REPORT_COUNT}:""]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="20" y="0" width="240" height="20" uuid="6a0b6a30-cf99-49b4-8add-a59e7eabe558">
|
||||
<reportElement x="10" y="0" width="240" height="12" isRemoveLineWhenBlank="true" uuid="6a0b6a30-cf99-49b4-8add-a59e7eabe558">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="51cc68a1-819e-47c5-a1b3-314433cb79d9"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
||||
</reportElement>
|
||||
<box padding="3">
|
||||
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
|
||||
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
|
||||
</box>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[($P{idDepartemen}).equals($F{idDepartemen}) ? $F{namaRuangan}:""]]></textFieldExpression>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($P{rKe}).equals($F{rKe}) ? $F{obat}:""]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
|
||||
@ -207,25 +207,4 @@ public class PelayananController extends LocaleController<PelayananPasienVO> {
|
||||
return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage);
|
||||
}
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/get-resep-dokter", method = RequestMethod.GET)
|
||||
public ResponseEntity<List<Map<String, Object>>> getResepDokter(HttpServletRequest request,
|
||||
@RequestParam(value = "struk_order_id") String strukOrderId) {
|
||||
try {
|
||||
List<Map<String, Object>> result = resepDokterService.findByStrukOrderId(strukOrderId);
|
||||
|
||||
mapHeaderMessage.put(WebConstants.HttpHeaderInfo.LABEL_SUCCESS,
|
||||
getMessage(MessageResource.LABEL_SUCCESS, request));
|
||||
return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage);
|
||||
} catch (ServiceVOException e) {
|
||||
LOGGER.error("Got exception {} when get resep dokter", e.getMessage());
|
||||
addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage());
|
||||
return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage);
|
||||
} catch (JpaSystemException jse) {
|
||||
LOGGER.error("Got exception {} when get resep dokter", jse.getMessage());
|
||||
addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage());
|
||||
return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user