Trying to figure out what bang (!) does when used right in front of a function call.
And for bonus points, is there a MEL language reference anywhere? New to this.
Thanks,
Dennis
"!" evaluates whatever follows at form load. Be careful, it will evaluate with first load, and with any subsequent load of held form. If you are going to use this, you can check form variable for prior initialization. I can send you an example if you wish. It is tricky as you call the initialization routine form the text translation of the variable. e.g. {if document.form_loaded<>"yes" then Load_Form() "" else "" endif}. Be careful to use exact syntax. The last statement of the Load_Form() routine should be document.form_loaded="yes".
The reference document I use is:
Creating Clinical Content for Centricity
Physician Office - EMR 2005
July 2006
2027167-002 Rev B
There must be a more recent version. If you need a copy of above contact me.
Thanks for the fast response. I downloaded a PDF from here:
So the "!" is being used in a form component where there's a MEL expression for the text for a LabelFieldTemplate.
If I remove it the MEL expression is apparently not evaluated at all so I assumed it was that "actually do this" operator. 🙂
Hi jfitzmd,
I would very much like a copy
Creating Clinical Content for Centricity
Physician Office – EMR 2005
July 2006
2027167-002 Rev B
My email is [email protected] if you can email me the copy. Thank you.
Tara
The latest version is from March 2012 and is available on the GE web site at the very bottom of this page https://engage.gehealthcare.com/community/en/emr/documentation for EMR and https://engage.gehealthcare.com/community/en/cps/clinical-content#create for CPS (didn't look to see the date on the CPS one).