Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: SDES2

SDES2.m

Go to the documentation of this file.
SDES2 ;ALB/MGD,RRM,KML,BWF,ANU,LAB,ANU,CGP - VSE VERSION 2 RPCs;SEP 20,2022
 ;;5.3;Scheduling;**816,818,819,820,823,825,826,831,839**;Aug 13, 1993;Build 3
 ;;Per VHA Directive 6402, this routine should not be modified
 Q
 ;
GETAPPTCKNSTEPS(SDECY,IEN,EAS) ;ep SDES GET APPT CHECK-IN STEPS 2
 D GETAPPTCKNSTEPS^SDESCHECKINSTEP(.SDECY,$G(IEN),$G(EAS)) Q
GETAPPTCKNSTEP(SDECY,IEN,STATUS,EAS) ;ep SDES GET APPT CHECK-IN STEPS 2
 D GETAPPTCKNSTEP^SDESCHECKINSTEP(.SDECY,$G(IEN),$G(STATUS),$G(EAS)) Q
GETREQSBYDFNALL(JSONRETURN,DFN,EAS,STARTDATE,ENDDATE) ;SDES GET APPT REQ BY PAT ALL
 D GETREQSBYDFNALL^SDESGETAPPTREQ(.JSONRETURN,$G(DFN),$G(EAS),$G(STARTDATE),$G(ENDDATE)) Q
GETREQSBYDFNOPEN(JSONRETURN,DFN,EAS) ;SDES GET APPT REQ BY PAT OPEN
 D GETREQSBYDFNOPEN^SDESGETAPPTREQ(.JSONRETURN,$G(DFN),$G(EAS)) Q
SEARCHPRIVUSER(JSONRETURN,SEARCHSTRING) ;ep SDES SEARCH PRIVELEGED USER
 D SEARCHPRIVUSR^SDESPRIVUSRSRCH(.JSONRETURN,$G(SEARCHSTRING)) Q
SEARCHPROVIDER(JSON,SEARCHSTRING) ;ep SDES SEARCH PROVIDERS
 D PROVIDERSEARCH^SDESPROVSEARCH(.JSON,$G(SEARCHSTRING)) Q
GETLETTERTYPES(RES,EAS) ; SDES GET LETTER TYPES
 D GETLETTERTYPES^SDESGETLETTERS(.RES,$G(EAS)) Q
GETLETTERSBYTYPE(RES,TYPE,TEXT,BRIEF,EAS) ; SDES GET LETTERS BY TYPE
 D GETLETTERSBYTYPE^SDESGETLETTERS(.RES,$G(TYPE),$G(TEXT),$G(BRIEF),$G(EAS)) Q
GETLETTERBYIEN(RES,IEN,EAS) ; SDES GET LETTER BY IEN
 D GETLETTERBYIEN^SDESGETLETTERS(.RES,$G(IEN)) Q
GETDIVISIONLIST(RES,INP,EAS) ; SDES GET DIVISION LIST
 D GETDIVISIONLIST^SDESGETDIVISION(.RES,$G(INP),$G(EAS)) Q
CHKOVERLAP(JSONRETURN,PTDFN,APPTREQSTDTTM,APPTREQLENGTH) ;SDES CHK APPT OVRLAP
 D CHKOVERLAP^SDESCHKAPPTOVP(.JSONRETURN,$G(PTDFN),$G(APPTREQSTDTTM),$G(APPTREQLENGTH)) Q
CLGRPLK(SDECY,SRCHAR) ;SDES SEARCH CLINIC GROUP
 D CLGRPLK^SDESCLNGRP(.SDECY,SRCHAR) Q
RGADDEDIT(SDECY,SDRGIEN,SDRGNAME) ; SDES ADD CLINIC GRP - ADD/EDIT RESOURCE GROUP
 D RGADDEDIT^SDESADDRG(.SDECY,$G(SDRGIEN),$G(SDRGNAME)) Q
ADDRGI(SDECY,SDESRGIEN,SDESRSIEN) ;Adds Resource IEN to Resource group in the SDEC RESOURCE GROUP file
 D ADDRGI^SDESADDDELCGI(.SDECY,$G(SDESRGIEN),$G(SDESRSIEN)) Q
DELRGI(SDECY,SDESRGIEN,SDESRSIEN) ;Deletes Resource IEN from Resource group in the SDEC RESOURCE GROUP file
 D DELRGI^SDESADDDELCGI(.SDECY,$G(SDESRGIEN),$G(SDESRSIEN)) Q
DELRESGP(SDECY,SDRGNAME) ;Deletes SDRGNAME from SDEC RESOURCE GROUP file
 D DELRESGP^SDESADDRG(.SDECY,$G(SDRGNAME)) Q
RTNRG(SDEC,SDRGIEN) ;READ A SINGLE RESOURCE GROUP from SDEC RESOURCE GROUP FILE 409.832
 D RTNRG^SDESRTNRG(.SDEC,$G(SDRGIEN)) Q
PREFGET(SDEC,DFN,INAC) ;Get values from SDEC PREFERENCES AND SPECIAL NEEDS file
 D PREFGET^SDESGETPRFGAPS(.SDEC,$G(DFN),$G(INAC)) Q
PATWARDGET(SDEC,DFN) ;Get Patient Ward from Patient Movement File
 D PATWARDGET^SDESGETPRFGAPS(.SDEC,$G(DFN)) Q
CANCMTGET(SDEC,TYPE) ;Get Cancellation Coments from 409.88
 D CANCMTGET^SDESGETCANCMT(.SDEC,$G(TYPE)) Q
 Q