Variables available to the Consult editor.

Discussion in 'General Discussion' started by Jason, Mar 18, 2007.

  1. Jason

    Jason Developer / Handyman Staff Member

    List of variable in Synapse Output.
    • ph = doctor's phone number
    • fx = doctor's fax number
    • today = today's date
    • patient-table = patient's address as a table
    • flat-patient-table = patient's address as a flat table
    • dob = date of birth of patient.
    • medical-registration = doctor's medical registration number.
    • diagnoses-table only = diagnoses
    • meds-table only = meds
    • My-name = doctor's name.
    • provider-address = doctor's address
    • diagnoses&medications = diagnoses and medications
    • consult = (?)text of last consult
    • rx
    • script
    • signature

    Insert Text Variables (available from the Consult Window)
    • Medications
    • Previous Meds/Allergies
    • Diagnoses
    • Surgeries
    • Social
    • Contact

    Are there any other variables available ? (Age, Gender, Last Consult Text, OverDue HMGs, Appt History with reason for visit, Specific Numeric results (BMI, last 3 BMIs with dates, Last Systolic BP, Last 5 Systolic BPs, Last Diastolic BP, Last 5 Diastolic BP, Ethnicity, Gender, Occupation, Appointment Preference.)

    Q: is it possible to Output this text to the Consult Window with a shortcut key ? (ie. control+alt+b for last Bmi ).

    Q: or could there be some inline processing ? like =bmi5 then hit space and this Outputs the last 5 BMIs to the cursor.
  2. Graham

    Graham Developer Staff Member

    There isn't any mechanism yet for template variables within the consultation text apart from the macros.

    It's a natural extension though of what is done with templates, but I have to ask - who is going to remember all these things?

    The point of a gui is to drive these without foreknowledge.

    Maybe the way to do this is to use a control key sequence ( bad already! ) and to then bring up a menu of possible things to insert into the text.
  3. Jason

    Jason Developer / Handyman Staff Member

    Well, obviously there are waaaaayyy too many things that could be useful to a user than can fit on a GUI.


    It'd be a Good start.



    I like the inline processing =bmi5 --> outputs the last 5 BMIs. I could use external scripts to trigger the output if the output had a control key sequence.

    or .. you could work it like a macro, but have a "Macro Processing Button" that would do what is done now on exiting the consult, but in this case don't leave it.
  4. Jason

    Jason Developer / Handyman Staff Member

    You wouldn't like an ESR5 ? :)
  5. Graham

    Graham Developer Staff Member

    No, I have the sparklines in front of me now.
  6. Jason

    Jason Developer / Handyman Staff Member

    Only room for 4 though. You might want other stuff.
  7. Jason

    Jason Developer / Handyman Staff Member

    Is there a variable for pharmacy ?

    So I can put it on the prescription ?

  8. Graham

    Graham Developer Staff Member

    Every field is actually available if you know their names.

    So, you could use this in the ps template

    at 140x72 (pharmanamefld/text)

    Others are pharmabusiness2fld/text, pharmacityfld/text, pharmastatefld/text, pharmaphonefld/text, and pharmafaxfld/text

    You can guess what each represents as I used descriptive naming ...
  9. Jason

    Jason Developer / Handyman Staff Member

    Looks like this idea came in vogue !

    [:)]
  10. laumansm

    laumansm New Member

    [quote user="Jason"]
    Looks like this idea came in vogue !

    [:)]

    [/quote]

    I second the need for using more variables inside a consult note. I am still a newbe: does the "en vogue" comment mean that it is now available in Synapse? If not, this is accomplished very well in EPIC, a major US EHR. I can post a video on how this is done in EPIC. The key in EPIC is that users can define variables to their liking easily from any consult window. EPIC comes with 1000s of variables and macros but they are named smartly and thus are accessible to even the newbe-est GUI user. In fact, this is done so well that there is even a book on it :Advanced Charting for EpicCare Physicians".



    Marius

Share This Page