Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: BLRSPRSE

BLRSPRSE.m

Go to the documentation of this file.
  1. BLRSPRSE ; IHS/DIR/FJE - SPECIAL PARSING FOR VARIOUS MODULES ; [ 04/13/98 1:11 PM ]
  1. ;;5.2;BLR;**1001**;FEB 1, 1998
  1. ;
  1. ; subroutine is called by BLRLINK1
  1. ;
  1. ; parsing of data elements from disk into local arrays and variables
  1. ; BLRVAL = array containing elements of ^BLRTXLOG (file # 9009022)
  1. ;
  1. S:BLRSS="MI" BLRVAL(13)=$G(^BLRTXLOG(BLRLOGDA,13))
  1. S:BLRSS="BB" BLRVAL(14)=$G(^BLRTXLOG(BLRLOGDA,14))
  1. F T=1:1 S TEXTSTR=$T(@BLRSS+T) S BLRSTR=$P(TEXTSTR,";",3) Q:BLRSTR="" S NAME=$P(BLRSTR,"|"),INDX=$P(BLRSTR,"|",2),FLD=$P(BLRSTR,"|",3),@NAME=$P(BLRVAL(INDX),U,FLD)
  1. Q
  1. ;
  1. PARSE ;;variable reference|subscript of BLRVAL array|field or piece in BLRVAL string
  1. MI ; MICRO
  1. ;;BLRORG|13|1;; organism ien
  1. ;;BLRORGN|13|2;; organism name
  1. ;;BLRANT|13|3;; antibiotic ien
  1. ;;BLRANTN|13|4;; antibiotic name
  1. ;;BLRSTAGE|13|5;; stage counter...number of stages in a parasite
  1. ;;BLRCOLSP|13|7;; collection sample ien ;IHS/DIR TUC/AAB 04/08/98
  1. ;;BLRCOMPD|13|9;; complete date ;IHS/DIR TUC/AAB 04/08/98
  1. ;
  1. BB ; BLOOD BANK
  1. ;;BLRBTN|14|2;; blood bank test name
  1. ;;BLRANT|14|3;; antibody ien
  1. ;;BLRANTN|14|4;; antibody name
  1. ;
  1. Q