STANDARD DATA DICTIONARY #409.76 -- TRANSMITTED OUTPATIENT ENCOUNTER ERROR CODE FILE                              6/27/25    PAGE 1
STORED IN ^SD(409.76,  (245 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This table file contains a list of all error codes that the National Patient Care Database will report when processing an
encounter.  
 
If an entry needs to be added, modified or deleted a patch will be issued instructing the site how to make the change.  Otherwise,
this table should not be edited in anyway by the site.  


              DD ACCESS: @
              RD ACCESS: d
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
IDENTIFIED BY: ERROR CODE DESCRIPTION (#11)

POINTED TO BY: ERROR CODE field (#.02) of the TRANSMITTED OUTPATIENT ENCOUNTER ERROR File (#409.75) 
               

CROSS
REFERENCED BY: ERROR CODE(B), ERROR CODE DESCRIPTION(D)



409.76,.01    ERROR CODE             0;1 FREE TEXT (Required)

              Error Code   
              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1)!'(X'?1P.E) X
              LAST EDITED:      APR 30, 1996 
              HELP-PROMPT:      Enter an error code to use (1-10 characters) 
              DESCRIPTION:      Error code denoting why an entry in the Transmitted Outpatient Encounter file could not be
                                transmitted or successfully processed.  

              TECHNICAL DESCR:
                                 

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


409.76,.02    SOURCE OF ERROR        0;2 SET (Required)

                                'N' FOR NPCD; 
                                'V' FOR VISTA; 
                                'T' FOR HL7 TRANSMISSION; 
              LAST EDITED:      JUL 10, 1997 
              HELP-PROMPT:      Enter the source of the error. 
              DESCRIPTION:
                                This set of codes indicates the source of the error.  


409.76,11     ERROR CODE DESCRIPTION 1;1 FREE TEXT

              Error Code Description   
              INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
              LAST EDITED:      JAN 20, 1998 
              HELP-PROMPT:      Enter a description of the error code (1-80 characters) 
              DESCRIPTION:
                                Free text description of the error code.  

              CROSS-REFERENCE:  409.76^D 
                                1)= S ^SD(409.76,"D",$E(X,1,30),DA)=""
                                2)= K ^SD(409.76,"D",$E(X,1,30),DA)
                                This is used to aid in the lookup of error codes.  



409.76,21     CORRECTIVE ACTION DESCRIPTION 2;0   WORD-PROCESSING #409.7621

              DESCRIPTION:      This field describes the actions necessary to correct the error.  This is the text which would be
                                viewed by a user when using the Incomplete Encounter Management Tools.  


                LAST EDITED:      JUL 10, 1997 
                HELP-PROMPT:      Enter the corrective action a user will need to take in order to correct this error. 
                DESCRIPTION:
                                  This is the corrective action needed to correct this error situation.  




409.76,31     VALIDATION LOGIC       CHK;E1,245 MUMPS

              INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
              LAST EDITED:      JUN 05, 1997 
              HELP-PROMPT:      Enter routine entry point to perform error validation 
              DESCRIPTION:      This field should not be modifed except as directed.  
                                 
                                This contains the logic that needs to be executed in order to validate the data.  If the data does
                                not validate correctly the error code from this entry will be used.  The function call contained
                                within this field uses the following variables: 
                                    Input 
                                       Data - The value being validated.  
                                 
                                    Returns 
                                       RES - Result of the function call 
                                              1 if entry passed validation 
                                              0 if entry does not pass validation 

              WRITE AUTHORITY:  @

409.76,41     CORRECTION LOGIC       COR;E1,245 MUMPS

              INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
              LAST EDITED:      JUL 10, 1997 
              HELP-PROMPT:      This is the code that will need to be executed to correct this error. 
              DESCRIPTION:      This field should not be modifed except as directed.  
                                 
                                This contains the logic that needs to be executed in order to allow the user to correct the error. 
                                The function call contained within this field uses the following variables: 
                                    Returns 
                                       RES - Result of the function call 
                                             0 - if the corrective action was not successful 
                                             1 - if the corrective action succeeded 
                                 
                                This function call makes the assumption that the ^TMP("SCENI XMT",$J,0) global from the Incomplete
                                Encounter Management List Manager tool is available to retrieve the pointer from the TRANSMITTED
                                OUTPATIENT ENCOUNTER FILE (#409.73) which is used to check the entry and retreive the entry from
                                the TRANSMITTED OUTPATIENT ENCOUNTER ERROR FILE (#409.75).  

              WRITE AUTHORITY:  @


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
SCENI ERROR TABLE             JUN 09, 1997@10:23  USER #0                          TRANSMITTED OUTPATIENT ENCOUNTER ERROR CODE LIST

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):