using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"692d0ca49c026d17a0f79be7",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e70d68b02e12b387a52c19\",\"Direction\":\"TWO daily\",\"FoilId\":\"69e70d68b02e12b387a52c22\",\"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-21T02: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\":\"692d0ca49c026d17a0f79be7\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DULOXETINE (SANDOZ) 60mg EC-CAP\",\"DrugCode\":\"DULO25\",\"Austr\":\"421530\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"EC-Capsule\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"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 abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"DULO2\",\"GenericName\":\"DULOXETINE\",\"Presentation\":\"\",\"ImageId\":\"69a7779c8f39ab4116d6c5bd\",\"ImageSmallSizeId\":\"69a777bcc93e03ee1f729a18\",\"AltBrand\":\"CYMBALTA, ANDEPRA, DULOXETINE (APO), DULOXETINE (CHEM-MART), DULOXETINE (TW), DRULOX, DULOXETINE (DRLA), COPERIN, DULOXETINE (GH), DEOTINE 60, DULOXETINE (RBX), DULOXETINE (AN), DULOXETINE (PHARMACOR), DEPRETA, DULOXETINE (SZ), TIXOL 60, DYTREX, DULOXETINE 60 (SANDOZ), DULOXETINE (SANDOZ), DULOXECOR, DULOXETINE (BLOOMS)\",\"DoNotCrush\":true,\"TradeName\":\"DULOXETINE (SANDOZ)\",\"Formulation\":\"EC-CAP\",\"Strength\":\"60mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"Blue Green 158 A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"692d0ca49c026d17a0f79be7\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ImageId\\":null,\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":6,\"DrugFullName\":\"DULOXETINE (SANDOZ) 60mg EC-CAP\",\"UpdateImageUserId\":\"692e6aca172698ed2e694475\",\"MedicationFullDetails\":\"DULOXETINE (SANDOZ) 60mg EC-CAP - DULOXETINE (DULO25)\",\"Id\":\"5f0e69e0a0ba5db368a17932\",\"CreatedDate\":\"2020-07-15T02:28:47.727Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"692e6aca172698ed2e694475\",\"LastUpdateDate\":\"2026-03-04T00:07:24.905Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e70f5fd23a7898104a1cbe\",\"CreatedDate\":\"2026-04-21T05:47:11.2052775Z\",\"CreatedUserName\":\"urangan\",\"CreatedUserId\":\"692e6aca172698ed2e694475\",\"LastUpdateDate\":\"2026-04-21T05:47:11.2052775Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e70d68b02e12b387a52c19",
"");