Commit Graph
339 Commits
Author SHA1 Message Date
Ross 590e0b76ed Add series images endpoint and template for HTMX integration 2025-12-01 14:50:11 +00:00
Ross 0c412dfff6 Add prior cases information to collection case view template 2025-11-24 12:19:56 +00:00
Ross e8c35efd83 Refactor collection_case_questions function to use case_number instead of case_id for improved clarity and consistency in case retrieval 2025-11-24 12:02:43 +00:00
Ross 0badca4c4f Add default error value to context in collection_case_priors view to prevent variable resolution issues 2025-11-24 11:58:53 +00:00
Ross 25f4e478b3 Add edit permission check for collection case priors view 2025-11-24 11:53:50 +00:00
Ross efca426359 Add case jump functionality with HTMX support and corresponding template 2025-11-24 11:40:52 +00:00
Ross 6eeb4cbb1d Add canonical field and update synonym handling in Condition model
- Introduced a new `canonical` ForeignKey field in the Condition model to manage alias relationships.
- Enhanced synonym retrieval methods to prefer canonical names and handle aliases more effectively.
- Updated condition detail templates to reflect canonical status and improved synonym display.
- Implemented migration scripts to establish canonical relationships based on existing synonym links.
2025-11-20 22:48:03 +00:00
Ross 9d57d03cbb Refactor synonym management: extract synonyms list and add forms for adding synonyms with HTMX support 2025-11-20 21:59:50 +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 fb833a2b90 Refactor collection view: create a new template for collections with improved layout and staff action visibility 2025-11-17 22:47:15 +00:00
Ross 2f1e2f6abe Refactor collection_case_details: simplify case retrieval logic and improve parameter naming for clarity 2025-11-17 22:33:10 +00:00
Ross 24558f92ce Refactor case prior handling: update function to support case_number instead of case_id for improved clarity and maintainability 2025-11-17 11:15:08 +00:00
Ross 6e658aca93 Refactor case handling: update URLs and views to support case_number and case_id interchangeably, enhancing backward compatibility and maintainability 2025-11-17 11:05:13 +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 7f4570417e Refactor case navigation: consolidate previous and next links into a reusable partial for improved maintainability and consistency across templates 2025-11-17 10:09:00 +00:00
Ross 0098fa5dfc Refactor case prior display: extract prior card markup into a separate partial for improved maintainability and readability 2025-11-17 09:27:02 +00:00
Ross b47bb141e8 Enhance case search functionality: exclude cases already in the collection from search results to prevent duplication 2025-11-16 23:28:23 +00:00
Ross 712ecec25d Enhance case search results: add data attributes for case identification and implement client-side removal of cases from search results after addition to collection 2025-11-16 23:25:35 +00:00
Ross 279d6344f1 Enhance case search functionality: display recent cases in search results and adjust initial load behavior 2025-11-16 23:16:06 +00:00
Ross 5e0068d490 Implement case search functionality and enhance case addition UI in collection view 2025-11-16 22:55:59 +00:00
Ross 875744a08a Refactor case management links and add case list item partial for improved organization and rendering in collection detail view 2025-11-16 22:51:22 +00:00
Ross 478dcb7217 Add success URL redirection for CaseCollectionCreate after successful creation 2025-11-15 22:47:37 +00:00
Ross 835d0382ba Refactor series cases handling: extract cases list to a partial and enhance HTMX integration for dynamic updates 2025-11-14 21:55:28 +00:00
Ross b73e89393b . 2025-11-14 21:21:45 +00:00
Ross 14e6514b90 Update ResourceDelete view to require AuthorOrChecker permissions for deletion 2025-11-14 21:14:58 +00:00
Ross ca2b7feb5b Add Resource filtering and table display functionality 2025-11-14 20:56:49 +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 8da2dd27da Enhance normals list display and update case state handling in views 2025-11-13 22:17:43 +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 5fb3c98941 add a normals feature 2025-11-13 21:54:25 +00:00
Ross 345977e2ef Add NormalCase model, views, filters, and templates for managing normal cases 2025-11-13 21:44:55 +00:00
Ross b12a45275c Enhance case search results display to include series modalities and examinations 2025-11-05 22:08:54 +00:00
Ross 22299b9298 Refactor case search functionality to include additional fields for improved search accuracy 2025-11-05 21:58:43 +00:00
Ross 06df2c4188 Enhance case search functionality to include additional fields and related names for improved search results 2025-11-05 21:54:28 +00:00
Ross 03a24615ab Add case search functionality with HTMX support and results partial 2025-11-05 21:37:57 +00:00
Ross 11cd044485 Add category filtering options to search functionality 2025-10-28 17:51:37 +00:00
Ross 945a6e5e86 Add category search functionality with results display 2025-10-28 17:40:52 +00:00
Ross 3daad1b83b Add Subspecialty autocomplete and filter to QuestionFilter 2025-10-20 16:17:07 +01:00
Ross 4986c2faa9 Add sync functionality for prerequisite users and enhance result display 2025-10-13 14:18:34 +01:00
Ross 2c30145d3a Add sync functionality for prerequisite users in collection detail 2025-10-13 14:14:17 +01:00
Ross eeef34bffc Add prerequisites handling to CaseCollection and implement user access checks 2025-10-13 13:46:01 +01:00
Ross a3712959ec Enhance form rendering with crispy forms and improve answer timestamp handling in collection views 2025-10-13 13:22:26 +01:00
Ross ed4bd95955 Refactor self-review display logic and enhance user answer feedback in collection templates; improve form serialization for timeout handling 2025-10-13 11:48:13 +01:00
Ross 32d8430f94 Add CID user support in collection history and reset answers functionality 2025-10-13 11:28:07 +01:00
Ross fa08f9cf76 Implement timed-out submission handling and AJAX response for collection case view 2025-10-13 10:32:25 +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 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 569ef760fa Refactor case detail retrieval into a separate function for improved readability and error handling 2025-10-06 11:32:44 +01:00