UCADevClub / HIS-back

0 stars 0 forks source link

Allergy (CRUD) #29

Open lulanovl opened 6 days ago

lulanovl commented 6 days ago

Create Allergy
As a Branch Administrator, I want to add new allergy information to the database so that doctors and staff can be aware of potential patient allergies during treatment.

Read Allergy
As a Branch Administrator, I want to retrieve detailed information about an allergy so that it can be reviewed and referenced when treating patients.

Update Allergy
As a Branch Administrator, I want to update existing allergy information in the database to ensure it reflects the most current and accurate data available.

Delete Allergy
As a Branch Administrator, I want to remove outdated or incorrect allergy information from the database to maintain accurate medical records.

lulanovl commented 6 days ago

Allergy (CRUD)

Create Allergy

Description: Implement a function to add a new allergy to the database.

Fields:

Acceptance Criteria: A new allergy can be added with all required fields.

Read Allergy

Description: Implement a function to retrieve an allergy’s details from the database.

Fields: All fields of the allergy entity.

Acceptance Criteria: Able to retrieve details of an allergy by its name.

Update Allergy

Description: Implement a function to update an existing allergy’s details.

Fields: All fields of the allergy entity.

Acceptance Criteria: Able to update details of an allergy. Only the fields provided in the request will be updated.

Delete Allergy

Description: Implement a function to delete an allergy from the database.

Acceptance Criteria: An allergy can be deleted by its ID.