Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All
Print Page as PDF
Global: ^IBCNH(367

Package: Integrated Billing

Global: ^IBCNH(367


Information

FileMan FileNo FileMan Filename Package
367 HPID/OEID RESPONSE Integrated Billing

Description

Directly Accessed By Routines, Total: 6

Package Total Routines
Integrated Billing 6 IBCNHHLI    IBCNHUT1    IBCNHUT2    IDENTIFIERS    ^IBCNH(367    ^IBE(399.6    

Accessed By FileMan Db Calls, Total: 2

Package Total Routines
Integrated Billing 2 IBCNHUT1    IBCNHUT2    

Pointed To By FileMan Files, Total: 1

Package Total FileMan Files
Integrated Billing 1 HPID/OEID TRANSMISSION QUEUE(#367.1)[.07]    

Pointer To FileMan Files, Total: 2

Package Total FileMan Files
Integrated Billing 2 HPID/OEID TRANSMISSION QUEUE(#367.1)[.02]    INSURANCE COMPANY ID TYPE(#367.11)[#367.01(.01)]    

Fields, Total: 11

Field # Name Loc Type Details
.01 MESSAGE CONTROL ID 0;1 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1)!'(X'?1P.E) X
  • LAST EDITED:  MAY 20, 2014
  • HELP-PROMPT:  Answer must be 1-60 characters in length.
  • DESCRIPTION:  
    This is the message control ID number assigned by the HL7 package when a message is created.
  • CROSS-REFERENCE:  367^B
    1)= S ^IBCNH(367,"B",$E(X,1,30),DA)=""
    2)= K ^IBCNH(367,"B",$E(X,1,30),DA)
.02 TRANSMISSION QUEUE 0;2 POINTER TO HPID/OEID TRANSMISSION QUEUE FILE (#367.1) HPID/OEID TRANSMISSION QUEUE(#367.1)

  • LAST EDITED:  MAR 12, 2014
  • HELP-PROMPT:  Enter the HPID/OEID Transmission Queue entry for this response, if applicable.
  • DESCRIPTION:  
    This field is used to link the response with its corresponding entry in the HPID/OEID TRANSMISSION QUEUE file. It will not be populated for unsolicited messages.
  • CROSS-REFERENCE:  367^C
    1)= S ^IBCNH(367,"C",$E(X,1,30),DA)=""
    2)= K ^IBCNH(367,"C",$E(X,1,30),DA)
    This cross-reference is used to quickly find the transaction associated with a response (entry in file #367.1).
.03 RESPONSE TYPE 0;3 SET
************************REQUIRED FIELD************************
  • 'R' FOR REQUESTED;
  • 'U' FOR UNSOLICITED;

  • LAST EDITED:  MAR 19, 2014
  • HELP-PROMPT:  Enter whether this was an unsolicited or requested response.
  • DESCRIPTION:  
    This field indicates whether the response was requested by VISTA or was unsolicited from the NIF (National Insurance File).
.04 INSURANCE COMPANY 0;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  MAR 17, 2014
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
  • DESCRIPTION:  
    This is the Insurance Company name in the received response.
.05 PROCESSING STATUS 0;5 SET
  • 'R' FOR RESPONSE PROCESSED;
  • 'X' FOR EXCEPTION REPORT;
  • 'EL' FOR ERROR WITH LEGACY IDS;
  • 'ED' FOR ERROR WITH DATA;
  • 'EXR' FOR ERROR - EXCEPTION REPORT REJECT;

  • LAST EDITED:  JUN 26, 2014
  • HELP-PROMPT:  Enter the processing status of the response received.
  • DESCRIPTION:  
    This field tracks the processing status of the response received. Changes to this field will update the STATUS DATE/TIME field and the TRANSMISSION STATUS in the HPID/OEID TRANSMISSION QUEUE file.
  • TECHNICAL DESCR:  
    This is the processing status of the response received. Triggers the setting of the STATUS DATE/TIME field (.06). Also triggers the TRANSMISSION STATUS (.04) field of file 367.1.
  • CROSS-REFERENCE:  ^^TRIGGER^367.1^.04
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 X ^DD(367,.05,1,1,89.2) S Y(101)=$S($D(^IBCNH(367.1,D0,0)):^(0),1:"") S X=$P($P(Y(102),$C(59)_$P(Y(101),U,4)_":",2),$C(59)) S D0=I(0,0) S DIU=X K Y S X=DIV S X=DIV,X=X X ^DD(367,.05,1,1,1.
    4)
    1.4)= S DIH=$G(^IBCNH(367.1,DIV(0),0)),DIV=X I $D(^(0)) S $P(^(0),U,4)=DIV,DIH=367.1,DIG=.04 D ^DICR
    2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 X ^DD(367,.05,1,1,89.2) S Y(101)=$S($D(^IBCNH(367.1,D0,0)):^(0),1:"") S X=$P($P(Y(102),$C(59)_$P(Y(101),U,4)_":",2),$C(59)) S D0=I(0,0) S DIU=X K Y X ^DD(367,.05,1,1,2.1) X ^DD(367,.05,1,1
    ,2.4)
    2.1)= S X=DIV S Y(1)=$S($D(^IBCNH(367,D0,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X
    2.4)= S DIH=$G(^IBCNH(367.1,DIV(0),0)),DIV=X I $D(^(0)) S $P(^(0),U,4)=DIV,DIH=367.1,DIG=.04 D ^DICR
    89.2)= S I(0,0)=$G(D0),Y(1)=$S($D(^IBCNH(367,D0,0)):^(0),1:""),D0=$P(Y(1),U,2) S:'D0!'$D(^IBCNH(367.1,+D0,0)) D0=-1 S DIV(0)=D0 S Y(102)=$C(59)_$P($G(^DD(367.1,.04,0)),U,3)
    CREATE VALUE)= INTERNAL(PROCESSING STATUS)
    DELETE VALUE)= INTERNAL(PROCESSING STATUS)
    FIELD)= TRANSMISSION QUEUE:TRANSMISSION STATUS
    Updates the Transmission Queue status (file 367.1, field #.04) whenever the Response status is updated.
  • CROSS-REFERENCE:  ^^TRIGGER^367^.06
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBCNH(367,D0,0)):^(0),1:"") S X=$P(Y(1),U,6),X=X S DIU=X K Y S X=DIV N %I,%H,% D NOW^%DTC S X=% S DIH=$G(^IBCNH(367,DIV(0),0)),DIV=X S $P(^(0),U,6)=DIV,DIH=367,DIG=.06 D ^DIC
    R
    2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBCNH(367,D0,0)):^(0),1:"") S X=$P(Y(1),U,6),X=X S DIU=X K Y S X=DIV N %I,%H,% D NOW^%DTC S X=% S DIH=$G(^IBCNH(367,DIV(0),0)),DIV=X S $P(^(0),U,6)=DIV,DIH=367,DIG=.06 D ^DIC
    R
    CREATE VALUE)= NOW
    DELETE VALUE)= NOW
    FIELD)= STATUS DATE/TIME
    Sets the status date/time to equal NOW whenever the PROCESSING STATUS field changes.
  • CROSS-REFERENCE:  ^^TRIGGER^367^.1
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBCNH(367,D0,0)):^(0),1:"") S X=$P(Y(1),U,10),X=X S DIU=X K Y S X=DIV S X=$$TRG1^IBCNHUT1(DA,X) S DIH=$G(^IBCNH(367,DIV(0),0)),DIV=X S $P(^(0),U,10)=DIV,DIH=367,DIG=.1 D ^DIC
    R
    2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBCNH(367,D0,0)):^(0),1:"") S X=$P(Y(1),U,10),X=X S DIU=X K Y S X=DIV S X=$$TRG1^IBCNHUT1(DA,X) S DIH=$G(^IBCNH(367,DIV(0),0)),DIV=X S $P(^(0),U,10)=DIV,DIH=367,DIG=.1 D ^DIC
    R
    CREATE VALUE)= S X=$$TRG1^IBCNHUT1(DA,X)
    DELETE VALUE)= S X=$$TRG1^IBCNHUT1(DA,X)
    FIELD)= DATE OF FUTURE PURGE
    When the processing status is set to R for Response Processed or EXR for Exception Report Reject and the response contains a NIF ID, the future purge date will be set to T+14. If this was an unsolicited response, the
    future purge date is set to T+14 even if it does not have a NIF ID.
