ORQPTQ1 ; SLC/CLA - Functs which return OR patient lists and sources pt 1 ;Mar 13, 2018@12:21
Source file <ORQPTQ1.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| VAMCPTS(Y) | ; RETURN LIST OF PATIENTS IN VAMC: DFN^NAME
|
|
| VAMCLONG(Y,DIR,FROM) | ; return a bolus of patients in VAMC: DFN^NAME
|
|
| DEFTM(ORY) | ; return current user's default team list
|
|
| TEAMS(ORY) | ; return list of teams for a system
; Also called under DBIA # 2692. |
|
| TEAMPTS(ORY,TEAM,TMPFLAG) | ; RETURN LIST OF PATIENTS IN A TEAM
; Also called under DBIA # 2692. ; If TMPFLAG passed and = TRUE, code expects a "^TMP(xxx" ; global root string passed in ORY, and builds the returned ; list in that global instead of to a memory array. |
|
| PTEAMPTS(ORY,TEAM,TMPFLAG) | ; RETURN LIST OF PATIENTS ASSIGNED TO A PCMM TEAM
; This tag section added by TDP on 5/21/2014 ; If TMPFLAG passed and = TRUE, code expects a "^TMP(xxx" ; global root string passed in ORY, and builds the returned ; list in that global instead of to a memory array. |
|
| TEAMPR(ORY,PROV) | ; return list of teams linked to a provider
|
|
| PTEAMPR(ORY,PROV) | ; return list of PCMM teams for a provider
; This tag section added by TDP on 5/21/2014 |
|
| TEAMPR2(ORY,PROV) | ; return list of teams linked to a provider
; This tag added by PKS/slc - 8/1999. |
|
| TEAMPROV(ORY,TEAM) | ; return list of providers linked to a team
|
|
| TPROVPT(PROV) | ;return list of patients linked to a provider via teams
; Modified by PKS: 8/1999. |
|
| TMSPT(ORY,PT) | ;return list of teams linked to a patient (patient is active)
|
|
| TPTPR(ORY,PT) | ;return list of providers linked to a patient via teams
|
|
| PERSPR(ORY) | ; return list of personal lists linked to current user
|
|
| PRIMPT(ORY,ORPT) | ; return patient's PCMM primary care team
|
|
| PROVPT(ORY,ORPT) | ; return PCMM primary provider for a patient
|
|
| PPLINK(ORPROV,ORPT) | ; returns '1' if patient is linked to provider
|
|
| PDLINK(ORDEV,ORPT) | ; returns '1' if patient is linked to device via team
|
|
| PCMMLINK(ORPROV,ORPT) | ;returns '1' if patient is linked to provider via PCMM
|
|
| PUNSIGN(ORY,ORBDFN) | ;rtns array of providers with unsigned orders for pt
|
| RPC Name | Call Tags |
|---|---|
| ORQPT TEAMS | TEAMS |
| ORQPT TEAM PATIENTS | TEAMPTS |
| ORQPT PATIENT TEAM PROVIDERS | TPTPR |
| ORQPT PTEAMPR | PTEAMPR |
| ORQPT PTEAM PATIENTS | PTEAMPTS |
| FileNo | Call Tags |
|---|---|
| ^OR(100.21 - [#100.21] | EXTERNAL^DILFD |