VPSPDO1M ;DALOI/KML,WOIFO/BT - PDO OUTPUT DISPLAY - MEDS ;11/20/11 15:30
Source file <VPSPDO1M.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| MEDHDR(OREF) | ; build medication sections for Patient Entered allergy medication review note
 ; active medications have an (RX) status of Active, Suspended, Hold, Provider Hold ; INPUT ; OREF : Object Reference for the VPS PDO object  | 
|
| MEDS(OREF,SAVMEDS) | ; sort the displayed meds by active, NONVA, and PAST
 ; INPUT ; OREF : Object Reference for the VPS PDO object ; OUTPUT ; SAVMEDS : passed in by reference. array represents the list of medications to display at a given section  | 
|
| GET(OREF,RXSTAT,MEDITMS) | ; get MED data
 ; INPUT ; OREF : Object Reference for the VPS PDO object ; RXSTAT : RX status. Medication list is displayed at specific sections of the note depending on status ; OUTPUT ; MEDITMS : passed in by reference. array represents the list of medications to display at a given section  | 
|
| BLDNONVA(OREF) | ; build NON VA meds
 ; INPUT ; OREF : Object Reference for the VPS PDO object  | 
|
| BLD(OREF,MEDITMS,TYPE) | ; build the array of data associated with a given medication (at the 853.54 SUB-ENTRY)
 ; INPUT ; OREF : Object Reference for the VPS PDO object ; MEDITMS : passed in by reference. array represents the list of medications to display at a given section ; TYPE : "ACTIVE" or "PAST" medication  | 
|
| SETPROPS(OREF,FLD) | ; assign data to properties for ease of handling
 ; INPUT ; OREF : Object Reference for the VPS PDO object ; FLD : Med data by fieldname ;  | 
|
| NAMELINE(OREF) | ; Add followup, patient response, med name to result array
 ; INPUT ; OREF : Object Reference for the VPS PDO object  | 
|
| SIGLINES(OREF) | ; Add SIG lines to result array
 ; INPUT ; OREF : Object Reference for the VPS PDO object  | 
|
| PRVLINES(OREF) | ; Add provider lines
 ; INPUT ; OREF : Object Reference for the VPS PDO object  | 
|
| PTCLINES(OREF) | ; Add patient comments 
 ; INPUT ; OREF : Object Reference for the VPS PDO object  | 
|
| ADDNONVA(OREF) | ; Add Non-va patient comment
 ; INPUT ; OREF : Object Reference for the VPS PDO object  | 
|
| ADDREMOT(OREF) | ; Add remote (cdw) patient comment, filled days, next fill date to result array
 ; INPUT ; OREF : Object Reference for the VPS PDO object  | 
|
| ADDLOCAL(OREF) | ; Add local vista patient comment, filled days, next fill date to result array
 ; INPUT ; OREF : Object Reference for the VPS PDO object  |