MPIFAPI ;CMC/BP-APIS FOR MPI ;DEC 21, 1998
Source file <MPIFAPI.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN2() | ;NEW ENTRY POINT FOR LOCALS
 | 
 
  | 
| AGN2 | ||
| SETUP | ;
 | 
|
| MPILINK() | ;returns MPI logical Link
 | 
 
  | 
| SUBNUM(DFN) | ; returns SCN from MPI node for given DFN
 ; DFN - ien of patient file ; returns: -1^error message << always returns.  | 
 
  | 
| MPINODE(DFN) | ; returns MPI node for given DFN
 ; DFN - patient file ien ; returns: -1^error message or MPI node from patient file  | 
 
  | 
| GETADFN(ICN) | ; return DFN ONLY if ICN is the active ICN
 ; ICN - Integration Control Number for patient to be returned ; returns: -1^error message ; DFN - IEN for the patient entry in the Patient file (#2)  | 
 
  | 
| AICN2DFN(ICN) | ; return DFN ONLY if Full ICN is the active ICN
 | 
|
| UPDATE(DFN,ARR,MPISILNT,REMOVE) | ;api to edit 'mpi','mpifhis' and 'mpicmor' nodes
 | 
 
  | 
| MPIQ(DFN) | ;MPI QUERY
 | 
|
| MPIQQ(PDFN) | ; Entry point for queuing d/c
 ; Returned is -1^error message OR Task #  | 
|
| WRTLN | ;**37 Write intro text ONLY if there are fields to ask
 | 
|
| VALDT(VAL) | ;**37 Validate value passed in.
 | 
|
| VIC40(DFN,ICN) | ; -- only allowed for approved package use
 ; this will file the FULL icn for a patient and update correlations ; so the local site is now a subscribing package. This is used with the ; VIC 4.0 card registration where PV data was obtained from MVI.  | 
|
| CARDLOG(MPIFID,MPIFTYPE,MPIFEVNT) | ; - Function to log cards swiped or scanned
 ; input: MPIFID = ID from card swiped or scanned ; MPIFTYPE = type of card, either VHIC or CAC ; MPIFEVNT = type of event, either SWIPE or SCAN  | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^DPT - [#2] | Classic Fileman Calls | 
| ^MPIF(984.1 - [#984.1] | Classic Fileman Calls |