I have a form that the schedulers use when confirming patient for a procedure.
Within the form we have the vitals, however they would like the Ht Conversion table that you find in a GE vitals form to be added to this VFE form.
I am newer to VFE and I am not sure how to create a button that would basically just open and show all the ht conversions from feet/inches to inches.
Any ideas are appreciated.
Do you need a ht conversion table, or instead have a button that will recalculate inches to ft and in (or visa-versa), or to cm etc ?
If you have a pdf version of the conversion chart, and if every computer has adobe reader on it, you can open a pdf from a button on the form. You would need to store the pdf either on each local computer, or better on the server somewhere where the centricity application already has access to external pdf handouts.
Here is a function I use to open external PDF handouts:
In this example,
PDFfilename = "Height Conversion Chart.PDF"
PDFfilepath = "\\myServerFolder\Handouts\Height Conversion Chart.PDF"
{fn fnPrintSelectedHandout( PDFfilename ) {
if PDFfilename=="" then
return ""
else
local fp = numtoascii(92) + numtoascii(92) + "myServerFolder"
+ numtoascii(92) + "Handouts"
+ numtoascii(92) + PDFfilename
RUNSHELLOPEN(fp,"","")
endif
return ""
}}
Put this function call under a button on your form to Open the Height Conversion Chart in Adobe Reader (Only works if you have Adobe Reader installed):
Button connection should be RUNPROCESS
{
fnPrintSelectedHandout("Height Conversion Chart.PDF")
}
- Beverly
I give up on having what I post keep the formatting I post. It looked good, but after posting is all smoozed together. Ugh! I am getting so frustrated with this. ???? How do I post so that my formatting is kept as intended, and withtout removing { } or other "special" characters ? - Beverly
Beverly - thank you I will give that I try. I think I can make out the code even though it smooshed it up.
Thanks!!
This should just give you a popup if you put a call in an action button
{fn HeightConversionTable(){
local hold = "4\' 6\" = 54in.\t" + "5\' 0\" = 60in.\t" + "5\' 6\" = 66in.\t" + "6\' 0\" = 72in." + hret +
"4\' 7\" = 55in.\t" + "5\' 1\" = 61in.\t" + "5\' 7\" = 67in.\t" + "6\' 1\" = 73in." + hret +
"4\' 8\" = 56in.\t" + "5\' 2\" = 62in.\t" + "5\' 8\" = 68in.\t" + "6\' 2\" = 74in." + hret +
"4\' 9\" = 57in.\t" + "5\' 3\" = 63in.\t" + "5\' 9\" = 69in.\t" + "6\' 3\" = 75in." + hret +
"4\' 10\" = 58in.\t" + "5\' 4\" = 64in.\t" + "5\' 10\" = 70in.\t" + "6\' 4\" = 76in." + hret +
"4\' 11\" = 59in.\t" + "5\' 5\" = 65in.\t" + "5\' 11\" = 71in.\t" + "6\' 5\" = 77in."
userok(hold)
return ""
}
}
Beverly if you click from visual to text above your response then click code once, paste your code, then click code again it should display like mine is, but I guess it doesnt look much better...
sidenote - I tried using "Text" but could not find any menu items at all to let me pick "code".
So I tried encasing between <code> and </code> - still No Joy 🙁
Went back to Visual tab, could not find "code", so tried encasing in BLOCK quote, still No Joy.
My nicely formatted posting gets all smushed together.
.
.
I KNOW I was able to do this once - not sure why cannot recall how to do a clean code posting.
- B
.
.
Sheesh - FINALLY figured out something that worked.
Use the Text Tab, put this around your code block (Had to type in the html myself)
.
<pre><code>
.
...your code block here...
.
</code></pre>
Michael, I gave your answer a vote, because in this particular case, I think your popup is just easier than having adobe reader open up a pdf - taking you away from the EMR...
Better a simple popup to quickly get the closest conversion and add inches as needed - Beverly