using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"678dc276af648e00b4ae71ac",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e822c40f0cccf86879667d\",\"Direction\":\"Take ONE tablet in the evening\",\"FoilId\":\"69e822c40f0cccf8687966e0\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-19T00:02:54Z\",\"ScriptNum\":\"1535745\",\"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-22T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"678dc276af648e00b4ae71ac\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SIFROL 125mcg TAB\",\"DrugCode\":\"SIFR1\",\"Austr\":\"67238\",\"Supplier\":\"BOEHRINGER INGELHEIM PTY\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"P6\",\"Warning\":\"*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 abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*Episodes of sudden onset of sleep, without warning, may occur with this medicine*\",\"Direction\":\"\",\"GenericCode\":\"PRAM1\",\"GenericName\":\"PRAMIPEXOLE DIHYDROCHLORIDE MH\",\"Presentation\":\"Used for treating Parkinson's disease, attention deficit/hyperactivity disorder (in the form of stimulants) and certain pituitary tumors (prolactinoma), and may be useful for restless legs syndrome (RLS).\",\"ImageId\":\"5f3a2d7ba0ba5d7c50794a2f\",\"ImageSmallSizeId\":\"68f598aa5a506b941b5c8244\",\"ImageName\":\"67238-C01-01-BL600.jpg\",\"AltBrand\":\"SIFROL, SIMIPEX 0.125, PRAMIPEXOLE (AN), SIMPRAL, PRAMIPEXOLE (GH), PRAMIPEXOLE (APO)\",\"DoNotCrush\":false,\"TradeName\":\"SIFROL\",\"Formulation\":\"TAB\",\"Strength\":\"125mcg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round P6\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"678dc276af648e00b4ae71ac\",\"Usage\":0,\"DrugFullName\":\"SIFROL 125mcg TAB\",\"MedicationFullDetails\":\"SIFROL 125mcg TAB - PRAMIPEXOLE DIHYDROCHLORIDE MH (SIFR1)\",\"Id\":\"5f0e69e0a0ba5db368a16109\",\"CreatedDate\":\"2020-07-15T02:28:42.524Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:35:04.56Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e822c40f0cccf868796719\",\"CreatedDate\":\"2026-04-22T01:22:12.599Z\",\"CreatedUserId\":\"68646fc0917076fd1815f569\",\"LastUpdateUserId\":\"68646fc0917076fd1815f569\",\"LastUpdateUserName\":\"CT77\",\"LastUpdateDate\":\"2026-04-22T02:55:02.7673822Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e822c40f0cccf86879667d",
"");