using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c563c98222d312085e5f33",
FromJson<Prescription>("{\"PackType\":1,\"Description\":\"\",\"Dose\":[1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6705e23a27976e0e9c2ed2ee\",\"Direction\":\"1 BD\",\"FoilId\":\"6705e23a27976e0e9c2ed31d\",\"FoilLabel\":\"foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-21T06:01:07.7461104Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T06:01:07.7461104Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"SyncId\":\"a6de7216-ee59-4866-9de7-c7a379638d1d-4164\",\"SyncDate\":\"2024-10-09T01:54:02.64Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"TARGIN 10mg/5mg CR-TAB\",\"DrugCode\":\"TARG2\",\"Austr\":\"156145\",\"Supplier\":\"MUNDIPHARMA PTY LIMITED\",\"Type\":\"CR-Tablet\",\"Color\":\"white\",\"Shape\":\"oblong\",\"Marking\":\"OXN\",\"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*Certain foods and fruit juices should be avoided while being treated with this medicineUse of this medicine has the risks of overdose and dependence*Avoid combination with St John's wortswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"OXNA2\",\"GenericName\":\"OXYCODONE HCL/NALOXONE HCL DIH\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d79a0ba5d7c507948fd\",\"ImageName\":\"156145-C01-01-BL600.jpg\",\"AltBrand\":\"TARGIN\",\"DoNotCrush\":true,\"TradeName\":\"TARGIN\",\"Formulation\":\"CR-TAB\",\"Strength\":\"10mg/5mg\",\"Schedule\":\"8\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white oblong OXN\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"Usage\":1,\"DrugFullName\":\"TARGIN 10mg/5mg CR-TAB\",\"MedicationFullDetails\":\"TARGIN 10mg/5mg CR-TAB - OXYCODONE HCL/NALOXONE HCL DIH (TARG2)\",\"Id\":\"5f0e69e0a0ba5db368a16548\",\"CreatedDate\":\"2020-07-15T02:28:43.427Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:18:12.334Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6705e23a27976e0e9c2ed32c\",\"CreatedDate\":\"2024-10-09T01:54:02.64Z\",\"LastUpdateUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateUserName\":\"simone\",\"LastUpdateDate\":\"2026-04-21T06:01:07.7461104Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6705e23a27976e0e9c2ed2ee",
"");