using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67ce1885a7ab9507580363b1",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e9e75126359e3854dc9000\",\"Direction\":\"Take 1 tablet twice daily\",\"FoilId\":\"69e9e9a9747aca488ff61aab\",\"FoilLabel\":\"Blister Pack 3\",\"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-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67ce1885a7ab9507580363b1\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"INTUNIV 1mg MR-TAB\",\"DrugCode\":\"INTU1\",\"Austr\":\"275278\",\"Supplier\":\"TAKEDA PHARMACEUTICALS AU\",\"Type\":\"MR-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*May cause dizziness when standing up quickly*Do NOT stop taking this medication abruptly*Avoid eating grapefruit or drinking grapefruit juice while being treated with this medicine*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed wholeNOT approved for use under 6 years old*Avoid combination with St John's Wort\",\"Direction\":\"\",\"GenericCode\":\"GUAF1\",\"GenericName\":\"GUANFACINE\",\"Presentation\":\"\",\"ImageId\":\"6360558bf65a8812b88890df\",\"ImageSmallSizeId\":\"68f599935a506b941b5c9333\",\"ImageName\":\"275278-C01-01-BL600.jpg\",\"AltBrand\":\"INTUNIV\",\"DoNotCrush\":true,\"TradeName\":\"INTUNIV\",\"Formulation\":\"MR-TAB\",\"Strength\":\"1mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":1,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white to off-white round 503\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67ce1885a7ab9507580363b1\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":3,\"DrugFullName\":\"INTUNIV 1mg MR-TAB\",\"MedicationFullDetails\":\"INTUNIV 1mg MR-TAB - GUANFACINE (INTU1)\",\"Id\":\"5f0e69e0a0ba5db368a177f4\",\"CreatedDate\":\"2020-07-15T02:28:47.477Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"67ce293608efed0e1ce16e06\",\"LastUpdateDate\":\"2025-08-24T05:33:22.072Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9e9fc2a33413720d9184a\",\"CreatedDate\":\"2026-04-23T09:44:28.1240446Z\",\"CreatedUserName\":\"ttt\",\"CreatedUserId\":\"698e5956e940a419da6d3836\",\"LastUpdateDate\":\"2026-04-23T09:44:28.1240446Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e9e75126359e3854dc9000",
"");