Prototype for a clinician-in-the-loop medication draft generator (EN + AR).
Important: This prototype generates DRAFT MedicationRequest resources for review by a licensed clinician. It MUST NOT be used to issue prescriptions without clinician validation and local regulatory approval.
Quickstart (local):
- Ensure Docker and Docker Compose are installed.
- Clone the repo. <<<<<<< HEAD
- Copy
.env.exampleto.envand set your environment variables. ======= - Copy
.env.exampleto.envand set the following environment variables locally or in GitHub Secrets for CI/deploy:- HAPI_BASE_URL (default: http://hapi:8080)
- OPENAI_API_KEY (if using OpenAI for translation/explanations)
- APIFY_TOKEN (if running Apify actors from CI)
origin/main
- Start services: docker-compose up --build
Services: <<<<<<< HEAD
- hapi: HAPI FHIR server
- backend: FastAPI backend
- frontend: React app (EN/AR)
- apify: actor template (scraper) =======
- hapi: HAPI FHIR server (stores FHIR resources)
- backend: FastAPI backend exposing endpoints to create Patient and MedicationRequest drafts
- frontend: React app (EN/AR) for data entry and clinician review
- apify: actor template to scrape/normalize public drug data
origin/main
Development notes and next steps:
- Add clinician authentication and audit logging for production.
- Integrate authoritative local drug lists for UAE before any clinical use.
- The LLM is used only for translation and patient-friendly explanations — not for clinical decision-making.
origin/main