Notifications
Clear all
Topic starter
I would like our OB Form to display obsterms that are relevant to their current pregnancy not 5 years ago. I would like OBS(OB CARE PLAN) to Display information that is <12 months old, otherwise I would like it to be blank.
ex. {if OBS(OB CARE PLAN) is > 12 months old then " " else cfmt(OBSANY("OB CARE PLAN"), "","","","")}
Any help with this Code is appreciated.
Posted : August 26, 2014 5:39 am
Use:
if (DURATIONDAYS(LASTOBSDATE("OB CARE PLAN"), str(._TODAYSDATE)) <= 365) then cfmt(LASTOBSVALUE("OB CARE PLAN"), "","","","") else "" endif
Posted : August 26, 2014 6:17 am
Topic starter
Thank You.
Posted : August 28, 2014 5:49 am