source: FOIAVistA/trunk/r/GEN_MED_OTHER-GMV/GMVUTL.m@ 1586

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

initial load of FOIAVistA 6/30/08 version

File size: 517 bytes
Line 
1GMVUTL ;HOIFO/RM,MD,FT-CALLABLE ENTRY POINTS FOR PROGRAMMER UTILITIES ;12/27/01 10:46
2 ;;5.0;GEN. MED. REC. - VITALS;;Oct 31, 2002
3 ;
4 ; This routine uses the following IAs:
5 ; <None>
6 ;
7EN1 ; CALL TO CONVERT TEMPERATURE (F) IN VARIABLE X TO TEMPERATURE (C)
8 ; IN VARIABLE Y
9 S Y=$J(X-32*5/9,0,1)
10 Q
11EN2 ; CALL TO CONVERT AN INCHES MEASUREMENT IN X TO A CENTIMETER
12 ; MEASUREMENT IN Y
13 S Y=$J(2.54*X,0,2)
14 Q
15EN3 ; CALL TO CONVERT A WEIGHT (LBS) IN VARIABLE X TO A WEIGHT (KG)
16 ; IN VARIABLE Y
17 S Y=$J(X/2.2,0,2)
18 Q
Note: See TracBrowser for help on using the repository browser.