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: IBCNSP1

Package: Integrated Billing

Routine: IBCNSP1


Information

IBCNSP1 ;ALB/AAS - INSURANCE MANAGEMENT - policy actions ;05-MAY-2015

Source Information

Source file <IBCNSP1.m>

Entry Points

Name Comments DBIA/ICR reference
EA ; -- Edit all
EAQ ; Edit All Exit
AB ; -- Annual Benefits
ABQ
BU ; -- Benefits Used
BUQ
IT ; -- edit insurance type info from patient policy and plan edit
ITQ ; Edit Insurance Type Exit
IT1 ; -- edit insurance type info from patient policy
ITEDIT(IBCPOL,IBCDFN) ;Edit insurance type info once you have plan (IBCPOL)
; IBCDFN = the ifn of the policy multiple for pt in ^DPT, node .312
; only defined for editing via patient policy
ITEDITQ
ED ; -- Edit effective dates
EDQ
VC ; -- Verify Coverage
SU ; -- Subscriber Update
SUQ
IC ; -- Insurance Contact Information
AI ; -- Add ins. verification entry
PIDEF(IBREL,FLD,IBDFN,SPDEF) ; Function to return patient file defaults
; Called from input template IBCN PATIENT INSURANCE
; IBREL = value from 2.312,4.03 field (PT. RELATIONSHIP - HIPAA)
; FLD = field# in file 2.312
; IBDFN = patient ien to file 2
; SPDEF = spouse default flag =1 if this field should be defaulted
; when the spouse is the policy holder
PIDEFX ;
ASK(QUES,DEFLT) ; Function to ask Yes/No Question
; Returns 1 (yes), 0 (no, up-arrow, or timeout)
ASKX ;
EDIT(IBDFN,IBCDFN,IBQUIT) ; Main call to edit data in 2.312 pat ins subfile
; IBDFN - patient DFN
; IBCDFN - ien for patient insurance policy in subfile 2.312
; IBQUIT - Output variable. Pass by reference. Will be set to 1 if
; the user entered an up-arrow, timed-out, or deleted the
; 2.312 subfile entry by entering "@" at the .01 field
;
EDITX ;
UPDCLM(IBDFN,IBCDFN) ; Update the Insurance nodes of claims that are still editable
UPDCLMX ;
PRELCNV(CODE,FLG) ; conversion between X12, NCPDP and VistA pt. relationship codes
; CODE - code for pt. relationship to convert
; FLG - 0 for X12 -> VistA conversion, 1 for VistA -> X12 conversion, 2 - for VistA -> NCPDP conversion
; returns converted code for pt. relationship, or null if no match found

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,*7,"Sorry, but you do not have the required privileges to Edit All"
  • Line Location: EA+6
Function Call: WRITE
  • Prompt: !!
  • Line Location: EA+11
Function Call: WRITE
  • Prompt: !!,"Can't identify the policy!"
  • Line Location: EA+13
Function Call: WRITE
  • Prompt: !!
  • Line Location: EA+24
Function Call: WRITE
  • Prompt: !!,*7,"Sorry, but you do not have the required privileges to edit Annual Benefits."
  • Line Location: AB+4
Function Call: WRITE
  • Prompt: !!,"Can't identify the plan!"
  • Line Location: AB+10
Function Call: WRITE
  • Prompt: !!
  • Line Location: AB+11
Function Call: WRITE
  • Prompt: !!,"Can't identify the plan!"
  • Line Location: BU+2
Function Call: WRITE
  • Prompt: !!
  • Line Location: BU+3
Function Call: WRITE
  • Prompt: !!,*7,"Sorry, but you do not have the required privileges to edit Insurance Type"
  • Line Location: IT+5
Function Call: WRITE
  • Prompt: !,"Information."
  • Line Location: IT+6
Function Call: WRITE
  • Prompt: !!
  • Line Location: IT+11
Function Call: WRITE
  • Prompt: !!,"Can't identify the plan!"
  • Line Location: IT+14
Function Call: WRITE
  • Prompt: !!,*7,"Sorry, but you do not have the required privileges to edit Insurance Type"
  • Line Location: IT1+5
Function Call: WRITE
  • Prompt: !,"Information."
  • Line Location: IT1+6
Function Call: WRITE
  • Prompt: !?2,*7,"Please note that this plan is inactive!",!
  • Line Location: ITEDIT+7
Function Call: WRITE
  • Prompt: !!
  • Line Location: ED+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: VC+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: SU+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: IC+1
Function Call: WRITE
  • Prompt: !
  • Line Location: ASK+5
Function Call: WRITE
  • Prompt: !
  • Condition for execution: Y
  • Line Location: ASK+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIE - [#.402] FIND1^DIC
^DPT - [#2] EXTERNAL^DILFD
^IBA(355.3 - [#355.3] Classic Fileman Calls
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call