問題点

PROMASYSには、7.2現在、自動計算のツールが実装されておりません。また、エディットチェックを組むとなると、今度はPROMASYSに小数点を四捨五入する関数が無いことが問題になります。

例:
身長:1.82 m
体重:75 kg
BMI:22.64

上記の場合、75/1.82/1.82=22.64219...となってしまい、エディットチェックの結果が22.64≠22.64219となってしまいます。下記の構文で、この問題を回避出来ます。

構文

スクリーニング時における、BMIの入力値を確認する場合です。PROMASYSに実装されていない四捨五入を、手動でしてあげる、と言うイメージです。

BMI > 体重/身長/身長+0.005 又は BMI < 体重/身長/身長-0.004 の場合に、アラートが出ます。

BMI at 0h 00m (timetable Screening) > Weight at 0h 00m (timetable Screening) / ( Height at 0h 00m (timetable Screening) * Height at 0h 00m (timetable Screening) ) + .005 OR BMI at 0h 00m (timetable Screening) < Weight at 0h 00m (timetable Screening) / ( Height at 0h 00m (timetable Screening) * Height at 0h 00m (timetable Screening) ) - .004

コメント

名前:
コメント:

タグ:

+ タグ編集
  • タグ:

このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー利用規約 が適用されます。

最終更新:2015年04月30日 15:15