ijaraho wrote on Sunday, May 12, 2013:
hi,
I have two problems:
- I want to make “Referred by” field when adding issue as drop down list, not as free text.
- I want to appear the field “comments” when adding issue
can any one tell me how? thanks
ijaraho wrote on Sunday, May 12, 2013:
hi,
I have two problems:
fsgl wrote on Sunday, May 12, 2013:
Use the Demo for experimentation to avoid messing up your installed copy of OpenEMR.
ijaraho wrote on Tuesday, May 14, 2013:
thank you for response,
but I don’t mean the “Referred by” in “Transactions” but in “Issues” then “Medical Problems” or “Surgeries”…
and also I mean the “Comments” in the same place (it is in database but doesn’t appear in interface)
thanks
visolveemr wrote on Tuesday, May 14, 2013:
Hi,
I guess this can be accomplished by making minor change in the code <<interface/patient_file/summary/add_edit_issue.php >>. This converts the ‘Referred by’ textarea field to a dropdown and thus populated with referring physicians.
Also the ‘Comments’ field (with values) will be visible only during ‘Edit’. If the field doesn’t contain values, then it will not be visible during ‘Edit’ also and here the issue is how to post values to the ‘Comments’. If you want the comment field to be displayed by default, do the following change to the code
(i) Change the variable “revdisp” to “comdisp” in the line
document.getElementById(‘row_comments’ ).style.display = (f.form_comments.value ) ? ‘’ : revdisp;
in function newtype(index) in file mentioned above.
Hope this helps.
Thanks
ViSolve
services@visolve.com
fsgl wrote on Tuesday, May 14, 2013:
You are welcome, Issam. In trying to help, one learns new things everyday.
Thank you, Devi(?).
ijaraho wrote on Tuesday, May 14, 2013:
It success the both drop down list in ‘Referred by’ and ‘comments’
than to you very much
ijaraho wrote on Tuesday, May 14, 2013:
As I told it success, but there is small problem:
when do hard code in the file “add_edit_issue” to add drop down list from “Lists”, when I add list consist of two words, it doesn’t appear (for example “Clinical Plans”), it accept only the lists that consist of one word (for example “Country”)
thanks for you help
ijaraho wrote on Tuesday, May 14, 2013:
hi,
I also solve the last problem: by write _ between the two word (for example: “Clinical_Plans”)
thanks