Skip to content

medplum/medplum-chat-demo

Repository files navigation

Medplum Chat Demo

A starter application for using the Medplum platform.

This example app demonstrates the following:

  • Creating a new React app with Vite and TypeScript to demonstrate Communication-based workflows.
  • A threaded Communication model.
  • Creating thread-level and message-level Communication resources.
  • Sending and replying to messages.
  • Realtime communication via WebSockets.
  • Adding new participants to existing threads.
  • Editing thread topics and categories.

Chat Demo Screenshot

Code Organization

This repo is organized into two main directories: src and data.

The src directory contains the app, including a pages and components directory. In addition, it contains a bots directory, which has Medplum Bots for use.

The data directory contains data that can be uploaded for use in the demo. The example directory contains data that is meant to be used for testing and learning, while the core directory contains resources, terminologies, and more that are necessary to use the demo.

Getting Started

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 main Medplum repo.

Move into the medplum-chat-demo directory.

cd examples/medplum-chat-demo

Next, install the dependencies

npm install

Then, run the app

npm run dev

This app should run on http://localhost:3000/

About Medplum

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages