Daisy chaining templates

Discussion in 'General Discussion' started by Graham, Jan 24, 2008.

  1. Graham

    Graham Developer Staff Member

    Ok, O2 saturation is already on the vitals popup, as is respirations.
    Head circumeference though?? When is that useful?


    PEFR ... could add that.
    PC02 ... really only ER use I suspect.
  2. Jerry

    Jerry Administrator Staff Member

    Ok, O2 saturation is already on the vitals popup, as is respirations.
    Head circumeference though?? When is that useful?


    PEFR ... could add that.
    PC02 ... really only ER use I suspect.



    Oops, your right, I see O2 is plainly in front of me.

    Yes, PCO2 would only be of interest to the ER. I'm not sure if synapse would ever be used in that environment.

    We do use PEFR on an ongoing basis in urgent care and a lot of primary offices do too with asthma tx and after nebulization tx.

    Head circumference would be routinely tracked for the first few months at least by primary offices (GP, peds) treating neonates and infants. The CDC has a head circumference vs age graph for it similar to the height and weight curve.

  3. Graham

    Graham Developer Staff Member

    Using the quote button instead of the reply button

    oh .. well Synapse does have a place to enter this data for growth charts.
  4. Graham

    Graham Developer Staff Member

    R213B18

    I have a macro called *PIPs* which is defined as "$PIPs: list of all the PIP joints"

    The GUI definition for this is:

    Title: PIPs: list of all the PIP joints
    Type: O
    Code:

    group-box -1x-1 "" data [
    hcheck-group 30x25 data [
    "thumb IP" none
    "index PIP" none
    "middle PIP" none
    "ring PIP" none
    "little PIP" none
    ]
    ]

    Now you can have this in a consult:

    There was synovitis of his right *PIPs*

    Which could translate into

    There was synovitis of his right PIPs: index PIP, middle PIP
  5. Graham

    Graham Developer Staff Member

    Beta 19 has these new macros that take the values from the vitals:
    • *tempF* (Fahrenheit)
    • *tempC* (Celcius)
    • *o2*
    • *resps*
    • *bp*
    • *systolic*
    • *diastolic*
    • *waist* (cms)
    • *height* ( cms )
    • *heightins* (inches)
    • *weight* (kgs)
    • *weightlbs* (lbs)
    • *bmi*
  6. Jerry

    Jerry Administrator Staff Member

    [quote user="Graham"]

    Beta 19 has these new macros that take the values from the vitals:
    • *tempF* (Fahrenheit)
    • *tempC* (Celcius)
    • *o2*
    • *resps*
    • *bp*
    • *systolic*
    • *diastolic*
    • *waist* (cms)
    • *height* ( cms )
    • *heightins* (inches)
    • *weight* (kgs)
    • *weightlbs* (lbs)
    • *bmi*

    [/quote]

    That sounds good, and should do it for vitals in the note. I think for myself I will make a way, maybe a GUI template to insert sets of vitals that have been taken after for followup after treatmentsin urgent care. I can just add the PEFR number when needed.
  7. Graham

    Graham Developer Staff Member

    I'll get around to adding PEFR next time.

    At present I am going to do a little video showing how the gui and word macros can be mixed.

  8. Jason

    Jason Developer / Handyman Staff Member

    Graham called these ..





    macros ...



    We use the term macro already for systematically replacing text to generate a Visit Note.

    Pulling data (either labs or vitals, or whatever) to generate a note is a much more impressive task.

    We need a term that matches the coolness of this ....

    ideas ?
  9. Jason

    Jason Developer / Handyman Staff Member

    AutoPull ? AutoData ?

    I like the word Auto in it, because it requires little end user work (which is very good !).

    MacroPull ?

    AutoElement ? (ie. automatically pull data elements ?)



    ideas .. ?



  10. Graham

    Graham Developer Staff Member

    I was thinking exactly the same thing .. the word macros is being over loaded here.



  11. Graham

    Graham Developer Staff Member

    New video showing the construction of a mixed gui and word macro.
  12. Jerry

    Jerry Administrator Staff Member

    I'm not quite sure which word processing program first coined the term "macro" for blocks of text (and/or inserted keystrokes as well--in effect a mini-program)inserted with a singlekeystrokebut I think it was Word Perfect. Word would call a word processing field that displays a data field a "Form Field" or just a "Field". Titling a text widget that gets its data from another column in the database a "Field" seems pretty generic to me. "Element" sounds like "data element" which wouldn't be quite right either. SQL would call a table subset or superset a "view" (unless it was a query). "Repeated Data Field" would be fairly accurate, but "Autofilled Data Field" orjust "Autofilled Field" or even "Auto Field"sort of gets at the desired action.
  13. Jason

    Jason Developer / Handyman Staff Member

    [quote user="Graham"]New video showing the construction of a mixed gui and word macro.
    [/quote]

    I got super excited when I saw that template pop up !

    :)



    After some feverish debate, this new method of pulling vitals into a note is going to be called

    "Macro Variables"

    But,

    in the documentation it could be referred to a "automatically pulling data" into the visit note. As to be more descriptive to users. :)



  14. Jason

    Jason Developer / Handyman Staff Member

    Oh Hi jparkdo ...I missed this.


    :) Great little summary of Computing here.

    Long live WordPefect 5.1 for DOS, the great WP of all time.

    [​IMG]
  15. Jason

    Jason Developer / Handyman Staff Member

    I like Jerry's "Autofilled" Data Field.

    Let's go with calling them Data Fields.

    Autofilled Data Fields has a nice ring.
  16. Jerry

    Jerry Administrator Staff Member



    Jason, that's a hilariousscreen from WP 5.1 - I still remember some of the keystrokes (shift+F7=print, etc). I was just rambling back to see if I could think of anything that has any historical or logical basis for a descriptive name. Maybe it would be more intuitive to users if it had some basis in previous usage.
  17. Jason

    Jason Developer / Handyman Staff Member

    Funny, that's the only one I remember as well [:)]
  18. Graham

    Graham Developer Staff Member

    [quote user="Jason"]

    [quote user="Graham"]New video showing the construction of a mixed gui and word macro.
    [/quote]

    I got super excited when I saw that template pop up !

    [/quote]

    Only 2-3 days of my spare time trying to get that working !!
  19. Graham

    Graham Developer Staff Member

    This is working now in a template macro

    Hb @718-7,3

    leads to this type of output

    Hb 15-Sep-2007 164.0 g/L OCR
    21-Jul-2007 159.0 g/L M.P.S
    31-May-2007 166.0 g/L OCR


    ie. it pulls in the last 3 Hb results for this patient

  20. Graham

    Graham Developer Staff Member

    Now this is pretty cool ...

    I can define a word macro *ESR* as "Serial ESRs @4537-7,3" and this pulls in the last three ESRs.

Share This Page