using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6732e65fa7ab9503640fafa5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e5e294a5419d95d2702a5b\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"69e5e2c2a5419d95d2704798\",\"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\":\"2026-04-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ZYPINE 5mg TAB\",\"DrugCode\":\"ZYPI4\",\"Austr\":\"154624\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"OZ 5\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Avoid excessive exposure to sunlight and sunlamps*May cause dizziness when standing up quickly\",\"Direction\":\"\",\"GenericCode\":\"OLAN9\",\"GenericName\":\"OLANZAPINE\",\"Presentation\":\"Used to treat the symptoms of psychotic conditions such as schizophrenia and bipolar disorder (manic depression) in adults and children who are at least 13 years old.\",\"ImageId\":\"5f3a2d7fa0ba5d7c50794bf0\",\"ImageSmallSizeId\":\"68f599095a506b941b5c8c21\",\"ImageName\":\"154624-C01-01-BL600.jpg\",\"AltBrand\":\"ZYPREXA, LANZEK, OLANZAPINE (APO), OLANZAPINE (CHEM MART), OLANZAPINE (DRLA), OLANZAPINE (GA), OLANZAPINE (GEN HLTH), OLANZAPINE (PS), OLANZAPINE (RBX), OLANZAPINE (SANDOZ), OLANZAPINE (TW), OZIN, ZYLAP, ZYPINE, OLANZAPINE (SYNTHON), OLANZAPINE (PHARMACOR), OLANZAPINE (STADA), OLANZAPINE (PCY CHOICE), OLANZAPINE (GH), OLANZAPINE (AN), OLANZACOR, PRYZEX, OLANZAPINE (APOTEX), OLANZAPINE (NOUMED)\",\"DoNotCrush\":false,\"TradeName\":\"ZYPINE\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white round OZ 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":5,\"DrugFullName\":\"ZYPINE 5mg TAB\",\"MedicationFullDetails\":\"ZYPINE 5mg TAB - OLANZAPINE (ZYPI4)\",\"Id\":\"5f0e69e0a0ba5db368a16a02\",\"CreatedDate\":\"2020-07-15T02:28:44.445Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"678e080108efed09dc264dfe\",\"LastUpdateDate\":\"2026-04-15T06:20:41.359Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5e2da21162426a367cc84\",\"CreatedDate\":\"2026-04-20T08:24:58.4158036Z\",\"CreatedUserName\":\"AlexisBP\",\"CreatedUserId\":\"678e080108efed09dc264dfe\",\"LastUpdateDate\":\"2026-04-20T08:24:58.4158036Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5e294a5419d95d2702a5b",
"");