MPIFXMLS ;OAK/ELZ - MPIF HEALTHEVET XML BUILDING - SEARCH ID (PATIENT) ;19 APR 2012
Source file <MPIFXMLS.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
PATIENT(RETURN,MPIID) | ; - look up and return PV data from fully qualified id
; such as 1000323423^PI^500^USVHA |
|
CARDPV(RETURN,MPICARD,EDIPI) | ; - look up PV data from a VIC card number
; pass in the VIC card number or EDIPI in MPICARD, ; EDIPI if set to 1 to indicate EDIPI lookup ; this will return the array: ; RETURN(.01)= patient name ; RETURN(.02)= patient sex ; RETURN(.03)= patient dob ; RETURN(.09)= patient ssn ; RETURN(.092)= patient place of birth (city) ; RETURN(.093)= patient place of birth (state) ; RETURN(.2403)= mother's maiden name ; RETURN(991.01)= patient icn ; RETURN(991.02)= patient icn checksum ; or if not found RETURN=-1 |
|
DPTLK(RETURN,MPIDATA) | ; - sets up return data for DPTLK needs
|
|
XMLS(MPIID) | ; setup xml to search
; MPIID =fully qualified ID to search for a patient delaminated with "^" ; Returns XML for the search |
|
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
|