You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+90-5Lines changed: 90 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ Demo of a healthcare dashboard with AI-powered chart and report generation using
4
4
5
5
The patient can chat with an AI agent and analyze their health records. The AI agent can generate charts and reports to display the patient's health data dynamically and provide insights. Current version focuses on weight-loss and diabetes care.
6
6
7
+
This application demonstrates the usage of Generative UI techniques for healthcare dashboards, specifically with the [Agent–User Interaction (AG-UI) Protocol with CopilotKit](https://docs.ag-ui.com/introduction).
8
+
7
9
## Demo video
8
10
9
11
Demo video coming soon...
@@ -22,7 +24,8 @@ Demo video coming soon...
22
24
23
25
- Node.js 22.18 or higher
24
26
- npm 11.6 or higher
25
-
- Configured Medplum project (see section below)
27
+
- Configured Medplum project (see steps below)
28
+
- reCAPTCHA site key (for patient registration)
26
29
- OpenAI API key
27
30
28
31
### Medplum Project setup
@@ -31,6 +34,28 @@ Create a new Medplum project at https://app.medplum.com/register.
31
34
32
35
Get your Medplum project ID from the app.medplum.com [Project page](https://app.medplum.com/admin/project). Keep the project ID at hand to set it as an environment variable.
33
36
37
+
### Create a patient default access policy
38
+
39
+
1. Go to [app.medplum.com New AccessPolicy page, JSON tab](https://app.medplum.com/AccessPolicy/new/json)
40
+
2. Paste the contents from [patient-access-policy.json](patient-access-policy.json)
41
+
3. Click "OK"
42
+
43
+
### Set up open patient registration
44
+
45
+
To allow patients to self-register, set the patient access policy as the default.
46
+
47
+
1. Navigate to [app.medplum.com Project page](https://app.medplum.com/Project) and select your project.
48
+
2. In the "Edit" tab, set the "Default Patient Access Policy" field to your patient access policy and click "Update".
49
+
50
+
For more details, see the [Open Patient Registration documentation](https://www.medplum.com/docs/user-management/open-patient-registration).
51
+
52
+
### Set up reCAPTCHA
53
+
54
+
A reCAPTCHA configuration is required for the registration form to work.
55
+
56
+
1. Create a new reCAPTCHA configuration to get the site key and secret key at [google.com/recaptcha/admin/create](https://www.google.com/recaptcha/admin/create).
57
+
2. Go to [app.medplum.com](https://app.medplum.com), go to Project, then Sites. Create a Site with domains `localhost` and `127.0.0.1` and set the reCAPTCHA site key and secret key.
58
+
34
59
### OpenAI API key setup
35
60
36
61
Get your API key from [OpenAI Platform](https://platform.openai.com/api-keys).
@@ -48,11 +73,18 @@ Create a `.env` file in the project root:
This project is maintained by [Vinta Software](https://www.vinta.com.br/). We offer design and development services for healthcare companies. If you need any commercial support, feel free to get in touch: contact@vinta.com.br
0 commit comments