Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  All
Print Page as PDF
Global: ^INTHL7F

Package: IHS Generic Interface System

Global: ^INTHL7F


Information

FileMan FileNo FileMan Filename Package
4012 SCRIPT GENERATOR FIELD IHS Generic Interface System

Description

Directly Accessed By Routines, Total: 22

Package Total Routines
IHS Generic Interface System 16 INHMG2    INHMGD2    INHMGD3    INHMGD6    INHMGD8    INHMGD9    INHSGZ1    INHSGZ2
INHSGZ20    INHSGZ21    INHSYS01    INHSYSU1    INMPORT    INTSTR1    INXHR07    INXPORT
Data Warehouse Export System 2 BDW10P3    BDW10P4    
IHS Immunizations Interface 2 BYIMIMM2    BYIMPORT    
IHS Changes To Lab 1 BLRPRE34    
IHS Support HL7 Interfaces 1 BHLUP    

Accessed By FileMan Db Calls, Total: 9

Package Total Routines
IHS Generic Interface System 4 INHSG    INHSYSU1    INMPORT    INXPORT    
IHS Support HL7 Interfaces 4 BHLAFIN    BHLRDXM    BHLUP    BHLXAC    
IHS Immunizations Interface 1 BYIMPORT    

Pointed To By FileMan Files, Total: 3

Package Total FileMan Files
IHS Generic Interface System 3 SCRIPT GENERATOR FIELD(#4012)[#4012.02(.01)]    SCRIPT GENERATOR SEGMENT(#4010)[#4010.01(.01)]    DATA ELEMENT MAP FUNCTION(#4090.2)[.02]    

Pointer To FileMan Files, Total: 3

Package Total FileMan Files
IHS Generic Interface System 3 SCRIPT GENERATOR FIELD(#4012)[#4012.02(.01)]    SCRIPT GENERATOR DATA TYPE(#4012.1)[.02.12]    DATA ELEMENT MAP FUNCTION(#4090.2)[50]    

Fields, Total: 25

Field # Name Loc Type Details
.01 NAME 0;1 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<3)!'(X'?1P.E)!'$$ISNS^INHUT2(X) X
  • LAST EDITED:  APR 30, 2002
  • HELP-PROMPT:  Answer must be 3-50 characters in length.
  • DESCRIPTION:  
    This is the name of the Script Generator Field.
  • EXECUTABLE HELP:  D:$D(DW)>1 MSG^INHUT2
  • CROSS-REFERENCE:  4012^B
    1)= S ^INTHL7F("B",$E(X,1,50),DA)=""
    2)= K ^INTHL7F("B",$E(X,1,50),DA)
  • CROSS-REFERENCE:  4012^C^KWIC
    1)= F %=1:1 Q:$P(X," ",%,99)=""  S I=$P(X," ",%) I $L(I)>2,$L(I)<31,^DD("KWIC")'[I S ^INTHL7F("C",I,DA)=""
    2)= F %=1:1 Q:$P(X," ",%,99)=""  S I=$P(X," ",%) I $L(I)>2,$L(I)<31 K ^INTHL7F("C",I,DA)
