using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6682282a8222d302886f998f",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[],\"ShortCourseTimeslot\":[],\"PatientId\":\"69f07428da2f310f8fbc82a2\",\"Direction\":\"Take as directed by your doctor when required.\",\"FoilId\":\"69f07428da2f310f8fbc82cc\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-17T01:47:04Z\",\"ScriptNum\":\"60317106\",\"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-28T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OXYNDONE 5mg TAB\",\"DrugCode\":\"OXYC50\",\"Austr\":\"297760\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*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 medicineUse of this medicine has the risks of overdose and dependence*Avoid combination with St John's wortswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"OXY6\",\"GenericName\":\"OXYCODONE\",\"Presentation\":\"\",\"AltBrand\":\"ENDONE, OXYCODONE (ASPEN), OXYCODONE IR (MAYNE), OXYCODONE (MYLAN), OXYNDONE, OXYCODONE (VIATRIS)\",\"DoNotCrush\":true,\"TradeName\":\"OXYNDONE\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"8\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"Usage\":6,\"DrugFullName\":\"OXYNDONE 5mg TAB\",\"MedicationFullDetails\":\"OXYNDONE 5mg TAB - OXYCODONE (OXYC50)\",\"Id\":\"633aa511f65a8810882e5004\",\"CreatedDate\":\"2022-10-03T09:02:09.344Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:06:23.507Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f07428da2f310f8fbc82e0\",\"CreatedDate\":\"2026-04-28T08:47:36.128Z\",\"CreatedUserId\":\"668f75b35ac25f0ee077a9b2\",\"LastUpdateUserId\":\"668f75b35ac25f0ee077a9b2\",\"LastUpdateUserName\":\"sa00\",\"LastUpdateDate\":\"2026-04-28T09:08:37.7421826Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f07428da2f310f8fbc82a2",
"");