STANDARD DATA DICTIONARY #704.108 -- TERM_MAPPING_TABLE FILE                                                      3/24/25    PAGE 1
STORED IN ^MDC(704.108,  (4 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 1.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
NOTICE: This file is maintained exclusively by the CP Terminology group and must not be modified or edited in any way. Subsequent
releases of CP Terminology may create lasting errors in the CliO data store if this file is changed.  
 
This file is the anchor for the mapping table structure for the CP Gateway. Each mapping table is called up by elements in the HL7
message.  The entries are used to translate the HL7 data into appropriate CP terminology.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: COMMENT (#.1)

PRIMARY KEY:        A (#96)
  Uniqueness Index: PK (#931)
       File, Field: 1) ID (704.108,.01)

POINTED TO BY: MAPPING_TABLE_ID field (#.01) of the TERM_MAPPING_PAIR File (#704.109) 
               


INDEXED BY:    HL7_SENDING_APPLICATION (HL7), ID (PK)




704.108,.01   ID                     0;1 FREE TEXT (Required) (Key field)

              INPUT TRANSFORM:  K:$L(X)>38!($L(X)<38)!'(X?1"{"8UN1"-"4UN1"-"4UN1"-"4UN1"-"12UN1"}") X
              LAST EDITED:      APR 20, 2009 
              HELP-PROMPT:      Answer with the 38 character GUID for this mapping table. 
              DESCRIPTION:      This field is the Global Unique IDentifier (GUID) that identifies the mapping table.  A sample ID
                                could be "{4E41823C-CB5B-499F-BAAC-13626A6CD0D2}".  

              FIELD INDEX:      PK (#931)    REGULAR    IR    LOOKUP & SORTING
                   Unique for:  Key A (#96), File #704.108
                  Short Descr:  Uniqueness Index for Key 'A' of File #704.108
                  Description:  This will allow quick sort of mapping-tables in the file.  
                    Set Logic:  S ^MDC(704.108,"PK",$E(X,1,38),DA)=""
                   Kill Logic:  K ^MDC(704.108,"PK",$E(X,1,38),DA)
                   Whole Kill:  K ^MDC(704.108,"PK")
                         X(1):  ID  (704.108,.01)  (Subscr 1)  (Len 38)


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

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      APR 10, 2009 
              HELP-PROMPT:      Answer must be 1-50 characters in length. 
              DESCRIPTION:
                                This field is the NAME of the mapping table.  A sample could be "DeviceX ServiceZ".  


704.108,.03   HL7_SENDING_APPLICATION 0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      APR 10, 2009 
              HELP-PROMPT:      Answer must be 1-50 characters in length. 
              DESCRIPTION:      This field is the application sending the HL7 message.  This will be used for matching purposes.  A
                                sample HL7 SENDING APPLICATION could be "ServiceZ".  

              FIELD INDEX:      HL7 (#930)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  Used to match HL7 Sending Application to a table
                  Description:  This will quickly sort the applications that send HL7 messages.  
                    Set Logic:  S ^MDC(704.108,"HL7",$E(X,1,50),DA)=""
                   Kill Logic:  K ^MDC(704.108,"HL7",$E(X,1,50),DA)
                   Whole Kill:  K ^MDC(704.108,"HL7")
                         X(1):  HL7_SENDING_APPLICATION  (704.108,.03)  (Subscr 1)  (Len 50)  (forwards)


704.108,.09   ACTIVE                 0;9 SET (Required)

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      APR 10, 2009 
              HELP-PROMPT:      Choose 'YES' if this mapping-table is currently ACTIVE. 
              DESCRIPTION:
                                This field indicates whether this mapping-table is ACTIVE or not.  


704.108,.1    COMMENT                .1;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
              LAST EDITED:      APR 10, 2009 
              HELP-PROMPT:      Answer must be 1-250 characters in length. 
              DESCRIPTION:      This field is a comment about the mapping-table.  A sample COMMENT could be "Default DeviceX
                                ServiceZ mapping table".  


704.108,.21   SOURCE_ID              .2;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      APR 10, 2009 
              HELP-PROMPT:      Answer must be 1-50 characters in length. 
              DESCRIPTION:
                                This field identifies the source of the HL7 message.  A sample SOURCE ID could be "DeviceX".  


704.108,.22   SOURCE_APPLICATION     .2;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      APR 10, 2009 
              HELP-PROMPT:      Answer must be 1-50 characters in length. 
              DESCRIPTION:      This field is the application regarded as the source of the HL7 message.  A sample SOURCE
                                APPLICATION could be "ServiceZ".  


704.108,.23   SOURCE_VERSION         .2;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      APR 10, 2009 
              HELP-PROMPT:      Answer must be 1-50 characters in length. 
              DESCRIPTION:      This field is the version of the source of the HL7 message.  A sample SOURCE VERSION could be
                                "VerN-ReleaseN.NN".  


704.108,.24   SOURCE_TRUSTED         .2;4 SET

                                '0' FOR No; 
                                '1' FOR Yes; 
              LAST EDITED:      APR 20, 2009 
              HELP-PROMPT:      Choose 'YES' if data from this source is trusted. 
              DESCRIPTION:      This field indicates whether data processed via this source/mapping-table is "trusted" or not. 
                                Only verified data will be filed.  Verification may be done with user intervention or it may be 
                                automatic.  Trusted mapping-tables will have their data filed as "verified" without user
                                intervention.  



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):