STANDARD DATA DICTIONARY #7115.3 -- HDIS XML TEMPLATE FILE                                                        3/24/25    PAGE 1
STORED IN ^HDIS(7115.3,  (3 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 1.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains the schema for XML documents.  It maintains every XML element, it's sequence and whether the element has
sub-elements and whether the element is a multiple.  


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

CROSS
REFERENCED BY: NAME(B)



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

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      FEB 28, 2005 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                This is the name of the XML Template.  Identifies which XML schema the template relates too.  

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


7115.3,1      XML VERSION            0;2 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."5N.N) X
              LAST EDITED:      SEP 20, 2004 
              HELP-PROMPT:      Type a Number between 1 and 99, 4 Decimal Digits 
              DESCRIPTION:
                                Identifies what version of XML this XML message will be used.  


7115.3,2      ENCODING               0;3 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              LAST EDITED:      SEP 20, 2004 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                Defines the encoding which will be used when creating this XML message.  Normally set to "UTF-8".  


7115.3,3      PRIMARY ELEMENT        0;4 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              LAST EDITED:      SEP 20, 2004 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                Identifies the Primary Element in the XML schema.  


7115.3,4      ELEMENT NUMBER         SEQ;0 Multiple #7115.34

              DESCRIPTION:      Each element (line) in the XML message is assigned an element number.  The elements are processed
                                by this number, so this data determines the sequence of data for the XML message.  


7115.34,.01     ELEMENT NUMBER         0;1 NUMBER (Required) (Multiply asked)

                INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."4N.N) X
                LAST EDITED:      SEP 23, 2004 
                HELP-PROMPT:      Type a Number between 1 and 9999, 3 Decimal Digits 
                DESCRIPTION:      This field contains a numerical number which is used to determine the sequence of data for the
                                  output xml document.  

                CROSS-REFERENCE:  7115.34^B 
                                  1)= S ^HDIS(7115.3,DA(1),"SEQ","B",$E(X,1,30),DA)=""
                                  2)= K ^HDIS(7115.3,DA(1),"SEQ","B",$E(X,1,30),DA)


7115.34,.02     ELEMENT NAME           0;2 FREE TEXT (Required)

                INPUT TRANSFORM:  K:$L(X)>30!($L(X)<2) X
                LAST EDITED:      SEP 20, 2004 
                HELP-PROMPT:      Answer must be 2-30 characters in length. 
                DESCRIPTION:
                                  This data is the name of the element which will be included in the xml document when created.  


7115.34,.03     ELEMENT REQUIRED       0;3 SET

                                  '1' FOR REQUIRED; 
                LAST EDITED:      SEP 21, 2004 
                DESCRIPTION:      This field is used to define whether this element is required for the output xml document.  If
                                  set to required, the element is included whether or not data exists for that element.  If set to
                                  not required, the element will not be included in the xml document if there is no data related to
                                  the element.  


7115.34,.05     LEVEL                  0;5 NUMBER (Required)

                INPUT TRANSFORM:  K:+X'=X!(X>20)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      NOV 29, 2004 
                HELP-PROMPT:      Type a Number between 0 and 20, 0 Decimal Digits 
                DESCRIPTION:      This field defines what level the element is.  This field is used when determining indentation of
                                  element names for ease of reading.  


7115.34,.06     HAS CHILDREN           0;6 SET

                                  '1' FOR HAS CHILDREN; 
                LAST EDITED:      SEP 21, 2004 
                DESCRIPTION:      If this field is set to Has Children, then the program logic knows that there is no data realting
                                  specifically to this element, and that only the element name needs to be formatted.  If Has
                                  Children is set to No, then the program knows that data is expected for this element, even though
                                  it can be null.  


7115.34,.07     IS MULTIPLE            0;7 SET

                                  '1' FOR IS MULTIPLE; 
                LAST EDITED:      SEP 22, 2004 
                DESCRIPTION:      This field indicates whether the element can have multiple entries or is a single value.  For
                                  example, the SSN Element would not be a multiple, However an element such as "Description" would
                                  have multiple lines.  




7115.3,5      INDENTATION            0;5 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>10)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      DEC 08, 2004 
              HELP-PROMPT:      Type a Number between 0 and 10, 0 Decimal Digits 
              DESCRIPTION:      Used to define the number of spaces for each element indentation.  The level indicator is
                                multiplied by the indentation field.  This field can be set to zero, so that no indentation occurs.  



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):