Select the objects that you wish to see in the downloaded PDF
JUN 20, 1990
This is the code that describes the patient's tobacco use.
S:X["U" X="U" Q:X="U" K:+X'=X!(X>400)!(X<0)!(X?.E1"."1N.N) X
S:Y="U" Y="Unknown"
AUG 27, 1993
Enter the # of packs smoked per day times # of years, 0 to 400; or U for Unknown
Enter the number of packs smoked per day times the number of years.
Example: 2 packs per day for 10 years equals 20 pack-years.
XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
S:X["U" X="U" Q:X="U" S %DT="E",%DT(0)="-NOW" D ^%DT S X=Y K:Y<1 X K %DT(0)
S Y=$S(Y'="U":Y,1:"Unknown") D:Y?1.N DD^%DT
DEC 19, 1996
This is the year in which the patient quit using tobacco.