Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC
Print Page as PDF
Routine: IBDFRPC5

Package: Automated Information Collection System

Routine: IBDFRPC5


Information

IBDFRPC5 ;ALB/AAS - AICS Pass data to PCE, Broker Call ; 24-FEB-96

Source Information

Source file <IBDFRPC5.m>

Entry Points

Name Comments DBIA/ICR reference
GETALL(RESULT,IBDATA) ; -- called by RPC and by write
; -- get all encounter data
; -- input Result (called by reference)
; IBDATA (called by reference)
; IBDATA("CLINIC") := pointer to hospital location file (44)
; IBDATA("DFN") := pointer to Patient file (2)
; IBDATA("APPT") := date/time of encounter in FM format
; IBDATA("UNFORMAT") := (optional, default :=0) return piece
; as displayable
; -- output Results Array
; A sequential array of all data found for encounters for
; patient/clinic/appt
; if ibdata(unformat) is false then data is preformatted
; suitable for display to a crt.
; if ibdata(unformat) is true then a record as follows:
; P1 := data qualifier (ie primary or secondary)
; P2 := type of data
; p3 := Narrative or Description (Textual name)
; P4 := value (code or date/time)
; P5 := source of data (aics, pce, scheduling)
; P6 := Quantity (cpt codes only)
; The next 4 pieces only set if answered
; P7 := sc (null, 1 or 0) encounter node only
; P8 := ao (null, 1 or 0) encounter node only
; P9 := ir (null, 1 or 0) encounter node only
; P10 := ec (null, 1 or 0) encounter node only
GETALLQ
GETDATA(RESULT,IBDATA,ENCTRS) ; -- return all data for an encounter date time
GETQ
WRITE ; -- called by DIR as executable help from IBDFDE
APPTLST(RESULT,IBDF) ; -- return past appointment list, called by rpc
TEST ;
TESTW ;
TESTA ;

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Retrieving Encounter Data from PCE..."
  • Line Location: WRITE+2
Function Call: WRITE
  • Prompt: !
  • Line Location: WRITE+4
Function Call: WRITE
  • Prompt: !,RESULT(I)
  • Line Location: WRITE+6

Used in RPC

RPC Name Call Tags
IBD GET ALL PCE DATA GETALL
IBD GET PAST APPT LIST APPTLST
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC