LR7OR2 ;DALOI/dcm - Get Lab results (cont.) ; 3/29/19 8:12am
Source file <LR7OR2.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
CH(SDATE,EDATE,TEST,COUNT,SPEC,UNVER) | ;Get CH subscript data
|
|
SETTST(ISUB,ZERO) | ;Set test data in ^TMP
; ISUB= test subscript ; ZERO= 0th node at ^LR(LRDFN,"CH",IVDT,TST) |
|
NOTE(LRDFN,IVDT) | ;Get comments
|
|
TEST(Y,DFN,ORD,SDATE,EDATE,SUB,TEST,FLAG,COUNT) | ;Test network calls
; Called from TIU ; COUNT = count of results to send, results with the same date/time count as 1 |
|
T60(Y,IFN) | ;Get tests from file 60
; If IFN is not passed then the whole file is sent. |
|
T64(Y,IFN) | ;Get tests from file 64
; If IFN is not passed then the whole file is sent, if entry has a link to file 60 |
|
ORD(LRDFN,IVDT) | ;Get order # for entry in file 63
; LRDFN=Lab Patient # ; IVDT=Inverse Date/time in 63 (^LR(LRDFN,"CH",IVDT)) |
|
ORDP(LRPROV) | ; Display ordering provider in comment
|
|
RRDT(LRDT) | ; Display report released date/time
|
|
PLS | ; List reporting and performing laboratories
; If multiple performing labs then list tests associated with each lab. |