using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6840d2a408efed0f0c610cb4",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,2.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"684a6b482e39a313a08b3196\",\"Direction\":\"2 night\",\"FoilId\":\"684a6b482e39a313a08b3197\",\"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\":\"2025-10-28T02: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\":\"Spoke to Dr Ramon, would like to trial 1 nocte for now until further notice\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6840d2a408efed0f0c610cb4\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"GABAPENTIN (APX) 100mg CAP\",\"DrugCode\":\"GABA60\",\"Austr\":\"335737\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Capsule\",\"Color\":\"white\",\"Shape\":\"\",\"Marking\":\"G100\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Do NOT stop taking this medication abruptlyPcy Board Warn: Similar Names\",\"Direction\":\"\",\"GenericCode\":\"GABA2\",\"GenericName\":\"GABAPENTIN\",\"Presentation\":\"\",\"AltBrand\":\"NEURONTIN, GANTIN, NUPENTIN, GABAPENTIN (DBL), GABATINE 100, GABAPENTIN (APO), GABAPENTIN (PFIZER), GABAPENTIN (ASPEN), GABACOR, GAPENTIN, GABAPENTIN (APOTEX), GABAPENTIN (APX)\",\"DoNotCrush\":false,\"TradeName\":\"GABAPENTIN (APX)\",\"Formulation\":\"CAP\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6840d2a408efed0f0c610cb4\",\"Usage\":1,\"DrugFullName\":\"GABAPENTIN (APX) 100mg CAP\",\"MedicationFullDetails\":\"GABAPENTIN (APX) 100mg CAP - GABAPENTIN (GABA60)\",\"Id\":\"6102d2a4a6b66b27b8110318\",\"CreatedDate\":\"2021-07-29T16:09:08.061Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:44:05.882Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"690006e3843ed1983012ce7e\",\"CreatedDate\":\"2025-10-27T23:57:23.218Z\",\"CreatedUserName\":\"chau\",\"CreatedUserId\":\"6840f90da7ab95045cbe6ee6\",\"LastUpdateUserId\":\"6840f90da7ab95045cbe6ee6\",\"LastUpdateUserName\":\"chau\",\"LastUpdateDate\":\"2026-04-21T01:32:49.0659853Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"684a6b482e39a313a08b3196",
"");