.06 STATUS DATE/TIME 0;6 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 06, 2014
  • HELP-PROMPT:  Enter the date and time that the response record was received.
  • DESCRIPTION:  
    This is the date and time that the response record was received.
  • NOTES:  TRIGGERED by the PROCESSING STATUS field of the HPID/OEID RESPONSE File
.07 VISTA UNIQUE ID 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  MAR 24, 2014
  • HELP-PROMPT:  Answer must be 1-30 characters in length in the following format: Station#.IEN.
  • DESCRIPTION:  
    This is the VAMC Station number and Internal Entry Number of the Insurance Company in this site's INSURANCE COMPANY file in the following format: STATION#.IEN in INSURANCE COMPANY file
  • CROSS-REFERENCE:  367^UID
    1)= S ^IBCNH(367,"UID",$E(X,1,30),DA)=""
    2)= K ^IBCNH(367,"UID",$E(X,1,30),DA)
    This cross-reference allows the user to find all responses for a site's particular Insurance Company entry.
.08 PARENT CHP (HPID) 0;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
  • LAST EDITED:  MAR 19, 2014
  • HELP-PROMPT:  Enter the 10 digit HPID/OEID number for the Parent CHP, if applicable.
  • DESCRIPTION:  
    This is the HPID of the Parent CHP, if applicable.
