VistA Analysis » VistA Reference » RPCs » ORWDPS1 SCHALL

ORWDPS1 SCHALL

Properties

Property Value
Label SCHALL
MUMPS Implementation ORWDPS1
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
DFN LITERAL   true Patient DFN
LOCIEN LITERAL   true This is the inpatient location IEN from file 44, if a location is not defined for the patient the value will be zero.

MUMPS Method Description

Property Value
Method SCHALL^ORWDPS1
Method Comment return all schedules
Input Parameters DFN, LOCIEN
Code
 N CNT,ILST,ORARRAY,WIEN
S WIEN=$$WARDIEN^ORWDPS32(+$G(LOCIEN))
D SCHED^PSS51P1(WIEN,.ORARRAY)
S ILST=0
S CNT=0 F S CNT=$O(ORARRAY(CNT)) Q:CNT'>0 D
.S ILST=ILST+1,LST(ILST)=$P(ORARRAY(CNT),U,2,5)

CPRS

File Type Description
Pascal File Orders/rODMeds.pas


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