using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"645334def65a88089ce58676",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"64c74549f65a880a84d28a6c\",\"Direction\":\"1.5 WEEKLY (ON SATURDAY)\",\"FoilId\":\"64c74549f65a880a84d28a7b\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2023-02-02T01:16:20Z\",\"ScriptNum\":\"2441540\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2023-07-31T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,false,false,false,false,false,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"1.5 WEEKLY (SATURDAY ONLY)\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"METHOBLASTIN 10mg TAB\",\"DrugCode\":\"ME88\",\"Austr\":\"15417\",\"Supplier\":\"PFIZER AUSTRALIA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pale yellow\",\"Shape\":\"capsule-shaped\",\"Marking\":\"M 10\",\"Warning\":\"*Do not exceed one Aspirin tablet or capsule per day*Avoid excessive exposure to sunlight and sunlampsTake once a week, on the same daySpecial handling and disposal required - ask your Pharmacist*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"MTX6\",\"GenericName\":\"METHOTREXATE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d8da0ba5d7c50795456\",\"ImageSmallSizeId\":\"68f5981c5a506b941b5c7b1f\",\"ImageName\":\"15417-C01-02-BL600.jpg\",\"AltBrand\":\"METHOBLASTIN, CHEXATE, METHOTREXATE (ARX), METHOBLASTIN\",\"DoNotCrush\":true,\"TradeName\":\"METHOBLASTIN\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":true,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale yellow capsule-shaped M 10\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"Usage\":2,\"DrugFullName\":\"METHOBLASTIN 10mg TAB\",\"MedicationFullDetails\":\"METHOBLASTIN 10mg TAB - METHOTREXATE (ME88)\",\"Id\":\"5f0e69e0a0ba5db368a147c5\",\"CreatedDate\":\"2020-07-15T02:28:36.842Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T14:53:36.2Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"64c74549f65a880a84d28a85\",\"CreatedDate\":\"2023-07-31T05:22:43.783Z\",\"CreatedUserId\":\"645334def65a88089ce5868f\",\"LastUpdateUserId\":\"64546ef2f65a8808c4c390a0\",\"LastUpdateUserName\":\"Thomas\",\"LastUpdateDate\":\"2026-04-26T16:40:02.5878162Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"64c74549f65a880a84d28a6c",
"");