SCAPMC ;ALB/REW - Team API's ; 6/21/99 2:31pm
Source file <SCAPMC.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
TPPR(SC200,SCDATES,SCPURPA,SCROLEA,SCLIST,SCERR) | ; -- positions for a practitioner
|
|
TPPT(DFN,SCDATES,SCPOSA,SCUSRA,SCPURPA,SCROLEA,SCYESCL,SCLIST,SCERR) | ; -- list of positions for a patient
|
|
TPCL(SC44,SCDATES,SCPOSA,SCUSRA,SCPURPA,SCROLEA,SCLIST,SCERR) | ; -- list of positions for a clinic
|
|
TPTM(SCTEAM,SCDATES,SCUSRA,SCROLEA,SCLIST,SCERR) | ; -- positions for a team
|
|
PRTM(SCTEAM,SCDATES,SCUSRA,SCROLEA,SCLIST,SCERR) | ; -- practitioners for team **SUPPORTED**
|
|
PRTP(SCTP,SCDATES,SCLIST,SCERR,SCPRCPTR,SCALLHIS) | ; -- list practitioners for position
|
|
PRTPC(SCTP,SCDATES,SCLIST,SCERR,SCALLHIS,ADJDATE) | ;Call PRTP and convert
|
|
PRCL(SC44,SCDATES,SCPOSA,SCUSRA,SCROLEA,SCLIST,SCERR) | ; -- list of practitioners for clinic **SUPPORTED**
|
|
PRPT(DFN,SCDATES,SCPOSA,SCUSRA,SCROLEA,SCPURPA,SCLIST,SCERR) | ; -- practs for patient **SUPPORTED**
|
|
PTTM(SCTEAM,SCDATES,SCLIST,SCERR) | ; -- list of patients for team **SUPPORTED**
|
|
PTTP(SCTP,SCDATES,SCLIST,SCERR) | ; -- list of patients for a position
|
|
PTPR(SC200,SCDATES,SCPURPA,SCROLEA,SCLIST,SCERR,SCYESCL) | ; -- list patients for a pract
|
|
PTCL(SC44,SCDATES,SCLIST,SCERR) | ; -- list of patients for a clinic
|
|
PTST(SCST,SCDATES,SCMAXCNT,SCLIST,SCERR,MORE) | ; -- list of patients with a IEN of 40.7
|
|
PTAP(SCCL,SCDATES,SCMAXCNT,SCLIST,SCERR,MORE) | ; -- list of patients with an appointment in a given clinic
|
|
TMPT(DFN,SCDATES,SCPURPA,SCLIST,SCERR) | ; -- list of teams for a patient **SUPPORTED**
|
|
TMINST(SCINST,SCDATES,SCPURPA,SCLIST,SCERR) | ; -- teams for institution
|
|
TMAU(SCAU,SCDATES,SCPURPA,SCLIST,SCERR) | ; -- list of teams for autolink
|
|
TMPR(SC200,SCDATES,SCPURPA,SCLIST,SCERR) | ; -- teams for a practitioner
|
|
MSGDTH(DFN,SCTEAMA,SCDATES,SCYESCL,SCLIST,SCERR) | ; users getting death message
|
|
MSGINPT(DFN,SCTEAMA,SCDATES,SCYESCL,SCLIST,SCERR) | ; users getting inpatient msg
|
|
MSGTEAM(DFN,SCTEAMA,SCDATES,SCYESCL,SCLIST,SCERR) | ; users getting team update msg
|
|
MSGCONS(DFN,SCTEAMA,SCDATES,SCYESCL,SCLIST,SCERR) | ; users getting consult message
|
|
ACPTTM(DFN,SCTM,SCFIELDA,SCACT,SCERR) | ;add a patient to a team (pt tm assgn - #404.42
|
|
INPTTM(DFN,SCPTTM,SCINACT,SCERR) | ;inactivate patient from a team.
; pt tm assgn - #404.42. |
|
ACTMNM(SCTMNM,SCFIELDA,SCMAINA,SCEFF,SCERR) | ; -- change team status (add if need be) using name
|
|
ACTM(SCTM,SCFIELDA,SCEFF,SCERR) | ; change team status using ien
|
|
ACTPNM(SCTPNM,SCTMNM,SCFIELDA,SCMAINA,SCEFF,SCERR) | ; -- change position status (add if need be)
|
|
ACTP(SCTP,SCFIELDA,SCEFF,SCERR) | ; change position status using ien
|
|
ACPRTP(SC200,SCTP,SCFIELDA,SCEFF,SCERR) | ; change practitioner-position assignment
|
|
ACPTTP(DFN,SCTP,SCFIELDA,SCACT,SCERR,SCYESTM,SCMAINA) | ; -- assign patient to position
|
|
INPTTP(DFN,SCPTTPA,SCINACT,SCERR) | ;inactivate patient from a position.
; pt tm pos assgn - #404.43. |
|
CLPT(DFN,SCDATES,SCTEAMA,SCLIST,SCERR) | ;clinics for patient
|
|
INSTPCTM(DFN,SCEFF) | ;return institution & team for pt's pc team **SUPPORTED **
|
|
PRPTTP(PTTMPOS,SCDATES,SCLIST,SCERR,SCALLHIS,ADJDATE) | ;Get provider array
|
|
PRPTTPC(PTTMPOS,SCDATES,SCLIST,SCERR,SCALLHIS,ADJDATE) | ;
|
|
PROV(PTTMPOS,SCDATE,SCTYPE,SCPIECE) | ;Return a single node/piece for AP/PCP.
|
Name | Field # of Occurrence |
---|---|
$$PRTM^SCAPMC1 | PRTM+1 |
$$PRPT^SCAPMC10 | PRPT+1 |
$$PTTP^SCAPMC11 | PTTP+1 |
$$TPPR^SCAPMC12 | TPPR+1 |
$$TMPR^SCAPMC13 | TMPR+1 |
$$PTPR^SCAPMC14 | PTPR+1 |
$$ACTM^SCAPMC15 | ACTM+1 |
$$ACTMNM^SCAPMC15 | ACTMNM+1 |
$$ACTP^SCAPMC17 | ACTP+1 |
$$ACTPNM^SCAPMC17 | ACTPNM+1 |
$$ACPRTP^SCAPMC19 | ACPRTP+1 |
$$PTTM^SCAPMC2 | PTTM+1 |
$$ACPTTP^SCAPMC21 | ACPTTP+1 |
$$INPTTP^SCAPMC22 | INPTTP+2 |
$$TPPT^SCAPMC23 | TPPT+1 |
$$TPTM^SCAPMC24 | TPTM+1 |
$$MSGPT^SCAPMC25 | MSGDTH+1, MSGINPT+1, MSGTEAM+1, MSGCONS+1 |
$$PTCL^SCAPMC26 | PTCL+1 |
$$PTST^SCAPMC27 | PTST+1 |
$$PTAP^SCAPMC28 | PTAP+1 |
$$CLPT^SCAPMC29 | CLPT+2 |
$$TMPT^SCAPMC3 | TMPT+1 |
$$TPCL^SCAPMC30 | TPCL+1 |
$$PRPTTP^SCAPMC33 | PRPTTP+2 |
$$PROV^SCAPMC34 | PROV+1 |
$$PRPTTPC^SCAPMC34 | PRPTTPC+2 |
$$TMINST^SCAPMC4 | TMINST+1 |
$$TMAU^SCAPMC5 | TMAU+1 |
$$ACPTTM^SCAPMC6 | ACPTTM+1 |
$$INPTTM^SCAPMC7 | INPTTM+2 |
$$PRTP^SCAPMC8 | PRTP+1 |
$$PRTPC^SCAPMC8C | PRTPC+2 |
$$PRCL^SCAPMC9 | PRCL+1 |
$$INSTPCTM^SCMCTMU | INSTPCTM+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ADJDATE | PRTPC~, PRTPC+2, PRPTTP~, PRPTTP+2, PRPTTPC~, PRPTTPC+2 |
DFN | TPPT~, TPPT+1, PRPT~, PRPT+1, TMPT~, TMPT+1, MSGDTH~, MSGDTH+1, MSGINPT~, MSGINPT+1 , MSGTEAM~, MSGTEAM+1, MSGCONS~, MSGCONS+1, ACPTTM~, ACPTTM+1, INPTTM~, INPTTM+2, ACPTTP~, ACPTTP+1 , INPTTP~, INPTTP+2, CLPT~, CLPT+2, INSTPCTM~, INSTPCTM+1 |
MORE | PTST~, PTST+1, PTAP~, PTAP+1 |
PTTMPOS | PRPTTP~, PRPTTP+2, PRPTTPC~, PRPTTPC+2, PROV~, PROV+1 |
SC200 | TPPR~, TPPR+1, PTPR~, PTPR+1, TMPR~, TMPR+1, ACPRTP~, ACPRTP+1 |
SC44 | TPCL~, TPCL+1, PRCL~, PRCL+1, PTCL~, PTCL+1 |
SCACT | ACPTTM~, ACPTTM+1, ACPTTP~, ACPTTP+1 |
SCALLHIS | PRTP~, PRTP+1, PRTPC~, PRTPC+2, PRPTTP~, PRPTTP+2, PRPTTPC~, PRPTTPC+2 |
SCAU | TMAU~, TMAU+1 |
SCCL | PTAP~, PTAP+1 |
SCDATE | PROV~, PROV+1 |
SCDATES | TPPR~, TPPR+1, TPPT~, TPPT+1, TPCL~, TPCL+1, TPTM~, TPTM+1, PRTM~, PRTM+1 , PRTP~, PRTP+1, PRTPC~, PRTPC+2, PRCL~, PRCL+1, PRPT~, PRPT+1, PTTM~, PTTM+1 , PTTP~, PTTP+1, PTPR~, PTPR+1, PTCL~, PTCL+1, PTST~, PTST+1, PTAP~, PTAP+1 , TMPT~, TMPT+1, TMINST~, TMINST+1, TMAU~, TMAU+1, TMPR~, TMPR+1, MSGDTH~, MSGDTH+1 , MSGINPT~, MSGINPT+1, MSGTEAM~, MSGTEAM+1, MSGCONS~, MSGCONS+1, CLPT~, CLPT+2, PRPTTP~, PRPTTP+2 , PRPTTPC~, PRPTTPC+2 |
SCEFF | ACTMNM~, ACTMNM+1, ACTM~, ACTM+1, ACTPNM~, ACTPNM+1, ACTP~, ACTP+1, ACPRTP~, ACPRTP+1 , INSTPCTM~, INSTPCTM+1 |
SCERR | TPPR~, TPPR+1, TPPT~, TPPT+1, TPCL~, TPCL+1, TPTM~, TPTM+1, PRTM~, PRTM+1 , PRTP~, PRTP+1, PRTPC~, PRTPC+2, PRCL~, PRCL+1, PRPT~, PRPT+1, PTTM~, PTTM+1 , PTTP~, PTTP+1, PTPR~, PTPR+1, PTCL~, PTCL+1, PTST~, PTST+1, PTAP~, PTAP+1 , TMPT~, TMPT+1, TMINST~, TMINST+1, TMAU~, TMAU+1, TMPR~, TMPR+1, MSGDTH~, MSGDTH+1 , MSGINPT~, MSGINPT+1, MSGTEAM~, MSGTEAM+1, MSGCONS~, MSGCONS+1, ACPTTM~, ACPTTM+1, INPTTM~, INPTTM+2 , ACTMNM~, ACTMNM+1, ACTM~, ACTM+1, ACTPNM~, ACTPNM+1, ACTP~, ACTP+1, ACPRTP~, ACPRTP+1 , ACPTTP~, ACPTTP+1, INPTTP~, INPTTP+2, CLPT~, CLPT+2, PRPTTP~, PRPTTP+2, PRPTTPC~, PRPTTPC+2 |
SCFIELDA | ACPTTM~, ACPTTM+1, ACTMNM~, ACTMNM+1, ACTM~, ACTM+1, ACTPNM~, ACTPNM+1, ACTP~, ACTP+1 , ACPRTP~, ACPRTP+1, ACPTTP~, ACPTTP+1 |
SCINACT | INPTTM~, INPTTM+2, INPTTP~, INPTTP+2 |
SCINST | TMINST~, TMINST+1 |
SCLIST | TPPR~, TPPR+1, TPPT~, TPPT+1, TPCL~, TPCL+1, TPTM~, TPTM+1, PRTM~, PRTM+1 , PRTP~, PRTP+1, PRTPC~, PRTPC+2, PRCL~, PRCL+1, PRPT~, PRPT+1, PTTM~, PTTM+1 , PTTP~, PTTP+1, PTPR~, PTPR+1, PTCL~, PTCL+1, PTST~, PTST+1, PTAP~, PTAP+1 , TMPT~, TMPT+1, TMINST~, TMINST+1, TMAU~, TMAU+1, TMPR~, TMPR+1, MSGDTH~, MSGDTH+1 , MSGINPT~, MSGINPT+1, MSGTEAM~, MSGTEAM+1, MSGCONS~, MSGCONS+1, CLPT~, CLPT+2, PRPTTP~, PRPTTP+2 , PRPTTPC~, PRPTTPC+2 |
SCMAINA | ACTMNM~, ACTMNM+1, ACTPNM~, ACTPNM+1, ACPTTP~, ACPTTP+1 |
SCMAXCNT | PTST~, PTST+1, PTAP~, PTAP+1 |
SCPIECE | PROV~, PROV+1 |
SCPOSA | TPPT~, TPPT+1, TPCL~, TPCL+1, PRCL~, PRCL+1, PRPT~, PRPT+1 |
SCPRCPTR | PRTP~, PRTP+1 |
SCPTTM | INPTTM~, INPTTM+2 |
SCPTTPA | INPTTP~, INPTTP+2 |
SCPURPA | TPPR~, TPPR+1, TPPT~, TPPT+1, TPCL~, TPCL+1, PRPT~, PRPT+1, PTPR~, PTPR+1 , TMPT~, TMPT+1, TMINST~, TMINST+1, TMAU~, TMAU+1, TMPR~, TMPR+1 |
SCROLEA | TPPR~, TPPR+1, TPPT~, TPPT+1, TPCL~, TPCL+1, TPTM~, TPTM+1, PRTM~, PRTM+1 , PRCL~, PRCL+1, PRPT~, PRPT+1, PTPR~, PTPR+1 |
SCST | PTST~, PTST+1 |
SCTEAM | TPTM~, TPTM+1, PRTM~, PRTM+1, PTTM~, PTTM+1 |
SCTEAMA | MSGDTH~, MSGDTH+1, MSGINPT~, MSGINPT+1, MSGTEAM~, MSGTEAM+1, MSGCONS~, MSGCONS+1, CLPT~, CLPT+2 |
SCTM | ACPTTM~, ACPTTM+1, ACTM~, ACTM+1 |
SCTMNM | ACTMNM~, ACTMNM+1, ACTPNM~, ACTPNM+1 |
SCTP | PRTP~, PRTP+1, PRTPC~, PRTPC+2, PTTP~, PTTP+1, ACTP~, ACTP+1, ACPRTP~, ACPRTP+1 , ACPTTP~, ACPTTP+1 |
SCTPNM | ACTPNM~, ACTPNM+1 |
SCTYPE | PROV~, PROV+1 |
SCUSRA | TPPT~, TPPT+1, TPCL~, TPCL+1, TPTM~, TPTM+1, PRTM~, PRTM+1, PRCL~, PRCL+1 , PRPT~, PRPT+1 |
SCYESCL | TPPT~, TPPT+1, PTPR~, PTPR+1, MSGDTH~, MSGDTH+1, MSGINPT~, MSGINPT+1, MSGTEAM~, MSGTEAM+1 , MSGCONS~, MSGCONS+1 |
SCYESTM | ACPTTP~, ACPTTP+1 |