using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"678f08dd08efed09dcf0ef4e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,2.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"678f20b6967e0108509b5401\",\"Direction\":\"2 in the evening and 1 tablet weekly when needed\",\"FoilId\":\"678f20b6967e0108509b5403\",\"FoilLabel\":\"Foil 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-02-21T04: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,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"678f08dd08efed09dcf0ef4e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"VALPAM 5 5mg TAB\",\"DrugCode\":\"VALP2\",\"Austr\":\"80811\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"yellow\",\"Shape\":\"round\",\"Marking\":\"DZ 5\",\"Warning\":\"This preparation is to aid sleep. Drowsiness may continue - if affected do not drive or operate machinery Avoid alcohol*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptlyHIC-Incr Qty/Rpts specific conditions\",\"Direction\":\"\",\"GenericCode\":\"DIZ2\",\"GenericName\":\"DIAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"ImageId\":\"5f3a2d77a0ba5d7c50794795\",\"ImageSmallSizeId\":\"68f598685a506b941b5c7f0b\",\"ImageName\":\"80811-C01-01-BL600.jpg\",\"AltBrand\":\"ANTENEX, DUCENE, VALIUM, VALPAM 5, DIAZEPAM (DP), DIAZEPAM (CHEM-MART), DIAZEPAM (TW), DIAZEPAM GENRX, VALPAM 5, RANZEPAM, DIAZEPAM (GA), DIAZEPAM (APO), DIAZEPAM (NOUMED), DIAZEPAM (APX), DIAZEPAM (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"VALPAM 5\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow round DZ 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"678f08dd08efed09dcf0ef4e\",\"Usage\":1,\"DrugFullName\":\"VALPAM 5 5mg TAB\",\"MedicationFullDetails\":\"VALPAM 5 5mg TAB - DIAZEPAM (VALP2)\",\"Id\":\"5f0e69e0a0ba5db368a158dc\",\"CreatedDate\":\"2020-07-15T02:28:40.771Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:35:24.329Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"699901b7d47f30a141fd0b16\",\"CreatedDate\":\"2026-02-21T00:52:07.351Z\",\"CreatedUserName\":\"AbbeyM\",\"CreatedUserId\":\"678f3587a7ab9502b49df080\",\"LastUpdateUserId\":\"678f3587a7ab9502b49df080\",\"LastUpdateUserName\":\"AbbeyM\",\"LastUpdateDate\":\"2026-04-23T06:09:55.1641602Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"678f20b6967e0108509b5401",
"");