debugging LEX use routines
This commit is contained in:
parent
42dbb36891
commit
1906202e7e
|
@ -104,7 +104,8 @@ DASNO(DANAME) ; PRINTS THE SNOMED CODE FOR ALLERGY TO DRUG DANAME
|
|||
DASNALL ; ROUTINE TO EXAMINE THE ADIS INDEX IN LEX AND RETRIEVE ALL
|
||||
; ASSOCIATED SNOMED CODES
|
||||
N DASTMP,DASIEN,DASNO
|
||||
F S DASTMP=$O(^LEX(757.21,"ANUR")) Q:DASTMP="" D ; NAME OF MED
|
||||
S DASTMP=""
|
||||
F S DASTMP=$O(^LEX(757.21,"ANUR",DASTMP)) Q:DASTMP="" D ; NAME OF MED
|
||||
. S DASIEN=$O(^LEX(757.21,"ANUR",DASTMP)) ; IEN OF MED
|
||||
. S DASNO=$P(^LEX(757.02,DASIEN,0),"^",2) ; SNOMED CODE FOR ENTRY
|
||||
. W DASTMP,"=",DASNO,! ; PRINT IT OUT
|
||||
|
|
Loading…
Reference in New Issue