356 lines
26 KiB
PHP
356 lines
26 KiB
PHP
<?php
|
|
defined('BASEPATH') or exit('No direct script access allowed');
|
|
class ReportUrl
|
|
{
|
|
|
|
function generate($T_SamplingSOID)
|
|
{
|
|
$CI = &get_instance();
|
|
$this->db = $CI->load->database("onedev", true);
|
|
$this->db_log = $CI->load->database("one_lab_log", true);
|
|
|
|
$this->db->trans_begin();
|
|
|
|
$sql = "SELECT NonlabTemplateID as template_id,
|
|
NonlabTemplateName as template_name,
|
|
T_SamplingSoT_OrderHeaderID as order_header_id,
|
|
T_OrderDetailID as order_detail_id
|
|
FROM t_samplingso
|
|
JOIN t_orderdetail ON T_SamplingSoT_OrderHeaderID = T_OrderDetailT_OrderHeaderID AND T_SamplingSoT_TestID = T_OrderDetailT_TestID AND T_OrderDetailIsActive = 'Y'
|
|
JOIN t_test ON T_SamplingSoT_TestID = T_TestID
|
|
JOIN nat_test ON Nat_TestID = T_TestNat_TestID
|
|
JOIN nonlab_template_mapping ON NonlabTemplateMappingNat_TestID = Nat_TestID AND
|
|
NonlabTemplateMappingIsActive = 'Y'
|
|
JOIN nonlab_template ON NonlabTemplateMappingNonlabTemplateID = NonlabTemplateID AND NonlabTemplateIsActive = 'Y'
|
|
LEFT JOIN so_resultentry ON So_ResultEntryT_OrderDetailID = T_OrderDetailID AND
|
|
So_ResultEntryT_OrderHeaderID = T_OrderDetailT_OrderHeaderID AND
|
|
So_ResultEntryIsActive = 'Y'
|
|
WHERE
|
|
T_SamplingSoID = ? AND
|
|
T_SamplingSoIsActive = 'Y' AND
|
|
So_ResultEntryID IS NULL
|
|
GROUP BY NonlabTemplateID
|
|
LIMIT 1";
|
|
$qry = $this->db->query($sql, array($T_SamplingSOID));
|
|
//echo $this->db->last_query();
|
|
if (!$qry) {
|
|
$dt_log = ['data' => ['id' => $T_SamplingSOID],'error' => $this->db->error()];
|
|
$prm_log = ['SELECT_NONLAB_TEMPLATE', 'nonlabtemplate/generate'];
|
|
$xsql = $this->db->last_query();
|
|
$log_error = $this->insert_log_error($xsql, $prm_log,$dt_log);
|
|
$this->db->trans_rollback();
|
|
return array(false, print_r($this->db->error(), true));
|
|
}
|
|
|
|
$row_arr = $qry->row_array();
|
|
if ($row_arr) {
|
|
//print_r($row_arr);
|
|
$template_name = $row_arr['template_name'];
|
|
if($row_arr['template_name'] == 'Fisik Umum'){
|
|
$sql = "SELECT FisikTemplateType as xtype
|
|
FROM fisik_template
|
|
JOIN t_orderheader ON T_OrderHeaderID = {$row_arr['order_header_id']}
|
|
JOIN mgm_mcutemplate ON Mgm_McuTemplateMgm_McuID = T_OrderHeaderMgm_McuID
|
|
JOIN fisik_template_mapping ON Mgm_McuTemplateFisikTemplateMappingID = FisikTemplateMappingID
|
|
JOIN fisik_template_mapping_detail ON FisikTemplateMappingDetailFisikTemplateMappingID = FisikTemplateMappingID AND
|
|
FisikTemplateMappingDetailFisikTemplateID = FisikTemplateID AND
|
|
FisikTemplateMappingDetailIsActive = 'Y'
|
|
WHERE
|
|
FisikTemplateIsActive = 'Y'
|
|
GROUP BY FisikTemplateType";
|
|
$qry = $this->db->query($sql);
|
|
//echo $this->db->last_query();
|
|
if (!$qry) {
|
|
$dt_log = ['data' => ['id' => $T_SamplingSOID],'error' => $this->db->error()];
|
|
$prm_log = ['SELECT_FISIK_TEMPLATE', 'nonlabtemplate/generate'];
|
|
$xsql = $this->db->last_query();
|
|
$log_error = $this->insert_log_error($xsql, $prm_log,$dt_log);
|
|
$this->db->trans_rollback();
|
|
return array(false, print_r($this->db->error(), true));
|
|
}
|
|
$arr_types = $qry->result_array();
|
|
$xtypes = [];
|
|
foreach ($arr_types as $key => $value) {
|
|
$xtypes[] = $value['xtype'];
|
|
}
|
|
|
|
$template_name = "Fisik Umum";
|
|
if(in_array("K3", $xtypes)){
|
|
$template_name = "Fisik Umum K3";
|
|
}
|
|
//echo $template_name;
|
|
}
|
|
|
|
$sql = "INSERT INTO so_resultentry(
|
|
So_ResultEntryT_OrderHeaderID,
|
|
So_ResultEntryT_OrderDetailID,
|
|
So_ResultEntryNonlab_TemplateID,
|
|
So_ResultEntryNonlab_TemplateName,
|
|
So_ResultEntryCreated
|
|
)
|
|
VALUES(?,?,?,?,NOW())";
|
|
$qry = $this->db->query($sql, array(
|
|
$row_arr['order_header_id'],
|
|
$row_arr['order_detail_id'],
|
|
$row_arr['template_id'],
|
|
$template_name
|
|
));
|
|
if (!$qry) {
|
|
$dt_log = ['data' => ['id' => $T_SamplingSOID],'error' => $this->db->error()];
|
|
$prm_log = ['INSERT_SO_RESULTENTRY', 'nonlabtemplate/generate'];
|
|
$xsql = $this->db->last_query();
|
|
$log_error = $this->insert_log_error($xsql, $prm_log,$dt_log);
|
|
$this->db->trans_rollback();
|
|
return array(false, print_r($this->db->error(), true));
|
|
}
|
|
$soresultentryid = $this->db->insert_id();
|
|
|
|
$sql = "SELECT * FROM t_orderheaderlang
|
|
WHERE
|
|
T_OrderHeaderLangT_OrderHeaderID = ? AND T_OrderHeaderLangIsActive = 'Y'";
|
|
$qry = $this->db->query($sql, array(
|
|
$row_arr['order_header_id']
|
|
));
|
|
if (!$qry) {
|
|
$dt_log = ['data' => ['id' => $T_SamplingSOID],'error' => $this->db->error()];
|
|
$prm_log = ['SELECT_ORDER_HEADER_LANG', 'nonlabtemplate/generate'];
|
|
$xsql = $this->db->last_query();
|
|
$log_error = $this->insert_log_error($xsql, $prm_log,$dt_log);
|
|
$this->db->trans_rollback();
|
|
return array(false, print_r($this->db->error(), true));
|
|
}
|
|
|
|
$order_langs = $qry->result_array();
|
|
//print_r($order_langs);
|
|
|
|
foreach ($order_langs as $k_lang => $val_lang) {
|
|
$sql = "SELECT *
|
|
FROM nonlab_template_detail
|
|
JOIN t_orderheader ON T_OrderHeaderID = ?
|
|
JOIN m_patient ON T_OrderHeaderM_PatientID = M_PatientID
|
|
JOIN m_sex ON M_SexID = M_PatientM_SexID AND M_SexIsActive = 'Y' AND
|
|
( NonlabTemplateDetailGender = 'all' OR NonlabTemplateDetailGender = M_SexNameLang)
|
|
WHERE
|
|
NonlabTemplateDetailNonlabTemplateID = ? AND NonlabTemplateDetailIsActive = 'Y' AND NonlabTemplateDetaiM_LangID = ? ";
|
|
$qry = $this->db->query($sql, array(
|
|
$row_arr['order_header_id'],
|
|
$row_arr['template_id'],
|
|
$val_lang['T_OrderHeaderLangM_LangID']
|
|
));
|
|
//echo $this->db->last_query();
|
|
if (!$qry) {
|
|
$dt_log = ['data' => ['id' => $T_SamplingSOID],'error' => $this->db->error()];
|
|
$prm_log = ['SELECT_NONLAB_TEMPLATE_DETAIL', 'nonlabtemplate/generate'];
|
|
$xsql = $this->db->last_query();
|
|
$log_error = $this->insert_log_error($xsql, $prm_log,$dt_log);
|
|
$this->db->trans_rollback();
|
|
return array(false, print_r($this->db->error(), true));
|
|
}
|
|
|
|
$rows_result = $qry->result_array();
|
|
if($rows_result && count($rows_result) > 0){
|
|
foreach ($rows_result as $key => $value) {
|
|
if(intval($val_lang['T_OrderHeaderLangM_LangID']) == 1){
|
|
$sql = "INSERT INTO so_resultentrydetail (
|
|
So_ResultEntryDetailSo_ResultEntryID,
|
|
So_ResultEntryDetailNonlab_TemplateDetailID,
|
|
So_ResultEntryDetailNonlab_TemplateDetailName,
|
|
So_ResultEntryDetailCreated
|
|
)
|
|
VALUES(?,?,?,NOW())";
|
|
$qry = $this->db->query($sql, array(
|
|
$soresultentryid,
|
|
$value['NonlabTemplateDetailID'],
|
|
$value['NonlabTemplateDetailName']
|
|
));
|
|
if (!$qry) {
|
|
$dt_log = ['data' => ['id' => $T_SamplingSOID],'error' => $this->db->error()];
|
|
$prm_log = ['INSERT_SO_RESULTENTRY_DETAIL', 'nonlabtemplate/generate'];
|
|
$xsql = $this->db->last_query();
|
|
$log_error = $this->insert_log_error($xsql, $prm_log,$dt_log);
|
|
$this->db->trans_rollback();
|
|
return array(false, print_r($this->db->error(), true));
|
|
}
|
|
//echo $this->db->last_query();
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
$this->db->trans_commit();
|
|
|
|
|
|
|
|
$sql = "SELECT *
|
|
FROM so_resultentry
|
|
WHERE
|
|
So_ResultEntryID = ? ";
|
|
$qry = $this->db->query($sql, array(
|
|
$soresultentryid
|
|
));
|
|
|
|
if (!$qry) {
|
|
return array(false, print_r($this->db->error(), true));
|
|
}
|
|
|
|
$rows_return = $qry->row_array();
|
|
|
|
return $rows_return;
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
function get_report_by_code($report_code, $params){
|
|
$sql = "SELECT *
|
|
FROM print_transaction
|
|
WHERE
|
|
Print_TransactionCode = ? ";
|
|
$qry = $this->db->query($sql, array(
|
|
$report_code
|
|
));
|
|
|
|
if (!$qry) {
|
|
return array(false, print_r($this->db->error(), true));
|
|
}
|
|
|
|
$rows_return = $qry->row_array();
|
|
|
|
return $rows_return;
|
|
}
|
|
|
|
// Inject decrypted patient PII ke params jika ada PT_OrderHeaderID
|
|
// SP header BIRT akan terima PDecryptName, PDecryptDOB, dll sebagai parameter IN
|
|
private function _inject_patient_decrypt($params) {
|
|
$order_id = isset($params['PT_OrderHeaderID']) ? intval($params['PT_OrderHeaderID']) : 0;
|
|
if (!$order_id) return $params;
|
|
|
|
$CI = &get_instance();
|
|
$CI->load->library('ibl_encryptor');
|
|
|
|
$sql = "SELECT M_PatientName_enc, M_PatientHP_enc, M_PatientEmail_enc,
|
|
M_PatientDOB_enc, M_PatientPOB_enc, M_PatientNIK_enc,
|
|
M_PatientIDNumber_enc, M_PatientDOB
|
|
FROM t_orderheader
|
|
JOIN m_patient ON T_OrderHeaderM_PatientID = M_PatientID
|
|
WHERE T_OrderHeaderID = ? LIMIT 1";
|
|
$row = $this->db->query($sql, [$order_id])->row_array();
|
|
if (!$row) return $params;
|
|
|
|
$enc = $CI->ibl_encryptor;
|
|
$addr_sql = "SELECT M_PatientAddressDescription_enc FROM m_patientaddress
|
|
WHERE M_PatientAddressM_PatientID = (
|
|
SELECT T_OrderHeaderM_PatientID FROM t_orderheader WHERE T_OrderHeaderID = ?
|
|
) AND M_PatientAddressIsActive = 'Y' AND M_PatientAddressNote = 'Utama' LIMIT 1";
|
|
$addr_row = $this->db->query($addr_sql, [$order_id])->row_array();
|
|
|
|
$params['PDecryptName'] = urlencode($enc->decrypt($row['M_PatientName_enc'] ?? '') ?? '');
|
|
$params['PDecryptDOB'] = urlencode($enc->decrypt($row['M_PatientDOB_enc'] ?? '') ?? date('d-m-Y', strtotime($row['M_PatientDOB'] ?? 'now')));
|
|
$params['PDecryptHP'] = urlencode($enc->decrypt($row['M_PatientHP_enc'] ?? '') ?? '');
|
|
$params['PDecryptEmail'] = urlencode($enc->decrypt($row['M_PatientEmail_enc'] ?? '') ?? '');
|
|
$params['PDecryptNIK'] = urlencode($enc->decrypt($row['M_PatientNIK_enc'] ?? '') ?? '');
|
|
$params['PDecryptIDNum'] = urlencode($enc->decrypt($row['M_PatientIDNumber_enc']?? '') ?? '');
|
|
$params['PDecryptAddr'] = urlencode($enc->decrypt($addr_row['M_PatientAddressDescription_enc'] ?? '') ?? '');
|
|
|
|
return $params;
|
|
}
|
|
|
|
function get_report_url_by_code($report_code, $params = array()){
|
|
$CI = &get_instance();
|
|
$this->db = $CI->load->database("onedev", true);
|
|
|
|
// Get report data by code
|
|
$report_data = $this->get_report_by_code($report_code, $params);
|
|
|
|
if (!$report_data || empty($report_data)) {
|
|
return array(false, "Report code not found: " . $report_code);
|
|
}
|
|
|
|
// Inject decrypted patient PII jika ada order ID
|
|
$params = $this->_inject_patient_decrypt($params);
|
|
|
|
// Get URL template
|
|
$url_template = $report_data['Print_TransactionUrl'];
|
|
|
|
if (empty($url_template)) {
|
|
return array(false, "URL template is empty for report code: " . $report_code);
|
|
}
|
|
|
|
// Replace placeholders with actual parameter values
|
|
$final_url = $url_template;
|
|
|
|
foreach ($params as $param_key => $param_value) {
|
|
$replacement_value = is_numeric($param_value) ? $param_value : urldecode($param_value);
|
|
$final_url = str_replace($param_key, urlencode($replacement_value), $final_url);
|
|
}
|
|
|
|
return array(true, $final_url);
|
|
}
|
|
/*
|
|
CREATE TABLE `print_transaction` (
|
|
`Print_TransactionID` int(11) NOT NULL AUTO_INCREMENT,
|
|
`Print_TransactionType` char(2) NOT NULL DEFAULT 'P' COMMENT 'P (paper), E (Email)',
|
|
`Print_TransactionCode` varchar(20) NOT NULL DEFAULT '',
|
|
`Print_TransactionName` varchar(150) NOT NULL DEFAULT '',
|
|
`Print_TransactionUrl` varchar(500) NOT NULL DEFAULT '',
|
|
`Print_TransactionParams` varchar(500) NOT NULL DEFAULT '',
|
|
`Print_TransactionCreated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
|
`Print_TransactionCreatedUserID` int(11) NOT NULL DEFAULT 0,
|
|
`Print_TransactionLastUpdated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
|
`Print_TransactionLastUpdatedUserID` int(11) NOT NULL DEFAULT 0,
|
|
PRIMARY KEY (`Print_TransactionID`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
INSERT INTO `print_transaction` (`Print_TransactionID`, `Print_TransactionType`, `Print_TransactionCode`, `Print_TransactionName`, `Print_TransactionUrl`, `Print_TransactionParams`, `Print_TransactionCreated`, `Print_TransactionCreatedUserID`, `Print_TransactionLastUpdated`, `Print_TransactionLastUpdatedUserID`) VALUES
|
|
(1, 'P', 'LAB-RESULT-P-01', 'Report hasil test lab untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_test.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 09:26:48', 555, '0000-00-00 00:00:00', 0),
|
|
(2, 'P', 'LAB-RESULT-P-02', 'Report hasil test lab untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_test_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '0000-00-00 00:00:00', 555, '0000-00-00 00:00:00', 0),
|
|
(3, 'P', 'LAB-RESULT-P-03', 'Report hasil test lab untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_test_prev.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:32:54', 555, '0000-00-00 00:00:00', 0),
|
|
(4, 'P', 'LAB-RESULT-NP-01', 'Report hasil test lab tidak untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_test_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:25:02', 555, '0000-00-00 00:00:00', 0),
|
|
(5, 'E', 'LAB-RESULT-NP-02', 'Report hasil test lab tidak untuk email', '/birt/frameset?__report=report/onelab/lab/rpt_test_email_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:25:51', 555, '0000-00-00 00:00:00', 0),
|
|
(6, 'P', 'LAB-RESULT-NP-03', 'Report hasil test lab tidak untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_test_prev_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:25:51', 555, '0000-00-00 00:00:00', 0),
|
|
(7, 'P', 'LABEN-RESULT-P-01', 'Report hasil test lab untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_test_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:32:09', 555, '0000-00-00 00:00:00', 0),
|
|
(8, 'E', 'LABEN-RESULT-P-02', 'Report hasil test lab untuk email versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_test_email_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:34:57', 555, '0000-00-00 00:00:00', 0),
|
|
(9, 'P', 'LABEN-RESULT-P-03', 'Report hasil test lab untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_test_eng_prev.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:34:57', 555, '0000-00-00 00:00:00', 0),
|
|
(10, 'P', 'LABEN-RESULT-NP-01', 'Report hasil test lab tidak untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_test_not_print_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:34:57', 555, '0000-00-00 00:00:00', 0),
|
|
(11, 'P', 'MIKROEN-RESULT-P-01', 'Report hasil test mikro untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_test_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:34:57', 555, '0000-00-00 00:00:00', 0),
|
|
(12, 'E', 'MIKROEN-RESULT-P-02', 'Report hasil test mikro untuk email versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_test_email_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:34:57', 555, '0000-00-00 00:00:00', 0),
|
|
(13, 'P', 'MIKROEN-RESULT-P-03', 'Report hasil test mikro untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_test_eng_prev.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:34:57', 555, '0000-00-00 00:00:00', 0),
|
|
(14, 'P', 'MIKROEN-RESULT-NP-01', 'Report hasil test mikro tidak untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_test_not_print_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 10:34:57', 555, '0000-00-00 00:00:00', 0),
|
|
(45, 'P', 'PS-RESULT-P-01', 'Report hasil test preparasi sperma untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_sperma.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(46, 'E', 'PS-RESULT-P-02', 'Report hasil test preparasi sperma untuk email', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_sperma_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(47, 'P', 'PS-RESULT-NP-01', 'Report hasil test preparasi sperma tidak untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_sperma_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(48, 'P', 'DFI-RESULT-P-01', 'Report hasil test dfi untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_dfi.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(49, 'E', 'DFI-RESULT-P-02', 'Report hasil test dfi untuk email', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_dfi_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(50, 'P', 'DFI-RESULT-NP-01', 'Report hasil test dfi tidak untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_dfi_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(51, 'P', 'FNA-RESULT-P-01', 'Report hasil test fna untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_fna.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(52, 'E', 'FNA-RESULT-P-02', 'Report hasil test fna untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_fna_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(53, 'P', 'FNA-RESULT-NP-01', 'Report hasil test fna tidak untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_fna_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(54, 'P', 'PA-RESULT-P-01', 'Report hasil test patologi anatomi untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_patologi_anatomy.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(55, 'E', 'PA-RESULT-P-02', 'Report hasil test patologi anatomi untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_patologi_anatomy_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(56, 'P', 'PA-RESULT-NP-01', 'Report hasil test patologi anatomi tidak untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_patologi_anatomy_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(57, 'P', 'PAP-RESULT-P-01', 'Report hasil test pap smear untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_papsmear.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(58, 'E', 'PAP-RESULT-P-02', 'Report hasil test pap smear untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_papsmear_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(59, 'P', 'PAP-RESULT-NP-01', 'Report hasil test pap smear tidak untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_papsmear_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(60, 'P', 'PAPLCP-RESULT-P-01', 'Report hasil test pap smear (liquid c prep) untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_lcprep.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(61, 'E', 'PAPLCP-RESULT-P-02', 'Report hasil test pap smear (liquid c prep) untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_lcprep_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(62, 'P', 'PAPLCP-RESULT-NP-01', 'Report hasil test pap smear (liquid c prep) tidak untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_lcprep_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(63, 'P', 'PAPLEN-RESULT-P-01', 'Report hasil test pap smear (liquid c prep) untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_lcprep_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(64, 'E', 'PAPLEN-RESULT-P-02', 'Report hasil test pap smear (liquid c prep) untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_lcprep_email_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(65, 'P', 'PAPLEN-RESULT-NP-01', 'Report hasil test pap smear (liquid c prep) tidak untuk diprint versi inggris', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_lcprep_not_print_eng.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(66, 'P', 'MIKRO-RESULT-P-01', 'Report hasil test mikro untuk diprint terlampir', '/birt/frameset?__report=report/onelab/lab/rpt_test_mikro.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(67, 'E', 'MIKRO-RESULT-P-02', 'Report hasil test mikro untuk email terlampir', '/birt/frameset?__report=report/onelab/lab/rpt_test_mikro_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(68, 'P', 'MIKRO-RESULT-NP-01', 'Report hasil test mikro tidak untuk diprint terlampir', '/birt/frameset?__report=report/onelab/lab/rpt_test_mikro_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(69, 'P', 'MIKROO-RESULT-P-01', 'Report hasil test mikro untuk diprint tidak terlampir', '/birt/frameset?__report=report/onelab/lab/rpt_test.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(70, 'E', 'MIKROO-RESULT-P-02', 'Report hasil test mikro untuk email tidak terlampir', '/birt/frameset?__report=report/onelab/lab/rpt_test_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(71, 'P', 'MIKROO-RESULT-NP-01', 'Report hasil test mikro untuk tidak diprint tidak terlampir', '/birt/frameset?__report=report/onelab/lab/rpt_test_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(72, 'P', 'CT-RESULT-P-01', 'Report hasil test citology untuk diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_cytologi.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(73, 'E', 'CT-RESULT-P-02', 'Report hasil test citology untuk email', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_cytologi_email.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0),
|
|
(74, 'P', 'CT-RESULT-NP-01', 'Report hasil test citology untuk tidak diprint', '/birt/frameset?__report=report/onelab/lab/rpt_hasil_cytologi_not_print.rptdesign&__format=pdf&username=PUsername&PID=PT_OrderHeaderID&tm=TS', 'PUsername,PT_OrderHeaderID,TS', '2026-02-06 11:24:51', 555, '0000-00-00 00:00:00', 0);
|
|
|
|
-- 2026-02-06 06:35:26
|
|
*/
|
|
}
|