[613] | 1 | IMRTDSP ; HCIOFO/FAI - VIRAL LOAD AND CD4 TABLE DISPLAY; 11/03/01 09:18
|
---|
| 2 | ;;2.1;IMMUNOLOGY CASE REGISTRY;**16**;Feb 09, 1998
|
---|
| 3 | ;
|
---|
| 4 | START S GRP=""
|
---|
| 5 | F S GRP=$O(^IMR(158.9,1,3,GRP)) Q:GRP="" S GROUP=$P($G(^IMR(158.9,1,3,GRP,0)),U,1) D CD4,VIRAL
|
---|
| 6 | Q
|
---|
| 7 | CD4 Q:GROUP'=1
|
---|
| 8 | S GRPNM=$P($G(^IMR(158.95,GROUP,0)),U,1)
|
---|
| 9 | D LABS
|
---|
| 10 | Q
|
---|
| 11 | VIRAL Q:GROUP'=8
|
---|
| 12 | S GRPNM=$P($G(^IMR(158.95,GROUP,0)),U,1)
|
---|
| 13 | D LABS
|
---|
| 14 | Q
|
---|
| 15 | LABS S B="" F S B=$O(^IMR(158.9,1,3,GRP,B)),C="" Q:B="" F S C=$O(^IMR(158.9,1,3,GRP,B,C)),D="" Q:C="" F S D=$O(^IMR(158.9,1,3,GRP,B,C,D)),L="" Q:D="" F S L=$O(^IMR(158.9,1,3,GRP,B,C,D,"B",L)) Q:L="" D MATCH
|
---|
| 16 | Q
|
---|
| 17 | MATCH S TE=$P($G(^IMR(158.9,1,3,GRP,B,C,0)),U,1),TYPE=$P($G(^IMR(158.96,TE,0)),U,1)
|
---|
| 18 | S LBNM=$P($G(^LAB(60,L,0)),U,1)
|
---|
| 19 | S NODE=$P($G(^LAB(60,L,0)),U,5)
|
---|
| 20 | Q:NODE=""
|
---|
| 21 | S IMRDTNM=$P(NODE,";",2)
|
---|
| 22 | S IMRVALS(IMRDTNM,L)=GRPNM_"^"_TYPE_"^"_LBNM
|
---|
| 23 | Q
|
---|
| 24 | CLEAR ; Kill Variables
|
---|
| 25 | K IMRT1,IMRT2,DFN,IMRLD,IMRLD1,IMRLD2,B,C,GRP,TE,TYPE,NODE,GRPNM,D,GROUP
|
---|
| 26 | Q
|
---|