Need script that will insert values from previous appt
Posted: Fri Feb 01, 2008 9:02 am
Hi John:
You know I'm using my version of SeedCode Complete as an electronic medical record (Contacts = patients; Appointments = progress notes for office visits). From the Daily view, clicking an appointment takes me to that patient's progress note for that day's appointment. I want to allow the user the option of inserting values (e.g. text in my Appt::Data or Appt::Assessment fields) from that same patient's previous visits. That way, instead of having to type "Anxiety Disorder" in the Assessment field every time, the user could simply get that frequently used text by clicking the appropriate button.
That brings me to the design part -- as I have envisioned it, I would edit that layout (MiniWindowEditAppointment) by adding a button that would run a script which goes to that patient's previous visit, gets the appropriate text, then inserts that text into the current record.
Can you help me achieve this daunting task?
Yours,
Jim Recht
You know I'm using my version of SeedCode Complete as an electronic medical record (Contacts = patients; Appointments = progress notes for office visits). From the Daily view, clicking an appointment takes me to that patient's progress note for that day's appointment. I want to allow the user the option of inserting values (e.g. text in my Appt::Data or Appt::Assessment fields) from that same patient's previous visits. That way, instead of having to type "Anxiety Disorder" in the Assessment field every time, the user could simply get that frequently used text by clicking the appropriate button.
That brings me to the design part -- as I have envisioned it, I would edit that layout (MiniWindowEditAppointment) by adding a button that would run a script which goes to that patient's previous visit, gets the appropriate text, then inserts that text into the current record.
Can you help me achieve this daunting task?
Yours,
Jim Recht