SCAPMC23 ;ALB/REW - Team API's:TPPT ;02/19/2014
Source file <SCAPMC23.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
TPPT(DFN,SCDATES,SCPOSA,SCUSRA,SCPURPA,SCROLEA,SCYESCL,SCLIST,SCERR) | ; -- positions for a patient
; input: ; DFN = ien of PATIENT file(#2) [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] ; SCPOSA -array of pointers to team position - 404.57 (per SCPURPA) ; SCUSRA -array of pointers to user file - 8930 (per SCPURPA array) ; 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 ; SCROLEA - array of pointers to std position file 403.46 (per SCPURPA) ; SCYESCL -boolean[0-NO(default)/1-YES] Include pts asc. via enrollment? ; SCLIST -array name to store list ; [ex. ^TMP("SCPT",$J)] ; ; SCERR = array NAME to store error messages. ; [ex. ^TMP("ORXX",$J)] |
|
ST | ||
PRACQ | ||
OKDATA() | ;setup/check variables
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | OKDATA+5 |
^SCPT(404.43 - [#404.43] | ST+7, ST+8, ST+13, ST+14 |
^SCTM(404.51 - [#404.51] | ST+29 |
^SCTM(404.57 - [#404.57] | ST+25 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DFN | TPPT~, ST+7, ST+8, ST+13, ST+37, ST+38, OKDATA+5, OKDATA+6 |
>> ENR("BEGIN" | ST+46* |
>> ENR("END" | ST+47* |
>> ENR("INCL" | ST+48* |
>> INDX | ST+40*, ST+41* |
>> SC44 | ST+45*, ST+49 |
SCACTHIS | ST~, ST+18*, ST+20*, ST+21*, ST+22*, ST+23, ST+34 |
SCBEGIN | ST+1~, ST+17, ST+46 |
SCDATES | TPPT~, ST+18, ST+37, ST+38 |
SCDTS | ST+1~ |
SCEND | ST+1~, ST+17, ST+47 |
SCENROLL | ST~ |
SCENROLL( | ST+41 |
SCENROLL(0 | ST+39, ST+41 |
SCERR | TPPT~, ST+18, ST+37, ST+38, ST+44, ST+49, PRACQ, OKDATA+7 |
SCESEQ | ST+1~, ST+44, OKDATA+7 |
SCINCL | ST+1~, ST+17, ST+48 |
SCLIST | TPPT~, ST+34, ST+49 |
SCLSEQ | ST+1~ |
SCN | ST+1~ |
SCND | ST~, ST+25*, ST+26, ST+28, ST+32 |
SCOK | OKDATA+1~, OKDATA+2*, OKDATA+3, OKDATA+5*, OKDATA+9 |
>> SCP | ST+29*, ST+30 |
SCPARM | ST+1~, ST+44, OKDATA+7 |
SCPARM("Enrol | l Xref" , ST+43* |
SCPARM("Patient" | OKDATA+6* |
SCPOSA | TPPT~, ST+24, ST+49 |
>> SCPTA | ST+31* |
SCPTBEG | ST~, ST+15*, ST+17, ST+20 |
SCPTEND | ST~, ST+16*, ST+17, ST+21 |
SCPTPA | ST+1~, ST+12*, ST+13*, ST+14, ST+22 |
SCPTTP | ST~, ST+8*, ST+13 |
SCPTTP0 | ST~, ST+14*, ST+15, ST+16 |
SCPTTPI | ST~ |
SCPURPA | TPPT~, ST+30, ST+37, ST+49 |
SCR | ST~, ST+32*, ST+33, ST+34 |
SCROLEA | TPPT~, ST+33, ST+49 |
SCTEAMA | ST~ |
SCTM | ST~, ST+28*, ST+29, ST+34 |
SCTP | ST~, ST+6*, ST+7*, ST+8, ST+13, ST+18, ST+24, ST+25, ST+34 |
SCTPA | ST~, ST+6* |
SCTPPT | ST~ |
SCU | ST~, ST+26*, ST+27 |
SCUSRA | TPPT~, ST+27, ST+49 |
>> SCX | ST+41*, ST+42, ST+43, ST+45, ST+46, ST+47 |
SCYESCL | TPPT~, ST+36, OKDATA+4* |
U | ST+15, ST+16, ST+20, ST+21, ST+22, ST+26, ST+28, ST+29, ST+32, ST+45 , ST+46, ST+47 |