I have a flowsheet that I created for my physicians which pulls in observation terms that have previously been records; however, if the patient has not been seen in a while, I do not want the observations to pull forward. Is there a way to say if the obsprev is past a certain date range, then do not pull forward the observation? Any is there anyway to do it at the beginning of the form for all the observations or do you need to do it individually?
You can select how many days between the last observation date for that obsterm and today's date by using this code:
{if ((DURATIONDAYS(LASTOBSDATE("YOUR OBS HERE"), str(._todaysdate)) < # of days ) and LASTOBSDATE("YOUR OBS HERE") <> "" )then
OBSANY("YOUR OBS HERE")
else ""
endif
}
As for doing this in a flowsheet, I'm not sure if you can, but you can do this in a letter or something. And you have to do it individually because you have to specify which obsterms you want to behave this way.