.09 CHP/SHP 0;9 SET
  • 'C' FOR CHP;
  • 'S' FOR SHP;

  • LAST EDITED:  MAR 17, 2014
  • HELP-PROMPT:  Enter a C if this is a Controlling Health Plan or an S if this is a sub-health plan.
  • DESCRIPTION:  Defines whether this health plan is a Controlling Health Plan (CHP) or a
    Sub-health Plan (SHP). CHP is a health plan that controls its own business
    activities, actions or policies. A plan can have 0 to many sub-health plans
    associated to it. SHP is a health plan whose business activities, actions
    or policies are directed by a CHP. This field does NOT apply to OEIDs, only insurance companies with HPIDs can be designated as CHPs or SHPs.
.1 DATE OF FUTURE PURGE 0;10 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 14, 2014
  • HELP-PROMPT:  Enter the date this record can be purged.
  • DESCRIPTION:  
    This field contains the date that the response and, if applicable, its corresponding HPID/OEID TRANSMISSION QUEUE entry may be purged.
  • TECHNICAL DESCR:  This field contains the date that the response and, if applicable, its
    transaction queue entry (#367.1)may be purged. This is triggered to be
    set ONLY when the PROCESSING STATUS field (.05) is set to R for RESPONSE
    PROCESSED and only if the solicited response included a NIF ID.
    Unsolicited responses will be purged regardless of whether they have a
    NIF ID or not. The date is set to response receipt date +14 days. The purge process runs nightly via routine PUR^IBCNHUT2.
  • NOTES:  TRIGGERED by the PROCESSING STATUS field of the HPID/OEID RESPONSE File
  • CROSS-REFERENCE:  367^E
    1)= S ^IBCNH(367,"E",$E(X,1,30),DA)=""
    2)= K ^IBCNH(367,"E",$E(X,1,30),DA)
    This cross-reference is used by the nightly routine PUR^IBCNHUT2 to purge all applicable entries in file 367 and file 367.1.
