Is there a way to clear the data of an obs term already written to the database? Here is the situation, Our treatment plan writes to a set of obs terms. Occasionally the plan changes and a treatment is not necessary. I want a form to update the plan but need a way to clear the data of "IVCTP.." if that treatment is no longer needed. Hopefully that makes sense...
As long as its a new observation and you dont use the date field then you can by doing this
OBSNOW("IVCTP","")
If an observation is signed it's hard to clear. You have a couple options:
1) Write some meaningless replacement data in the field, like OBSNOW("IVCTP","-----").
2) Dedicate a new obsterm to a treatment end date, such as IVCTP_EndDate. When pulling data for your IVCTP obsterm, only pull values that are newer than the date written in IVCTP_EndDate. That would require some loops and would complicate things a fair amount.
OBSMODIFIERNOW can work as well