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

Hello all,

I am trying to write a report that pulls lab results for currently admitted 
patients; however these results can come from other account numbers.

I attempted to write this report as suggested at the Iatric's website however 
this is not pulling the older information with different account numbers.

As in:
==>
        Main report is in LAB.M.SPEC (LAB.M.SPEC.zcus.adm.with.pos.hx.mrsa)
                Detail DPM      LAB.M.SPEC                  Detail Segment  
lab.m.spec.sensitivities
                Index DPM       LAB.M.SPEC                  Index File      
lab.m.spec.patient.index
        
        Select field:
                patient                                    LI
                /R.FRAG.VAL

        Footnote:
                AL START 
%Z.rw.fragment("ADM.PAT.zcus.adm.with.pos.hx.mrsa.frag.R","ADM.DCT")
<==

==>
        Fragment report is in ADM.PAT (ADM.PAT.zcus.adm.with.pos.hx.mrsa.frag)
                Detail DPM      ADM.PAT                     Detail Segment  
adm.patient.file
                Index DPM       ADM.PAT                     Index File      
adm.pat.room.bed.index

        No select, foot notes, or detail line
<==


I also attempted to write this report in ADM.PAT and pull the data in from 
LAB.M.SPEC to no avail and this runs very slowly.

        As in:
        ==>
        Main report is in ADM.PAT (ADM.PAT.zcus.adm.with.pos.hx.mrsa.v2)
                Detail DPM      ADM.PAT                     Detail Segment  
adm.patient.file
                Index DPM       ADM.PAT                     Index File      
adm.pat.room.bed.index
        
        Detail line 1:
                [EMAIL PROTECTED]/UN,
                
LC=%Z.rw.fragment("LAB.M.SPEC.zcus.adm.with.pos.hx.mrsa.v2.frag.R",
                LC="LAB.DCT"),""
        
        Detail line 2:
                LC=1^LINE

        Detail line 3:
                ECB=DO{+/R.FRAG.VAL[LINE]^LINE .,
                ECE=.},

        Field on line 2:
                DAT=FREE
                JFY=L
                LEN=15
                VAL=/R.FRAG.VAL[LINE,"SRC"]

        Field on line 3:
                DAT=FREE
                JFY=L
                LEN=15
                VAL=/R.FRAG.VAL[LINE,"SRC"]
<==

==>
        Fragment report is in LAB.M.SPEC 
(LAB.M.SPEC.zcus.adm.with.pos.hx.mrsa.v2.frag)
                Detail DPM      LAB.M.SPEC                  Detail Segment  
lab.m.spec.sensitivities
                Index DPM       LAB.M.SPEC                  Index File      
lab.m.spec.patient.index

        Select field:
                patient's.unit.number                      EQ
                /UN

        Detail line:
                [EMAIL PROTECTED]/R.FRAG.VAL[CNT1+1^CNT1,"SRC"],""



Thanks to all that took the time to read through this

Looking forward to your helpful comments,

Marc


Marc Benoy RN, MS, MBA
Clinical IT Project Leader RN
301.552.8876 (Phone)
301.552.8181 (Fax)
[EMAIL PROTECTED]
 
Doctors Community Hospital
8118 Good Luck Road
Lanham, MD 20706
 
Magic 5.4
 
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.

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

Reply via email to