using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67ae853d08efed117c7d211c",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6811e9a8a7ab951298f9fbf1\",\"Direction\":\"Take ONE tablet daily\",\"FoilId\":\"6811e9b008efed0de8990681\",\"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-21T04: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\":\"2026-02-25T06:28:55.337Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67ae853d08efed117c7d211c\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TIXOL 60 60mg EC-CAP\",\"DrugCode\":\"TIXO2\",\"Austr\":\"199265\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"EC-Capsule\",\"Color\":\"blue and green opaque\",\"Shape\":\"\",\"Marking\":\"A\",\"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\":\"636087dd6f6fd81ad4e2d973\",\"ImageSmallSizeId\":\"68f599775a506b941b5c91d4\",\"ImageName\":\"199265-C01-01-BL600.jpg\",\"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\",\"DoNotCrush\":true,\"TradeName\":\"TIXOL 60\",\"Formulation\":\"EC-CAP\",\"Strength\":\"60mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"blue and green opaque A\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67ae853d08efed117c7d211c\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":5,\"DrugFullName\":\"TIXOL 60 60mg EC-CAP\",\"MedicationFullDetails\":\"TIXOL 60 60mg EC-CAP - DULOXETINE (TIXO2)\",\"Id\":\"5f0e69e0a0ba5db368a174bb\",\"CreatedDate\":\"2020-07-15T02:28:46.761Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"67ae9eeaaf648e0c6002326e\",\"LastUpdateDate\":\"2025-10-13T06:45:23.716Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6811e9c3af648e08c03c2306\",\"CreatedDate\":\"2025-04-30T09:13:39.131Z\",\"CreatedUserName\":\"kylewelsbyBW\",\"CreatedUserId\":\"67ae9eeaaf648e0c6002326e\",\"LastUpdateUserId\":\"68f1dee21912af257cb5c656\",\"LastUpdateUserName\":\"AlexisBW\",\"LastUpdateDate\":\"2026-04-21T01:32:25.3480268Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6811e9a8a7ab951298f9fbf1",
"");