Open lulanovl opened 3 months ago
Description: Implement a function to add a new pill to the database.
Fields:
Acceptance Criteria: A new pill can be added with all required fields.
Description: Implement a function to retrieve a pill’s details from the database.
Fields: All fields of the pill entity.
Acceptance Criteria: Able to retrieve details of a pill by its name.
Description: Implement a function to update an existing pill’s details.
Fields: All fields of the pill entity.
Acceptance Criteria: Able to update details of a pill. Only the fields provided in the request will be updated.
Description: Implement a function to delete a pill from the database.
Acceptance Criteria: A pill can be deleted by its ID.
Create Pill
As a Branch Administrator, I want to add new medication (pill) information to the database so that doctors can prescribe the correct medication to patients.
Read Pill
As a Branch Administrator, I want to retrieve detailed information about a medication so that it can be referenced when prescribing treatments.
Update Pill
As a Branch Administrator, I want to update existing medication information in the database to ensure it is accurate and reflects any changes.
Delete Pill
As a Branch Administrator, I want to remove outdated or incorrect medication information from the database to keep our records accurate.