IMMLIST |
Get all or part of patient's immunization data from
VistA's V IMMUNIZATION FILE (#9000010.11) and return all nodes containing
data.
IMMLIST(DFN,STDATE,ENDATE) ;Get immunization data for patient
;
; DFN = Patient Identification entry number (required)
; STDATE = Begining date of date FM INTERNAL FORMAT (optional)
; ENDATE = Ending date of date FM INTERNAL FORMAT (optional)
;
; OUTPUT:
; 0 = No entries found_"^"_"no immunization data"
; 1 = Entries found and stored in ^TMP(PXIMM",$J) global
;
; ^TMP(""PXIMM"",$J,DFN,NODE)=DATA
; NODE = 0,12,801,811,812 of V IMMUNIZATION file
;
; Important Note: Only the nodes which contain data returned.
; External value for immunizationis inserted in
; 2nd piece of the 0th node.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
The IEN of VistA's Patient file (#2) of the patient
whose information is requested.
|
STDATE |
Input |
The begining date of date FM INTERNAL FORMAT
(optional).
|
ENDATE |
Input |
The ending date of date FM INTERNAL FORMAT
(optional).
|
|