Commit Graph

138 Commits

Author SHA1 Message Date
Ross dc479cafd0 feat: Add case review messaging system with feedback and query capabilities
- Introduced CaseReviewMessage model to handle feedback and queries for cases.
- Implemented views for displaying user and CID messages, including outstanding feedback.
- Created templates for collection feedback overview and user messages.
- Added functionality for acknowledging messages and sending feedback or queries.
- Enhanced collection detail view to show outstanding messages and user message statistics.
- Added tests for handling duplicate DICOM uploads without series.
2026-04-27 12:55:27 +01:00
Ross b864f3d3fd Implement self-review functionality with enhanced UI and dynamic scoring options 2026-04-27 11:07:09 +01:00
Ross e007e35f4f Add show_differentials_post field and update templates for case differentials display 2026-04-13 14:27:14 +01:00
Ross 5c50ee75da Add post-exam display options to CaseCollection model and update template 2026-04-13 14:07:54 +01:00
Ross d899d0d86a Enhance ProcedureForm and ProcedureCreate: add form helper initialization, update procedure form action URL, and implement logging in dispatch method 2026-02-16 14:24:07 +00:00
Ross 44d23801b2 Add Procedure model integration: create views, forms, and templates; update URLs and search functionality 2026-02-16 14:15:28 +00:00
Ross a51a5c8d54 Add Procedure model and integrate into CaseForm; update views and templates for procedure handling 2026-02-16 14:04:37 +00:00
Ross 36da045d71 Enhance NormalCase functionality: prepopulate age fields on edit, update author handling in create case normal view, and refine template logic for editing permissions 2026-02-16 13:45:10 +00:00
Ross 785638ee23 Add cancel button to ConditionForm for easier navigation 2025-11-24 10:49:13 +00:00
Ross e8020c5d8f Update ConditionForm to use AJAX/autocomplete for canonical field selection 2025-11-24 10:42:38 +00:00
Ross 6308fbfcd7 Refactor Finding and Structure models: remove legacy primary and synonym fields, introduce canonical field for aliasing. Update filters and forms accordingly. 2025-11-24 10:18:26 +00:00
Ross 21de543313 Enhance ConditionForm: add Crispy Forms integration for consistent submit button rendering 2025-11-17 23:15:21 +00:00
Ross a12a9e38f3 Implement synonym management in condition detail: add forms for adding synonyms and handle POST requests for synonym creation. 2025-11-17 23:08:34 +00:00
Ross 81dc5bf48f Add forms and views for subspecialty, presentation, and pathological process management 2025-11-17 23:01:02 +00:00
Ross 12b7fa6629 Refactor CaseDetail references to Casedetail across templates and views
- Updated all instances of 'case_detail' to 'casedetail' in templates to maintain consistency.
- Adjusted view functions to use 'casedetail' instead of 'case_detail' for better clarity.
- Renamed the field 'case_detail' to 'casedetail' in the CasePrior model to align with the new naming convention.
- Ensured that all related logic and references in forms and data handling reflect this change.
2025-11-17 10:34:27 +00:00
Ross 3312f3058a Enhance CaseCollectionForm: replace collection_type field with radio buttons and add custom styling 2025-11-15 23:02:12 +00:00
Ross b73e89393b . 2025-11-14 21:21:45 +00:00
Ross a2e9d5e681 Refactor NormalCase model to use age_days instead of age_years, update forms, filters, and templates accordingly for improved age handling 2025-11-13 22:34:36 +00:00
Ross 970242e1fb Refactor NormalCaseForm to prevent nested forms and enhance logging in case_normal_form and create_case_normal views 2025-11-13 22:13:46 +00:00
Ross 5ac998454b Add NormalCase form and related views for managing normal cases 2025-11-13 22:08:55 +00:00
Ross eeef34bffc Add prerequisites handling to CaseCollection and implement user access checks 2025-10-13 13:46:01 +01:00
Ross 6f99cf0d53 Add question time limit to CaseCollection model and update related template for countdown display 2025-10-13 09:45:12 +01:00
Ross b9f6b7c837 Refactor collection case navigation and question handling
- Updated links in collection_case_priors.html to point to the new collection_case_questions view.
- Modified collection_case_view_take.html to display case history using the new method.
- Changed collection_detail.html to include links to the new collection_case_questions view.
- Added new URL pattern for collection_case_questions in urls.py.
- Refactored collection_case_details view to handle question-related logic and rendering.
- Introduced new CaseQuestionForm for handling question submissions.
- Created new migration to add override_history and redact_history fields to CaseDetail model.
- Added new templates for collection_case_details.html and collection_case_questions.html to manage case questions.
- Enhanced JavaScript functionality for dynamic question management in collection_case_questions.html.
- Updated useranswer model fields in shorts app to improve feedback and scoring.
2025-09-15 11:17:57 +01:00
Ross ddb5783f7f Refactor CaseCollectionForm layout and add date fields with custom widgets for improved user experience 2025-08-11 09:57:14 +01:00
Ross 816b2adde2 Refactor case collection form to use crispy forms for improved layout and styling 2025-08-04 13:19:19 +01:00
Ross 0af6b25349 Add case collection update functionality with form handling and template (move from CaseCollection form) 2025-08-04 12:21:37 +01:00
Ross 5187885c3b lots of improvements 2025-07-14 13:26:11 +01:00
Ross 8fc38557ac . 2025-07-07 13:31:26 +01:00
Ross 0cdccbcdfb . 2025-07-07 12:09:17 +01:00
Ross d7499e9166 some updates 2025-07-07 11:41:44 +01:00
Ross 2ac8344b13 improve case form 2025-06-30 13:33:35 +01:00
Ross bc26209f07 start removing lots of print 2025-06-30 10:39:42 +01:00
Ross 8e92de3420 start migration to dv3d 2025-06-09 11:39:38 +01:00
Ross 503c8f854a improve findings 2025-05-19 11:15:40 +01:00
Ross 6564b25250 work on case priors 2025-04-28 22:36:04 +01:00
Ross a0960c9b7c start integrating cimar 2025-02-24 11:53:36 +00:00
Ross 58301dd251 lots of updates 2024-12-30 13:41:55 +00:00
Ross 1fdb4c9159 switch case form to crispy and start using bootstrap nav 2024-12-23 10:09:08 +00:00
Ross d0d680edc5 . 2024-11-18 12:55:37 +00:00
Ross ed933c8104 inital case selection widget 2024-11-11 13:36:53 +00:00
Ross 5a9868a56d image findings will now save and reload stack index 2024-09-23 14:05:09 +01:00
Ross 58eeb4f442 fix a few missing things 2024-08-19 13:16:47 +01:00
Ross 9e08c69684 hide some forms 2024-07-29 09:19:59 +01:00
Ross 7075bba7a2 enable priors in atlas 2024-07-17 22:00:57 +01:00
Ross cef06e4682 add question schema model and integrate most urls/views 2024-06-24 11:43:33 +01:00
Ross 64cebf50a0 Numerous improvements to case questions 2024-06-24 08:59:15 +01:00
Ross e46d682635 improve case quesitons 2024-06-10 17:27:37 +01:00
Ross 9026ee5390 improve json editing 2024-06-10 09:59:43 +01:00
Ross 21d83052cf numerous uploading fixes 2024-05-13 09:48:43 +01:00
Ross 3b6128aa84 . 2024-04-10 23:26:29 +01:00