using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6682282a8222d302886f998f",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e730db14702a057055d343\",\"Direction\":\"Take ONE tablet at NIGHT as directed by your doctor.\",\"FoilId\":\"69e730db14702a057055d35d\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-24T02:05:15Z\",\"ScriptNum\":\"60224136\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"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\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"tablet\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TEMAZEPAM (APO) 10mg TAB\",\"DrugCode\":\"APOT4\",\"Austr\":\"153123\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"orange\",\"Shape\":\"round\",\"Marking\":\"S\",\"Warning\":\"This preparation is to aid sleep. Drowsiness may continue - if affected do not drive or operate machinery Avoid alcohol*Do NOT stop taking this medication abruptly*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.S/Care - Driving & MedicationS/Care - Relaxation TechniquesS/Care - Sleeping Badly\",\"Direction\":\"\",\"GenericCode\":\"TEM10\",\"GenericName\":\"TEMAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"ImageId\":\"5f3a2dbea0ba5d7c50796d91\",\"ImageSmallSizeId\":\"68f598c75a506b941b5c839d\",\"ImageName\":\"153123-C01-01-BL600.jpg\",\"AltBrand\":\"NORMISON, TEMTABS, TEMAZE, TEMAZEPAM (APO), TEMAZEPAM (WGR), TEMAZE\",\"DoNotCrush\":false,\"TradeName\":\"TEMAZEPAM (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4N\",\"PackSize\":25,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"orange round S\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"Usage\":6,\"DrugFullName\":\"TEMAZEPAM (APO) 10mg TAB\",\"MedicationFullDetails\":\"TEMAZEPAM (APO) 10mg TAB - TEMAZEPAM (APOT4)\",\"Id\":\"5f0e69e0a0ba5db368a16360\",\"CreatedDate\":\"2020-07-15T02:28:43.001Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:13:54.443Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e730dc14702a057055d396\",\"CreatedDate\":\"2026-04-21T08:10:04.853Z\",\"CreatedUserId\":\"668f75b35ac25f0ee077a9b2\",\"LastUpdateUserId\":\"668f75b35ac25f0ee077a9b2\",\"LastUpdateUserName\":\"sa00\",\"LastUpdateDate\":\"2026-04-21T08:25:34.9116407Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e730db14702a057055d343",
"");