MUMPS CODE: X ^DD(3.02,1,9.2) S D0=$P(Y(3.02,1,1),U,1) S:'$D(^DIC(4,+D0,0)) D0=-1 S Y(3.02,1,101)=$S($D(^DIC(4,D0,99)):^(99),1:"") S X=$P(Y(3.02,1,101),U,1) S D0=Y(3.02,1,80) S D1=Y(3.02,1,81)
9.2 = S Y(3.02,1,81)=$S($D(D1):D1,1:""),Y(3.02,1,80)=$S($D(D0):D0,1:""),Y(3.02,1,1)=$S($D(^DIC(3,D0,2,D1,0)):^(0),1:"")
ALGORITHM: DIVISION:STATION NUMBER
DESCRIPTION:
This field may be used to retrieve the facility station number from the Institution File.