| $$MPINODE | 
$$MPINODE^MPIFAPI(DFN)  This function returns the MPI
node for a given patient in the Patient file (#2). Returning:  MPI node OR
-1^error message.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
DFN | 
Input | 
DFN - IEN of patient in Patient file (#2).
 
 | 
 
 | 
$$SUBNUM | 
$$SUBNUM^MPIFAPI(DFN)  This function returns the
Subscription Control Number from the MPI node for a given patient in the
Patient file (#2).  Returns:  Subscription Control Number OR -1^error message.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
DFN | 
Input | 
DFN = IEN of patient in the Patient file (#2).
 
 | 
 
 | 
$$EN2 | 
$$EN2^MPIFAPI()  This function creates and returns
the next Local ICN (Integration Control Number) and ICN Checksum.  Returns:
ICN V ICN Checksum (no spaces).
 
 | 
 | 
$$MPILINK | 
This function returns the name of the MPI logical
link from the HL Logical Link file.
 
 | 
 | 
GETADFN | 
This API will return the DFN for a given ICN ONLY if
the ICN is the active ICN for a patient.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
ICN | 
Input | 
This is the Integration Control Number that is being
used to find a given patient.
 
 | 
DFN | 
Output | 
The IEN of the patient in the Patient (#2) file that
currently has this ICN as the active ICN (stored in field 991.01).  ICN is not
found -1^error message is returned.
 
 | 
 
 |