using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"687444deb9160169ef93ca2c",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.0,0.5,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6889bbf2066b97f21690e42d\",\"Direction\":\"0.5 po TWICE A DAY\",\"FoilId\":\"6889bbf2066b97f21690e42e\",\"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\":\"2026-04-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"687444deb9160169ef93ca2c\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"QUETIAPINE (APOTEX) 25mg TAB\",\"DrugCode\":\"QUET91\",\"Austr\":\"204157\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"Pink\",\"Shape\":\"Round\",\"Marking\":\"Round pink tab\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*Avoid eating grapefruit or drinking grapefruit juice while being treated with this medicineswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"QUET1\",\"GenericName\":\"QUETIAPINE\",\"Presentation\":\"Used alone or in combination with other drugs to treat schizophrenia and bipolar disorder. It also is usedfor treating major depression in combination with antidepressants.\",\"ImageId\":\"636082e56f6fd84664477ec5\",\"ImageSmallSizeId\":\"68f599a35a506b941b5c9410\",\"ImageName\":\"204157-C01-01-BL600.jpg\",\"AltBrand\":\"SEROQUEL, DELUCON, QUETIACCORD, QUETIAPINE (ACTAVIS), QUETIAPINE (APO), QUETIAPINE (CHEM MART), QUETIAPINE (DRLA), QUETIAPINE (GH), QUETIAPINE (PFIZER), QUETIAPINE (RBX), QUETIAPINE (SANDOZ), QUETIAPINE (TW), QUIPINE, SEQUASE, SERONIA, SYQUET, QUETIAPINE (STADA), QUETIAPINE (SYNTHON), QUETIAPINE (GA), QUETIAPINE (PCY CHOICE), QUETIAPINE (PHARMACOR), QUETIA 25, QUETIAPINE (AN), KAPTAN, QUETIAPINE (APOTEX), QUETIAPINE (SANDOZ PHARMA), QUETIAPINE (BLOOMS), QUETIAPINE (APX), QUETIAPINE (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"QUETIAPINE (APOTEX)\",\"Formulation\":\"TAB\",\"Strength\":\"25mg\",\"Schedule\":\"4D\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"Round pink tab\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"687444deb9160169ef93ca2c\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":1,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":9,\"DrugFullName\":\"QUETIAPINE (APOTEX) 25mg TAB\",\"MedicationFullDetails\":\"QUETIAPINE (APOTEX) 25mg TAB - QUETIAPINE (QUET91)\",\"Id\":\"5f0e69e0a0ba5db368a17a92\",\"CreatedDate\":\"2020-07-15T02:28:48.002Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"688a9f1c9d2912313c6e936e\",\"LastUpdateDate\":\"2026-02-19T00:40:11.938Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6e67fd23a789810b5c166\",\"CreatedDate\":\"2026-04-21T02:52:47.9879441Z\",\"CreatedUserName\":\"julies\",\"CreatedUserId\":\"689be99ae505ae18348b19d4\",\"LastUpdateDate\":\"2026-04-21T02:52:47.9879441Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6889bbf2066b97f21690e42d",
"");