Open lulanovl opened 4 months ago
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.
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.
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.
Description: Implement a function to delete an allergy from the database.
Acceptance Criteria: An allergy can be deleted by its ID.
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.