""" URL configuration for patients app. """ from django.urls import path from . import views app_name = 'patients' urlpatterns = [ # Main views path('', views.PatientListView.as_view(), name='patient_list'), path('patientprofile//details/', views.PatientDetailView.as_view(), name='patient_detail'), path('register/', views.PatientCreateView.as_view(), name='patient_registration'), path('update//', views.PatientUpdateView.as_view(), name='patient_update'), path('delete//', views.PatientDeleteView.as_view(), name='patient_delete'), path('consents/', views.ConsentManagementView.as_view(), name='consent_management'), path('consent//', views.ConsentFormDetailView.as_view(), name='consent_management_detail'), path('emergency-contacts/', views.EmergencyContactListView.as_view(), name='emergency_contact_list'), path('emergency-contact//', views.EmergencyContactDetailView.as_view(), name='emergency_contact_detail'), path('emergency-contacts/delete//', views.EmergencyContactDeleteView.as_view(), name='emergency_contact_delete'), path('emergency-contacts/update//', views.EmergencyContactUpdateView.as_view(), name='emergency_contact_update'), path('/emergency-contacts/create/', views.EmergencyContactCreateView.as_view(), name='emergency_contact_create'), path('insurance-info/', views.InsuranceInfoListView.as_view(), name='insurance_list'), path('insurance-info//', views.InsuranceInfoDetailView.as_view(), name='insurance_detail'), path('insurance-info/delete//', views.InsuranceInfoDeleteView.as_view(), name='insurance_delete'), path('insurance-info/update//', views.InsuranceInfoUpdateView.as_view(), name='insurance_update'), path('insurance-info/create//', views.InsuranceInfoCreateView.as_view(), name='insurance_create'), path('notes/', views.PatientNoteListView.as_view(), name='patient_notes'), path('notes//', views.PatientNoteDetailView.as_view(), name='patient_note_detail'), # path('notes/delete//', views.PatientNoteDeleteView.as_view(), name='patient_note_delete'), # path('notes/update//', views.PatientNoteUpdateView.as_view(), name='patient_note_update'), path('notes/create//', views.PatientNoteCreateView.as_view(), name='patient_note_create'), # path('sign-consent//', views.sign_consent_form, name='sign_consent_form'), # HTMX views path('patient-search/', views.patient_search, name='patient_search'), path('patient-stats/', views.patient_stats, name='patient_stats'), path('/emergency-contacts/', views.emergency_contacts_list, name='emergency_contacts_list_api'), path('insurance-info-list//', views.insurance_info_list, name='insurance_info_list'), path('consent-forms//', views.consent_forms_list, name='consent_forms_list'), path('consent-forms/detail//', views.ConsentFormDetailView.as_view(), name='consent_form_detail'), path('consent-forms/update//', views.ConsentFormUpdateView.as_view(), name='consent_form_update'), path('patient-notes//', views.patient_notes_list, name='patient_notes_list'), path('add-patient-note//', views.add_patient_note, name='add_patient_note'), path('sign-consent//', views.sign_consent_form, name='sign_consent_form'), path('appointments//', views.patient_appointment_list, name='patient_appointments'), path('patient-info//', views.get_patient_info, name='get_patient_info'), path('verify-insurance//', views.verify_insurance, name='verify_insurance'), path('check-eligibility//', views.check_eligibility, name='check_eligibility'), path('renew-insurance//', views.renew_insurance, name='renew_insurance'), path('bulk-renew-insurance/', views.bulk_renew_insurance, name='bulk_renew_insurance'), path('insurance-claims-history//', views.insurance_claims_history, name='insurance_claims_history'), path('check-primary-insurance/', views.check_primary_insurance, name='check_primary_insurance'), path('validate-policy-number/', views.validate_policy_number, name='validate_policy_number'), path('save-insurance-draft/', views.save_insurance_draft, name='save_insurance_draft'), path('verify-with-provider/', views.verify_with_provider, name='verify_with_provider'), # Insurance Claims URLs path('claims/', views.insurance_claims_list, name='insurance_claims_list'), path('claims/dashboard/', views.claims_dashboard, name='claims_dashboard'), path('claims/new/', views.insurance_claim_form, name='insurance_claim_create'), path('claims//', views.insurance_claim_detail, name='insurance_claim_detail'), path('claims//edit/', views.insurance_claim_form, name='insurance_claim_edit'), path('claims//delete/', views.insurance_claim_delete, name='insurance_claim_delete'), path('claims//update-status/', views.update_claim_status, name='update_claim_status'), path('claims/bulk-actions/', views.bulk_claim_actions, name='bulk_claim_actions'), path('patient//insurance/', views.get_patient_insurance, name='get_patient_insurance'), ]