A starter application for using the `Task` resource and related workflows with the Medplum platform.
This example app demonstrates the following:
- Creating a new React app with Vite and TypeScript to demonstrate
Task-based workflows - Managing the
Tasklifecycle: Creating, assigning, and completing tasks - Creating a
Task - Editing a
Task - Deleting a
Task - Viewing
Taskqueues that are relevant to the user
This repo is organized in two main directories: src and data.
The src directory contains the entire app, including pages and components directories. In addition, it contains a bots directory which has Medplum Bots for use. The bots in the example directory are intended to be modified or extended by users, while those in core can be used to handle core workflows without modification.
The data directory contains data that can be uploaded to use the demo. In the example directory is data that is meant to be used for learning and testing, not production. The core directory contains resource, terminologies, and more that are required to use this demo.
If you haven't already done so, follow the instructions in this tutorial to register a Medplum project to store your data.
Fork and clone the repo.
If you want to change any environment variables from the defaults, copy the .env.defaults file to .env
cp .env.defaults .envAnd make the changes you need.
Next, install the dependencies
npm installThen, build the bots
npm run build:botsThen, run the app
npm run devThis app should run on http://localhost:3000/
Medplum is an open-source, API-first EHR. Medplum makes it easy to build healthcare apps quickly with less code.
Medplum supports self-hosting, and provides a hosted service. Medplum Hello World uses the hosted service as a backend.
- Read our documentation
- Browse our react component library
- Join our Discord
