We are attempting to save serial Clinical Visit Summaries to a obsterm to potentially retrieve at a later date and for data mining. We are having problems with the syntax of the statement. We have tried many gyrations of the following with success.
Any help would be appreciated.
Marshall
{ OBSNOW("MUCVS",MEDS_AFTER()) }
{ OBSNOW("MUCVS",str(MEDS_AFTER())) }
{ OBSNOW("MUCVS",OBSNOW("MUCVS") + MEDS_AFTER()) }
Are you sure that MUCVS is a real observation? I did a search in my database and it didn't exist, but there is a MUCVSMEDS and MUCVSMEDS2.
{OBSNOW("MUCVS",MEDS_AFTER("LIST"))}
The first one should work but I like to specify a return type
Thanks for quick response.
The obsterm was just an example.
I have tried the above idea also.
Any others would be appreciated.
Marshall
Where are you placing this code?
Pushing with an action button through a run process
You might need to put the current value into a document variable and the previous value into another. Then concatenate them together into a third variable and push that document variable to the obs term.