using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"692cd9e69c026d17a037230b",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"695deb34f161f987ad1bed72\",\"Direction\":\"Take ONE in the evening\",\"FoilId\":\"695dec5fcc42104abb3f3afa\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-22T05:46:45.0010312Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T05:46:45.0010312Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"692cd9e69c026d17a037230b\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"GRISOVIN 500mg TAB\",\"DrugCode\":\"GRI4\",\"Austr\":\"157849\",\"Supplier\":\"ASPEN PHARMACARE AUSTRALI\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"GRISOVIN 500\",\"Warning\":\"*Do not take alcohol while being treated with this medicine**Avoid excessive exposure to sunlight and sunlamps*May affect alertness and/or co-ordination. If affected, do not drive or operate machinerywith or soon after food.Take for the number of days advised by your prescriber.S/Care - Driving & Medication\",\"Direction\":\"\",\"GenericCode\":\"GRI2\",\"GenericName\":\"GRISEOFULVIN\",\"Presentation\":\"Used to treat skin infections such as jock itch, athlete's foot, and ringworm; and fungal infections of the scalp, fingernails, and toenails.\",\"ImageId\":\"5f3a2f22a0ba5d7c507975e5\",\"ImageSmallSizeId\":\"68f598155a506b941b5c7ac5\",\"ImageName\":\"12510-C01-01-BL600.jpg\",\"AltBrand\":\"FULCIN, GRISOVIN\",\"DoNotCrush\":false,\"TradeName\":\"GRISOVIN\",\"Formulation\":\"TAB\",\"Strength\":\"500mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"692cd9e69c026d17a037230b\",\"Usage\":0,\"DrugFullName\":\"GRISOVIN 500mg TAB\",\"MedicationFullDetails\":\"GRISOVIN 500mg TAB - GRISEOFULVIN (GRI4)\",\"Id\":\"5f0e69e0a0ba5db368a1459b\",\"CreatedDate\":\"2020-07-15T02:28:36.253Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:00.852Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"695decf0f161f987ad2348f9\",\"CreatedDate\":\"2026-01-07T05:19:44.82Z\",\"CreatedUserName\":\"srahavi\",\"CreatedUserId\":\"6943713c0a78496fc7075cf8\",\"LastUpdateUserId\":\"692cdd5e9c026d17a0436988\",\"LastUpdateDate\":\"2026-04-22T05:46:45.0010312Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"695deb34f161f987ad1bed72",
"");