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

GMRVQSYN.m

Go to the documentation of this file.
GMRVQSYN ;HIRMFO/YH-INSERT SYNONYM TO GMRV VITAL QUALIFIER FILE (120.52) ;6/5/97
 ;;4.0;Vitals/Measurements;**1**;Apr 25, 1997
SYNOT ;CREATES SYNONYM LOCAL ARRAY FOR THE EXPORTED QUALIFIERS
 K GMRVSYN N GMRVTXT,GMRVLN,GMRVQL
 F GMRVTXT=1:1 S GMRVLN=$P($T(QUAL+GMRVTXT),";;",2) Q:GMRVLN=""  D
 . S GMRVQL=$P(GMRVLN,"^"),GMRVSYN=$P(GMRVLN,"^",2)
 . I GMRVQL'="" S GMRVSYN(GMRVQL)=GMRVSYN
 D BMES^XPDUTL("Entering data to the SYNONYM field (GMRV Vital Qualifier file #120.52)...")
 K I S I="" F  S I=$O(^GMRD(120.52,"B",I)) Q:I=""  S I(1)=0 F  S I(1)=$O(^GMRD(120.52,"B",I,I(1))) Q:I(1)'>0  I $D(^GMRD(120.52,I(1),0)),$P(^(0),"^",2)="",$D(GMRVSYN(I)) D
 . S GMRVSYN="" S:$D(GMRVSYN(I)) X=GMRVSYN(I) S $P(^GMRD(120.52,I(1),0),"^",2)=X K DA S DA=I(1) D BSYNO^GMRVFSYN(1,.DA,X)
 D BMES^XPDUTL("Done.")
 K I,GMRVSYN,X
 Q
QUAL ;EXPORTED QUALIFIERS
 ;;R ARM^RA
 ;;L ARM^LA
 ;;R LEG^RL
 ;;L LEG^LL
 ;;AXILLARY^A
 ;;ORAL^O
 ;;RECTAL^R
 ;;APICAL^Ap
 ;;RADIAL^Rad
 ;;PERIPHERAL^Per
 ;;BILATERAL PERIPHERALS^BiP
 ;;CAROTID^Car
 ;;OTHER^Oth
 ;;CORE^C
 ;;ACTUAL^A
 ;;ESTIMATED^E
 ;;DRY^D
 ;;TYMPANIC^T
 ;;SKIN^S
 ;;SP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