AVUNIT |
INPUT DEFINITION:
DFN = Internal entry number from the PATIENT file (#2)
(Passed as a parameter)
TMPLOC = The first subscript location in the ^TMP global
(Passed as a parameter)
GMTS1 = Inverse end date of search (Passed as a parameter)
GMTS2 = Inverse start date of search (Passed as a parameter)
GMTSNDM = Maximum number to be extracted (Passed as a
parameter)
OUTPUT DEFINITION:
The function will gather Blood Bank unit data for presentation to Health
Summary. This API (AVUNIT^VBECA4) will replace XTRCT^GMTSLRBE as the new
entry point for Health Summary to use in producing the report. The call reads
Blood Bank available unit data and creates entries in ^TMP(TMPLOC,$J) for the
temporary storage of the data. Health Summary agrees to stop calling
XTRCT^GMTSLRBE and instead call AVUNIT^VBECA4(DFN,TMPLOC,GMTS1,GMTS2,
GMTSNDM).
The output format is:
^TMP(TMPLOC,$J,0) = ABO Value_U_RH factor
^TMP(TMPLOC,$J,Inverse Date) = Expiration Flag_U_Expiration
Date_U_Unit ID_U_Component_U
_Volume_U_ABO_U_RH_U_Donation
Type_U_Division where unit
is located_U_ Location to
which unit of blood is being
relocated
|