RE: [MEDITECH-L] Computed field NPR help

2007-05-25 Thread Bill Mullins
You can select on ccdqr.date EQ Date TODAY-1 Or ccdqr.dateEQ (%Z.date.add(/.DAT,"-1")) or ccdqr.date EQ (%Z.date.add(@.today,0-1))

RE: [MEDITECH-L] Computed field NPR help

2007-05-23 Thread Toop, John
Hi Teresa, Say you wrote a fragment to go to NUR, it would need to know the ADM.PAT.urn (which is the "patient" in NUR), the intervention base and the date requested (T-1). Then use the documented activity index to extract the td.value corresponding to that query. Start by writing the report in