STANDARD DATA DICTIONARY #160.16 -- ONCOLOGY DATA EXTRACT FORMAT FILE                                             3/24/25    PAGE 1
STORED IN ^ONCO(160.16,  (7 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 2.2)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains the ONCOLOGY Data Extract Formats.  


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

CROSS
REFERENCED BY: NAME(B)

    LAST MODIFIED: NOV 21,2024@17:13:11

160.16,.01    NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      FEB 24, 1997 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                This contains the name of the extract.  

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


160.16,1      FIELD                  FIELD;0 Multiple #160.161

              DESCRIPTION:
                                List of all the extracted fields.  

              IDENTIFIED BY:    NAME(#3)[R]

160.161,.01     STARTING POSITION      0;1 NUMBER (Required) (Multiply asked)

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      JUL 31, 1997 
                HELP-PROMPT:      Type a Number between 0 and 999999, 0 Decimal Digits 
                DESCRIPTION:
                                  The starting position do the field within the extract.  

                CROSS-REFERENCE:  160.161^B 
                                  1)= S ^ONCO(160.16,DA(1),"FIELD","B",$E(X,1,30),DA)=""
                                  2)= K ^ONCO(160.16,DA(1),"FIELD","B",$E(X,1,30),DA)


160.161,1       LENGTH                 0;2 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      APR 30, 1997 
                HELP-PROMPT:      Type a Number between 1 and 999999, 0 Decimal Digits 
                DESCRIPTION:
                                  This contains the character length of the field.  


160.161,2       ENDING POSITION        0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      APR 30, 1997 
                HELP-PROMPT:      Type a Number between 1 and 999999, 0 Decimal Digits 
                DESCRIPTION:
                                  This is the ending position of the field data.  


160.161,3       NAME                   0;4 FREE TEXT (Required)

                INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
                LAST EDITED:      SEP 14, 2021 
                HELP-PROMPT:      Answer must be 1-80 characters in length. 
                DESCRIPTION:
                                  This is the name given to the field within the extract.  

                CROSS-REFERENCE:  160.161^C 
                                  1)= S ^ONCO(160.16,DA(1),"FIELD","C",$E(X,1,30),DA)=""
                                  2)= K ^ONCO(160.16,DA(1),"FIELD","C",$E(X,1,30),DA)
                                  Name cross reference.  



160.161,3.5     LOCAL NAME             0;5 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
                MAXIMUM LENGTH:   80
                LAST EDITED:      SEP 14, 2021 
                HELP-PROMPT:      Answer must be 1-80 characters in length. 

160.161,3.7     PARENT XML ELEMENT     0;6 SET

                                  'P' FOR Patient; 
                                  'T' FOR Tumor; 
                                  'N' FOR NaaccrData; 
                LAST EDITED:      JAN 03, 2022 
                HELP-PROMPT:      Enter the Parent XML Element value. 
                DESCRIPTION:
                                  This field will identify where each data value is derived from.  

                CROSS-REFERENCE:  160.161^D 
                                  1)= S ^ONCO(160.16,DA(1),"FIELD","D",$E(X,1,30),DA)=""
                                  2)= K ^ONCO(160.16,DA(1),"FIELD","D",$E(X,1,30),DA)
                                  CROSS-REFERENCE FOR PARENT XML ELEMENT FOR EACH EXTRACT.  



160.161,4       ACTION                 1;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
                LAST EDITED:      JUL 29, 1997 
                HELP-PROMPT:      Answer must be 1-250 characters in length. 
                DESCRIPTION:      Enter MUMPS Code that sets ACDANS to a value. DO NOT USE THE "^" (UP-ARROW).  Fileman will not
                                  except and up-arrow.  Use "~" tilde to replace all up-arrows.  The system has been coded to
                                  convert the tilde to an up-arrow when it executes the string. 
                                     For example: 
                                                 S ACDANS=123 
                                                 S ACDANS=$$FUNCT~ROUTINE(IEN) 
                                   
                                   Preset Varables: 
                                                IEN=Internal Entry number of the entry in file 165.5 
                                             ACD160=Internal Entry number of the entry in file 160 that is 
                                                    link to the entry in file 165.5 


160.161,5       DEFAULT                2;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
                LAST EDITED:      MAY 09, 1997 
                HELP-PROMPT:      Answer must be 1-200 characters in length. 
                DESCRIPTION:      The default value of a field that is has no data stored.  Values can be: 
                                            BLANK = " " 
                                            ZERO  = "0" 
                                            NINE  = "9" 


160.161,6       FILL                   3;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
                LAST EDITED:      MAY 09, 1997 
                HELP-PROMPT:      Answer must be 1-200 characters in length. 
                DESCRIPTION:      The filler that is stuffed in front of or behind the data if it is not the max length. This
                                  element is devided into two pieces delimeted by a comma.  The first part tell where the fill is
                                  to go. Second part tells waht to fill with.  "R" means to fill on the right side of the value and
                                  "L" means to fill on the left.  The fill values are the same as in DEFAULT 
                                   
                                  Example:  L,BLANK = Fill the field with blanks then add the value to the remainder 
                                   
                                            BLANK = " " 
                                            ZERO  = "0" 
                                            NINE  = "9" 


160.161,7       ITEM #                 3;2 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      OCT 23, 2003 
                HELP-PROMPT:      Type a Number between 1 and 9999, 0 Decimal Digits 

160.161,8       DERIVATION             4;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>150!($L(X)<1) X
                LAST EDITED:      OCT 23, 2003 
                HELP-PROMPT:      Answer must be 1-150 characters in length. 



160.16,2      RULES                  RULES;0   WORD-PROCESSING #160.162

              DESCRIPTION:      This field is a set of rules based in MUMPS code that the extract must follow for each entry. 
                                Values that must be set are: 
                                       VALID = 1 means that the extract is valid 
                                             = 0 means that the extract has is not valid and will not 
                                               extract 
                                        JUMP = 0 means process all the field in the extract 
                                             = X^Y means to skip all the fields from position X to 
                                               position Y in the extract.  


                LAST EDITED:      JUN 18, 1997 




INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
ONC EXTRACT                   FEB 07, 2001@16:01  USER #0                                         ONCOLOGY DATA EXTRACT FORMAT LIST

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):