using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a26a3ccd0117d4979308a0",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68c3a69f665330705d71d544\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"68c3a69f665330705d71d59c\",\"FoilLabel\":\"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-05-07T02: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\":\"5f0e69e0a0ba5db368a165f2\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68a26a3ccd0117d4979308a0\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SPREN 100 100mg TAB\",\"DrugCode\":\"AS20\",\"Austr\":\"178592\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"with or soon after food.*Ask your pharmacist about the storage conditions for this medicine*SOME CODES PBS RESTRICTED TOABORIGINAL & TORRES STRT ONLY\",\"Direction\":\"\",\"GenericCode\":\"ASPI6\",\"GenericName\":\"ASPIRIN\",\"Presentation\":\"Used to reduce fever, pain and inflammation.Nonsteroidal anti-inflammatory drugs.\",\"ImageId\":\"695da0cccc42104abb22f39a\",\"ImageSmallSizeId\":\"695da0d3f161f987ad025640\",\"AltBrand\":\"ASTRIX, ASPIRIN (DBL), ASPIRIN (MAYNE PHARMA), SPREN 100\",\"DoNotCrush\":false,\"TradeName\":\"SPREN 100\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"2\",\"PackSize\":112,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"White Round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68a26a3ccd0117d4979308a0\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ImageId\\":null,\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":1,\"DrugFullName\":\"SPREN 100 100mg TAB\",\"UpdateImageUserId\":\"693a7659f760a74219811bdb\",\"MedicationFullDetails\":\"SPREN 100 100mg TAB - ASPIRIN (AS20)\",\"Id\":\"5f0e69e0a0ba5db368a16b33\",\"CreatedDate\":\"2020-07-15T02:28:44.702Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"693a7659f760a74219811bdb\",\"LastUpdateDate\":\"2026-01-06T23:54:59.298Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68eb338d6d6e3b90ec706818\",\"CreatedDate\":\"2025-10-12T04:50:21.597Z\",\"CreatedUserName\":\"borisreztsov\",\"CreatedUserId\":\"68a2a9fc1145382eb5723499\",\"LastUpdateUserId\":\"695c5cda643203bdc88925b4\",\"LastUpdateUserName\":\"LeahKotara\",\"LastUpdateDate\":\"2026-04-29T05:05:33.4025615Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68c3a69f665330705d71d544",
"");