IBCNERPM ;AITC/VD - IBCNE eIV PAYER DOD REPORT ;22-JAN-2020
Source file <IBCNERPM.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; Main entry point
|
|
R10 | ||
R20 | ||
R30 | ||
R40 | ||
R50 | ||
R100 | ||
EXIT | ; Exit point
|
|
GENERATE(IBCNERTN,IBCNESPC,IBOUT) | ;
; Entry point called from EN^XUTMDEVQ in either direct or queued mode. ; Input params: ; IBCNERTN = Routine name for ^TMP($J,... ; IBCNESPC = Array passed by ref of the report params |
|
STOP() | ; Determine if user wants to exit out of the whole option
|
|
STOPX | ; STOP exit point
|
|
DTRANGE | ; Determine start and end dates for date range param
; Initialize variables |
|
DTRANG1 | ;
|
|
DTRANGX | ; DTRANGE exit point
|
|
PYRSEL | ; Get Payer(s) selection.
|
|
PYRSEL1 | ; Prompt for Payer Selection
|
|
TYPE | ; Prompt to select to display All or Most Recent Responses for Patient/Payer combos
|
|
TYPEX | ; TYPE exit point
|
|
SORT | ; Prompt to allow users to sort the report by Patient(default) or Payer
|
|
SORTX | ; SORT exit point
|
|
DEVICE(IBCNERTN,IBCNESPC,IBOUT) | ; Device Handler and possible TaskManager calls
; Input params: ; IBCNERTN = Routine name for ^TMP($J,... ; IBCNESPC = Array passed by ref of the report params ; IBOUT = "R" for Report format or "E" for Excel format |
|
DEVICEX | ; DEVICE exit point
|
|
OUT() | ; Prompt to allow users to select output format
|
|
ANOTHER() | ; "Select Another" prompt
; returns 1, if response was "YES", returns 0 otherwise |
|
COMPILE(IBCNESPC) | ; Compile the data to be included on the report.
|
|
OUTPUT(IBCNERTN,INCNESPC) | ; Generate the output of the report.
|
|
OUTPUTX | ;
|
|
; Get Print Info
; "Patient Name",?34,"Last 4 SSN",?44,"DOB VISTA",?56,"DOD VISTA",?68,"Payer Name",?100,"Trace #",?122,"DOD Payer" |
||
EOL | ; display "end of page" message and set exit flag
|
|
HEADER | ; print header for each page
|
|
LINE(LINE) | ; Print line of data
|
|
CENTER(LINE) | ; return length of a centered line
; LINE - line to center |
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 |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^IBCN(365 - [#365] | GET1^DIQ |
^IBE(365.12 - [#365.12] | Classic Fileman Calls, GET1^DIQ |