I am very new to VFE and need help getting an obs term to appear under the appropriate date. I have a very simple form that asks users the following: Date of Exam, and Results. It also has a button for users that reads: Record Value and Date. The problem I am having is that the results are being recorded in the flowsheet under the date the document was started instead of the Date of Exam that was chosen. Any help would be greatly appreciated.
This form has that capability. We can capture values, and a date for various OBS Codes - representing tests/processes.
~joe
You need to include the date you want associated with the obs term. For example:
{OBSNOW("TERM","VALUE","DATE")}
So looking at your example you could have your value and date each save to a document variable and then in the runprocess for your button you could do something like this:
{OBSNOW("TERM", DOCUMENT.VALUE,DOCUMENT.DATE)}
Brad
Sorry I must have entered something wrong. My value is still appearing under the date the document was created in the flowsheet instead of the date of exam. I used the following under Run Process for the button Record Value and Date: {OBSNOW("HPV RESULT", DOCUMENT.VALUE,DOCUMENT.DATE)}. How do I tell the form to input the value under the date of the exam instead of date of document.? Thank you
Try clicking on the the boxes where the user enters the value for the "HPV RESULT" and the date that should be applied to it on the form. Is the type set to 'Variable' and the variable name set to 'Value' and 'Date' respectively? I'm thinking there is an issue with where the data is being stored.
If that doesn't work for you, you can always run a mel trace and debug by going through the log.