Hello all,
I have been trying to tackle this issue for a long time now and wonder
if you can help?
I am trying to obtain the last documentation of a query that can be
documented on in multiple interventions.
Naturally, I have all the standard checks in place, such as:
Detail DPM NUR.PC.WORK Detail Segment
nur.int.documented.activity
Index DPM OE.ORD Index File oe.adm.room.bed.index
td.act.date EQ @Last(td.act.date)
td.act.time EQ @Last(td.act.time)
xx.ck.most.recent
VAL=%NUR.PC.WORK.zcus.report.name.M.ck(patient,int.base,int.urn,td.act.d
ate,td.act.time)
A^patient,
B^int.base,
C^int.urn,
[EMAIL PROTECTED](td.act.date) 1,
[EMAIL PROTECTED](td.act.time) 1,
[EMAIL PROTECTED](act.ctr)#"1."=99;
td.act.date^LDATE,
td.act.time^LTIME}}},
IF{D_E=(LDATE_LTIME) 1};
xx.ck.undo
[EMAIL PROTECTED],,,,,@td.act.ctr#"0."_".99"] "";1}
However, this set-up always provides me with the last documentation of
each intervention in which this query was documented on and I only need
the last possible on regardless of which intervention.
Thanks in advance,
Marc
Marc Benoy RN, MS, MBA
Clinical IT Project Manager
301.552.8876 (Phone)
301.552.8181 (Fax)
[EMAIL PROTECTED]
Doctors Community Hospital
8118 Good Luck Road
Lanham, MD 20706
Magic 5.61
CONFIDENTIALITY STATEMENT: This communication, including attachments, is for
the exclusive use of addressee and may contain proprietary, confidential or
privileged information. If you are not the intended recipient, you are hereby
notified that any disclosure, use, copying, dissemination, distribution or
taking of any action in reliance on the content of this information is strictly
prohibited. If you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all
copies. Thank you.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
To check the status of the meditech-l, visit MTUsers.NET
For help, email [EMAIL PROTECTED]
Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com