sas.fajri
a3f9e04787
FHM29052601IBL - simplify stream_from_qr_printout tanpa get_order_header
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-29 16:02:46 +07:00
sas.fajri
84e0d60d23
FHM29052601IBL - add merge_from_qr endpoint via qr_printout URLs
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-29 15:54:16 +07:00
sas.fajri
fd9511171b
FHM29052601IBL - implement ibl_merge_report_service Go service
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-29 15:39:51 +07:00
sas.fajri
f2f1aed4b2
FHM29052601IBL - integrate merge gateway
2026-05-29 14:21:47 +07:00
sas.fajri
bd904ddeb1
FHM29052601IBL - Initial Deploy Merge Report
2026-05-29 13:02:54 +07:00
sas.fajri
6206acadad
Fix savefisik column names
2026-05-26 07:04:16 +07:00
sas.fajri
6d7563151d
Seed riwayat from form template
2026-05-26 06:15:27 +07:00
sas.fajri
566f3f9b09
Reuse preregister form row
2026-05-25 22:43:13 +07:00
sas.fajri
7dec255168
riwayatpreregisterform: join m_company via mgm_mcu bukan CompanyNumber
...
JOIN m_company langsung dari Mcu_PreregisterPatientsCompanyNumber diganti
LEFT JOIN mgm_mcu → m_company, karena CompanyNumber bisa kosong tapi
Mgm_McuM_CompanyID selalu terisi.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-25 22:02:11 +07:00
sas.fajri
34b9f3fac2
Dedup group result details
2026-05-25 11:06:42 +07:00
sas.fajri
7007e8d9cf
Add xray upload endpoints
2026-05-25 06:28:57 +07:00
sas.fajri
900af581eb
Search nolab by lab number OR patient name in search_v2
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 22:37:27 +07:00
sas.fajri
2d6c2b9fa2
Add status/name/nolab/company filters to search_v2
...
Previously search_v2 ignored all filters from the request.
Now status=''/any, name, nolab, company are applied dynamically.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 22:36:26 +07:00
sas.fajri
46c3138f3c
Deactivate t_send_email when email delivery unchecked (chex=N)
...
When save_delivery_additional_other receives chex=N for an EMAIL
delivery, also set t_send_email.T_SendEmailIsActive='N' for rows
with status D/E/C — previously only t_orderdelivery was deactivated.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 22:20:13 +07:00
sas.fajri
67d4431361
Log cancel and send actions to one_lab_log.t_send_email_log via db_log
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 22:15:13 +07:00
sas.fajri
bc8b0dd0df
Add cancel_email endpoint: only cancels when status is S
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 22:13:02 +07:00
sas.fajri
6dec35217f
Align status flow: D=Draft S=Sending P=Process R=Received E=Error C=Cancel
...
Script picks S, locks to P, sets R on success.
On failure: back to S for retry; after max retry (3) sets E and logs to one_lab_log.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 22:07:51 +07:00
sas.fajri
409c156310
Set status P (processing) before send, revert to S on failure
...
Prevents UI re-trigger while email is in flight. Status flow:
S (scheduled) → P (processing) → D (delivered) / S (failed, retryable)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 22:04:06 +07:00
sas.fajri
d83f0f303b
Insert send log to one_lab_log.t_send_email_log with correct schema
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 21:59:42 +07:00
sas.fajri
1c588f1d7d
Build T_SendEmailReports from qr_printout with id/url/result format
...
Done.php send_email_v2: query qr_printout to build structured reports
array [{"id","url","result"}] using QR_PrintOutGroup_ResultName instead
of relying on client-supplied reports param.
send_email.php: parse both old (URL string) and new (object) formats;
use result field as PDF attachment filename.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 21:52:31 +07:00
sas.fajri
69772125b5
Insert delivery record to t_send_email_log on successful send
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 21:48:06 +07:00
sas.fajri
81b699db01
Add PDF validation in email script; add Nat_SubSubGroupSequence column
...
- Skip attachment if downloaded content is not a valid PDF (HTML error response)
- Add Nat_SubSubGroupSequence to nat_subsubgroup table (missing column
referenced by sp_rpt_hasil_lab in SELECT and ORDER BY)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 21:37:50 +07:00
sas.fajri
1be2531f82
Fix PHP 7.4 compatibility: remove union return types
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 21:29:09 +07:00
sas.fajri
96a245322d
Add PHP email queue processor script
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 21:28:01 +07:00
sas.fajri
b38d65f19d
Add reports_url from qr_printout in search_v2 resultemailv7
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 21:06:19 +07:00
sas.fajri
e8d28bbc44
Add url_report from QR_PrintOutReportURLElectronic in getstatuspergroup
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 20:55:42 +07:00
sas.fajri
7490d76a41
Fix qr_printout isactive check from 'Y' to 1 (tinyint column)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 20:43:38 +07:00
sas.fajri
00e7991ded
Use t_orderheader_group_result + qr_printout for getstatuspergroup resultemailv7
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 20:40:43 +07:00
sas.fajri
fb9e718057
Show nat test names
2026-05-24 20:00:19 +07:00
sas.fajri
ecb8b7c324
Show normal method names
2026-05-24 19:53:40 +07:00
sas.fajri
df8b8f5db3
Improve normal check response
2026-05-24 19:30:57 +07:00
sas.fajri
463c94f19b
Add resultentry normal endpoints
2026-05-24 19:06:48 +07:00
sas.fajri
c8a3d27dfe
Add sampling normal SQL tools
2026-05-24 19:00:18 +07:00
sas.fajri
2dad5df0fc
Use localhost for QR reports
2026-05-24 18:37:13 +07:00
sas.fajri
d6f2f6ec4e
Add QR report uploader
2026-05-24 18:25:23 +07:00
sas.fajri
c1fb8a8f61
Update QR report URLs
2026-05-24 18:14:52 +07:00
sas.fajri
dbe03ffc05
Fix close v2 search
2026-05-24 17:26:02 +07:00
sas.fajri
3222e4fdd8
Fix sampling status always Y when count_all = 0 for flag_nonlab = Y
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 13:19:32 +07:00
sas.fajri
3bbe789361
Add get_print_transaction_fo_kk_ina endpoint
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 12:10:53 +07:00
sas.fajri
626af7342e
Add Kartu Kontrol Pelayanan FPDF report endpoint
...
Replaces BIRT rpt_fo_001 which had unresolvable image loading issues.
FPDF-based endpoint with 3.5cm top margin for pre-printed letterhead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 11:45:59 +07:00
sas.fajri
58e50dc498
Fix order location duplicates
2026-05-24 10:22:09 +07:00
sas.fajri
ebfb56d351
Fix latest patient signature
2026-05-24 10:08:08 +07:00
sas.fajri
cdfc5e88d7
Fix consent media root
2026-05-24 10:06:07 +07:00
sas.fajri
f0c0bfc4f3
Fix dashboard search and IBL upload
2026-05-24 08:14:16 +07:00
sas.fajri
11e7e0792a
Update modified files
2026-05-22 16:48:56 +07:00
sas.fajri
20e8395df7
Add cashier patient sorting
2026-05-22 13:08:54 +07:00
Hanan Askarim
e11005068e
Merge branch 'main' of https://devone.aplikasi.web.id/gitea/fajri/BE_IBL
2026-05-22 10:22:09 +07:00
Hanan Askarim
f67d1b947e
update generate qr report
2026-05-22 10:22:04 +07:00
sas.fajri
aa6fc08de6
Fix MCU report QR
2026-05-22 09:54:41 +07:00
sas.fajri
6849757e22
Add MCU report QR
2026-05-22 09:24:19 +07:00