source: FOIAVistA/trunk/r/GEN_MED_OTHER-GMV/GMVUT3.m@ 1582

Last change on this file since 1582 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 667 bytes
Line 
1GMVUT3 ;HIOFO/YH,FT-VITAL MEASUREMENT SITE/QUALIFIER SELECTION ;2/5/02 15:04
2 ;;5.0;GEN. MED. REC. - VITALS;;Oct 31, 2002
3 ;
4 ; This routine uses the following IAs:
5 ; #10104 - ^XLFSTR calls (supported)
6 ;
7GIRTH ;INPUT TRANSFORM FOR CIRCUMFERENCE/GIRTH
8 Q:"UNAVAILABLEPASSREFUSED"[$$UP^XLFSTR(X)
9 N UNIT S UNIT=$$UP^XLFSTR($P(X,+X,2)),X=+X I UNIT="" S UNIT="I" Q
10 I UNIT="C" S X=$J(.3937*X,0,2),UNIT="I"
11 I UNIT'="I" K X Q
12 K:+X'=X!(X>200)!(X<0) X
13 Q
14CVP ;INPUT TRANSFORM FOR CVP
15 Q:"UNAVAILABLEPASSREFUSED"[$$UP^XLFSTR(X)
16 N UNIT S UNIT=$$UP^XLFSTR($P(X,+X,2)) I $L(UNIT)>1!($L(UNIT)=1&($E(UNIT)'="G")) K X Q
17 I UNIT'="" S X=X*1.36
18 K:X<-13.6!(X>136) X
19 Q
Note: See TracBrowser for help on using the repository browser.