using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67313abcaf648e0ebcbb64c6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6837d8b4af648e0eacc31d8f\",\"Direction\":\"1 TABLET TWICE DAILY THEN 1 DAILY FROM 25/11 THEN CEASE 1/12/25 8PM\",\"FoilId\":\"6916d5373914df551720bf5b\",\"FoilLabel\":\"Blister Pack 2\",\"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\":\"2025-11-17T02: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\":\"67313abcaf648e0ebcbb64c6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ATIVAN 1mg TAB\",\"DrugCode\":\"ATV4\",\"Austr\":\"237801\",\"Supplier\":\"ASPEN PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"This preparation is to aid sleep. Drowsiness may continue - if affected do not drive or operate machinery Avoid alcohol*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptlyS/Care - Relaxation TechniquesS/Care - Sleeping BadlyS/Care - Driving & MedicationPcy Board Warn: Similar Names\",\"Direction\":\"\",\"GenericCode\":\"LOR2\",\"GenericName\":\"LORAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"AltBrand\":\"ATIVAN, EMOTEN, LORAZEPAM (APO), ATIVAN, LORAZEPAM (MYLAN), LORAZEPAM (LUPIN), LORAZEPAM (VIATRIS), LORAZEPAM (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"ATIVAN\",\"Formulation\":\"TAB\",\"Strength\":\"1mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67313abcaf648e0ebcbb64c6\",\"Usage\":17,\"DrugFullName\":\"ATIVAN 1mg TAB\",\"MedicationFullDetails\":\"ATIVAN 1mg TAB - LORAZEPAM (ATV4)\",\"Id\":\"5f0e69e0a0ba5db368a178f4\",\"CreatedDate\":\"2020-07-15T02:28:47.684Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T18:15:11.12Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"691a87970102ff0aa327dcb2\",\"CreatedDate\":\"2025-11-17T02:25:27.036Z\",\"CreatedUserName\":\"jean.goh\",\"CreatedUserId\":\"68513fe3a7ab9505bc0b6b83\",\"LastUpdateUserId\":\"68513fe3a7ab9505bc0b6b83\",\"LastUpdateUserName\":\"jean.goh\",\"LastUpdateDate\":\"2026-04-22T02:53:35.8225494Z\",\"UpdateDeletedDate\":\"2026-04-22T02:53:35.8225494Z\",\"DeletedUserId\":\"68149c6308efed0fa426e309\",\"IsDeleted\":true}"),
"6837d8b4af648e0eacc31d8f",
"");