using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698d50af9c6752ab21ee82e6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6993c2efea4154733d229511\",\"Direction\":\"Take 1 tablet in the morning\",\"FoilId\":\"6993c2efea4154733d229512\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-01-19T05:43:15Z\",\"ScriptNum\":\"644942\",\"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\":\"2025-11-26T04: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:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ARATAC 200mg (as HCL) TAB\",\"DrugCode\":\"ARA2\",\"Austr\":\"32514\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"AM 200\",\"Warning\":\"*Avoid excessive exposure to sunlight and sunlamps*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Certain foods and fruit juices should be avoided while being treated with this medicineS/Care - Exercise & HeartPcy Board Warn: Similar Names\",\"Direction\":\"\",\"GenericCode\":\"AMI8\",\"GenericName\":\"AMIODARONE\",\"Presentation\":\"\",\"ImageId\":\"636017bdf65a8812b88834e2\",\"ImageSmallSizeId\":\"68f598075a506b941b5c7a15\",\"ImageName\":\"32514-C01-02-BL600.jpg\",\"AltBrand\":\"ARATAC, CORDARONE X200, CARDINORM, AMIODARONE (CHEM-MART), AMIODARONE (HEALTHSENSE), AMIODARONE (TW), AMIODARONE GENRX, RITHMIK 200, AMIODARONE (SANDOZ), AMIODARONE (ACTAVIS), AMIODARONE (APO), AMDARONE\",\"DoNotCrush\":false,\"TradeName\":\"ARATAC\",\"Formulation\":\"TAB\",\"Strength\":\"200mg (as HCL)\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round AM 200\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"Usage\":0,\"DrugFullName\":\"ARATAC 200mg (as HCL) TAB\",\"MedicationFullDetails\":\"ARATAC 200mg (as HCL) TAB - AMIODARONE (ARA2)\",\"Id\":\"5f0e69e0a0ba5db368a140c1\",\"CreatedDate\":\"2020-07-15T02:28:35.153Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.423Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6993c2efea4154733d229520\",\"CreatedDate\":\"2026-02-17T01:22:55.581Z\",\"CreatedUserId\":\"698d623a9c6752ab211e93b5\",\"LastUpdateUserId\":\"698d623a9c6752ab211e93b5\",\"LastUpdateUserName\":\"Admin123\",\"LastUpdateDate\":\"2026-04-21T02:16:47.9012595Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6993c2efea4154733d229511",
"");