Fixes #71: Create API for patient profile #76
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist:
Resolves #71
How to create user Rails console?
How to create Patient profile in rails console:
How to fetch all profiles with optional filters in rails console:
How to fetch a single patient profile:
How to delete a patient profile:
How to update a patient profile:
Description
This CRUD operation allows users to manage Patient Profiles efficiently. Users can create a profile with associated address and establishment details, ensuring data integrity through transactional operations. It supports filtering and retrieving patient profiles with flexible search criteria. Additionally, users can update or delete profiles securely, with access control to ensure only authorized users can perform modifications.