care.emr.api.otp_viewsets.patient module¶
- class PatientOTPView(**kwargs)¶
Bases:
EMRCreateMixin,EMRListMixin,EMRBaseViewSet- authentication_classes = [<class 'config.patient_otp_authentication.JWTTokenPatientAuthentication'>]¶
- permission_classes = [<class 'config.patient_otp_authentication.OTPAuthenticatedPermission'>]¶
- pydantic_model¶
alias of
PatientOTPWriteSpec
- pydantic_read_model¶
alias of
PatientOTPReadSpec
- perform_create(instance)¶
- get_queryset()¶