Home Applications InterLang

InterLang

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
0
0 reviews
0
Awards
293
Views
0
IPM installs
0
0
Details
Releases
Reviews
Issues
Videos  (1)
Articles  (1)
LangChain meets FHIR for personalized health plans

What's new in this version

Initial Release

InterLang App

Introduction

Welcome to the InterLang App! This application allows you to interact with a healthcare system using natural language commands. You can perform various operations like adding patients, adding goal data for patients, fetching goal data, generating care plans, and more, all through a user-friendly interface.

How It Works

The InterLang App is built on the Spring Boot framework and uses Streamlit for the chatbot interface. It communicates with a FHIR (Fast Healthcare Interoperability Resources) server to manage patient data and a powerful AI model from OpenAI for natural language understanding.

The app then sends your input to the backend, where it is processed, and a response is generated based on your command. You will receive the response on the user interface.

Setting Up the App

To run the InterLang App on your local environment using Visual Studio Code with a .devcontainer, please follow these steps:

  1. Clone this repository to your local machine.
  2. Open the project in Visual Studio Code.
  3. Make sure you have the required extensions for Visual Studio Code to support Java development and Docker.
  4. Ensure that you have Docker installed and running on your system.
  5. Open the project in a DevContainer by clicking on the green “Open a remote window” button in the bottom-left corner of Visual Studio Code and selecting “Reopen in Container.” This will set up a development environment with all the necessary dependencies.
  6. In the project directory, locate the application.properties file and update it with the following properties:
fhir.server.url=
fhir.api.key=
openai.api.key=

Make sure you replace the placeholders with the actual values.

  1. Save the application.properties file.

  2. Now, you are ready to run the InterLang App. In the Visual Studio Code terminal, run the following command:

./mvnw spring-boot:run

This will start the Spring Boot application.

  1. Then run the following command to start the Streamlit interface:
pipenv install
pipenv run streamlit run frontend/streamlit_app.py
  1. Now you can go to localhost:8501 to access the InterLang App.

You are now all set up and ready to use the InterLang App on your local environment!

Enjoy using the InterLang App to interact with the healthcare system and manage patient data with ease. If you have any questions or encounter any issues, please refer to the documentation or reach out to the project maintainers for assistance.

Made with
Version
1.0.027 Nov, 2023
Category
Technology Example
Works with
InterSystems IRISInterSystems IRIS for HealthInterSystems FHIR
First published
27 Nov, 2023