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.
This commit is contained in:
@@ -164,11 +164,26 @@ urlpatterns = [
|
||||
views.collection_history_user,
|
||||
name="collection_history_user",
|
||||
),
|
||||
path(
|
||||
"collection/<int:exam_id>/messages/<int:user_pk>/user",
|
||||
views.collection_user_messages,
|
||||
name="collection_user_messages",
|
||||
),
|
||||
path(
|
||||
"collection/<int:exam_id>/history/<int:cid>/ciduser",
|
||||
views.collection_history_ciduser,
|
||||
name="collection_history_ciduser",
|
||||
),
|
||||
path(
|
||||
"collection/<int:exam_id>/messages/<int:cid>/ciduser",
|
||||
views.collection_cid_messages,
|
||||
name="collection_cid_messages",
|
||||
),
|
||||
path(
|
||||
"collection/<int:exam_id>/attempt/<int:cid_user_exam_id>/case/<int:case_id>/review-thread",
|
||||
views.collection_case_review_thread,
|
||||
name="collection_case_review_thread",
|
||||
),
|
||||
|
||||
path(
|
||||
"collection/<int:pk>/user_status",
|
||||
@@ -335,11 +350,21 @@ urlpatterns = [
|
||||
views.collection_take_overview,
|
||||
name="collection_take_overview",
|
||||
),
|
||||
path(
|
||||
"collection/<int:pk>/feedback/<int:cid>/<str:passcode>",
|
||||
views.collection_feedback_overview,
|
||||
name="collection_feedback_overview",
|
||||
),
|
||||
path(
|
||||
"collection/<int:pk>/take_overview",
|
||||
views.collection_take_overview_user,
|
||||
name="collection_take_overview_user",
|
||||
),
|
||||
path(
|
||||
"collection/<int:pk>/feedback",
|
||||
views.collection_feedback_overview_user,
|
||||
name="collection_feedback_overview_user",
|
||||
),
|
||||
path(
|
||||
"collection/<int:pk>/<int:case_number>",
|
||||
views.collection_case_view,
|
||||
|
||||
Reference in New Issue
Block a user