using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6822d1e908efed0d9087314c",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"\",\"Dose\":[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"682ec3382e39a30f1408becd\",\"Direction\":\"1 DAILY\",\"FoilId\":\"682ec3382e39a30f1408bece\",\"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\":\"2024-10-01T00:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6822d1e908efed0d9087314c\",\"SyncId\":\"2af033fc-19ca-4f32-81a3-682f7f58bd98-2690\",\"SyncDate\":\"2025-05-22T06:24:56.085Z\",\"IsSyncImported\":true,\"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.\",\"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\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6822d1e908efed0d9087314c\",\"Usage\":20,\"DrugFullName\":\"SPREN 100 100mg TAB\",\"MedicationFullDetails\":\"SPREN 100 100mg TAB - ASPIRIN (AS20)\",\"Id\":\"5f0e69e0a0ba5db368a16b33\",\"CreatedDate\":\"2020-07-15T02:28:44.702Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:17:48.066Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"682ec3382e39a30f1408bed3\",\"CreatedDate\":\"2025-05-22T06:24:56.085Z\",\"LastUpdateUserId\":\"693fb2d7271231ca7bc33c27\",\"LastUpdateUserName\":\"vic\",\"LastUpdateDate\":\"2026-04-20T02:02:30.2379145Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"682ec3382e39a30f1408becd",
"");