Commit Graph

258 Commits

Author SHA1 Message Date
Ross 89a767034c Update image retrieval in Case model to use get_images method for improved clarity 2025-11-05 21:18:15 +00:00
Ross eeef34bffc Add prerequisites handling to CaseCollection and implement user access checks 2025-10-13 13:46:01 +01:00
Ross 32d8430f94 Add CID user support in collection history and reset answers functionality 2025-10-13 11:28:07 +01:00
Ross a355dd223e Add timestamps for answer tracking in report models and views; enhance timer display in templates 2025-10-13 10:02:37 +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 682e8160b5 Refactor user collections view to categorize collections into available, in-progress, and finished; update templates for improved display of collection statuses and question rendering. 2025-10-06 13:51:55 +01:00
Ross 974966e855 Add example answers form rendering and update viewer iframe 2025-10-05 22:24:40 +01:00
Ross 4fc1de4300 Refactor code structure and remove redundant functions for improved readability 2025-10-01 20:24:10 +01:00
Ross 990907f8f5 Refactor code structure for improved readability and maintainability 2025-09-22 10:45:21 +01:00
Ross ee42d5c1c2 Convert case series images to JSON format in CaseDetail model for improved data handling 2025-09-15 12:03:24 +01:00
Ross 85216b36b0 Fix typo in prior_cases reference and streamline relationship validation in collection_case_priors 2025-09-15 12:01:12 +01:00
Ross 3b19ddcb5e Enhance get_case_series_nested method to include prior cases and update collection_case_view_take template to add DICOM viewer details 2025-09-15 11:49:09 +01:00
Ross 50f5813a75 Enhance get_series_images_nested method to support excluding specific series IDs and improve query efficiency 2025-09-15 11:43:18 +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 16a8bf3d3a Refactor DICOM file reading to use dcmread for improved compatibility across models and helpers 2025-08-18 10:45:34 +01:00
Ross d61ecaac66 Enhance check_user_can_edit method with detailed docstring for clarity 2025-08-18 09:40:49 +01:00
Ross f5258d7e6f git displaysets working in viva view 2025-07-21 10:51:34 +01:00
Ross 5187885c3b lots of improvements 2025-07-14 13:26:11 +01:00
Ross 804cff33f4 . 2025-07-07 12:58:17 +01:00
Ross 4df7e5aebd start moking case display sets 2025-06-30 13:04:05 +01:00
Ross 8229813eba improve vivas 2025-06-30 12:58:32 +01:00
Ross bc26209f07 start removing lots of print 2025-06-30 10:39:42 +01:00
Ross 2f8601aa1a i should do these more often 2025-06-23 09:25:48 +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 5e578ca2b0 improve case management 2025-04-28 15:45:02 +01:00
Ross 405b17776f try adding series data to case table 2025-04-25 18:28:40 +01:00
Ross d387e32777 furher shorts improvements 2025-04-07 11:34:10 +01:00
Ross baeaf3d9c6 . 2025-03-10 11:15:08 +00:00
Ross fb931f5a15 . 2025-03-10 10:47:47 +00:00
Ross a0960c9b7c start integrating cimar 2025-02-24 11:53:36 +00:00
Ross 0ca17c23b5 improve suggest answers (and fix some other issues) 2025-01-20 09:54:56 +00:00
Ross f0c5964a5a . 2025-01-02 22:27:29 +00:00
Ross 7fc12737c7 . 2025-01-02 22:26:00 +00:00
Ross 8c43c40215 add simple case and series size display 2024-12-19 00:02:26 +00:00
Ross ba29c9c881 fix a few small upload bugs 2024-11-26 22:52:10 +00:00
Ross d0d680edc5 . 2024-11-18 12:55:37 +00:00
Ross 4e2e350e52 order atlas tables by creation date by default 2024-11-11 10:10:26 +00:00
Ross 28bfa34367 . 2024-10-07 17:46:09 +01:00
Ross d1249f14d8 migrate to use image id in model 2024-10-07 09:28:43 +01:00
Ross 5a9868a56d image findings will now save and reload stack index 2024-09-23 14:05:09 +01:00
Ross edc9b29233 add basic (user) history for collections 2024-09-23 11:49:36 +01:00
Ross 58eeb4f442 fix a few missing things 2024-08-19 13:16:47 +01:00
Ross b73b43d155 tidy up the marker changes 2024-08-05 13:20:29 +01:00
Ross e46f843284 add markers to exams (move away from group based to content based permissions) 2024-08-05 10:45:38 +01:00
Ross 88584f4c37 fix some relations 2024-07-29 12:58:16 +01:00
Ross 74d300ab16 some more admin improvements 2024-07-29 11:38:52 +01:00
Ross aeaf0fcb2e migarate exam_user_status 2024-07-22 17:25:12 +01:00
Ross ca4c8d31b9 pre refactor exam_user_status 2024-07-22 11:48:10 +01:00