1 IDENTIFIERS 1;0 POINTER Multiple #367.01 367.01

  • DESCRIPTION:  
    This is a record of all INSURANCE COMPANY IDs received in the response from the NIF (National Insurance File).

External References

Name Field # of Occurrence
^%DT .06+1, .1+1
NOW^%DTC .05(XREF 2S), .05(XREF 2K)
^DICR .05(XREF 1n1.4), .05(XREF 1n2.4), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
$$TRG1^IBCNHUT1 .05(XREF 3S), .05(XREF 3K)

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(367 .05(XREF 1S), .05(XREF 1K)
^DD(367.1 .05(XREF 1n89.2)
^IBCNH(367 - [#367] .01(XREF 1S), .01(XREF 1K), .02(XREF 1S), .02(XREF 1K), .05(XREF 1n2.1), .05(XREF 1n89.2), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
.07(XREF 1S), .07(XREF 1K), .1(XREF 1S), .1(XREF 1K)
^IBCNH(367.1 - [#367.1] .05(XREF 1S), .05(XREF 1n1.4), .05(XREF 1K), .05(XREF 1n2.4), .05(XREF 1n89.2)

Naked Globals

Name Field # of Occurrence
^(0 .05(XREF 1S), .05(XREF 1n1.4), .05(XREF 1K), .05(XREF 1n2.1), .05(XREF 1n2.4), .05(XREF 1n89.2), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% .05(XREF 2S), .05(XREF 2K)
>> %DT .06+1*, .1+1*
%H .05(XREF 2S), .05(XREF 2K)
%I .05(XREF 2S), .05(XREF 2K)
>> D0 .05(XREF 1S), .05(XREF 1K), .05(XREF 1n2.1), .05(XREF 1n89.2), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
>> DA .01(XREF 1S), .01(XREF 1K), .02(XREF 1S), .02(XREF 1K), .05(XREF 1S), .05(XREF 1K), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
.07(XREF 1S), .07(XREF 1K), .1(XREF 1S), .1(XREF 1K)
>> DIG .05(XREF 1n1.4), .05(XREF 1n2.4), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
>> DIH .05(XREF 1n1.4), .05(XREF 1n2.4), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
>> DIU .05(XREF 1S), .05(XREF 1K), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
DIV .05(XREF 1S), .05(XREF 1n1.4), .05(XREF 1K), .05(XREF 1n2.1), .05(XREF 1n2.4), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
DIV(0 .05(XREF 1S), .05(XREF 1n1.4), .05(XREF 1K), .05(XREF 1n2.4), .05(XREF 1n89.2), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
>> I(0 .05(XREF 1S), .05(XREF 1K), .05(XREF 1n89.2)
U .05(XREF 1S), .05(XREF 1n1.4), .05(XREF 1K), .05(XREF 1n2.1), .05(XREF 1n2.4), .05(XREF 1n89.2), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
X .01+1!, .01(XREF 1S), .01(XREF 1K), .02(XREF 1S), .02(XREF 1K), .04+1!, .05(XREF 1S), .05(XREF 1n1.4), .05(XREF 1K), .05(XREF 1n2.1)
.05(XREF 1n2.4), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K), .06+1*!, .07+1!, .07(XREF 1S), .07(XREF 1K), .08+1!
, .1+1*!, .1(XREF 1S), .1(XREF 1K)
Y .05(XREF 1S), .05(XREF 1K), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K), .06+1, .1+1
Y(1 .05(XREF 1n2.1), .05(XREF 1n89.2), .05(XREF 2S), .05(XREF 2K), .05(XREF 3S), .05(XREF 3K)
Y(101 .05(XREF 1S), .05(XREF 1K)
Y(102 .05(XREF 1S), .05(XREF 1K), .05(XREF 1n89.2)
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All