using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698bdc7b7c330bf95d6f2b23",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69de02a9342a471bd178ab07\",\"Direction\":\"Alternate between 2 daily and 1 daily (blue tab only, no orange tabs)\",\"FoilId\":\"69de02a9342a471bd178ab1e\",\"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-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":1,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"698bdc7b7c330bf95d6f2b23\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TRIKAFTA 100/50/75mg+150mg,84 O-PACK\",\"DrugCode\":\"TRIK1\",\"Austr\":\"330423\",\"Supplier\":\"VERTEX PHARMACEUTICALS (A\",\"Type\":\"Oral Pack\",\"Color\":\"orange\",\"Shape\":\"capsule-shaped\",\"Marking\":\"T100\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed wholewith or soon after food.*Certain foods and fruit juices should be avoided while being treated with this medicine\",\"Direction\":\"\",\"GenericCode\":\"ETIV1\",\"GenericName\":\"ELEXACAF/TEZACAF/IVACAF+IVACAF\",\"Presentation\":\"\",\"AltBrand\":\"TRIKAFTA\",\"DoNotCrush\":true,\"TradeName\":\"TRIKAFTA\",\"Formulation\":\"O-PACK\",\"Strength\":\"100/50/75mg+150mg,84\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698bdc7b7c330bf95d6f2b23\",\"Usage\":1,\"DrugFullName\":\"TRIKAFTA 100/50/75mg+150mg,84 O-PACK\",\"MedicationFullDetails\":\"TRIKAFTA 100/50/75mg+150mg,84 O-PACK - ELEXACAF/TEZACAF/IVACAF+IVACAF (TRIK1)\",\"Id\":\"633aa511f65a8810882e508c\",\"CreatedDate\":\"2022-10-03T09:02:09.516Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:27.603Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5de1b21162426a3606527\",\"CreatedDate\":\"2026-04-20T08:04:43.482Z\",\"CreatedUserName\":\"mundijong\",\"CreatedUserId\":\"69deeefc710d60b9a3e231d9\",\"LastUpdateUserId\":\"69deeefc710d60b9a3e231d9\",\"LastUpdateUserName\":\"mundijong\",\"LastUpdateDate\":\"2026-04-20T08:05:44.5538571Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69de02a9342a471bd178ab07",
"");