NAME |
ANION CALC & PERCENT |
XECUTABLE CODE |
X ^LAB(62.1,2,1) K %X S %X="" X:$D(LRDEL(1)) LRDEL(1) W:%X " Calculated ANION GAP: ",%X S:LRVRM>10 LRSB(790)=%X K %,%X,%Y,%Z |
OVERFLOW 1 |
X:LRVRM>10 "F %=5,7,8 S %X(%)=$S(%=LRSB:X,$D(LRSB(%)):+LRSB(%),1:0)" X:LRVRM<10 "F %=5,7,8 S %X(%)=$S($D(LRSB(%)):LRSB(%),1:0)" I %X(5)>0,%X(7)>0,%X(8)>0 S %X=%X(5)-%X(7)-%X(8) |
DESCRIPTION |
Could be used on the tests: SODIUM, CHLORIDE, and CO2. If values are
present on these tests it will display the Calculated ANION GAP.
The test, ANION GAP, will be stuffed with this value.
The calculation is Na - Cl - CO2
The PERCENT delta check will also be done.
|