using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66148100a5ab8f0fe0ab2951",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e6a757d23a789810db3ef9\",\"Direction\":\"0.5 DAILY\",\"FoilId\":\"69e6a757d23a789810db3f0e\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-16T06:11:42Z\",\"ScriptNum\":\"1959100\",\"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,\"Note\":\"COMMENCING PACKING\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"66148100a5ab8f0fe0ab2951\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TENSIG 50mg TAB\",\"DrugCode\":\"TENS1\",\"Austr\":\"147638\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"TENSIG 50\",\"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\":\"636087d36f6fd81ad4e2d96d\",\"ImageSmallSizeId\":\"68f5983c5a506b941b5c7cdd\",\"ImageName\":\"147638-C01-02-BL600.jpg\",\"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\":\"TENSIG\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66148100a5ab8f0fe0ab2951\",\"Usage\":4,\"DrugFullName\":\"TENSIG 50mg TAB\",\"MedicationFullDetails\":\"TENSIG 50mg TAB - ATENOLOL (TENS1)\",\"Id\":\"5f0e69e0a0ba5db368a1511d\",\"CreatedDate\":\"2020-07-15T02:28:39.017Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:08:03.282Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6a757d23a789810db3f30\",\"CreatedDate\":\"2026-04-20T22:23:19.418Z\",\"CreatedUserId\":\"66740be78222d30350eb0f03\",\"LastUpdateUserId\":\"66740be78222d30350eb0f03\",\"LastUpdateUserName\":\"wk\",\"LastUpdateDate\":\"2026-04-20T22:34:37.1058093Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6a757d23a789810db3ef9",
"");