STANDARD DATA DICTIONARY #409.75 -- TRANSMITTED OUTPATIENT ENCOUNTER ERROR FILE                                   3/24/25    PAGE 1
STORED IN ^SD(409.75,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains all errors that the National Patient Care Database reported when processing an encounter.  
 
When an encounter is transmitted to the National Patient Care Database, all errors that my have occurred previous to that
transmission are deleted.  


              DD ACCESS: @
              RD ACCESS: d
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @

CROSS
REFERENCED BY: TRANSMITTED ENCOUNTER(ACOD), ERROR CODE(ACOD2), TRANSMITTED ENCOUNTER(AECL), TRANSMITTED ENCOUNTER(AEDT), 
               TRANSMITTED ENCOUNTER(AER), ERROR CODE(AER2), TRANSMITTED ENCOUNTER(B)



409.75,.01    TRANSMITTED ENCOUNTER  0;1 POINTER TO TRANSMITTED OUTPATIENT ENCOUNTER FILE (#409.73) (Required)

              Transmitted Encounter   
              LAST EDITED:      AUG 07, 1997 
              HELP-PROMPT:      Enter Transmitted Outpatient Encounter that wasn't successfully transmitted 
              DESCRIPTION:      Pointer to entry in TRANSMITTED OUTPATIENT ENCOUNTER file that was not successfully transmitted to
                                the National Patient Care Database.  

              CROSS-REFERENCE:  409.75^B 
                                1)= S ^SD(409.75,"B",$E(X,1,30),DA)=""
                                2)= K ^SD(409.75,"B",$E(X,1,30),DA)

              CROSS-REFERENCE:  409.75^AEDT^MUMPS 
                                1)= D SETAEDT^SCDDI1(DA,X)
                                2)= D KILAEDT^SCDDI1(DA,X)
                                Cross reference by Outpatient Encounter date [Deleted Outpatient Encounter Date] and Transmitted
                                Outpatient Encounter.  The resulting cross reference will look like: ^SD(409.75,"AEDT",Encounter
                                Date,IEN for entry in 409.73,DA)="" 


              CROSS-REFERENCE:  409.75^AECL^MUMPS 
                                1)= D SETAECL^SCDDI1(DA,X)
                                2)= D KILAECL^SCDDI1(DA,X)
                                Cross reference by Outpatient Encounter Clinic [Deleted Outpatient Encounter Clinic] and
                                Transmitted Outpatient Encounter.  The resulting cross reference will look like: 
                                ^SD(409.75,"AECL",IEN of entry in 44,DA)="" 


              CROSS-REFERENCE:  409.75^AER^MUMPS 
                                1)= N C S C=$P(^SD(409.75,DA,0),U,2) I C S ^SD(409.75,"AER",$E(X,1,30),C,DA)=""
                                2)= N C S C=$P(^SD(409.75,DA,0),U,2) I C K ^SD(409.75,"AER",$E(X,1,30),C,DA)
                                Cross reference by Transmitted Outpatient Encounter and Transmitted Outpatient Encounter Error
                                Code.  The resulting cross reference will look like: ^SD(409.75,"AER",IEN of entry in 409.73,IEN of
                                entry in 409.76,DA)="" 


              CROSS-REFERENCE:  409.75^ACOD^MUMPS 
                                1)= D SETACOD1^SCDDI1(DA,X)
                                2)= D KILACOD1^SCDDI1(DA,X)
                                Cross reference used to sort the error codes by patient.  The resulting cross reference will look
                                like: ^SD(409.75,"ACOD",Patient DFN,External value of the error code,DA)="" 



409.75,.02    ERROR CODE             0;2 POINTER TO TRANSMITTED OUTPATIENT ENCOUNTER ERROR CODE FILE (#409.76)

              LAST EDITED:      AUG 07, 1997 
              HELP-PROMPT:      Enter reason for unsuccessfull transmission 
              DESCRIPTION:
                                Why entry in TRANSMITTED OUTPATIENT ENCOUNTER file was not successfully transmitted.  

              CROSS-REFERENCE:  409.75^AER2^MUMPS 
                                1)= N P S P=$P(^SD(409.75,DA,0),U,1) I P S ^SD(409.75,"AER",P,$E(X,1,30),DA)=""
                                2)= N P S P=$P(^SD(409.75,DA,0),U,1) I P K ^SD(409.75,"AER",P,$E(X,1,30),DA)
                                Cross reference by Transmitted Outpatient Encounter and Transmitted Outpatient Encounter Error
                                Code.  The resulting cross reference will look like: ^SD(409.75,"AER",IEN of entry in 409.73,IEN of
                                entry in 409.76,DA)="" 


              CROSS-REFERENCE:  409.75^ACOD2^MUMPS 
                                1)= D SETACOD2^SCDDI1(DA,X)
                                2)= D KILACOD2^SCDDI1(DA,X)
                                Cross reference used to sort the error codes by patient.  The resulting cross reference will look
                                like: ^SD(409.75,"ACOD",Patient DFN,External value of the error code,DA)="" 



409.75,10.01  DATE/TIME OF X-MIT TO NPCDB  ;  COMPUTED DATE

              MUMPS CODE:       X ^DD(409.75,10.01,9.2) S Y(409.75,10.01,101)=$S($D(^SD(409.73,D0,1)):^(1),1:"") S X=$P(Y(409.75,10
                                .01,101),U,1) S D0=Y(409.75,10.01,80)
                                9.2 = S Y(409.75,10.01,80)=$S($D(D0):D0,1:""),Y(409.75,10.01,1)=$S($D(^SD(409.75,D0,0)):^(0),1:""),
                                D0=$P(Y(409.75,10.01,1),U,1) S:'$D(^SD(409.73,+D0,0)) D0=-1
              ALGORITHM:        .01:11
              LAST EDITED:      OCT 29, 1996 


      FILES POINTED TO                      FIELDS

TRANSMITTED OUTPATIENT ENCOUNT 
                   (#409.76)      TRANSMITTED ENCOUNTER (#.01)
                                  ERROR CODE (#.02)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
SCDX TRANSMITTED ERROR LIST   SEP 05, 1997@13:28  USER #0                               TRANSMITTED OUTPATIENT ENCOUNTER ERROR LIST
SCENI ERROR LIST              OCT 09, 1998@21:51  USER #0                                       Incomplete Encounters by Error Code
SCENI PAT ALPHA PRINT         OCT 09, 1998@21:20  USER #0                       Incomplete Encounters Report Alphabetically by Name

SORT TEMPLATE(S):
SCENI ERROR SORT              NOV 20, 1998@00:42  USER #0    
SORT BY: '.01:20.06//    (User is asked range)
  WITHIN .01:20.06, SORT BY: #.01:20.05;C1;"Division: ";L70// (.01:20.05 not null)
    WITHIN .01:20.05, SORT BY: .02:.01;C1;S2;"Error Code: "//    (User is asked range)
      WITHIN .02:.01, SORT BY: .02:11;C1;"";L70// (.02:11 not null)
     Sorts Transmitted outpatient encounter error file by Division, error code,
     and patient for output.

SCENI PT ALPHA SORT           OCT 09, 1998@20:57  USER #0    
SORT BY: #.01:20.05;"Division: "// (.01:20.05 not null)
  WITHIN .01:20.05, SORT BY: .01:20.01;S2;C5;""// (.01:20.01 not null)
     Sort incomplete encounters by division and patient


FORM(S)/BLOCK(S):