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
Print Page as PDF
Routine: MPIFXMLP

Package: Master Patient Index VistA

Routine: MPIFXMLP


Information

MPIFXMLP ;OAK/ELZ - MPIF PROBLISTIC SEARCH ;21 May 2020 1:20 PM

Source Information

Source file <MPIFXMLP.m>

Entry Points

Name Comments DBIA/ICR reference
PATIENT(RETURN,MPIARR) ; - query for patients based on traits
; MPIARR("")=""
XMLBLD(MPIARR) ; setup xml to search
; MPIARR - Array of traits for seach
; Returns XML for the search
IFADD(MPIVAR,MPIARR,MPIXML,MPIXMLN) ;check if there, if so add it to the XML
; MPIVAR is the MPIARR variable name
; MPIXMLN is the name of the XML to encase
; modifies MPIXML to add if it is there
CONV(FIELD) ;check for &, ', > and <
CONVA(FIELD,ENCHAR) ;handle <<pob city>>
PARSE(MPIDATA,MPIXML) ; - parse the data
SE(MPIN,MPIA) ; - used for the parser to call back with STARTELEMENT
VALUE(MPIT) ; - used by the parser to call back with CHARACTERS
Info |  Source |  Entry Points