SCAPMR6 ;ALB/REW/PDR - Team Reassignment APIs:APPTTM ; 5 Jul 1995
Source file <SCAPMR6.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 2 | MAILLST^SCMRTMM $$ACPTTM^SCRPMTA |
Name | Comments | DBIA/ICR reference |
---|---|---|
ACPTRATM(DFNA,SCTMTO,SCTMFRM,SCOTH,SCFIELDA,SCACT,SCERR,SCNEWTM,SCOLDTM,SCBADTM) | ; list of patients RE-assigned to a team (404.42)
; input: as per ACPTTM (above with the following change:) ; DFNA = is the name of a patient array (e.g. $N(^TMP(SCJOB,"SC PATIENT LIST"))) ; there is at least one scpt(dfn)="" defined ; SCTMTO = pointer to "TO" team file ; SCTMFRM = pointer to "FROM" team file - PDR 7/98 ; SCOTH = array of other parameters e.g. SCOTH("SIZELIM") ; SCFIELDA = List of array of fields and values in 404.42 ; SCACT = Date filed (NOW) ; SCERR = Name of error message var ; SCNEWTM = Subset of DFNA that was NEWLY assigned to Team [returned] ; SCOLDTM = Subset of DFNA that was already assigned -Team [returned] ; SCBADTP = Subset of DFNA that was NOT assigned to Team [returned] ; Note: The above three arrays return data in a user determined array ; output: Count of Patients: ; 1 2 3 4 ; total assigned^newly assigned^assigned prior^not assigned |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DFN | ACPTRATM+17~, ACPTRATM+20*, ACPTRATM+21*, ACPTRATM+22, ACPTRATM+23, ACPTRATM+28, ACPTRATM+32, ACPTRATM+35 |
DFNA | ACPTRATM~, ACPTRATM+21, ACPTRATM+22 |
DT | ACPTRATM+39 |
FASIEN | ACPTRATM+17~, ACPTRATM+22*, ACPTRATM+23 |
SCACT | ACPTRATM~, ACPTRATM+23 |
>> SCADDFLD | ACPTRATM+39 |
SCBADCNT | ACPTRATM+17~, ACPTRATM+19*, ACPTRATM+36*, ACPTRATM+39, ACPTRATM+40 |
SCBADTM | ACPTRATM~, ACPTRATM+35, ACPTRATM+39 |
SCERR | ACPTRATM~, ACPTRATM+17~, ACPTRATM+23 |
SCFIELDA | ACPTRATM~, ACPTRATM+23 |
SCNEWCNT | ACPTRATM+17~, ACPTRATM+19*, ACPTRATM+27*, ACPTRATM+40 |
SCNEWTM | ACPTRATM~, ACPTRATM+28 |
SCNOMAIL | ACPTRATM+17~, ACPTRATM+18*, ACPTRATM+37! |
SCOLDCNT | ACPTRATM+17~, ACPTRATM+19*, ACPTRATM+31*, ACPTRATM+40 |
SCOLDTM | ACPTRATM~, ACPTRATM+32 |
SCOTH | ACPTRATM~ |
SCTMFRM | ACPTRATM~ |
SCTMTO | ACPTRATM~, ACPTRATM+23, ACPTRATM+39 |
SCX | ACPTRATM+17~, ACPTRATM+23*, ACPTRATM+25, ACPTRATM+28, ACPTRATM+29, ACPTRATM+32, ACPTRATM+33, ACPTRATM+35 |
U | ACPTRATM+25, ACPTRATM+29, ACPTRATM+35, ACPTRATM+40 |