using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68ca086d8962e56e71119091",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e974332a33413720835fe0\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"69e9744f905e1bd5270106c1\",\"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-23T02: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\":\"68ca086d8962e56e71119091\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PHYSIOTENS 200mcg TAB\",\"DrugCode\":\"PHYS2\",\"Austr\":\"114119\",\"Supplier\":\"VIATRIS PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pale pink\",\"Shape\":\"round\",\"Marking\":\"0.2\",\"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\":\"MOXO2\",\"GenericName\":\"MOXONIDINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f25a0ba5d7c50797817\",\"ImageSmallSizeId\":\"68f598885a506b941b5c8097\",\"ImageName\":\"114119-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\":\"200mcg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale pink round 0.2\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68ca086d8962e56e71119091\",\"Usage\":0,\"DrugFullName\":\"PHYSIOTENS 200mcg TAB\",\"MedicationFullDetails\":\"PHYSIOTENS 200mcg TAB - MOXONIDINE (PHYS2)\",\"Id\":\"5f0e69e0a0ba5db368a15d41\",\"CreatedDate\":\"2020-07-15T02:28:41.726Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:31:20.425Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e97e782a33413720a7083e\",\"CreatedDate\":\"2026-04-23T02:05:44.3355535Z\",\"CreatedUserName\":\"marcelle\",\"CreatedUserId\":\"69e05fb418262f9103721acb\",\"LastUpdateDate\":\"2026-04-23T02:05:44.3355535Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e974332a33413720835fe0",
"");