using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66317c8ba5ab8f0f84e89478",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69eaf301fe71d5d94bdc01ae\",\"Direction\":\"Take TWO tablets Three times a day as directed when required - maximum of 4g paracetamol per24 hours.\",\"FoilId\":\"69eaf301fe71d5d94bdc01cf\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-27T05:08:31Z\",\"ScriptNum\":\"60327128\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"0001-01-01T00:00:00\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"COMFAROL FORTE 500mg/30mg TAB\",\"DrugCode\":\"COMF15\",\"Austr\":\"131137\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"PF\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Ask your pharmacist about the storage conditions for this medicine*Maximum of 8 per dayContains PARACETAMOL, ask Dr or pharmacist before taking other PARACETAMOL productsUse of this medicine has the risks of overdose and dependenceDo NOT use if breast feedingS8 Reporting - Tasmania Only\",\"Direction\":\"\",\"GenericCode\":\"CO57\",\"GenericName\":\"PARACETAMOL/CODEINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2da7a0ba5d7c50796294\",\"ImageSmallSizeId\":\"68f598a25a506b941b5c81dc\",\"ImageName\":\"131137-C01-01-BL600.jpg\",\"AltBrand\":\"DYMADON FORTE, PANADEINE FORTE, CODALGIN FORTE, PRODEINE FORTE, DOLAFORTE, CODAPANE FORTE 500/30, COMFAROL FORTE, PARACETAMOL/CODEINE (APO), PARACETAMOL/CODEINE (GH), PARACETAMOL/CODEINE (APX)\",\"DoNotCrush\":false,\"TradeName\":\"COMFAROL FORTE\",\"Formulation\":\"TAB\",\"Strength\":\"500mg/30mg\",\"Schedule\":\"4N\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white capsule-shaped PF\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"Usage\":0,\"DrugFullName\":\"COMFAROL FORTE 500mg/30mg TAB\",\"MedicationFullDetails\":\"COMFAROL FORTE 500mg/30mg TAB - PARACETAMOL/CODEINE (COMF15)\",\"Id\":\"5f0e69e0a0ba5db368a16047\",\"CreatedDate\":\"2020-07-15T02:28:42.343Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:08:56.313Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eaf301fe71d5d94bdc01da\",\"CreatedDate\":\"2026-04-24T04:35:13.536Z\",\"CreatedUserId\":\"68e5b07c355f7892533bb2ce\",\"LastUpdateDate\":\"2026-04-24T04:39:19.7818726Z\",\"UpdateDeletedDate\":\"2026-04-24T04:39:19.7818726Z\",\"DeletedUserId\":\"68e5b07c355f7892533bb2ce\",\"IsDeleted\":true}"),
"69eaf301fe71d5d94bdc01ae",
"");