using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68e5d96eca6a66c7fa973615",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,2.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68e5f104355f789253f4a1d7\",\"Direction\":\"2 NIGHT\",\"FoilId\":\"68e5f104355f789253f4a1db\",\"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-02-19T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"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\":\"68e5d96eca6a66c7fa973615\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMITRIPTYLINE (VIATRIS) 25mg TAB\",\"DrugCode\":\"AMIT22\",\"Austr\":\"232797\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"yellow\",\"Shape\":\"round\",\"Marking\":\"AP 25\",\"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*Do NOT stop taking this medication abruptly*Ask your pharmacist about the storage conditions for this medicine*May cause dizziness when standing up quicklyPDL Warn: Potential Confusion*Avoid combination with St John's wort\",\"Direction\":\"\",\"GenericCode\":\"AMT2\",\"GenericName\":\"AMITRIPTYLINE\",\"Presentation\":\"Used to treat depression, bipolar disorder, anxiety, obsessive-compulsive disorder and other mood disorders. They are also effective as analgesics so are used to treat chronic pain and used for migraine prophylaxis.\",\"ImageId\":\"5f3a2f19a0ba5d7c5079709f\",\"ImageSmallSizeId\":\"68f599ac5a506b941b5c947f\",\"ImageName\":\"232797-C01-01-BL600.jpg\",\"AltBrand\":\"ENDEP, TRYPTANOL, TRYPTINE 25, AMITROL 25, AMITRIPTYLINE (APO), AMITRIPTYLINE (CHEM-MART), AMITRIPTYLINE (TW), AMITRIPTYLINE (ALPHAPHARM), ENTRIP, AMITRIPTYLINE (LUPIN), AMITRIPTYLINE (APX), AMITRIPTYLINE (VIATRIS), AMITRIPTYLINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"AMITRIPTYLINE (VIATRIS)\",\"Formulation\":\"TAB\",\"Strength\":\"25mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"yellow round AP 25\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68e5d96eca6a66c7fa973615\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":2,\"DrugFullName\":\"AMITRIPTYLINE (VIATRIS) 25mg TAB\",\"MedicationFullDetails\":\"AMITRIPTYLINE (VIATRIS) 25mg TAB - AMITRIPTYLINE (AMIT22)\",\"Id\":\"633aa512f65a8810882e57b9\",\"CreatedDate\":\"2022-10-03T09:02:10.079Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"68e71fadc20606cd799b733e\",\"LastUpdateDate\":\"2026-02-18T02:42:39.519Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6996664c2c511ab6fb28754b\",\"CreatedDate\":\"2026-02-19T01:24:28.086Z\",\"CreatedUserName\":\"Carly\",\"CreatedUserId\":\"68e71fadc20606cd799b733e\",\"LastUpdateUserId\":\"68e71fadc20606cd799b733e\",\"LastUpdateUserName\":\"Carly\",\"LastUpdateDate\":\"2026-04-20T04:59:13.5840629Z\",\"UpdateDeletedDate\":\"2026-04-20T04:59:13.5840629Z\",\"DeletedUserId\":\"68e71fadc20606cd799b733e\",\"IsDeleted\":true}"),
"68e5f104355f789253f4a1d7",
"");