;Receives X in internal date.time, and returns X in MM/DD/YY TT:TT
NAME
; Format names ;6/30/89 11:20 ;
; Recieves: FILE (3 for User, 16 for Person, 6 for Provider)
; IFN (Internal file # for above file),
; NML (Desired length for name to be returned)
; FNF (Flag to specify first name format: 0 for FI, 1 for FN)
; Returns: Lastname,First(name/initial) to specified length as NM
MD
; Format physician names ;4/4/89 11:39 ;
; Recieves: IFN for New Person file as PR and desired name length, as NML
; Returns: Lastname,FI to specified length as PR
REGDT
; Receives X in internal date.time, and returns X in MM/DD/YY format
SIDT
; Receives X as internal date/time and returns X in DD MMM YY
DEM
; Gets Demographic Data from VADPT
; Receives: DFN
; Returns: GMRCPNM,GMRCSN,GMRCHRCN,GMRCDOB,SEX,GMRCWARD,GMRCRB,GMRCAGE
; and GMRCWLI,GMRCHLI
HL7FMDTM
; Recieves X as CCYYMMDDHHMM and returns X as internal date/time
MTIM
;CONVERT TIME from X=2890313.1304 INTO X=13:04
PTRCLN
;Clean out subservice 'B' X-reference of deleted entries
FMHL7DTM
; Recieves X as internal date/time and returns X in CCYYMMDDHHMM