opencoreemr / oce-module-sinch-fax
OpenEMR Sinch Fax integration module for secure fax sending and receiving, by OpenCoreEMR Inc
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Type:openemr-module
pkg:composer/opencoreemr/oce-module-sinch-fax
Requires
- php: >=8.2
- ext-curl: *
- ext-filter: *
- ext-json: *
- guzzlehttp/guzzle: ^7.0
- openemr/oe-module-installer-plugin: ^0.1.5
- symfony/event-dispatcher: ^6.0 || ^7.0
- symfony/http-foundation: ^6.0 || ^7.0
- twig/twig: ^3.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.44
- maglnet/composer-require-checker: ^4.0
- phpstan/phpstan: ^2.1
- rector/rector: ^2.0
- squizlabs/php_codesniffer: ^4.0
This package is auto-updated.
Last update: 2025-12-22 13:25:34 UTC
README
A secure fax integration module for OpenEMR using the Sinch Fax API.
Features
- Send Faxes: Send faxes to one or multiple recipients
- Multiple File Formats: Support for PDF, TIFF, PNG, JPEG, DOC, and DOCX
- Security: Encrypted storage of API credentials, secure file handling
- Patient Integration: Link faxes to patient records
- Audit Trail: Complete tracking of all fax activity
Requirements
- OpenEMR 7.0.0 or later
- PHP 8.2 or later
- MySQL 5.7 or later / MariaDB 10.2 or later
- Sinch Fax account with API credentials
Installation
Via Composer (Recommended)
-
Navigate to your OpenEMR installation directory
-
Install the module via Composer:
composer require opencoreemr/oce-module-sinch-fax
-
Log into OpenEMR as an administrator
-
Navigate to Administration > Modules > Manage Modules
-
Find "OpenCoreEMR Sinch Fax" in the list and click Register
-
Click Install
-
Click Enable
Manual Installation
- Download the latest release
- Extract to
interface/modules/custom_modules/oce-module-sinch-fax(relative to your OpenEMR root directory) - Follow steps 3-7 from the Composer installation
Configuration
-
Navigate to Administration > Globals > OpenCoreEMR Sinch Fax Module
-
Configure the following settings:
- Sinch Project ID: Your Sinch project ID
- Sinch Service ID: Your Sinch service ID (optional)
- API Authentication: Choose Basic Auth or OAuth2
- API Key/Secret: Your Sinch API credentials
- API Region: Select your preferred region (or leave as 'global')
-
Save the settings
Usage
Accessing the Module
Once installed and configured, you can access the module from the Modules menu:
Sending a Fax
The module supports the following file formats: PDF, TIFF, PNG, JPEG, DOC, and DOCX.
From Patient Documents (Recommended)
In real-world usage, you'll typically send faxes directly from a patient's document:
- Navigate to a patient's Documents tab
- Select the document you want to fax
- Click the Send Fax button in the document viewer toolbar
- In the Send Fax dialog, the document and patient are already pre-filled
- Enter the recipient fax number in E.164 format (e.g., +12345678901)
- Click Send Fax
From the Module Interface
Alternatively, you can upload and send files directly:
- Navigate to Modules > OpenCoreEMR Sinch Fax
- Click the Send Fax tab
- Enter the recipient fax number(s)
- Select or upload the file(s) to fax
- Optionally link to a patient record
- Click Send Fax
Upon successful submission, you'll receive a fax ID that can be used to track the fax in progress.
Note: The screenshots show demo data. Patient information displayed is for demonstration purposes only, and
+19898989898is Sinch's demo fax number for testing.
Receiving Faxes
Incoming faxes are automatically received via webhook and stored in the module:
- Navigate to Modules > OpenCoreEMR Sinch Fax
- Click the Fax List tab to view all received faxes
- Locate the received fax you want to assign to a patient
- Click the Move to Patient button
- Select the patient to associate the fax with
Once moved to a patient, the fax will:
- Appear in the patient's Documents tab under the Received Faxes category
- Remain visible in the Fax List but marked as "Moved to Patient X" in the Actions column
- Be managed like any other patient document in the patient's chart
Viewing Faxes
- Navigate to Modules > OpenCoreEMR Sinch Fax
- Click the Fax List tab to view all sent and received faxes
- The list shows direction, fax ID, recipient/sender, status, and timestamp
- Use filters to search by date, direction, status, or patient
Security
- API credentials are encrypted in the database
- Fax files are stored with restricted permissions
- All file uploads are validated
- Audit logging for all fax operations
Support
License
GNU General Public License v3.0 or later
Credits
Developed by OpenCoreEMR Inc







