Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: LA7QRY2

Package: Automated Lab Instruments

Routine: LA7QRY2


Information

LA7QRY2 ;DALOI/JMC - Lab HL7 Query Utility ;Nov 3, 2006

Source Information

Source file <LA7QRY2.m>

Entry Points

Name Comments DBIA/ICR reference
PATID ; Resolve patient id and establish patient environment
BCD ; Search by specimen collection date.
BRAD ; Search by results available date (completion date).
; Assumes cross-references still exist for dates in LRO(69) global.
; Collects specimen date/time values for a given LRDFN and completion date.
; Cross-reference is by date only, time stripped from start date.
; Uses cross-reference ^LRO(69,DT,1,"AN",'LOCATION',LRDFN,LRIDT)=""
SEARCH ; Search subscript for a specific collection date/time
CHSS ; Search "CH" datanames for matching codes
MISS ; Search "MI" subscripts for matching codes
APSS ; Search AP subscripts for matching codes
; AP results are currently not coded - use defaults
BBSS ; Search BB subscript for matching codes
; *** This subscript currently not supported ***
CHECK ; Check NLT order/result and LOINC codes.
STORE ; Store entry for building in HL7 message
SETDFN(LA7X) ; Setup DFN and other lab variables.
SCLIST(SCLST,LA7SLST) ; Setup subscript search list
; Call with SCLST = list of subscripts to search, "," delimited
; LA7SLST = array reference to return parsed subscript array
Info |  Source |  Entry Points