.02 DATA TYPE 0;2 POINTER TO SCRIPT GENERATOR DATA TYPE FILE (#4012.1)
************************REQUIRED FIELD************************
SCRIPT GENERATOR DATA TYPE(#4012.1)

  • DESCRIPTION:  
    Enter the type of data element this will be.  The choices are from the HL7 data type table.
.03 LENGTH 0;3 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X[".") X
  • LAST EDITED:  MAY 09, 1991
  • HELP-PROMPT:  Type a whole number between 1 and 999
  • DESCRIPTION:  
    This is the maximum length that this field can be.
.04 WP OVERWRITE/APPEND 0;4 SET
  • '0' FOR OVERWRITE;
  • '1' FOR APPEND;

  • LAST EDITED:  DEC 16, 1991
  • DESCRIPTION:  
    If the data location for this field is a WP field, then this will indicate if the incoming data should be appended to any current data or replace anything that may be there.  Default value if left null will be OVERWRITE.
.05 OVERRIDE INPUT TRANSFORM 0;5 SET
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  JAN 27, 1992
  • DESCRIPTION:  
    If this field is set to YES then the generated input template line for this field will be created using a //// stuff instead of the normal ///.
.06 DELETE ON NULL 0;6 SET
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  SEP 22, 1992
  • DESCRIPTION:  
    If set to YES, if a null value appears in the receiving system the field will be deleted.
.07 FIELD LENGTH TYPE 0;7 SET
  • 'F' FOR FIXED;
  • 'V' FOR VARIABLE;
  • 'M' FOR MINIMUM/MAXIMUM;

  • LAST EDITED:  JUN 13, 1995
  • DESCRIPTION:  
    This designates whether the field length will be fixed, variable or minimum/maximum in the interface message sent to a remote system.
.08 MINIMUM LENGTH 0;8 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>200)!(X<0)!(X[".") X
  • LAST EDITED:  JUN 13, 1995
  • HELP-PROMPT:  If this field is minimum/maximum, enter the minimum length of the field.
  • DESCRIPTION:  
    If the field is a minimum/maximum field length type (such as is used in X.12 messaging), this value will be the minimum.
.09 PAD CHARACTER 0;9 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1 X
  • LAST EDITED:  JUN 13, 1995
  • HELP-PROMPT:  Enter the character (such as a "0") which will be used to pad the length of the field. If you desire to pad with spaces, leave this blank.
  • DESCRIPTION:  
    If the field length type is fixed or minimum/maximum, this field designates the character which will be used to pad the value up to the required length.
.1 PAD LEFT/RIGHT 0;10 SET
  • 'L' FOR LEFT;
  • 'R' FOR RIGHT;

  • LAST EDITED:  JUN 13, 1995
  • DESCRIPTION:  
    If the field length type is fixed or minimum/maximum, this field determines whether the data value is padded to the left or to the right with the character designated in the field PAD CHARACTER.
.11 DOCUMENTED DATA SOURCE 0;11 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>45!($L(X)<3) X
  • LAST EDITED:  APR 29, 1997
  • HELP-PROMPT:  Answer must be 3-45 characters in length.
  • DESCRIPTION:  Used to provide the field# and file# when they cannot be determined from the DATA LOCATION. Format is:
    FieldNumber:FileNumber ex (1.02:2.95) or
    FieldName:FileNumber   ex (TYPE OF DISPOSITION:2.95) or
    FieldName:FileName     ex (FMP/SSN:PATIENT) or
    FieldNumber:FileName   ex (8000:PATIENT) or
    FieldNumber  ex (8000) when FileName can be determined from the context, or
    FieldName    ex (FMP/SSN) when FileName can be determined from the context.
.12 DOCUMENTED DATA TYPE 0;12 POINTER TO SCRIPT GENERATOR DATA TYPE FILE (#4012.1) SCRIPT GENERATOR DATA TYPE(#4012.1)

  • LAST EDITED:  APR 29, 1997
  • HELP-PROMPT:  Enter the DATA TYPE from the SCRIPT GENERATOR DATA TYPE File.
  • DESCRIPTION:  
    Used when the DATA TYPE does not reflect the true data type.  ex String data is sometimes used for data that has been extracted and formatted using application code.
.14 IDENTIFIER 0;14 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10 X
  • LAST EDITED:  APR 02, 1999
  • HELP-PROMPT:  Enter the identifier as specified by the interface standard.
  • DESCRIPTION:  
    This contains the field identifier as specified by an interface standard. For example, the NCPDP standard specifies a unique identifier for each field in the NCPDP data dictionary.
1 DESCRIPTION 1;0 WORD-PROCESSING #4012.01

  • DESCRIPTION:  
    This is a description of this field.
2 INPUT VALIDATION I;E1,245 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>245 X Q:'$D(X) D ^DIM
  • LAST EDITED:  MAY 07, 1991
  • HELP-PROMPT:  Standard MUMPS code
  • DESCRIPTION:  
    This is MUMPS code used to validate this field in incoming data.  The value of the data will be in the variable X.  The code should kill X if the data is invalid.
2.01 DATE/TIME PRECISION 2;1 SET
  • 'Y' FOR YEAR;
  • 'L' FOR MONTH;
  • 'D' FOR DAY;
  • 'H' FOR HOUR;
  • 'M' FOR MINUTES;
  • 'S' FOR SECONDS;
  • '1' FOR AUTO PRECISION;

  • LAST EDITED:  MAY 30, 1997
  • HELP-PROMPT:  Enter the precision indicator, according to HL7 specifications, or '1' for auto.
  • DESCRIPTION:  
    Enter 'Y' for year, 'L' for month, 'D' for day, 'H' for hour, 'M' for minute, 'S' for second, or '1' for auto precision (which indicates    to determine the precision based on the data
2.02 DATE/TIME CONVERSION 2;2 SET
  • '0' FOR Don't convert;
  • '1' FOR Convert - add indicator;
  • '2' FOR Convert - no indicator;
  • '3' FOR Convert to V2.3;

  • LAST EDITED:  JUN 04, 1997
  • HELP-PROMPT:  Indicate whether or not Date/Time conversion is necessary and if so, how to convert it.
  • DESCRIPTION:  Enter '0' to don't convert to precision Enter '1' to convert to precision indicated (O/B - add precision component) Enter '2' to convert to precision indicated (O/B - don't add precision component) Enter '3' to convert to
    HL7 V2.3 Standard Examples (assuming Auto Precision):
    Outbound:
    For "1" : 2950625.15 converts to 19950625150000\M
    For "2" : 2950625.15 converts to 19950625150000
    For "3" : 2950625.15 converts to 1995062515
    Inbound:
    For "1" : 19971129100000\D converts to 2971129
    "2" is not used for inbound conversions
    For "3" : 19971129 converts to 2971129
2.03 MIDNIGHT OFFSET 2;3 SET
  • '0' FOR None;
  • '1' FOR Day;
  • '2' FOR Second;
  • '3' FOR Minute;

  • LAST EDITED:  JUN 05, 1997
  • HELP-PROMPT:  Enter how to handle the occurrence of the Midnight time.
  • DESCRIPTION:  Enter '0' to do nothing or for: outbound enter '1' to add 1 day and set time to 0000
    enter '2' to subtract 1 second
    enter '3' to subtract 1 minute .... For inbound enter '1' to subtract 1 day and set time to 2400
    enter '2' to add 1 second
    enter '3' to add 1 minute
    Examples when Day offset:
    outbound:
    For "1" : FileMan dt/tm - 2971011.24  HL7 dt/tm 19971012000000
    For "3" : Fileman dt/tm - 2971011.24  HL7 dt/tm 19971011235900\M
    inbound:
    For "1" : HL7 dt/tm 19971012000000 FileMan dt/tm 2971011.24
    For "3" : HL7 dt/tm 19971012000000 FileMan dt/tm 2971012.0001
2.04 ENCODING CHARACTERS CONVERSION 2;4 SET
  • '0' FOR Don't convert;
  • '1' FOR Convert;

  • LAST EDITED:  JUN 26, 1997
  • HELP-PROMPT:  Indicate whether substitution of HL7 encoding characters should be done for this field.
  • DESCRIPTION:  Enter '1' to convert delimiters from HL7 to FileMan (inbound), or FileMan to HL7 (outbound)
    Example -
    Enter '1' to substitute left~R~right to left|right
3 DATA LOCATION C;E1,245 FREE TEXT

  • LAST EDITED:  DEC 05, 1991
  • HELP-PROMPT:  Answer must be 1-245 characters in length
  • DESCRIPTION:  This is the location of the data. It can be either a field name or number or a computed expression. The root file upon which this expression will depend is the file defined in the HL7 Message of which this field will be
    a part.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
4 INCOMING TRANSFORM 4;E1,245 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>245 X Q:'$D(X) D ^DIM
  • LAST EDITED:  MAY 07, 1991
  • HELP-PROMPT:  Standard MUMPS code
  • DESCRIPTION:  
    This field can be used to override the Incoming Transformation for the specified Data Type of this field.
5 OUTGOING TRANSFORM 5;E1,245 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>245 X Q:'$D(X) D ^DIM
  • LAST EDITED:  MAY 07, 1991
  • HELP-PROMPT:  Standard MUMPS code
  • DESCRIPTION:  
    Use this field to override the Outgoing Transform given for the specified data type of this field.
6 ADDITIONAL CODE FOR TEMPLATE 6;0 WORD-PROCESSING #4012.03

  • DESCRIPTION:  
    This contains additional code to be placed in a generated input template prior to the store command for this field.  It must be valid input template code.
10 SUB-FIELD MULTIPLE 10;0 POINTER Multiple #4012.02 4012.02

  • DESCRIPTION:  If an entry is made in this multiple, this indicates that this field is composed of sub-fields. The transforms and validation for this field will be ignored and those defined for the "sub-fields" will be used. This is a
    recursive pointer.
50 MAP FUNCTION 50;1 POINTER TO DATA ELEMENT MAP FUNCTION FILE (#4090.2) DATA ELEMENT MAP FUNCTION(#4090.2)

  • LAST EDITED:  JUL 12, 1991
  • DESCRIPTION:  This field is used for script generator fields whose data type requires a translation from one system to another. Typically these are compisites and set id data types. The incoming value will be looked up in a mapping
    table and then translated to the local system's corresponding value.
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  All