Download presentation
Presentation is loading. Please wait.
1
Calculation Basics By Nick Felts
2
Objectives This section will answer the following questions regarding calculations. Why do I want it? Where do I put it? How do I write it?
3
Why do I want them? Because you can Automatically…
Result a test using results from other tests BUN/CREAT ratio Calculate corrected WBC based on NRBC’s Cancel a test "." Attach interpretive comment to a result
4
Where do I put it? Three places Individual test RBS Canned messages
240 characters RBS 255 characters Multiple time frames Canned messages >240 characters ID entered in individual test or RBS as <<CANID>>
5
How do I write it? First a few Rules! Only individual tests
All tests included in calculation must be in same order Except RBS rules! Must follow SYNTAX No special characters in Test Codes! Occurs at Posting
6
How do I write it? Two Main Types Basic Math True/False
Remember order of operations from Algebra? + - * / True/False If this happens? Then do this: Otherwise do this
7
Basic Math Follow the Syntax… @ = numeric result
= numeric result of test GLU + , - , * , /
8
Basic Math BUN/CREAT Ratio Absolute lymphs Urine albumin @BUN/@CREAT
@LYMPT * Urine albumin
9
(@UCRE1/@CREA1)*(@UVOL/(@UPER*60))*(1.73/@UBSA)
Basic Math Creatinine Clearance
10
True/False Calculations
True/false statement allows: An action based on a “true” statement. A different action based on a “false” statement Follow the Syntax If this happens? Then do this: Otherwise do this "Alphanumeric characters" >,<,>=,<=,==,!=,&&,||
11
True/False Calculations
@DIG<0.2? "NONE DETECTED" @DIG<0.2? "<0.2"
12
True/False Calculations
@DIG<0.2?
13
True/False Calculations
+ " @CM"
14
True/False Calculations
@MONEY>= ? " HAPPY " : " SAD " @ETOH<=0.8? " LET GO":"ARREST" Equal to Not equal to " . "
15
True/False Calculations
@HGB<5 "BAD" : "GOOD" "BAD" : "GOOD"
16
True/False Calculations
More Syntax! =Alphanumeric result i.e.- = the alphanumeric result of UCOL @DIG<0.2? "<0.2" What if result was “>5” @DIG<0.2? "<0.2"
17
True/False Calculations
More Syntax! , If calculation has error "." @SEGA
18
True/False Calculations
Nested Calculations String together multiple true/false statements For every ? there must be a : Group together statements with parentheses Every “(“ must have matching “)”
19
True/False Calculations
@SWTN": @SWTP":
20
True/False Calculations
"Not Indicated"))))))
21
Reading Practice!
22
@TRIG>400? "." :@CHOL*(@HDL+(@TRIG/5))
Reading Practice! @TRIG>400? "."
23
@ALB> 39.0 ? " @CALA" : @CAL+((40-@ALB)*0.025)
Reading Practice! @ALB> 39.0 ? "
24
((@CKMB/@CK)*100)>25?" @ACK":(@CKMB/@CK)*100
Reading Practice!
25
Tips… Write it out first Test all possible answers!!!! Syntax error
Something was missed Come to my Advanced Calculations class!!
26
Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.