All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Roger,

You could use your attribute to call a macro first, then put the
response to each question in a slash field, before calling your report.

---- a lot of work -----

Or, you could copy your report to the DPM of NUR.PC.WORK and attach it
to the intervention on page two of the intervention dictionary.  Then,
the system can print the screen for you, and you don't have to rebuild
the report every time you change the CDS.

Or, if the report is just a limited few queries from the CDS, you don't
have to go through the work of maintaining the macro.  And, the report
only prints when the user files the intervention - avoiding erroneous
reports printing when the user exits the intervention after the report
is filed.

Brian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roger Beverly
Sent: Tuesday, April 04, 2006 12:14 PM
To: '[email protected]'
Subject: FW: [MEDITECH-L] Printing temporary query responses in NPR
report


All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================



The report is already written in ADM.PAT, and then they asked me later
if it would be possible to add the indication from the query response.
So, I tried doing it with the ADM.PAT.ccdqr.response field. The problem
is the report is printing as soon as the query is answered and before
the CDS is filed (from an attribute on the query), so the values are not
stored yet.  Do you know if there is a temp field in NUR.PC.WORK that
would have the values I could pull from?  The other question is how
would I subscript a custom field in ADM.PAT to be able to get to the
data?

Thanks - Roger

-----Original Message-----
From: Lawrence, Mitchell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 04, 2006 9:34 AM
To: Roger Beverly; [email protected]
Subject: RE: [MEDITECH-L] Printing temporary query responses in NPR
report

>From what I have read recently in the L, you should probably be using
fields from NUR.PC.WORK rather than ADM.PAT...

td.results and td.repeat.results segments

 
Thank you,
Mitch Lawrence
Senior Applications Analyst - Advanced Report Writer
General Financials Support
CHRISTUS Information Management
Tel 361.881.3408  Fax 361.888.6117
Mob 361.549.8456
[EMAIL PROTECTED]
 

If someone has "Made your day", send them a Spirit Buck! 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roger Beverly
Sent: Monday, April 03, 2006 9:06 AM
To: '[email protected]'
Subject: [MEDITECH-L] Printing temporary query responses in NPR report

All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

I have written an NPR report that pulls in query responses from a
Nursing CDS.  The report prints automatically before the CDS is filed.
The problem I am having is that when a Nurse updates the query response
later and the report prints, the filed responses are printing on the
report instead of the new values that have just been entered.  I assume
these values are stored in a temporary field until they are filed, and
that is probably the field that I should be referencing on the NPR
report.  The question is what is that field?

Here are the custom fields on the NPR report:

DAT=FREE
LEN=1 [EMAIL PROTECTED]@urn,"PCADM267"]'="NI"&'@ccdqr.response
[EMAIL PROTECTED],"PCADM268"] "X"^FC;""^FC},FC

This looks at the response to the query PCADM267 & 268, and if there are
no contraindications to a flu vaccine places an "X" in a check box by
the order for a flu vaccine on the NPR report.

DAT=FREE
LEN=30
[EMAIL PROTECTED]@urn,"PCADM267"] " ("[EMAIL PROTECTED]
VAL=element.response["PCPNEIND",@[EMAIL PROTECTED],"PCADM267"]]_")";""
}}

This is to print the indication that is entered on the flu vaccine
screening query.

Any help would be greatly appreciated.

Roger Beverly,PharmD
Clinical Pharmacy Coordinator
Conway Medical Center, Inc.
(843)347-8120
[EMAIL PROTECTED]



_______________________________________________
meditech-l mailing list
[email protected] http://mtusers.com/mailman/listinfo/meditech-l
_______________________________________________
meditech-l mailing list
[email protected] http://mtusers.com/mailman/listinfo/meditech-l

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to