PSOREJP2 ;BIRM/MFR - Third Party Rejects View/Process ;04/28/05
Source file <PSOREJP2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| SEL | ; - Field Selection (Patient/Drug/Rx)
 | 
|
| EXIT | ||
| CLO | ; - Ignore a REJECT hidden action
 | 
|
| OPN | ; - Re-open a Closed/Resolved Reject
 | 
|
| SDC | ; - Suspense Date Calculation
 | 
|
| CSD | ;CSD - Change Suspense Date action entry point
 | 
|
| CHG(SDC) | ; - Change Suspense Date action
 | 
|
| SUDT | ; Asks for the new Suspense Date
 | 
|
| PTLBL(RX,RFL) | ; Conditionally prompts user with 'Print Label?' prompt.
 ; If User responds YES to 'Print Label' value of 1 is returned. ; If User responds NO to 'Print Label' value of 0 is returned.  | 
|
| DTRNG(BGN,END) | ; Date Range Selection
 | 
|
| CALCSD(RX,FIL,COB) | ;
 ; CALCSD - Prompt the user for Last Date of Service, Last Days Supply and ; then calculate the suspense date based on these input. ; Input ; RX - Prescription IEN ; FIL - Fill Number ; COB - Coordination of Benefits ; Return ; The calculated suspense date  | 
|
| PREVRX(RX,RFL,COB,LDOS,LDAYS,PREVRX) | ; Gather last date of service and last days supply from previous rx
 ; input: RX - Current RX ; RFL - Refill ; COB - Coordination of benefits ; output: LDOS - (pass by reference) Last date of service in fileman format, or "" ; LDAYS - (pass by reference) Last days supply in numeric format, or "" ; PREVRX - (pass by reference) Previous Rx for same drug, if any  | 
 
  | 
| PREVRXQ | ;
 | 
|
| LAST120(RX,COB) | ;
 ; For the original fill, get the default DOS/Days Supply by getting ; most recent DOS from the other RXs within a time window for the same ; patient and drug and dosage Time window - Prescription has an ; expiration date that is in the future or within the last 120 days ; Input ; RX - Prescription IEN ; COB - coordination of benefits indicator (defaults to 1 if not passed) ; Output ; Last Date of Service ^ Last Days Supply ^ Previous Rx  | 
|
| CHECKIT(RX,FL,COB,LDOS,LDAYS) | 
| 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 | 
  | 
| 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 | 
  | 
| 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 | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  |