using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65ce9bcda5ab8f01d48b1589",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e6c24148571626cc0e8a80\",\"Direction\":\"Take HALF a tablet in the morning zz \",\"FoilId\":\"69e6c24148571626cc0e8a89\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T07:06:25Z\",\"ScriptNum\":\"3263050\",\"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-21T02: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\":\"\",\"PharmacyId\":\"65ce9bcda5ab8f01d48b1589\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ATENOLOL (APX) 50mg TAB\",\"DrugCode\":\"ATEN19\",\"Austr\":\"332998\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*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*Certain foods and fruit juices should be avoided while being treated with this medicine\",\"Direction\":\"\",\"GenericCode\":\"ATE1\",\"GenericName\":\"ATENOLOL\",\"Presentation\":\"Used to treat various types of heart conditions as well as some other illnesses.\",\"ImageId\":\"6657e73e8222d30968d7db1a\",\"ImageSmallSizeId\":\"68f5af8b5a506b941b64d7eb\",\"AltBrand\":\"NOTEN, TENORMIN, ANSELOL, TENLOL 50, TENSIG, ATENOLOL (SANDOZ), ATENOLOL (SBPA), ATENOLOL (DBL), ATENOLOL (CHEM-MART), ATENOLOL (HEALTHSENSE), ATENOLOL (TW), ATENOLOL GENRX, ATENOLOL-BC, ATENOLOL-BC, NOTEN, ATENOLOL (GA), ATENOLOL (APO), ATENOLOL (APO), ATENOLOL (GA), ATENOLOL (GEN HLTH), ATENOLOL (PS), TENOLTEN, ATENOLOL (GH), ATENOLOL (AN), ATENOLOL (RBX), ATENOLOL (AMNEAL), ATENOLOL (AMNEAL), TENSIG, ATENOLOL (APX), ATENOLOL (APX), ATENOLOL (BLOOMS), ATENOLOL (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"ATENOLOL (APX)\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"65ce9bcda5ab8f01d48b1589\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ImageId\\":null,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":0,\"DrugFullName\":\"ATENOLOL (APX) 50mg TAB\",\"MedicationFullDetails\":\"ATENOLOL (APX) 50mg TAB - ATENOLOL (ATEN19)\",\"Id\":\"611a6347a6b66b123c8c85d8\",\"CreatedDate\":\"2021-08-16T13:08:23.878Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-08-06T13:21:16.297Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6c24148571626cc0e8a8b\",\"CreatedDate\":\"2026-04-21T00:18:09.966Z\",\"CreatedUserId\":\"6944ea528545bc0a8cbd2311\",\"LastUpdateUserId\":\"6944ea528545bc0a8cbd2311\",\"LastUpdateUserName\":\"ipan\",\"LastUpdateDate\":\"2026-04-21T00:29:09.8197001Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6c24148571626cc0e8a80",
"");