This app uses Vite for the frontend Convex for the backend. It integrates with EMRs using PhenoML.
- Clone the repo
- Install dependencies with
npm install - Start Convex with
npx convex dev. This will install the Convex backend locally. - In another terminal, run the Vite dev server with
npm run dev
- In PhenoML, create a FHIR provider ID to integrate with your EMR.
- With
npx convex devstill running, open a new terminal in the project directory. - Set the PhenoML-related variables.
npx convex env set PHENOML_USERNAME "your-username"
npx convex env set PHENOML_PASSWORD "your-password"
npx convex env set PHENOML_BASE_URL "your-base-url"
npx convex env set PHENOML_FHIR_PROVIDER_ID "your-fhir-provider-id"