SanteDB iCDR Host Command
The SanteDB iCDR server runs via the SanteDB.exe file located in the following default installation directories:
- Microsoft Windows Operating Systems: C:\Program Files\SanteSuite\SanteDB\Server\SanteDB.exe
- Linux Operating Systems: /opt/santesuite/santedb/server/SanteDB.exe
This process can be used to operate one or more IMS services.
When you install the SanteDB iCDR server, the application (by default) has no configuration file. The default configuration file is
santedb.config.xml, this file can be created by running
ConfigTool.exe(as illustrated here) .
The following options can be used on the SanteDB.exe command
To run the
SanteDB.exeprocess in a terminal you can the following command:
mono /opt/sante-suite/santedb/server/SanteDB.exe --console
Additionally the service can be installed into your operating system by copying the service definition from
/opt/santesuite/santedb/server/santedb.serviceto your distribution's appropriate directory.
Then you can control the service by running:
systemctl start santedb
The SanteDB iCDR server uses a folder structure as illustrated below.
The folders are:
- plugins - This folder is used by FirebirdSQL to load custom SQL plugins.
- queue - This folder is the default location of the file-system based persistent queue service. This directory stores outbound messages and has a dead-letter queue for retry.
- Note: Future persistent queue plugins may use databases or queue technologies in lieu of this directory.
- match - This folder contains one or more match definition files and is the default directory for the file system match configuration provider.
- Note: Future match configuration providers will use databases or other technologies for storing/reading match configurations.
- sql - This folder contains SQL files that you will need to deploy the SanteDB databases including:
- fbsql/ - Core SQL in Firebird SQL syntax to create a new database
- psql/ - Core SQL in PL/PGSQL syntax to create a new database
- updates/ - Patches to the database which should be applied in-order