Print Page as PDF
DBIA2593 ICR (2593)

DBIA2593    ICR (2593)

Name Value
NUMBER 2593
IA # 2593
DATE CREATED 1999/04/23
CUSTODIAL PACKAGE LAB SERVICE
USAGE Private
TYPE Routine
ROUTINE LRRGHOMI
NAME DBIA2593
GENERAL DESCRIPTION
The CIRN data extaction routine for Microbiology (LAB)
^LRRGHOMI makes several references to the LAB DATA file (#63) in order to
generate the HL7 message for Microbiology results.  This routine is called
from ^RGHOMI.
STATUS Withdrawn
DURATION Till Otherwise Agreed
ID LRRGHOMI
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
CALL1
Gets some initial patient details.
VARIABLES TYPE VARIABLES DESCRIPTION
RGSTUB Input
Event Stub
RGLRD Output
^LR global pointer
RGLRI Output
Inverse date/time for test
RGZ Output
$piece 2 of RGZ is the PARENT FILE, and $piece  3 of
RGZ is the NAME. Both come from the ^LR(RGLRD,0) node.
CALL2
Gets details from ^LR(RGLRD,"MI",RGLRI,0) node. RGLRD
and RGLRI are inputs.
VARIABLES TYPE VARIABLES DESCRIPTION
RGZ Output
$Piece 1 is DATE/TIME SPECIMEN, $Piece 5 is
SITE/SPECIMEN, $Piece 6 is the ACCESSION ID, $Piece 7 is the PHYSICIAN.
CALL3
Inputs are same as for CALL2. This call creates the
HL7 message which is subsequently processed further by the calling routine
^RGHOMI. The following Microbiology Result details are accessed from various
^LR nodes to be transmitted in the HL7 me ssage : ORGANISM, QUANTITY ; BACT
RPT REMARK ; PARASITE ; STAGE, QUAN TITY ; COMMENT ; PARASITE RPT REMARK ;
FUNGUS/YEAST, QUANTITY ; MICOLOGY RPT REM ; ACID FAST STAIN, QUANTITY ;
MYCOBACTERIUM, QUANTITY ; TB RPT REMARK ; ANTIBIOTIC (for SERUM) ,  DRAW TIME,
CONC (ug/ml)
SUBSCRIBING PACKAGE CLINICAL INFO RESOURCE NETWORK