SDUTL3 ;ALB/REW - Primary Care API Calls ;2/13/15 10:36
Source file <SDUTL3.m>
Package | Total | Call Graph |
---|---|---|
VA FileMan | 2 | EN^DDIOL ^DIE |
Registration | 1 | $$SCREEN^DGPMDD |
Scheduling | 1 | ($$NMPCPR,$$NMPCTM)^SCAPMCU2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
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 *** |
|
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 |
|
OUTPTTM(DFN,SCDATE,ASSTYPE) | ;given patient, return internal^external of the pc team
|
|
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 |
|
QTIPR | ||
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 |
|
QTITM |
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 |
>> | 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* |
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~ |
DIE | INPTPR+17~, INPTPR+19*, INPTPR+25*, INPTTM+14~, INPTTM+17*, INPTTM+22* |
DR | INPTPR+17~, INPTPR+20*, INPTPR+26*, INPTTM+14~, INPTTM+18*, INPTTM+23* |
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 |
>> 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~ |