prescription.dart 892 B

1234567891011121314151617181920212223242526272829303132333435
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. abstract class IPrescriptionManager {
  3. Future<String?> createPrescription({
  4. required String patientCode,
  5. required String prescriptionKey,
  6. String? physicalExamNumber,
  7. String? followUpCode,
  8. String? prescriptionData,
  9. });
  10. Future<PrescriptionDTO?> getPrescriptionDetailByFollowAnPatient({
  11. required String patientCode,
  12. String? followUpCode,
  13. });
  14. Future<List<PrescriptionDTO>?> getPrescriptionPage({
  15. required String patientCode,
  16. String? physicalExamNumber,
  17. String? followUpCode,
  18. });
  19. Future<bool?> updatePrescription({
  20. required String patientCode,
  21. required String prescriptionKey,
  22. required String prescriptionCode,
  23. String? physicalExamNumber,
  24. String? followUpCode,
  25. String? prescriptionData,
  26. });
  27. Future<bool?> removePrescription({
  28. required String prescriptionCode,
  29. });
  30. }