Customizing your Prescriptions

Discussion in 'Documentation & Training Resources' started by Jason, Dec 11, 2006.

  1. Jason

    Jason Developer / Handyman Staff Member

    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"




    :)

  2. Jason

    Jason Developer / Handyman Staff Member

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

    Graham Developer Staff Member

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

  4. Jason

    Jason Developer / Handyman Staff Member

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


    Scripts Scripts ?

    [:)]
  5. Graham

    Graham Developer Staff Member

    Ummm... how about REBOL!

  6. Jason

    Jason Developer / Handyman Staff Member

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

    I have attached my prescription with a larger font size.

    Attached Files:

  7. Jason

    Jason Developer / Handyman Staff Member

    Looks like I tried to RX : 11 Meds




    Rx: HC cream 2.5% -
    Sig: apply a small amount BID
    M: 3 months 3 repeats

    Rx: RANITIDINE 300MG
    Sig: 1 tab po od
    M: 3 months 3 repeats

    Rx: amoxicillin 500mg
    Sig: 1 tab po tidz
    M: 3 months 3 repeats

    Rx: methotrexate 2mg
    Sig: sc qweekly.
    M: 3 months 3 repeats

    Rx: RANITIDINE 300MG
    Sig: 1 tab po od
    M: 3 months 3 repeats

    Rx: Tylenol #3 1-2 tabs
    Sig: po q4h prn
    M: 3 months 3 repeats

    Rx: amoxicillin 500mg
    Sig: 1 tab po tidz
    M: 3 months 3 repeats

    Rx: HC cream 2.5% -
    Sig: apply a small amount BID
    M: 3 months 3 repeats

    Rx: methotrexate 2mg
    Sig: sc qweekly.
    M: 3 months 3 repeats

    Rx: Tylenol #3 1-2 tabs
    Sig: po q4h prn
    M: 3 months 3 repeats

    Rx: HC cream 2.5% -
    Sig: apply a small amount BID
    M: 3 months 3 repeats


  8. Graham

    Graham Developer Staff Member

    If you're using the default template, then it would say something like

    at 75x580 prescription 30 60 250x600

    which means ... at 75x580 start the prescription text. Use a column width of 30 points, and a maximum of 60 lines. Once you reach the 60 lines in that column, start a new column at 250x600

    So, if you increase the font size, you need to increase the width and reduce the number of lines and move the new column point.
  9. Jason

    Jason Developer / Handyman Staff Member



    baseline: at 75x580 prescription 30 60 250x600

    new: at 75x580 prescription 60 44 250x600

    unfortunately the change from 30 to 60 had no effect on where the second column started.

    ideas ?
  10. Jason

    Jason Developer / Handyman Staff Member

    see the rx.

    Note: column 2 starts above the designated area.

    Attached Files:

  11. Graham

    Graham Developer Staff Member

    the 30 is a logical line width

    the 250 of 250x600 is the physical line width

    so try 75x580 prescription 60 44 500x550

    or something liket that.
  12. Jason

    Jason Developer / Handyman Staff Member

    What does logical line width do ?
  13. Graham

    Graham Developer Staff Member

    let me rephrase that ... it's the text width before wrapping occurs.

    if you want a gutter, then you need to set the new wrap point correctly.
  14. Jason

    Jason Developer / Handyman Staff Member

    Excellent. I didnt know there was wrapping.

    I notice that synapse logically figures out a third column, without it being defined.
  15. Jason

    Jason Developer / Handyman Staff Member

    I am now able to make .eps files very easily via SnagIT by Techsmith.

    Anyone need any .eps files ... just email me the .jpg !

Share This Page