using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"687eceb25f35fa41762a253e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69a772830718e7592dc4ee74\",\"Direction\":\"0.5 tablet at 12 noon\",\"FoilId\":\"69a772f58f39ab4116c4c713\",\"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-03-05T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,true,true,true,true,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"687eceb25f35fa41762a253e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CATAPRES 100mcg TAB\",\"DrugCode\":\"CAT8\",\"Austr\":\"17921\",\"Supplier\":\"CLINECT PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"01C 01C\",\"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 cause dizziness when standing up quickly\",\"Direction\":\"\",\"GenericCode\":\"CLD2\",\"GenericName\":\"CLONIDINE\",\"Presentation\":\"Used alone or with other medications to treat high blood pressure (hypertension).\",\"ImageId\":\"5f3a2dada0ba5d7c50796624\",\"ImageSmallSizeId\":\"68f5980b5a506b941b5c7a45\",\"ImageName\":\"17921-C01-01-BL600.jpg\",\"AltBrand\":\"CATAPRES, CLONIDINE (APO), CLONIDINE (LUPIN)\",\"DoNotCrush\":false,\"TradeName\":\"CATAPRES\",\"Formulation\":\"TAB\",\"Strength\":\"100mcg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"PackingLocation\":3,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white round 01C 01C\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"687eceb25f35fa41762a253e\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":2,\"DrugFullName\":\"CATAPRES 100mcg TAB\",\"MedicationFullDetails\":\"CATAPRES 100mcg TAB - CLONIDINE (CAT8)\",\"Id\":\"5f0e69e0a0ba5db368a14204\",\"CreatedDate\":\"2020-07-15T02:28:35.441Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"68857d9e03771867dfc7952f\",\"LastUpdateDate\":\"2025-09-27T05:04:35.437Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69a7747a8f39ab4116ca027c\",\"CreatedDate\":\"2026-03-03T23:53:30.654Z\",\"CreatedUserName\":\"xinl\",\"CreatedUserId\":\"68be511e1055650a98167739\",\"LastUpdateUserId\":\"687edf1c5f35fa417650e595\",\"LastUpdateUserName\":\"mattb\",\"LastUpdateDate\":\"2026-04-22T04:29:16.0308724Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69a772830718e7592dc4ee74",
"");