using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65f10adaa5ab8f00645494a8",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,2.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"682bf701af648e081cb729b6\",\"Direction\":\"2 at night\",\"FoilId\":\"682bf71aa7ab950b5c81cd35\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2025-05-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"65f10adaa5ab8f00645494a8\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"QUILONUM 450mg SR-TAB\",\"DrugCode\":\"QUIL1\",\"Austr\":\"53377\",\"Supplier\":\"ASPEN PHARMACARE AUSTRALI\",\"Type\":\"SR-Tablet\",\"Color\":\"white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsswallowed wholewith or soon after food.*Ask your pharmacist about the storage conditions for this medicineSpecial handling and disposal required - ask your PharmacistNarrow therapeutic index.Monitor for signs of toxicity.\",\"Direction\":\"\",\"GenericCode\":\"LITH3\",\"GenericName\":\"LITHIUM CARB\",\"Presentation\":\"Used primarily for bipolar disorder.Sometimes used when other treatments are not effective in a number of other conditions including: major depression, schizophrenia. In mood disorders, it decreases the risk of suicide.\",\"ImageId\":\"636082ed6f6fd84664477eca\",\"ImageSmallSizeId\":\"68f5984b5a506b941b5c7da2\",\"ImageName\":\"53377-C01-01-BL600.jpg\",\"AltBrand\":\"QUILONUM\",\"DoNotCrush\":true,\"TradeName\":\"QUILONUM\",\"Formulation\":\"SR-TAB\",\"Strength\":\"450mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white capsule-shaped\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"65f10adaa5ab8f00645494a8\",\"Usage\":6,\"DrugFullName\":\"QUILONUM 450mg SR-TAB\",\"MedicationFullDetails\":\"QUILONUM 450mg SR-TAB - LITHIUM CARB (QUIL1)\",\"Id\":\"5f0e69e0a0ba5db368a15429\",\"CreatedDate\":\"2020-07-15T02:28:39.676Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:07:14.316Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"682bf745a7ab950b5c825e39\",\"CreatedDate\":\"2025-05-20T03:30:13.336Z\",\"CreatedUserName\":\"mina\",\"CreatedUserId\":\"65f2476fa5ab8f09e49a815f\",\"LastUpdateUserId\":\"68a7acf2d90ccfec0c3f4ce7\",\"LastUpdateUserName\":\"tiana\",\"LastUpdateDate\":\"2026-04-20T02:18:32.6718342Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"682bf701af648e081cb729b6",
"");