using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67be4df4af648e1040b83990",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.5,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67da23a6967e010d749752a0\",\"Direction\":\"Give HALF a tablet in the morning and ONE and a HALF tablets in the evening\",\"FoilId\":\"67da23a6967e010d749752a1\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"2025-06-21T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"OriginDrugId\":\"633aa512f65a8810882e576b\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"67be4df4af648e1040b83990\",\"SyncId\":\"f3af0560-b420-4d67-8635-eae08e9f51c9-6585\",\"SyncDate\":\"2025-03-19T01:53:42.107Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"FRISIUM 10mg TAB\",\"DrugCode\":\"FRI1\",\"Austr\":\"12400\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"B GL\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptlyS/Care - Driving & MedicationS/Care - Relaxation TechniquesS/Care - Sleeping Badly\",\"Direction\":\"\",\"GenericCode\":\"CL43\",\"GenericName\":\"CLOBAZAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"ImageId\":\"5f3a2db5a0ba5d7c50796aba\",\"ImageSmallSizeId\":\"68f598155a506b941b5c7abe\",\"ImageName\":\"12400-C01-01-BL600.jpg\",\"AltBrand\":\"FRISIUM, CLOBAZAM (PHARMACOR)\",\"DoNotCrush\":false,\"TradeName\":\"FRISIUM\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round B GL\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67be4df4af648e1040b83990\",\"Usage\":0,\"DrugFullName\":\"FRISIUM 10mg TAB\",\"MedicationFullDetails\":\"FRISIUM 10mg TAB - CLOBAZAM (FRI1)\",\"Id\":\"5f0e69e0a0ba5db368a14530\",\"CreatedDate\":\"2020-07-15T02:28:36.182Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:40:28.94Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"685696b208efed1290ce1a88\",\"CreatedDate\":\"2025-06-21T11:25:38.341Z\",\"CreatedUserName\":\"andrea\",\"CreatedUserId\":\"67ffc00b08efed039cb7b012\",\"LastUpdateUserId\":\"67ffbf24af648e0954507e14\",\"LastUpdateUserName\":\"vichara\",\"LastUpdateDate\":\"2026-05-02T05:34:21.8269974Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67da23a6967e010d749752a0",
"");