Connecting your practice system.
Connect your practice system so it can create cases through the Medilee API and, if you like, receive events by webhook. You need admin access to your organisation's Microsoft Entra ID.
8 steps. Medilee screens show sample data, with the thing to click outlined in coral.
-
In the Azure portal, open Microsoft Entra ID, then App registrations, and select your practice system's app registration. Open API permissions, add the Medilee permissions it needs, then click Grant admin consent.
Medilee.App.CreateCase creates cases and adds or updates the specialists you assign them to. Medilee.App.ReadAnyCase reads cases and their status, including the case that createCase returns, so grant it with CreateCase. Add Medilee.App.DeleteAnyCase only if your system deletes cases. Build and test against your Medilee (uat) instance first, as in this screenshot.
-
On the app registration's Overview page, click the link under Managed application in local directory. On the Enterprise Application's Overview page, copy the Object ID under Properties.
Use the Enterprise Application's Object ID. The app registration has its own Object ID, and Medilee won't recognise your system if you use that one.
-
In Medilee, click Applications under System administration in the sidebar.
-
Click New application.
-
Type a Display name, for example Practice system, and an optional Description.
-
Paste the Object ID into Enterprise Application Object ID.
Click the i next to the field if you need these steps again.
-
If your system will receive events, turn on Active under Webhook, then enter the Webhook URL and a Webhook secret.
The webhook is optional. Medilee posts an event to this URL as a case moves through its stages (files ready, case summary ready, report approved) and signs each one with your secret. Each event gives the event and action (a case's status changed) and the case's Medilee id, externalId and new status. It has no clinical or personal details.
-
Click Create application.
Your system can now call the Medilee API. For creating cases, webhook events and querying case data, open Integration guide under Documentation in Medilee.
Need a hand? Contact support and tell us your role and the step you are on.