agdar/documents/urls.py
2025-11-02 14:35:35 +03:00

23 lines
1.0 KiB
Python

from django.urls import path
from . import views
app_name = 'documents'
urlpatterns = [
# Template URLs
path('templates/', views.template_list, name='template-list'),
path('templates/create/', views.template_create, name='template-create'),
path('templates/<int:pk>/', views.template_detail, name='template-detail'),
path('templates/<int:pk>/update/', views.template_update, name='template-update'),
path('templates/<int:pk>/delete/', views.template_delete, name='template-delete'),
# Clinical Note URLs
path('notes/', views.note_list, name='note-list'),
path('notes/create/', views.note_create, name='note-create'),
path('notes/<int:pk>/', views.note_detail, name='note-detail'),
path('notes/<int:pk>/update/', views.note_update, name='note-update'),
path('notes/<int:pk>/finalize/', views.note_finalize, name='note-finalize'),
path('notes/<int:pk>/addendum/', views.note_addendum, name='note-addendum'),
path('notes/<int:pk>/audit/', views.note_audit, name='note-audit'),
]