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

GMVUT3.m

Go to the documentation of this file.
GMVUT3 ;HIOFO/YH,FT-VITAL MEASUREMENT SITE/QUALIFIER SELECTION ;2/5/02  15:04
 ;;5.0;GEN. MED. REC. - VITALS;;Oct 31, 2002
 ;
 ; This routine uses the following IAs:
 ; #10104 - ^XLFSTR calls          (supported)
 ;
GIRTH ;INPUT TRANSFORM FOR CIRCUMFERENCE/GIRTH
 Q:"UNAVAILABLEPASSREFUSED"[$$UP^XLFSTR(X)
 N UNIT S UNIT=$$UP^XLFSTR($P(X,+X,2)),X=+X I UNIT="" S UNIT="I" Q
 I UNIT="C" S X=$J(.3937*X,0,2),UNIT="I"
 I UNIT'="I" K X Q
 K:+X'=X!(X>200)!(X<0) X
 Q
CVP ;INPUT TRANSFORM FOR CVP
 Q:"UNAVAILABLEPASSREFUSED"[$$UP^XLFSTR(X)
 N UNIT S UNIT=$$UP^XLFSTR($P(X,+X,2)) I $L(UNIT)>1!($L(UNIT)=1&($E(UNIT)'="G")) K X Q
 I UNIT'="" S X=X*1.36
 K:X<-13.6!(X>136) X
 Q