VPSMR54 ;WOIFO/BT - Get the last MRAR data for a patient (Medication Level) ;01/29/15 15:30
Source file <VPSMR54.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
MEDS(VPSMRAR,DFN,LASTMRAR) | ; -- retrieve Medication level fields and store them in VPSMRAR
; INPUT ; DFN : Patient IEN ; LASTMRAR : The last MRAR Transaction IEN for the patient ; OUTPUT ; VPSMRAR: local array contains all field names/values for the last mrar |
|
MEDIND(VPSMRAR,DFN,LASTMRAR,MEDIEN,MEDNO) | ; -- retrieve Medication Indicator level fields and store them in VPSMRAR
; INPUT ; DFN : Patient IEN ; LASTMRAR : The last MRAR Transaction IEN for the patient ; MEDIEN : Medication IEN ; MEDNO : Medication Entry # ; OUTPUT ; VPSMRAR : local array contains all field names/values for the last mrar |
|
ADDMEDS(VPSMRAR,DFN,LASTMRAR) | ; -- retrieve Additional Medication level fields and store them in VPSMRAR
; INPUT ; DFN : Patient IEN ; LASTMRAR : The last MRAR Transaction IEN for the patient ; OUTPUT ; VPSMRAR: local array contains all field names/values for the last mrar |