VistA Analysis » VistA Reference » RPCs » ORWU HOSPLOC

ORWU HOSPLOC

Returns a set of hospital locations for use in a long list box.

Properties

Property Value
Label HOSPLOC
MUMPS Implementation ORWU
Return Type ARRAY

MUMPS Method Description

Property Value
Method HOSPLOC^ORWU
Method Comment Return a set of locations from HOSPITAL LOCATION
Input Parameters FROM, DIR
First Comment
 .Y=returned list, FROM=text to $O from, DIR=$O direction,
Code
 N I,IEN,CNT S I=0,CNT=44
F Q:I' . S IEN="" F S IEN=$O(^SC("B",FROM,IEN),DIR) Q:'IEN D
. . Q:("CW"'[$P($G(^SC(IEN,0)),U,3)!('$$ACTLOC(IEN)))
. . S I=I+1,Y(I)=IEN_"^"_FROM

CPRS

File Type Description
Pascal File rCore.pas


Document generated on August 31st 2022, 2:55:43 pm