SDUTL3 ;ALB/REW - Primary Care API Calls ;9/16/10 17:17
Source file <SDUTL3.m>
Package | Total | Call Graph |
---|---|---|
VA Fileman | 3 | EN^DDIOL ^DIC ^DIE |
Registration | 1 | $$SCREEN^DGPMDD |
Scheduling | 1 | ($$NMPCPR,$$NMPCTM)^SCAPMCU2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
UPDLOCAL | ;Called from SD EDIT LOCAL STOP CODE NAME option. Allows entry of the .01 field of file 40.7 only if the amis code indicates it is a local entry
|
|
INPTPR(DFN,PRACT) | ;store current PC practitioner; return SDOKS=1, if OK
; Input: DFN: ien of patient file (#2) ; PRACT: ien of file #200 if adding,changing field ; null or '@' if deleting field ; Output:SDOKS: 0, if fails to store, 1 otherwise |
|
QTITM | ||
INPTTM(DFN,TEAM) | ;store current PC team; return SDOKS=0, if fails
; Input: DFN: ien of patient file (#2) ; TEAM: ien of file #404.51 if adding,changing field ; null or '@' if deleting field ; Output:SDOKS: 0, if fails to store, 1 otherwise |
|
OUTPTPR(DFN,SCDATE,SCPCROLE) | ;given patient, return internal^external of the pc practitioner
; Input: DFN - ien of patient file (#2) ; SCDATE - Relevant Date (Default=DT) ; SCPCROLE - Type of PC Role (Default =1 (PC Practitioner),2=Attending ; Returned: pointer to file #200^external value of name ; or, if error or none defined, returns a 0 or null ; Note: This call will continue to be supported with the PCMM release ; ; *** SUPPORTED API *** |
|
OUTPTTM(DFN,SCDATE,ASSTYPE) | ;given patient, return internal^external of the pc team
|
|
QTIPR | ||
OUTPTAP(DFN,SCDATE) | ;given patient, return internal^external of the pc associate provider
; Input: DFN - ien of patient file (#2) ; SCDATE - Relevant Date (Default=DT) ; Returned: pointer to file #200^external value of name ; or, if error or none defined, returns a 0 or null |
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | INPTPR+13, INPTTM+12 |
^SCTM(404.51 - [#404.51] | INPTTM+21 |
^VA(200 - [#200] | INPTPR+24 |
Name | Line Occurrences |
---|---|
QTIPR | INPTPR+18 |
QTITM | INPTTM+16 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ASSTYPE | OUTPTTM~, OUTPTTM+12*, OUTPTTM+13 |
DA | INPTPR+17~, INPTPR+21*, INPTPR+27*, INPTTM+14~, INPTTM+19*, INPTTM+24*, UPDLOCAL+2~, UPDLOCAL+6* |
DFN | OUTPTPR~, OUTPTPR+10, OUTPTPR+13, OUTPTAP~, OUTPTAP+8, OUTPTAP+10, OUTPTTM~, OUTPTTM+10, OUTPTTM+13, INPTPR~ , INPTPR+13, INPTPR+21, INPTPR+27, INPTTM~, INPTTM+12, INPTTM+19, INPTTM+24 |
DIC | INPTPR+17~, INPTTM+14~, UPDLOCAL+2~, UPDLOCAL+4* |
DIC("S" | UPDLOCAL+4* |
DIC(0 | UPDLOCAL+4* |
DIE | INPTPR+17~, INPTPR+19*, INPTPR+25*, INPTTM+14~, INPTTM+17*, INPTTM+22*, UPDLOCAL+2~, UPDLOCAL+6* |
DR | INPTPR+17~, INPTPR+20*, INPTPR+26*, INPTTM+14~, INPTTM+18*, INPTTM+23*, UPDLOCAL+2~, UPDLOCAL+6* |
DT | OUTPTPR+11, OUTPTAP+9, OUTPTTM+11 |
PRACT | INPTPR~, INPTPR+13, INPTPR+18, INPTPR+23, INPTPR+24 |
SCDATE | OUTPTPR~, OUTPTPR+11*, OUTPTPR+13, OUTPTAP~, OUTPTAP+9*, OUTPTAP+10, OUTPTTM~, OUTPTTM+11*, OUTPTTM+13 |
SCPCROLE | OUTPTPR~, OUTPTPR+12*, OUTPTPR+13 |
SDASC | UPDLOCAL+2~ |
>> SDOKS | INPTPR+13*, INPTPR+16*, INPTPR+23*, INPTPR+30*, INPTTM+12*, INPTTM+15*, INPTTM+27* |
TEAM | INPTTM~, INPTTM+12, INPTTM+16, INPTTM+21 |
X | INPTPR+17~, INPTTM+14~, UPDLOCAL+2~ |
Y | UPDLOCAL+2~, UPDLOCAL+5, UPDLOCAL+6 |