Hi there, I am wondering if it is possible to be able to use the insert previous button for only previous values not any time that obs term was updated. Here is my senario.
We are an infertility clinic that has a Luteal Phase Managment form which allows us to keep track of each cycle our patients are on and their outcomes. I am looking to modify the form greatly however what the nurses are asking of me, I am not sure if it is possible but one of the biggest concerns is that each time they update and sign off on the form they want the insert previous function to only update from the very last form they updated rather then from any time that obs term was updated.
They will want for the form to have a clear all button and a insert previous as well. However, the insert previous button should only update what was put into the form perviously. If the form is updated 5x then it should only insert the previous form and not any time the form/obs term was updated for that patient.
Any thoughts or ideas?
Thanks!
George
CCRM
I use {LASTOBSVALUEBYUSER("obsterm")} you can also use the function LASTOBSVALUEBYLOC("")
Jim
I think I understand what you are asking, the problem as I read it is that some obsterms are not updated every time you use the form, and you want the last update, not necessarily the last observation term, if that is the case here is a possible solution.
Set one obsterm to update everytime the form is opened (in my encounters, I use a generic date field to capture clinical date, but it doesnt really matter what it is). Then the insert previous function would have a serious of these typeof things -
if LASTOBSDATE(every time field) == LASTOBSDATE(something you want to check) then OBSNOW(something you want to check,OBSPREV(something you want to check))
else "" endif