An open API service indexing awesome lists of open source software.

https://github.com/flaaj/prescriptions-management-system

A system for managing prescriptions
https://github.com/flaaj/prescriptions-management-system

Last synced: 4 months ago
JSON representation

A system for managing prescriptions

Awesome Lists containing this project

README

        

# Prescriptions Management System

A system for managing prescriptions.

#### Supported use cases:
- Adding a new doctor to database
- Adding a new patient to database
- Adding a new pharmacist to database
- Adding a new drug to database
- prescribing drugs for patients by doctors
- filling a prescription by pharmacists

###### Run database in docker:
- `docker compose up -d` (requires having docker-desktop installed and added to PATH)

###### Run tests:
- `cargo watch -x test`

###### Run development:
- `cargo run`

###### Hosted preview:
- base url: https://api.pms.flaaj-web.dev/
- swagger docs: https://api.pms.flaaj-web.dev/swagger-ui

#### TODO:
- [ ] images service for storing drug images
- [ ] require prescription code to fill
- [ ] add deleting to each collection
- [ ] add updating to each collection
- [ ] add phone number to patient collection and send sms with prescription code
- [ ] drug variants (e.g. 10 pills | 20 pills | 50 pills)
- [ ] drug categories
- [ ] create a single fake repository that implements all "repository" traits and has initial records (or just use real database for testing services and controllers?)