SDECRT0 ;ALB/SAT - VISTA SCHEDULING RPCS ;JAN 15, 2016
Source file <SDECRT0.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
FIND(CLN,APPT,APPN,ORDER,BSDMODE,SDX,SDSTART,SDSTOP,SDREP,SDATE) | ;EP; -- set up ^tmp sort for patient's appt
; called by START^SDECRT and SINGLE^SDECRT ; assumes SD variables SDX,SDSTART,SDSTOP,SDREP,SDATE are set ; CLN=clinic ien, APPT=appt date/time, APPN=appt ien in ^SC ; ORDER=1 means sort by terminal digit (or chart # per site param) ; ORDER=2 means sort by clinic; ORDER=3 means sort by principal clinic ; ORDER=4 means sort by name; ORDER="" means single routing slip ; BSDMODE="WI" for walkins, "SD" for same day, "" for all others ; BSDMODE="CR" used for chart requests in routine BSDROUT |
|
TDO(P,D,C,T,S,F) | ; -- sort by terminal digit
|
|
CLO(P,D,C,T,S,F) | ; -- sort by clinic
|
|
PCO(P,D,C,T,S,F) | ; -- sort by principal clinic
|
|
NMO(P,D,C,T,S,F) | ; -- sort by name
|
|
STOPS(P,D,C,T,ORDER) | ; checks for xray, lab or ekg stops
|
|
PRTOK(P,D,TERM) | ; -- check to see if rs should be printed for patient
; remove cancelled appts from list |
|
FIRST(DFN,DATE) |
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^SC - [#44] | GET1^DIQ |