diff --git a/Launcher.ahk b/Launcher.ahk index cb4a332..d49b9e7 100644 --- a/Launcher.ahk +++ b/Launcher.ahk @@ -20,4 +20,10 @@ SetKeyDelay, 50 #Include includes\S1Shortcuts.ahk ;; Shortcut keys for S1 actions #Include includes\TextExpansions.ahk ;; Text expansions for autohotkey ;#Include includes\ChromeController.ahk ;; S1 chrome controls for AMGP -#Include includes\QuickSearch.ahk ;; Quicksearch / shortcut tools \ No newline at end of file +#Include includes\QuickSearch.ahk ;; Quicksearch / shortcut tools + + +; Reload Script after changes (Ctrl + F1) +^F1:: +Reload +Return \ No newline at end of file diff --git a/includes/S1Utils.ahk b/includes/S1Utils.ahk index 4111289..44df0f3 100644 --- a/includes/S1Utils.ahk +++ b/includes/S1Utils.ahk @@ -35,7 +35,22 @@ SearchForPatientFromClipboard() { return } +;; Search for copied NHS number +^F11:: +SearchForPatientFromClipboard() +Return +; Search current Patient from AMGP in S1 via NHS number +;^F10:: +;patient_name = "" +;patient_nhs = "" +;GetPatientDetails(patient_name, patient_nhs) +;if (patient_nhs = "") { + ;MsgBox, Couldn't get NHS number %patient_nhs% +;} else { + ;SearchForPatientByNHS(patient_nhs) +;} +;Return ;; Med3, Not fit for work, Free Text, in S1. To do this Assign med3 to F12 menu under letter M ^M:: diff --git a/includes/TextExpansions.ahk b/includes/TextExpansions.ahk index 23ba82a..19646d6 100644 --- a/includes/TextExpansions.ahk +++ b/includes/TextExpansions.ahk @@ -2,23 +2,37 @@ ;; Text Based Shortcuts ;; --------------------------- -;; cnr. -> Called, no answer at 9:33 AM -;; clm. -> Called, no answer at 9:34 AM. Left message on voicemail -;; msc. -> Hello, I have tried to call you but unfortunately couldn't reach you. I will try once more later on +;; cnr. -> Called, no answer at 9:33 AM +;; clm. -> Called, no answer at 9:34 AM. Left message on voicemail +;; msc. -> Hello, I have tried to call you but unfortunately couldn't reach you. I will try once more later on -;; dtt. -> 2022 01 12 - -;; rdt. -> 12/01/2022 -;; eld. -> 12/01/2022 \n \n Time: 09:35 (for EOL meds) +;; dtt. -> 2022 01 12 - +;; rdt. -> 12/01/2022 +;; eld. -> 12/01/2022 \n \n Time: 09:35 (for EOL meds) -;; sig. -> - Signed -;; ftf. -> TCI for F2F assessment, appt given for today. +;; sig. -> - Signed +;; ftf. -> TCI for F2F assessment, appt given for today. -;; atsp. -> Asked to see patient while visiting another at same residence. +;; atsp. -> Asked to see patient while visiting another at same residence. -;; pmc. -> Pennygate Medical Centre, 109 Ladies Lane, Hindley, Wigan -;; pmctel. -> 01942 807 500 +;; pmc. -> Pennygate Medical Centre, 109 Ladies Lane, Hindley, Wigan +;; pmctel. -> 01942 807 500 + +;; ps. -> EPS prescription signed :) + +;; f2ftod. -> Triage message with appt today + +;; sn. -> safety netted to get back in touch if not improving or worsening +;; snmen. -> safety netted re: meningitis symptoms of headache/stiff neck/photophobia/confusion to call 999 +;; snces. -> safety neted re: CES symptoms of loss of sensation/paraesthesia of groin/anus, retention, incontinence, leg weakness to call 999 + +;; wax. -> otoscopy - wax. Advised topical olive oil treatment tds for 3 weeks, if not improving with this then book for ear syringing + +;; examchest. -> chest clear, good bilateral air entry. No wheeze, crackles nor features of respiratory distress. Apyrexial, sats and pulse rate normal. + +;; examshoulder. -> L/R shoulder - normal appearance, no swelling, erythema or bruising. Normal range of abduction, flexion and extension. Passive = active rom. Empty can test and hawkins test normal. Rotator cuff exam NAD. +;; examknee. -> L/R knee - normal appearance, no swelling, erythema or bruising. No effusion or joint line tenderness. Normal range of flexion. Collateral and cruciates ligaments intact. McMurrays negative. -; ps. -> EPS prescription signed :) ;; Replaces the letters 'cnr' with: Called, no reply @@ -78,3 +92,46 @@ return ::ps.:: SendInput EPS prescription signed :) return + +::f2ftod.:: +response= +( +Hello, I am working as the Triage Doctor today and have reviewed the information you have provided. + +I have booked the following face to face appointment for you: + +x AM with x at Pennygate Medical Centre TODAY. + +Please wear a mask, and please do a covid lateral flow test before attending. If it is positive please do not attend and instead make contact again with the surgery. +Please contact the surgery if you are unable to attend this appointment. +) +SendInput %response% +return + +::sn.:: +SendInput safety netted to get back in touch if not improving or worsening +return + +::snmen.:: +SendInput safety netted re: meningitis symptoms of headache/stiff neck/photophobia/confusion to call 999 +return + +::snces.:: +SendInput safety neted re: CES symptoms of loss of sensation/paraesthesia of groin/anus, retention, incontinence, leg weakness to call 999 +return + +::examchest.:: +SendInput chest clear, good bilateral air entry. No wheeze, crackles nor features of respiratory distress. Apyrexial, sats and pulse rate normal. +return + +::wax.:: +SendInput otoscopy - wax. Advised topical olive oil treatment tds for 3 weeks, if not improving with this then book for ear syringing +return + +::examshoulder.:: +SendInput L/R shoulder - normal appearance, no swelling, erythema or bruising. Normal range of abduction, flexion and extension. Passive = active rom. Empty can test and hawkins test normal. Rotator cuff exam NAD. +return + +::examknee.:: +SendInput L/R knee - normal appearance, no swelling, erythema or bruising. No effusion or joint line tenderness. Normal range of flexion. Collateral and cruciates ligaments intact. McMurrays negative. +return \ No newline at end of file