devsofttech_hms_ci4/abdm-bridge-le-ssl.conf
DevSoftTech Server 0628f8f813 feat: ABDM OPD Queue + ABHA Register flow + patient ABHA search fix
ABDM OPD Queue (today):
- New EAtriaBridgeConnector: opdQueueFetch/opdTokenCreate/opdTokenUpdateStatus + patch() helper
- New AbdmOpdQueue controller: index/list/fetchQueue/createToken/updateTokenStatus/processScannedToken
  - fetchQueue syncs gateway tokens into abdm_opd_tokens (local DB) and enriches with HMS patient data
  - processScannedToken auto-finds/creates patient_master record from ABHA scan data, marks token CALLED
- New migration: abdm_opd_tokens table (gateway_token_id, source, status, patient_id, opd_id, processed_at)
- New view: abdm/opd_queue.php - reception screen with auto-refresh 30s, HMS Patient column (green row when OPD registered)
- Sidebar: ABDM OPD Queue nav link added
- Routes: AbdmOpdQueue with abdmPermFilter

ABHA Register tab (earlier this session):
- New Abha controller: initiate/verifyOtp/communication/verifyCommOtp/validateAbha/card + autoCreateOrFindPatient
- New views: abha/card.php, partials/abha_create_panel.php, partials/abha_otp_modal.php
- Patient_V.php: ABHA Register tab with 4-method wizard (ABHA number, QR scan, facility QR, mobile OTP)

Patient ABHA search fix:
- Patient::search() now detects ABHA column (abha_id/abha_no/abha/abha_address) and searches by it

ABDM Bridge infrastructure:
- EAtriaBridgeConnector: new connector for e-atria.in ABDM bridge gateway
- AbdmConnectorFactory/Interface updated
- AbdmGatewaySettings controller + view
- SNOMED/CSNOTK terminology service skeleton
- Finance payout OPD consult views
- Migration: AddAbdmPushFieldsToOpdAndPatient, CreateSnomedCoreTables
- Docs: abdm/ API specs, architecture, gateway guides
2026-05-16 04:21:31 +05:30

44 lines
1.4 KiB
Plaintext

<VirtualHost *:443>
ServerName abdm-bridge.e-atria.in
ServerAlias www.abdm-bridge.e-atria.in
ServerAdmin admin@e-atria.in
DocumentRoot /var/www/html/abdm-bridge-gateway/public
# Enable rewrite engine globally
RewriteEngine On
# Directory configuration - CRITICAL for .htaccess and rewrite rules
<Directory /var/www/html/abdm-bridge-gateway/public>
Options +FollowSymLinks
AllowOverride All
Require all granted
# DirectoryIndex for CodeIgniter
DirectoryIndex index.php index.html index.htm
# CodeIgniter routing: send all requests to index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Don't rewrite existing files
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Route all requests to index.php
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
</Directory>
# Logging
ErrorLog ${APACHE_LOG_DIR}/abdm-bridge-https-error.log
CustomLog ${APACHE_LOG_DIR}/abdm-bridge-https-access.log combined
# SSL Configuration
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/abdm-bridge.e-atria.in/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/abdm-bridge.e-atria.in/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>