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
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
# ABDM Bridge Gateway Environment Configuration
|
|
# Copy to .env and fill in actual values
|
|
|
|
# Environment
|
|
NODE_ENV=production
|
|
PORT=3000
|
|
LOG_LEVEL=info
|
|
|
|
# Gateway Configuration
|
|
BRIDGE_SOURCE_CODE=SBXID_033661
|
|
BRIDGE_SYNC_TOKEN=your-bearer-token-here
|
|
|
|
# ABDM M3 API Configuration
|
|
ABDM_M3_URL=https://dev.abdm.gov.in/api/v3
|
|
ABDM_M3_TOKEN=your-abdm-m3-bearer-token
|
|
BRIDGE_SYNC_TIMEOUT=30
|
|
|
|
# SNOMED CT Terminology Service
|
|
SNOMED_SERVICE_URL=https://csnotk.e-atria.in/csnoserv
|
|
SNOMED_TIMEOUT=10
|
|
|
|
# Optional: For future direct ABDM mode
|
|
ABDM_DIRECT_CLIENT_ID=SBXID_033661
|
|
ABDM_DIRECT_CLIENT_SECRET=your-client-secret
|
|
|
|
# Facility Details
|
|
ABDM_HFR_ID=your-hfr-id
|
|
ABDM_NPI_ID=your-npi-id
|
|
|
|
# SSL/TLS Configuration (for reverse proxy)
|
|
SSL_CERT_PATH=/etc/letsencrypt/live/abdm-bridge.e-atria.in/fullchain.pem
|
|
SSL_KEY_PATH=/etc/letsencrypt/live/abdm-bridge.e-atria.in/privkey.pem
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|
|
|
|
# Logging
|
|
LOG_FILE_PATH=/var/log/abdm-gateway/combined.log
|
|
ERROR_LOG_PATH=/var/log/abdm-gateway/error.log
|