Name | Value |
---|---|
NAME | PLACE OF CONSULTATION |
DEFAULT CAPTION | PLACE: |
EXAMPLE ENTRY | BEDSIDE |
VARIABLE | ORPLACE |
PACKAGE RESTRICTION | CONSULT/REQUEST TRACKING |
CODE FOR SETTING VARIABLE | S ORPK=$S($D(^OR(100,$G(ORIFN),4)):^(4),1:"") S ORPLACE="" I $D(^GMR(123,+ORPK,0)),$D(^ORD(101,+$P(^GMR(123,+ORPK,0),U,10),0)) S ORPLACE=$E($P(^(0),U,2),1,18) |