KPMS: Pharmacy production and stock workflows
KPMS: Pharmacy production and stock workflows
I developed and deployed KPMS for Khairat Pharmacy through Nora Cloud Services. The application brings production planning, batch records, material movements, finished stock and staff administration into one system.
Client delivery
This is a client application for Khairat Pharmacy. I built the application with Python and Flask, a MySQL database and HTML templates, and deployed it for the client.
Connecting a plan to its batch records
Production planning and scheduling sit alongside batch records and bills of materials. This gives the application distinct records for what is planned, the batch being produced and its associated materials.
Keeping material movements distinct
The application separates material issue, return, damage and consumption workflows. A materials record can therefore describe what happened to stock rather than only showing a final quantity.
Discrepancy investigation and review are separate parts of the workflow, so differences can be recorded and reviewed alongside the underlying materials records.
Finished goods and staff administration
Finished-goods functions cover stock and transaction reporting. Employee records and leave administration are also included, using the same application interface.
Implementation
Flask supplies the application layer and server-rendered templates, with Flask-WTF for forms and MySQL for relational data. HTML, CSS and JavaScript provide the browser interface.
Python · Flask · Flask-WTF · MySQL · HTML · CSS · JavaScript
Project information
- Context: Client delivery through Nora
- Client: Khairat Pharmacy
- Delivery organisation: Nora Cloud Services
- My contribution: Development and deployment
This case study describes the delivered workflow. Client records and application access are private.