Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: IBTRH5

Package: Integrated Billing

Routine: IBTRH5


Information

IBTRH5 ;ALB/FA - HCSR Response Worklist ;18-JUL-2014

Source Information

Source file <IBTRH5.m>

Entry Points

Name Comments DBIA/ICR reference
EN(IBFILTSR) ;EP
; Main entry point for HCSR Response Worklist
; Input: IBFILTSR - Array of filter options from the HCSR Worklist
; NOTE: Any modifications done to these filters in the
; REFRESH menu action are not returned back to
; HCSR Worklist
HDR ;EP
; Header code for HCSR Response Worklist
; Input: HCSSRTR - Current sort selection
; Output: VALMHDR - Header information to display
; VALM("TITLE") - HCSR Response Worklist Title
; VALMSG - Initial Error line display
INIT ;EP
; Initialize variables and list array
; Input: None
; Output: HCSRSRTR - Initial worklist sort if not yet defined
; ^TMP("IBTRH5",$J) - Body lines to display
BLD ; Build screen array, no variables required for input
; Input: HCSRSRTR - Current select sort type
; Output: ^TMP("IBTRH5",$J) - Body lines to display
; ^TMP($J,"IBTRH5S") - Sorted Body lines to display
; ^TMP($J,"IBTRH5IX") - Index of Event IENs by display line
BLDLN(ECTR,LINED) ; Builds a line to display on List screen for one event
; Input: ECTR - Event counter
; LINED - A1^A2^...A9 Where:
; A1 - Patient Name
; A2 - Patient Status ('I' or 'O')
; A3 - External Appt or Admission date
; A4 - Clinic or Ward name
; A5 - COB ('P', 'S' or 'T')
; A6 - Insurance Company Name
; A7 - Certification Action Code
; Output: LINE - Formatted for setting into the list display
HELP ;EP
; Display HCSR Response worklist Help
; Input: None
DEL ;EP
; Protocol Action to select an entry to be manually removed from the
; Response Worklist
; Input: ^TMP("IBTRH5",$J) - Current Array of displayed entries
; ^TMP($J,"IBTRH5IX") - Current Index of displayed entries
; Output: Selected Entry is removed from the worklist
; Error messages display (potentially)
; ^TMP("IBTRH5",$J) - Updated Array of displayed entries
; ^TMP($J,"IBTRH5IX") - Updated Index of displayed entries
D1 ;;
EXIT ;EP
; Exit the HCSR Response worklist
; Input: None
SORT(NOIOF) ;EP
; Listman Protocol Action to sort the worklist
; Input: NOIOF - 1 to not write @IOF, 0 otherwise
; Optional, defaults to 0
; HCSRSRTR - Current sort selection
; Output: HCSRSRTR - New sort selection
SORT1
SKIP(EIEN,EVENT) ; Checks to see if the specified event entry should display on
; the list
; Input: EIEN - IEN of the Event entry
; EVENT - Node0 of the Event Entry being checked
; IBFILTSR() - Array of filter settings. See FILTERS for a
; detailed explanation of the FILTERS array
; Returns: 1 - Don't display the entry on the list, 0 - Display entry on list
ONEEVENT(CSTAT,EIEN,EVENT)
SELEVENT(FULL,PROMPT,DLINE)
REFRESH ;EP
; Protocol action to search for new Responses, reset filter
; and redisplay the HCSR Response Worklist
; Input: HCSSORTR - Current sort selection
; Output: IBFILTSR() - Array of filter criteria
; NOTE: Any modifications done to these filters
; are not returned back to HCSR Worklist.
; ^TMP("IBTRH5",$J) - Body lines to display
; ^TMP($J,"IBTRH5S") - Sorted Body lines to display
; ^TMP($J,"IBTRH5IX") - Index of Event IENs by display line
SEND278(EIEN) ;EP
; Protocol action to create a new 278 request from a response. Copies the
; Request data from the response's original request and then allows the
; user to edit it before sending the request
; Input: EIEN - IEN of the Response Entry to create a new worklist
; entry from. Optional, only set when called from
; Protocol IBT HCSR RESPONSE EE SEND278 - SR from
; the EE action off of the Response Worklist.
DELAY ;EP
; Protocol action to create a new request from the response but delay its
; viewing on the HCSR Worklist until admission of the entry has been
; discharged.
; Input: ^TMP("IBTRH5",$J) - Current Array of displayed entries
; ^TMP($J,"IBTRH5IX") - Current Index of displayed entries
; Output: A new Request is created from the Selected Entry (potentially)

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,"Flags displayed on screen for S (Patient Status):"
  • Line Location: HELP+5
