Commit 64ae2ae
committed
feat: Implement SOAP clinical notes management system
- Added ClinicalNotesController to handle CRUD operations for clinical notes.
- Created ClinicalNotesService for business logic related to clinical notes.
- Developed ClinicalNotesRepository for database interactions with clinical notes.
- Introduced clinical notes validation schema using Joi.
- Established routes for clinical notes, including endpoints for creating, updating, retrieving, and deleting notes.
- Enhanced user role authorization for accessing clinical notes based on user roles (doctor, admin, patient).
- Implemented pagination for retrieving clinical notes.
- Added logging for clinical notes operations to track actions and errors.1 parent 19c812b commit 64ae2ae
File tree
11 files changed
+2484
-261
lines changed- migrations
- src
- controllers
- repositories
- routes
- services
- validators
11 files changed
+2484
-261
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
| 290 | + | |
290 | 291 | | |
291 | 292 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
296 | 305 | | |
297 | 306 | | |
298 | 307 | | |
299 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
300 | 322 | | |
301 | 323 | | |
302 | 324 | | |
| |||
571 | 593 | | |
572 | 594 | | |
573 | 595 | | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
574 | 599 | | |
575 | 600 | | |
576 | 601 | | |
| |||
0 commit comments