Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PXBAPI22

Package: PCE Patient Care Encounter

Routine: PXBAPI22


Information

PXBAPI22 ;ISL/DCM - API for Classification check out ;8/30/96

Source Information

Source file <PXBAPI22.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Scheduling 2 $$EC^SDCO22  $$VAL^SDCODD  
VA Fileman 2 ^DIK  ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
PCE Patient Care Encounter 1 PXBAPI21  

Entry Points

Name Comments DBIA/ICR reference
ONE(TYPI,DATA,ENCOWNTR,SQUIT) ;Process One Classification
; Input -- TYPI Outpatient Classification Type IEN
; DATA Null or 409.42 IEN^Internal Value^1=n/a^1=unedt
; ENCOWNTR Outpatient Encounter file IEN (optional)
; Output -- SQUIT User entered '^' or timeout
VALQ
STORE(SDCNI,SDCNV,TYPI) ;File Outpatient Classification
; Input -- SDCNI Outpatient Classification IEN
; SDCNV Outpatient Classification Value
; TYPI Classification type 1 - Agent Orange
; 2 - Ionizing Radiation
; 3 - Service Connected
; 4 - Environmental Contaminants
; Output -- PXBDATA array
; Error codes -- PXBDATA("ERR",TYPI)=1 - Bad ptr to 409.41 in TYPI
; 2 - DATA entry not applicable
; 3 - DATA entry uneditable
; 4 - User ^ out of prompt
VAL(TYPI,SDCT0,DATA) ;Get Outpatient Classification
REASK

External References

Name Field # of Occurrence
^DIK ONE+9
^DIR REASK+5
$$EC^SDCO22 VAL+4
$$VAL^SDCODD ONE+11, REASK+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "deleted."
  • Line Location: ONE+9
Function Call: WRITE
  • Prompt: !,$P(SDCT0,"^",6)_": "_$$VAL^SDCODD(TYPI,$P(DATA,"^",2))_" <Uneditable>"
  • Line Location: ONE+11
Routine Call
  • DIR
  • Line Location:
    • REASK+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SDD(409.42 - [#409.42] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(43 - [#43] REASK+6
^DPT - [#2] VAL+2, VAL+3, VAL+4
^SCE - [#409.68] VAL+5
^SD(409.41 - [#409.41] ONE+6, REASK+3

Label References

Name Line Occurrences
$$VAL ONE+12
REASK REASK+6
STORE ONE+14
VALQ VAL+2, VAL+3, VAL+4, VAL+5

Naked Globals

Name Field # of Occurrence
^(2 REASK+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA ONE+9*, VAL+1~
DATA ONE~, ONE+7, ONE+9, ONE+10, ONE+11, ONE+12, ONE+14, VAL~, REASK+1, REASK+6
>> DFN VAL+2, VAL+3, VAL+4
>> DIK ONE+9*
DIR VAL+1~
DIR("?" REASK+4*
DIR("A" REASK*
DIR("B" REASK+1*
DIR(0 REASK+2*, REASK+3*
DIRUT REASK+8!, REASK+9, VALQ!
DTOUT REASK+6, VALQ!
DUOUT REASK+8!, VALQ!
ENCOWNTR ONE~, VAL+4, VAL+5
>> PXBDATA( STORE+12*
>> PXBDATA("ERR" ONE+6*, ONE+7*, ONE+10*, ONE+13*
SDCNI STORE~, STORE+12
SDCNV STORE~, STORE+12
SDCT0 ONE+5~, ONE+6*, ONE+8, ONE+11, ONE+12, VAL~, REASK, REASK+1, REASK+2, REASK+6
SDVAL ONE+5~, ONE+12*, ONE+13, ONE+14
SQUIT ONE~, ONE+13*
TYPI ONE~, ONE+6, ONE+7, ONE+10, ONE+11, ONE+12, ONE+13, ONE+14, VAL~, VAL+2
, VAL+3, VAL+4, VAL+5, REASK+1, REASK+3, REASK+4, STORE~, STORE+12
Y VAL+1~, VAL+5*, REASK+6, REASK+7, REASK+9*, VALQ+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All