Last change
on this file since 1716 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
517 bytes
|
Line | |
---|
1 | GMVUTL ;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 | ;
|
---|
7 | EN1 ; 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
|
---|
11 | EN2 ; 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
|
---|
15 | EN3 ; 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.