Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Customizing your Prescriptions

Last post 10-16-2008, 9:08 PM by Jason. 52 replies.
Page 3 of 4 (53 items)   < Previous 1 2 3 4 Next >
Sort Posts: Previous Next
  •  08-05-2008, 8:33 PM 6415 in reply to 6414

    Re: Customizing your Prescriptions

    way cool, works.  What's being trimmed ?  Smile

    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-05-2008, 8:37 PM 6416 in reply to 6415

    Re: Customizing your Prescriptions

    Any spaces at the end of the field if they are there ...

    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  08-05-2008, 8:44 PM 6417 in reply to 6416

    Re: Customizing your Prescriptions

    Graham:
    Any spaces at the end of the field if they are there ...

    figured as much,

    How could I *NOT* print out the patient's pharmacy if one is not entered ?


    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-05-2008, 9:26 PM 6420 in reply to 6417

    Re: Customizing your Prescriptions

    at 330x680 ( either empty? pharmanamefld/text  [ ""] [ rejoin [ trim pharmanamefld/text ", " trim pharmacityfld/text "." ]] )

    might work ...


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  08-05-2008, 9:44 PM 6424 in reply to 6420

    Re: Customizing your Prescriptions

    Works ... way way cool.

    at 230x680 "Pharmacy:" 
    at 295x680 ( either empty? pharmanamefld/text  [ ""] [ rejoin [ trim pharmanamefld/text ", " trim pharmacityfld/text "." ]] )

     

    Q: How might I not print the word Pharmacy if either are empty as well ?

     


    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-05-2008, 10:48 PM 6430 in reply to 6424

    Re: Customizing your Prescriptions

  •  08-06-2008, 1:21 PM 6432 in reply to 6430

    Re: Customizing your Prescriptions

    Graham:

    yes, you could ...

    How ?  Smile

     


    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-06-2008, 1:27 PM 6433 in reply to 6432

    Re: Customizing your Prescriptions

    Updated my script template:

     

    pagesize A4
    font Times-Bold 16
    linewidth 1
    color (blue)
    at 230x744 "Dr. T. Demodoc, MD"
    at 75x800 line 530x800
    at 75x750 line 530x750
    at 75x700 line 530x700
    at 75x650 line 530x650
    at 75x600 line 530x600
    at 75x550 line 530x550
    at 75x500 line 530x500
    at 75x450 line 530x450
    at 75x400 line 530x400
    at 75x350 line 530x350
    at 75x300 line 530x300
    at 75x250 line 530x250
    at 75x200 line 530x200
    at 75x150 line 530x150
    at 550x800 line 550x150
    at 500x800 line 500x150
    at 450x800 line 450x150
    at 400x800 line 400x150
    at 350x800 line 350x150
    at 300x800 line 300x150
    at 250x800 line 250x150
    at 200x800 line 200x150
    at 150x800 line 150x150
    at 100x800 line 100x150
    at 50x800 line  50x150
    at 537x800 "550"
    at 487x800 "500"
    at 437x800 "450"
    at 387x800 "400"
    at 337x800 "350"
    at 288x800 "300"
    at 237x800 "250"
    at 187x800 "200"
    at 137x800 "150"
    at 87x800 "100"
    at 38x800 "50"
    at 75x150 "150"
    at 75x788 "800"
    at 75x750 "750"
    at 75x700 "700"
    at 75x650 "650"
    at 75x600 "600"
    at 75x550 "550"
    at 75x500 "500"
    at 75x450 "450"
    at 75x400 "400"
    at 75x350 "350"
    at 75x300 "300"
    at 75x250 "250"
    at 75x200 "200"
    at 75x150 "150"
    at 250x135 "250x150 horizontal x vertical"
    at 250x119 "think of the lines being drawn from the bottom left"
    at 0x0 line 250x150
    at 250x100 "so 250x150 is over 250 and up 150"
    color (black)
    font Times-Roman 12
    newpath at 75x740 line 530x740
    newpath at 75x700 line 530x700
    at 230x728 line1
    at 230x716 line2
    at 230x703 line3
    at 440x725 "Ph: "
    at 460x725 ph
    at 440x710 "Fx: "
    at 460x710 fx
    at 230x680 "Pharmacy:" 
    at 295x680 ( either empty? pharmanamefld/text  [ ""] [ rejoin [ trim pharmanamefld/text ", " trim pharmacityfld/text "." ]] )
    font Times-Roman 16
    at 75x655 patient-table
    at 75x608 "DOB:" at 116x608 dob
    at 400x608 "Date:"  font Times-Bold at 440x608 today
    font Times-Roman 12
    at 75x594 line 530x594
    at 75x580 prescription 30 60 250x600
    at 140x300 meds-table
    at 140x150 "Signature:"
    at 210x150 line 380x150
    at 390x150 "Registration: "
    at 455x150 medical-registration
    at 400x190 "Generic Substitution Permitted"

    showpage

    ==========

    The blank line above (before showpage) is for an image file I attach to prescriptions:       at 0x35 eps %/r/synapsefiles/rxheader.eps

     

     

     


    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-06-2008, 1:31 PM 6434 in reply to 6433

    Re: Customizing your Prescriptions

    Here is a special test script to help users understand the placement of items on a prescription.

    =========

    pagesize A4
    font Times-Bold 16
    linewidth 1
    color (blue)
    at 230x744 "Dr. T. Demodoc, MD"
    at 75x800 line 530x800
    at 75x750 line 530x750
    at 75x700 line 530x700
    at 75x650 line 530x650
    at 75x600 line 530x600
    at 75x550 line 530x550
    at 75x500 line 530x500
    at 75x450 line 530x450
    at 75x400 line 530x400
    at 75x350 line 530x350
    at 75x300 line 530x300
    at 75x250 line 530x250
    at 75x200 line 530x200
    at 75x150 line 530x150
    at 550x800 line 550x150
    at 500x800 line 500x150
    at 450x800 line 450x150
    at 400x800 line 400x150
    at 350x800 line 350x150
    at 300x800 line 300x150
    at 250x800 line 250x150
    at 200x800 line 200x150
    at 150x800 line 150x150
    at 100x800 line 100x150
    at 50x800 line  50x150
    at 537x800 "550"
    at 487x800 "500"
    at 437x800 "450"
    at 387x800 "400"
    at 337x800 "350"
    at 288x800 "300"
    at 237x800 "250"
    at 187x800 "200"
    at 137x800 "150"
    at 87x800 "100"
    at 38x800 "50"
    at 75x150 "150"
    at 75x788 "800"
    at 75x750 "750"
    at 75x700 "700"
    at 75x650 "650"
    at 75x600 "600"
    at 75x550 "550"
    at 75x500 "500"
    at 75x450 "450"
    at 75x400 "400"
    at 75x350 "350"
    at 75x300 "300"
    at 75x250 "250"
    at 75x200 "200"
    at 75x150 "150"
    at 250x135 "250x150 horizontal x vertical"
    at 250x119 "think of the lines being drawn from the bottom left"
    at 0x0 line 250x150
    at 250x100 "so 250x150 is over 250 and up 150"
    color (black)
    font Times-Roman 12
    newpath at 75x740 line 530x740
    newpath at 75x700 line 530x700
    at 230x728 line1
    at 230x716 line2
    at 230x703 line3
    at 440x725 "Ph: "
    at 460x725 ph
    at 440x710 "Fx: "
    at 460x710 fx
    at 230x680 "Pharmacy:" 
    at 295x680 ( either empty? pharmanamefld/text  [ ""] [ rejoin [ trim pharmanamefld/text ", " trim pharmacityfld/text "." ]] )
    font Times-Roman 16
    at 75x655 patient-table
    at 75x608 "DOB:" at 116x608 dob
    at 400x608 "Date:"  font Times-Bold at 440x608 today
    font Times-Roman 12
    at 75x594 line 530x594
    at 75x580 prescription 30 60 250x600
    at 140x300 meds-table
    at 140x150 "Signature:"
    at 210x150 line 380x150
    at 390x150 "Registration: "
    at 455x150 medical-registration
    at 400x190 "Generic Substitution Permitted"
    showpage

    =================

    Here is what the above template looks like:

     



    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-06-2008, 1:32 PM 6435 in reply to 6434

    Re: Customizing your Prescriptions

    Here is the Template Code to draw the lines !

     

     

    at 75x800 line 530x800
    at 75x750 line 530x750
    at 75x700 line 530x700
    at 75x650 line 530x650
    at 75x600 line 530x600
    at 75x550 line 530x550
    at 75x500 line 530x500
    at 75x450 line 530x450
    at 75x400 line 530x400
    at 75x350 line 530x350
    at 75x300 line 530x300
    at 75x250 line 530x250
    at 75x200 line 530x200
    at 75x150 line 530x150
    at 550x800 line 550x150
    at 500x800 line 500x150
    at 450x800 line 450x150
    at 400x800 line 400x150
    at 350x800 line 350x150
    at 300x800 line 300x150
    at 250x800 line 250x150
    at 200x800 line 200x150
    at 150x800 line 150x150
    at 100x800 line 100x150
    at 50x800 line  50x150
    at 537x800 "550"
    at 487x800 "500"
    at 437x800 "450"
    at 387x800 "400"
    at 337x800 "350"
    at 288x800 "300"
    at 237x800 "250"
    at 187x800 "200"
    at 137x800 "150"
    at 87x800 "100"
    at 38x800 "50"
    at 75x150 "150"
    at 75x788 "800"
    at 75x750 "750"
    at 75x700 "700"
    at 75x650 "650"
    at 75x600 "600"
    at 75x550 "550"
    at 75x500 "500"
    at 75x450 "450"
    at 75x400 "400"
    at 75x350 "350"
    at 75x300 "300"
    at 75x250 "250"
    at 75x200 "200"
    at 75x150 "150"
    at 250x135 "250x150 horizontal x vertical"
    at 250x119 "think of the lines being drawn from the bottom left"
    at 0x0 line 250x150
    at 250x100 "so 250x150 is over 250 and up 150"

     

    :) 


    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-06-2008, 1:33 PM 6436 in reply to 6435

    Re: Customizing your Prescriptions

    Is there a character to begin a line that "Comments Out" that line ?

    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-06-2008, 1:49 PM 6439 in reply to 6436

    Re: Customizing your Prescriptions

    at 230x680 (either empty? pharmanamefld/text [""]["Pharmacy:" ])

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  08-06-2008, 2:08 PM 6440 in reply to 6439

    Re: Customizing your Prescriptions

    OK, this scripting language for scripts is cool ... wonder what we should call these cool bits of code ?

    Scripts Scripts ?

    Smile


    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  08-06-2008, 2:22 PM 6441 in reply to 6440

    Re: Customizing your Prescriptions

    Ummm... how about REBOL!

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  09-09-2008, 4:12 PM 6689 in reply to 6441

    Re: Customizing your Prescriptions

    note: prescriptions now allow .jpg and .png images !

    I have attached my prescription with a larger font size.

     



    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
Page 3 of 4 (53 items)   < Previous 1 2 3 4 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