using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6682282a8222d302886f998f",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"B'fast 1\",\"B'fast 2\",\"Noon\",\"Bedtime\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6685eca0d8c5020c58e4aa1a\",\"Direction\":\"Take 1 tablet in the MORNING\",\"FoilId\":\"6685eca0d8c5020c58e4aa1b\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-23T07:15:11.4698666Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-23T07:15:11.4698666Z\",\"TempSubstitution\":false,\"Note\":\"USE PATIENT MEDS FIRST (NON FRIDGE IN 'F' box)\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"SyncId\":\"e3a42010-2b7f-415d-b8c2-fc095c38f9ea-1972\",\"SyncDate\":\"2024-07-04T00:28:16.76Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"FLORINEF 100mcg TAB\",\"DrugCode\":\"FLOR1\",\"Austr\":\"54688\",\"Supplier\":\"ASPEN PHARMACARE AUSTRALI\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"**REFRIGERATE DO NOT FREEZE***Do NOT stop taking this medication abruptlywith or soon after food.S/Care - Wise Use of Medicine\",\"Direction\":\"\",\"GenericCode\":\"FL46\",\"GenericName\":\"FLUDROCORTISONE\",\"Presentation\":\"Used to treat rheumatoid arthritis, lupus, asthma, allergies and many other conditions.\",\"AltBrand\":\"FLORINEF, FLUDROCORTISONE (MEDSURGE)\",\"DoNotCrush\":false,\"TradeName\":\"FLORINEF\",\"Formulation\":\"TAB\",\"Strength\":\"100mcg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"Usage\":6,\"DrugFullName\":\"FLORINEF 100mcg TAB\",\"MedicationFullDetails\":\"FLORINEF 100mcg TAB - FLUDROCORTISONE (FLOR1)\",\"Id\":\"5f0e69e0a0ba5db368a144fc\",\"CreatedDate\":\"2020-07-15T02:28:36.135Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:05:46.051Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6685eca0d8c5020c58e4aa22\",\"CreatedDate\":\"2024-07-04T00:28:16.76Z\",\"LastUpdateUserId\":\"668f75b35ac25f0ee077a9b2\",\"LastUpdateDate\":\"2026-04-23T07:15:11.4698666Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6685eca0d8c5020c58e4aa1a",
"");