from django.urls import path
from . import views
from django.conf.urls import url
from users.views import FacilityDetail

urlpatterns = [

    path('pharmacists/create', views.PharmacistCreate.as_view(),
         name=views.PharmacistCreate.name),
    path('pharmacists/', views.PharmacistList.as_view(),
         name=views.PharmacistList.name),
    path('pharmacists/list', views.PharmacistList.as_view(),
         name=views.PharmacistList.name),

    path('pharmacists/<uuid:pk>', views.PharmacistDetail.as_view(),
         name=views.PharmacistDetail.name),

    path('pharmacists/<uuid:pk>/photos', views.PharmacistPhotoList.as_view(),
         name=views.PharmacistPhotoList.name),
    path('pharmacist-photos', views.PharmacistPhotoDetail.as_view(),
         name=views.PharmacistPhotoDetail.name),

    path('couriers/create', views.CourierCreate.as_view(),
         name=views.CourierCreate.name),
    path('couriers', views.CourierList.as_view(),
         name=views.CourierList.name),
    path('couriers/<uuid:pk>', views.CourierDetail.as_view(),
         name=views.CourierDetail.name),

    path('couriers/<uuid:pk>/photos', views.CourierPhotoList.as_view(),
         name=views.CourierPhotoList.name),
    path('courier-photos/<uuid:pk>', views.CourierPhotoDetail.as_view(),
         name=views.CourierPhotoDetail.name),


    path('prescribers/create', views.PrescriberCreate.as_view(),
         name=views.PrescriberCreate.name),
    path('prescribers', views.PrescriberList.as_view(),
         name=views.PrescriberList.name),
    path('prescribers/<uuid:pk>', views.PrescriberDetail.as_view(),
         name=views.PrescriberDetail.name),
    path('prescribers/<uuid:pk>/photos', views.PrescriberPhotoList.as_view(),
         name=views.PrescriberPhotoList.name),
    path('prescriber-photos/<uuid:pk>', views.PrescriberPhotoDetail.as_view(),
         name=views.PrescriberPhotoDetail.name),




    path('pharmacists/<uuid:pk>/recruit', views.FacilityPharmacistCreate.as_view(),
         name=views.FacilityPharmacistCreate.name),
    path('facility-pharmacists/', views.FacilityPharmacistList.as_view(),
         name=views.FacilityPharmacistList.name),
    path('facility-pharmacists/<uuid:pk>', views.FacilityPharmacistDetail.as_view(),
         name=views.FacilityPharmacistDetail.name),

    path('facility-pharmacists/<uuid:pk>/', views.FacilityPharmacistUpdate.as_view(),
         name=views.FacilityPharmacistUpdate.name),


    path('prescribers/<uuid:pk>/recruit', views.FacilityPrescriberCreate.as_view(),
         name=views.FacilityPrescriberCreate.name),
    path('facility-prescribers/', views.FacilityPrescriberList.as_view(),
         name=views.FacilityPrescriberList.name),
    path('facility-prescribers/<uuid:pk>', views.FacilityPrescriberDetail.as_view(),
         name=views.FacilityPrescriberDetail.name),

    path('facility-prescribers/<uuid:pk>/', views.FacilityPrescriberUpdate.as_view(),
         name=views.FacilityPrescriberUpdate.name),

    path('couriers/<uuid:pk>/recruit', views.FacilityCourierCreate.as_view(),
         name=views.FacilityCourierCreate.name),
    path('facility-couriers/', views.FacilityCourierList.as_view(),
         name=views.FacilityCourierList.name),
    path('facility-couriers/<uuid:pk>', views.FacilityCourierDetail.as_view(),
         name=views.FacilityCourierDetail.name),

    path('facility-couriers/<uuid:pk>/', views.FacilityCourierUpdate.as_view(),
         name=views.FacilityCourierUpdate.name),


]
