PSOCPF ;BIR/BAA - Pharmacy CO-PAY Application Utilities for IB ;02/06/92
Source file <PSOCPF.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN | ; -- main entry point for HELD CHARGES LIST
 | 
|
| HDR | ; -- header code
 | 
|
| INIT | ; -- init variables and list array
 ; input - ^TMP($J,"PSOCPF") ; output - ^TMP("VALMAR",$J)  | 
|
| SORT | ; get the data
 | 
|
| BLD | ; build data to display
 ; build display ; ^TMP($J,"PSOCPF",PTNM,RIEN,RFL)=PTNM_U_PID_U_MED_U_RIEN_U_RFL_U_ARTRN_U_RX_U_FILDT_U_BLNO_U_ARST1_U_SC_U_SCP_U_MTSD_U_MTS_U_DFN_U_PBIL_U_ARST_U_PRIEN  | 
|
| SETL(LINE,DATA,LABEL,COL,LNG) | ; Creates a line of data to be set into the body
 ; of the worklist ; Input: LINE - Current line being created ; DATA - Information to be added to the end of the current line ; LABEL - Label to describe the information being added ; COL - Column position in line to add information add ; LNG - Maximum length of data information to include on the line ; Returns: Line updated with added information  | 
|
| HELP | ; -- help code
 | 
|
| EXIT | ; -- exit code
 | 
|
| FILTER(FILTERS) | ; filter display
 ; Sets an array of filters to determine which entries to include in display ; Input: None ; Output: ; Returns: 0 if the user entered '^' or timed out, 1 otherwise ; FILTERS(0) = from date ^ to date ^ 0 (all) 1 (selected) prescriptions ^ patient ^ ; 0 (no) 1 (yes) exclude canceled bills ; FILTERS(1,RX ien) = ""  | 
|
| ADDRX | ; 
 ; Prescription filter  | 
|
| FMDATES(PROMPT,SDT,EDT) | ; ask for date range
 | 
|
| FMDQ | ||
| ASKRX(FILTERS) | ||
| ONERX(DIC,IEN,FIRST) | ||
| ONEPAT(DIC,IEN,FIRST) | ||
| SHOWFILT(FILTERS) | ||
| WRAP(STR,FLG,CL) | ;
 ; STR - STRING TO BE WRAPPED PASSED IN BY REFERENCE SO IT CONTAINS THE REMAING PORTION OF STRING ; FLG - FLAG TO INDICATE WRAPPING NEEDS TO OCCUR ; CL - COLUMN LENGTH  | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^DPT - [#2] | Classic Fileman Calls |