using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67d9ef0308efed0494a88adc",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.25,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69f01696c7141cb94f93457f\",\"Direction\":\"1/4 tablet daily\",\"FoilId\":\"69f016b9c7141cb94f93c3a3\",\"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\":\"2026-04-28T02: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:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67d9ef0308efed0494a88adc\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MYSOLINE 250mg TAB\",\"DrugCode\":\"MYS9\",\"Austr\":\"11231\",\"Supplier\":\"LINK MEDICAL PRODUCTS PTY\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"M M\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Do NOT stop taking this medication abruptlySpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"PR44\",\"GenericName\":\"PRIMIDONE\",\"Presentation\":\"Used either alone or with other seizure medicines to control generalized tonic-clonic and partial seizures. Also used to treat myoclonic seizures and other seizure types in people with juvenile myoclonic epilepsy.\",\"ImageId\":\"5f3a2f1da0ba5d7c5079736a\",\"ImageSmallSizeId\":\"68f5981f5a506b941b5c7b43\",\"ImageName\":\"11231-C01-01-BL600.jpg\",\"AltBrand\":\"MYSOLINE, MYSOLINE\",\"DoNotCrush\":true,\"TradeName\":\"MYSOLINE\",\"Formulation\":\"TAB\",\"Strength\":\"250mg\",\"Schedule\":\"4\",\"PackSize\":200,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round M M\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67d9ef0308efed0494a88adc\",\"Usage\":1,\"DrugFullName\":\"MYSOLINE 250mg TAB\",\"MedicationFullDetails\":\"MYSOLINE 250mg TAB - PRIMIDONE (MYS9)\",\"Id\":\"5f0e69e0a0ba5db368a14884\",\"CreatedDate\":\"2020-07-15T02:28:36.983Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:45:37.208Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f017bf754399b5001ba412\",\"CreatedDate\":\"2026-04-28T02:13:19.162Z\",\"CreatedUserName\":\"JMorfoot\",\"CreatedUserId\":\"67e0a61f08efed133445a9e8\",\"LastUpdateUserId\":\"67e0a61f08efed133445a9e8\",\"LastUpdateUserName\":\"JMorfoot\",\"LastUpdateDate\":\"2026-04-28T02:14:29.0218792Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f01696c7141cb94f93457f",
"");