Function Call: WRITE
  • Prompt: !," O - Outpatient"
  • Line Location: HELP+6
Function Call: WRITE
  • Prompt: !," I - Inpatient"
  • Line Location: HELP+7
Function Call: WRITE
  • Prompt: !!,"Flags displayed on screen for COB:"
  • Line Location: HELP+8
Function Call: WRITE
  • Prompt: !," P - Primary Insurance"
  • Line Location: HELP+9
Function Call: WRITE
  • Prompt: !," S - Secondary Insurance"
  • Line Location: HELP+10
Function Call: WRITE
  • Prompt: !," T - Tertiary"
  • Line Location: HELP+11
Function Call: WRITE
  • Prompt: !!,"Flags displayed for Cert Type (Certification Action):"
  • Line Location: HELP+12
Function Call: WRITE
  • Prompt: !," A1 - Certified in Total"
  • Line Location: HELP+13
Function Call: WRITE
  • Prompt: !," A2 - Certified in Partial"
  • Line Location: HELP+14
Function Call: WRITE
  • Prompt: !," A3 - Not Certified"
  • Line Location: HELP+15
Function Call: WRITE
  • Prompt: !," A6 - Modified "
  • Line Location: HELP+16
Function Call: WRITE
  • Prompt: !," C - Cancelled"
  • Line Location: HELP+17
Function Call: WRITE
  • Prompt: !," CT - Contact Payer"
  • Line Location: HELP+18
Function Call: WRITE
  • Prompt: !," NA - No Action Required"
  • Line Location: HELP+19
Function Call: WRITE
  • Prompt: !," 51 - Complete"
  • Line Location: HELP+20
Function Call: WRITE
  • Prompt: !," 71 - Term Expired"
  • Line Location: HELP+21
Function Call: WRITE
  • Prompt: !,"The following Status indicator may appear to the left of the patient name:"
  • Line Location: HELP+22
Function Call: WRITE
  • Prompt: !," # - 278 has been not been initiated, entry is in-progress"
  • Line Location: HELP+23
Function Call: WRITE
  • Prompt: !,*7,">>>> A Delete Reason Code must be selected, or '^' to exit."
  • Line Location: D1+4
Function Call: WRITE
  • Prompt: !,*7,">>>> Someone else is editing entry ",LINE,". Try again later."
  • Line Location: D1+14
Function Call: WRITE
  • Prompt: !,"Select the item to sort the records on the HCSR Response Worklist screen."
  • Line Location: SORT+11
Function Call: WRITE
  • Prompt: "."
  • Line Location: SORT1+22
Function Call: WRITE
  • Prompt: !,*7,">>>> A 278 request has already been created from this response message."
  • Line Location: SEND278+17
Function Call: WRITE
  • Prompt: !,*7,">>>> Someone else is editing this entry. Try again later."
  • Line Location: SEND278+22
Function Call: WRITE
  • Prompt: !,*7,">>>> Someone else is editing entry. Try again later."
  • Line Location: SEND278+31
Function Call: WRITE
  • Prompt: !,"A new HCSR Worklist entry has been created for Response."
  • Line Location: SEND278+36
Function Call: WRITE
  • Prompt: !,*7,">>>> A 278 request has already been created from this response message."
  • Line Location: DELAY+25
Function Call: WRITE
  • Prompt: !,*7,">>>> Entry ",LINE," is for an Outpatient and cannot be delayed"
  • Line Location: DELAY+28
Function Call: WRITE
  • Prompt: !,*7,">>>> Someone else is editing entry ",LINE,". Try again later."
  • Line Location: DELAY+31
Function Call: WRITE
  • Prompt: !!,$S(DLINE[",":"Entries ",1:"Entry ")_DLINE
  • Line Location: DELAY+39
Function Call: WRITE
  • Prompt: $S(DLINE[",":" have_",1:" has ")_"been delayed"
  • Line Location: DELAY+40

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
2.312 GET1^DIQ
^IBT(356.021 - [#356.021] GETS^DIQ
^IBT(356.22 - [#356.22] GET1^DIQ
^DIC(36 - [#36] GET1^DIQ
^DIC(42 - [#42] GET1^DIQ
^SC - [#44] GET1^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call