using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68ec5a7af60dbe7812841b2a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"690d8480b251815d010da96d\",\"Direction\":\"Take ONE tablet TWICE daily\",\"FoilId\":\"690d8480b251815d010da96e\",\"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-04-20T02: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\":\"68ec5a7af60dbe7812841b2a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ENTRESTO 24/26 24.3mg/25.7mg TAB\",\"DrugCode\":\"ENTR4\",\"Austr\":\"234219\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"violet-white\",\"Shape\":\"ovaloid\",\"Marking\":\"LZ\",\"Warning\":\"swallowed whole*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsPREGNANCY WARNING - Category DSpecial handling and disposal required - ask your Pharmacist*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"SAVA2\",\"GenericName\":\"SACUBITRIL/VALSARTAN\",\"Presentation\":\"\",\"ImageId\":\"5f3a2da3a0ba5d7c5079604f\",\"ImageSmallSizeId\":\"68f599785a506b941b5c91dc\",\"ImageName\":\"234219-C01-01-BL600.jpg\",\"AltBrand\":\"ENTRESTO 24/26, SACUBITRIL/VALSARTAN (PCOR), VALTRESTO 24/26, OMTRALO, SACUBITRIL/VALSART(ALPHAPHARM)\",\"DoNotCrush\":true,\"TradeName\":\"ENTRESTO 24/26\",\"Formulation\":\"TAB\",\"Strength\":\"24.3mg/25.7mg\",\"Schedule\":\"4\",\"PackSize\":56,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"violet-white ovaloid LZ\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68ec5a7af60dbe7812841b2a\",\"Usage\":2,\"DrugFullName\":\"ENTRESTO 24/26 24.3mg/25.7mg TAB\",\"MedicationFullDetails\":\"ENTRESTO 24/26 24.3mg/25.7mg TAB - SACUBITRIL/VALSARTAN (ENTR4)\",\"Id\":\"5f0e69e0a0ba5db368a174cc\",\"CreatedDate\":\"2020-07-15T02:28:46.775Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.64Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5522b21162426a3996654\",\"CreatedDate\":\"2026-04-19T22:07:39.0379288Z\",\"CreatedUserName\":\"Rosie\",\"CreatedUserId\":\"68ec72e06d6e3b90ec4c9723\",\"LastUpdateDate\":\"2026-04-19T22:07:39.0379288Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"690d8480b251815d010da96d",
"");