Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: SCAPMC3

Package: Scheduling

Routine: SCAPMC3


Information

SCAPMC3 ;ALB/REW - Team API's:TMPT ; 6/3/99 3:18pm

Source Information

Source file <SCAPMC3.m>

Entry Points

Name Comments DBIA/ICR reference
TMPT(DFN,SCDATES,SCPURPA,SCLIST,SCERR) ; -- list of teams for a patient
; input:
; DFN = ien of PATIENT file [required]
; SCDATES("BEGIN") = begin date to search (inclusive)
; [default: TODAY]
; ("END") = end date to search (inclusive)
; [default: TODAY]
; ("INCL") = 1: only use patients who were assigned to
; team for entire date range
; 0: anytime in date range
; [default: 1]
; SCPURPA -array of pointers to team purpose file 403.47
; if none are defined - returns all teams
; if @SCPURPA@('exclude') is defined - exclude listed teams
; SCLIST -array name to store list
; [ex. ^TMP("SCPT",$J)]
;
; SCERR = array NAME to store error messages.
; [ex. ^TMP("ORXX",$J)]
ST
PRACQ
BLD(SCLIST,SCPTA,SCPTA0) ; -- build list of patient's teams
OKDATA() ;setup/check variables
Info |  Source |  Entry Points