A clinic can keep its data on its own server, a computer in the clinic that runs the ESCAI clinic server, instead of the cloud. Every PC, tablet and phone of the clinic then connects to that computer over the clinic network, and from outside the clinic if you give it a remote address.
The video at the end of this page shows how to install the clinic server on Windows, Mac or Linux. This page covers connecting the devices and keeping everything up to date.
Connect a device to the clinic server
You reach the connection screen in one of these ways:
- On a new device, at first launch: choose Server Mode, then Connect to Private Server (see first launch).
- On a standalone device that should join the server: tap the connection icon at the top of the home screen, then Connect to Private Server. Its own data is uploaded afterwards (see importing data).
Then:
- Under Local URL, type the server computer's address on the clinic network in Hostname / IP (for example 192.168.1.10), and its Port.
- Under Remote URL, type the address that reaches the server from outside the clinic, if you have one. Leave it empty if the devices only work inside the clinic.
- Tap Test Connection. A green tick appears next to each address that answered.
- Tap Connect & Sync. It is enabled once at least one address answered.
- On the Restore clinic data screen, tap Restore from Server Snapshot to download the clinic's data (see backup and restore), then sign in.
- 1The server computer's address on the clinic network.
- 2The server's port.
- 3The address used from outside the clinic.
- 4Checks both addresses.
- 5Saves the addresses and downloads the data.
To change the addresses later, tap the connection icon and choose Edit Setup; see sync and offline work.
Open ESCAI in a browser
Any computer, tablet or phone on the clinic network can also open ESCAI in its web browser at the server's address, for example http://192.168.1.10:9427/app/.
For the browser, a page whose address starts with http:// is not secure. Linking WhatsApp, WhatsApp chats and the other ESCAI Services do not work there. So the clinic server gets its own secure address by itself, for example https://k3fqx2m7qa.lan.easysmartx.com:9427. It still reaches the server directly over the clinic network. You set nothing up.
- On the sign-in screen, the browser moves to the secure address by itself once that address works and nothing is waiting to be sent to the server.
- The secure address is a new page for the browser. Sign in once: the clinic's data then downloads on the Initial Data Sync screen, and the browser keeps it from then on.
- Until the browser has moved, ESCAI Services shows the card This page is not secure (http). Tap Open the secure address to go there yourself.
- The ESCAI app on the clinic's computers and phones uses the secure address by itself for ESCAI Services and WhatsApp, and keeps the local address for everything else.
- 1Why WhatsApp and ESCAI Services do not work on this page.
- 2Opens the clinic server's secure address.
- 3The secure address of this clinic server.
Give the address to a new phone or computer
Each clinic server has its own secure address, made of a random code, for example https://k3fqx2m7qa.lan.easysmartx.com:9427/app/. It can't be shortened: every clinic needs its own name for the security certificate. You never need to type it:
- Staff can keep opening the old address (
http://<server address>:9427/app/): it moves them to the secure address. - On any device connected to the clinic server, tap the connection icon at the top of the home screen (or open Settings › Connection). The Web address card shows the address with a QR code. Scan the code with the phone camera, or tap Copy or Share to send it to staff.
- 1The secure address of this clinic server.
- 2Copies the address.
- 3Sends the address, for example on WhatsApp.
- 4Scan with the phone camera to open ESCAI there.
The card appears once the clinic server has its secure address. On a device outside the clinic network, for example a computer that reaches the server over the internet, the card still shows the code and the address, with a note that the address works on phones and computers connected to the clinic network. Send it to staff from there.
On iPhone and iPad
Safari deletes a site's data after seven days without a visit, but not for an icon on the Home Screen. So on an iPhone or iPad, open ESCAI from a Home Screen icon of the secure address:
- Open the secure address in Safari (scan the QR code from the Web address card) and sign in once.
- Tap Share, then Add to Home Screen.
- From now on, open ESCAI from that icon and sign in. If the icon starts empty, the clinic's data downloads by itself after you sign in.
The sign-in screen shows these steps in Safari until you tap Later.
- 1The steps to add ESCAI to the Home Screen.
- 2Hides the steps for two weeks.
An older Home Screen icon that opens the http:// address cannot move to the secure address by itself. Its sign-in screen shows Use the secure address with Open the secure address: add that address to the Home Screen as above, then delete the old icon.
Server version and server updates
Open Settings › About. The Server version card shows the version (build) of the clinic server and whether it is Up to date. When a newer version is published, the card says so; servers with automatic updates install it overnight.
Download Docker package downloads the full server package (ClinicAPI-Docker-Minimal.zip), to install or update the server by hand.
Install or update the server on Windows
Extract the package, then double-click EsClinicSetup.bat. The setup window asks where the clinic's data is kept:
- In Patient images folder and Backup folder, keep the suggested folder or choose Browse... to pick another.
- Choose Next, check the summary, then choose Install now or Update now.
Keep both folders outside the program folder. Setup refuses a new folder inside it, so replacing the program can never remove your images or backups.
When you update, setup keeps the folders the server already uses. If it cannot find one, it tells you and asks you to choose it. If your images are still inside the program folder, setup keeps them there and warns you: do not delete or replace that folder.
Update the app
- 1Looks for a newer version of the app.
- 2The clinic server's version.
- 3The server package, for a manual install or update.
How the app is updated depends on where it came from:
- Windows app (and the clinic's own Android app file): ESCAI checks for updates when it starts. You can also tap Check in App update. When a version is found, the dialog lists What's new; tap Download & install (or Later). The file is checked before the installer opens.
- App Store, Google Play and the Mac app: they are updated from their store. When a newer version is available, ESCAI tells you and Update opens the store.
When the dialog says Update required, this version is no longer supported and must be updated before you continue working.
The clinic server comes first
A new version of the app can need a newer clinic server. Before installing, the Windows app (and the clinic's own Android app file) asks the clinic server which version it runs. When the server is older than the new app needs, the dialog says Update the clinic server first and does not install yet:
- Update the clinic server. Servers with automatic updates install the new version overnight; otherwise update it by hand on the server computer (see Server version above).
- Back in the dialog, tap Check again. Once the server is new enough, the dialog offers Download & install.
When the server cannot be reached (for example, the device is outside the clinic), the dialog asks you to connect to the clinic network and check again. An update marked Update required can still be put off with Later while it waits for the server.
- 1Asks the clinic server again; installs once it is new enough.
- 2Closes the dialog; the check runs again at the next start.
An app from the App Store, Google Play or the Mac store updates by itself. If it becomes newer than the clinic server, ESCAI shows The clinic server needs an update when it starts: some records may not sync until the server is updated. Clinics on the ESCAI cloud never see these messages; ESCAI updates their server first.
See also backup and restore and troubleshooting.
Watch it on video
Last updated: · Matches ESCAI 1.35.0