using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69ba2b20c90b16fd0ad1a50a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5a45c2c1a237be0c7f2f8\",\"Direction\":\"1 DAILY\",\"FoilId\":\"69e5a45c2c1a237be0c7f31f\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T01:54:02Z\",\"ScriptNum\":\"1284271\",\"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-20T02: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\":\"69ba2b20c90b16fd0ad1a50a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PHYSIOTENS 400mcg TAB\",\"DrugCode\":\"PHYS3\",\"Austr\":\"114121\",\"Supplier\":\"VIATRIS PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"dull red\",\"Shape\":\"round\",\"Marking\":\"0.4\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*Do NOT stop taking this medication abruptlyswallowed wholeDo NOT crush or chew** Drug Only supplied by ARROW **\",\"Direction\":\"\",\"GenericCode\":\"MOXO3\",\"GenericName\":\"MOXONIDINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d82a0ba5d7c50794e04\",\"ImageSmallSizeId\":\"68f598885a506b941b5c8098\",\"ImageName\":\"114121-C01-01-BL600.jpg\",\"AltBrand\":\"PHYSIOTENS, MOXONIDINE (GX), MOXONIDINE (MYL), MOXONIDINE (APO), MOXONIDINE (GH), MOXOTENS, MOXONIDINE (VIATRIS), MOXONIDINE (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"PHYSIOTENS\",\"Formulation\":\"TAB\",\"Strength\":\"400mcg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"dull red round 0.4\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69ba2b20c90b16fd0ad1a50a\",\"Usage\":0,\"DrugFullName\":\"PHYSIOTENS 400mcg TAB\",\"MedicationFullDetails\":\"PHYSIOTENS 400mcg TAB - MOXONIDINE (PHYS3)\",\"Id\":\"5f0e69e0a0ba5db368a15d42\",\"CreatedDate\":\"2020-07-15T02:28:41.727Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.031Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5a45c2c1a237be0c7f347\",\"CreatedDate\":\"2026-04-20T03:58:20.51Z\",\"CreatedUserId\":\"69ba2fbdd70c9c7186b132dd\",\"LastUpdateUserId\":\"69ba2fbdd70c9c7186b132dd\",\"LastUpdateUserName\":\"ryit\",\"LastUpdateDate\":\"2026-04-20T04:01:19.8169603Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5a45c2c1a237be0c7f2f8",
"");