Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Templates in Synapse: How they work (boy are they flexible and powerful!)

Last post 09-08-2008, 11:28 PM by Jason. 39 replies.
Page 1 of 3 (40 items)   1 2 3 Next >
Sort Posts: Previous Next
  •  03-26-2007, 11:35 PM 3255

    Templates in Synapse: How they work (boy are they flexible and powerful!)

    Synapse has a very powerful template engine that allows a doctor to setup templates that capture data exactly how the practitioner wants to do it !  When evaluating Synapse (or any other EMR for that matter) you must realize that you will be spending alot of time documenting, so it needs to be quick and easy to do.

    Many EMRs do not have true templating, and most rely upon just "Spitting out Text" which you can edit.  That works in some situations but fails in many situations.  We have that same feature (well call it macros) but Synapse's beautiful templates are one of it's greatest strengths.

    Now, with this great strength comes a small tradeoff, you have to learn how to build the templates !  To learn how to build templates, I printed out "the code" that described the template and a picture of the template itself, and it was easy to figure out what code created what part of the template. 

    Below is an example of one of a pre-built templates available online.  Please see the picture.  To illustrate how easy it is to learn the code, I have highlighted some of the code and show how it relates to the finished template.

    Just click on the picture to display it better. 




    Developer
    Filed under:
  •  03-27-2007, 12:26 AM 3259 in reply to 3255

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Another example of synapse template code and the template it creates !

    Note: the 5 major elements in this example

    (1) radio button selections  (synapse code term - radio-group )

    (2) drop down menus (synapse code term - edit-list )

    (3) free text field  (synapse code term - field )

    (4) free text box (synapse code term - area )

    (5) box (synapse code term - group-box )




    Developer
  •  03-27-2007, 12:46 AM 3260 in reply to 3259

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Please see this thread for the various examples of elements that are possible in a synapse template

    Note: see the image for an explanation of the X - Y co-ordinates used in this synpase template.

     




    Developer
    Filed under: ,
  •  12-20-2007, 7:42 AM 4928 in reply to 3255

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    i went through the writeups on how the templates are formed,think i understood the way  they are written.since i do not have any programming knowledge,i request you to guide me  how to form the templates, could you guide me where i have to paste the writeups and how the templates will appear?

     

    ramid 

  •  12-20-2007, 11:47 AM 4929 in reply to 4928

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Location of Synapse Templates

    (1) To make a new template:

    Click clear, type up your template, then Save New.

    (2) To learn templates, I'd start with an existing one, modify it ... and press Check to see what your modifications have done.  If you want to save it, press Save New.

    The templates are not hard, but not simple.  Synapse is the only EMR that allows you to create your own templates.  Graham said he'd make some for a small fee, but I am not sure he is still offering that. 

    Good luck, let us know how it goes.  Ask more questions if you need.  

    Graham, we probably need a [New] button.  (more intuitive language for a user trying to make a new template). 

     

     




    Developer
  •  12-20-2007, 9:17 PM 4935 in reply to 4929

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Ramid -  

    I just wrote a short article on creating a template de-novo

    http://compkarori.no-ip.biz:8090/Documentation_Index/Template_Language/Creating_a_template_from_scratch 

    When I get time, I'll try to add some screenshots.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  01-06-2008, 11:23 PM 4981 in reply to 4935

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    dear graham, thanks for the reply,

    i tried to form the same marital status template, but i get the following when i click on check

    make object![

    code:20/'

    type:'synatx

     

    kindly guide me.

     

    ramid 

    id:naming

    arg1:"end of script/

    arg2 :"["

    arg3:none 

  •  01-06-2008, 11:52 PM 4982 in reply to 4981

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Ramid,

    You'll need to upload your template here so I can see what's wrong.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  09-01-2008, 6:40 PM 6593 in reply to 4982

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Graham,

    I've been modifying some of your templates for my needs. Presently I'm stuck on a chief complaint template. After the label ".  Medical attention", none of the subsequent labels appear in the note, although their respective data selections do.

    Please advise.

    ;Author: Dr Graham Chiu
    ;Date: 30-Aug-2008/6:16:51-5:00
    ;Modified by: John Shaird MD
    ;Date: 30-Aug-2008/19:34:41-5:00
    group-box 60x33 "CHIEF COMPLAINT:" data [
    at 0x5
    radio-group 53x20 data [ "The patient complains of pain affecting the" "Follow-up of pain of the" "requested" "routine"]
    ]

    return

    group-box -1x-1 "" data [
    at 0x0 label ""
    at 0x0 check-group 40x140 data [
    "head"  none
    "neck"  none
    "both shoulders" none
    "both arms" none
    "both hands" none
    "both legs" none
    "left shoulder"  none
    "left arm"  none
    "left hand"  none
    "right shoulder"  none
    "right arm"  none
    "right hand"  none
    "chest wall"  none
    "ribs"  none
    "abdomen"  none
    "left groin"  none
    "right groin" none
    "upper back"  none
    "middle back"  none
    "lower back"  none
    "left hip"  none
    "right hip"  none
    "left buttock"  none
     "right buttock"  none
    "left calf"  none
     "right calf"  none
    "left leg"  none
    "right leg"  none
     "Workers Comp Visit"  none
    ]
    ]

    at 61x0

    group-box -1x-1 "" data [
    radio-group 60x10 data [
    ". Injury occurred"
    ". Symptoms began"
    ]

    return

    bar

    return
    radio-group 20x55 data [
    "1" "2" "3" "4" "6" "7" "8" "9" "10" "11" "12"
    ]

    radio-group 10x55 data [
    "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23"
    ]

    return
    bar
    return

    radio-group 35x25 data [
    "hours ago" "days ago" "weeks ago" "months ago" "years ago"
    ]
    return
    field 60 ""

    return
    bar
    return
    label ".  When symptoms began, the patient" return
    radio-group 35x25 data [
    "was at work" "was at home" "was at leisure" "was driving" "was in bed"
    ]
    return
    bar
    return
    label ".  Medical attention" return
    radio-group 55x20 data [
    "was sought immediately" "was not sought immediately" "was received within 24 hours" "was eventually sought"
    ]
    ]
    group-box -1x-1 "" data [
    label ".  Recent therapies have included" return
    check-group 55x60 data [
    "epidural steroid injections"none
    "trigger point injections"none
    "selective nerve blocks"none
    "joint injections"none
    "OTC analgesics"none
    "chiropractic treatments"none
    "physical therapy"none
    "massage therapy"none
    "prescription pain meds"none
    "prescription muscle relaxants"none
    "prescription medications"none
    "specialist evaluation and treatment"none
    ]
    return
     field 60 ""

    return
    bar
    return
    label "with" return
    radio-group 50x20 "" data [
    "no benefit"
    "minimal benefit"
    "moderate benefit"
    "substantial benefit"
    "complications of treatments"
    ]

    return
    label ".  The pain is characterized as" return
    check-group 55x45 "" data [
    "sharp"none
    "dull"none
    "burning"none
    "aching"none
    "throbbing"none
    "attended by tingling/numbness"none
    "and is"none
    "constant"none
    "intermittent"none
    ]
    ]

    group-box -1x-1 "" data [
    label ".  Symptoms increase with" return
    at 0x5
    check-group 50x30 data [
    "Exertion/activity of affected area"none
    "coughing"none
    "lifting"none
    "walking"none
    "standing"none
    "sitting"none
    ]

    return

    label "and decrease with" return
    check-group 50x30 data [
    "rest"none
    "recumbence"none
    "heated compresses"none
    "cold compresses"none
    "massage"none
    "alcoholic beverages"none
    ]

    return

    label ".  Pain intensity is rated" return
    check-group 50x55 data [
    "0/10"none
    "1/10"none
    "2/10"none
    "3/10"none
    "4/10"none
    "5/10"none
    "6/10"none
    "7/10"none
    "8/10"none
    "9/10"none
    "10/10"none
    ]
    ]
    return
    no-commas

    PainDoc


    Contributing User
  •  09-01-2008, 7:27 PM 6595 in reply to 6593

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    The labels have been removed.

    See my instructions.

     




    Developer
  •  09-01-2008, 8:04 PM 6598 in reply to 6595

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Jason,

    Sorry, but I'm not getting it. Why does the previous label ". When symptoms began, the patient" work, but the others don't. The syntax looks similar to me.

    PainDoc


    Contributing User
  •  09-01-2008, 8:40 PM 6599 in reply to 6598

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    There is a difference.

    Radio-groups will only print the label text if something is being selected. If nothing is being selected, then the label is ignored.

    Check-groups don't modify the label text like this .. so you need to change the "label" to "slabel" aka static label.  But this means that even if you don't select a check item, the text will always appear.

    Also, you need to change the last group to a radio-group instead of a check-group as the choices should be mutually exclusive?


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  09-02-2008, 1:55 PM 6614 in reply to 6599

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Graham,

     I have the GUI template working. Thanks for the tips. On another matter, when I attempt to print the trigger point template/letter to the local pdf, I get "Failed to create the pdf.  System call failed with return code of 1 Is Ghostscript installed correctly?" I followed the instructions properly during installation. Any ideas?

    PainDoc

     


    Contributing User
  •  09-02-2008, 2:20 PM 6615 in reply to 6614

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    John

    This message indicates that ghostscript failed to convert the postscript file to PDF.

    It could either be due to a faulty ghostscript installation, or, a faulty postscript file ( bug ).

    Try this ... when you get that message, check the www directory where you have Synapse.  Find the latest *.ps file and double click on it - it should come up in GSview if you have that installed.  If there is a postscript error, you will see the message.

    You can also zip up that ps file and email it to me if there is an errror. 


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  09-02-2008, 5:58 PM 6618 in reply to 6615

    Re: Templates in Synapse: How they work (boy are they flexible and powerful!)

    Graham,

    I'm getting a DSC error dialog box whenever I double click on one of the .ps files. Options are to ignore DSC errors, OK, or cancel. Clicking any of the above closes the dialog box and opens the procedure note/image product in GSView. Unfortunately, subsequent attempts at printing to local pdf all arrive at the same error process.

    John 


    Contributing User
Page 1 of 3 (40 items)   1 2 3 Next >
View as RSS news feed in XML
Try-out the Click to try-out Synapse EMR Express Edition Free Synapse EMR Express Edition Click to try-out Synapse EMR Express Edition · ©2006 SynapseDirect · Terms and Conditions · Privacy Policy · help us keep Synapse EMR Express free for all Doctors

managing your electronic medical records · Unique Visits Dell Computer