UCADevClub / HIS

0 stars 0 forks source link

Pill (CRUD) UI/UX #65

Open lulanovl opened 1 week ago

lulanovl commented 1 week ago

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.

lulanovl commented 1 week ago

Pill (CRUD)

Create Pill

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.

Read Pill

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.

Update Pill

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.

Delete Pill

Description: Implement a function to delete a pill from the database.

Acceptance Criteria: A pill can be deleted by its ID.