Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IS00004I

IS00004I.m

Go to the documentation of this file.
IS00004I ;Compiled from script 'Generated: X1 IHS 276-O' on DEC 09, 2002
 ;Part 10
 ;Copyright 2002 SAIC
EN K LINE S LINE="",CP=0 S L1="REF" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("REF1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("REF2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
 D LINE^INHUT11(.LINE,DELIM,LCT)
 I $L(LINE)'=0 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 SET INSETID=0
 ;SET DTP1 = INSGX\^INTHL7FT(1,3)\\999\@2762210DDTP1
 S D0=INDA S X=$G(INA("2762210DDTP1"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("DTP1")=X K DXS,D0
 ;SET DTP2 = INSGX\^INTHL7FT(1,3)\\999\@2762210DDTP2
 S D0=INDA S X=$G(INA("2762210DDTP2"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("DTP2")=X K DXS,D0
 ;SET DTP3 = INSGX\^INTHL7FT(1,3)\\999\@2762210DDTP3
 S D0=INDA S X=$G(INA("2762210DDTP3"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("DTP3")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="DTP" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("DTP1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("DTP2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("DTP3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP)
 D LINE^INHUT11(.LINE,DELIM,LCT)
 I $L(LINE)'=0 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 SET INSETID=0
 ;SET HL1 = INSGX\^INTHL7FT(1,3)\\999\@2762000EHL1
 S D0=INDA S X=$G(INA("2762000EHL1"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("HL1")=X K DXS,D0
 ;SET HL2 = INSGX\^INTHL7FT(1,3)\\999\@2762000EHL2
 S D0=INDA S X=$G(INA("2762000EHL2"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("HL2")=X K DXS,D0
 ;SET HL3 = INSGX\^INTHL7FT(1,3)\\999\@2762000EHL3
 S D0=INDA S X=$G(INA("2762000EHL3"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("HL3")=X K DXS,D0
 ;SET HL4 = INSGX\^INTHL7FT(1,3)\\999\@2762000EHL4
 S D0=INDA S X=$G(INA("2762000EHL4"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("HL4")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="HL" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("HL1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("HL2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("HL3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("HL4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 D LINE^INHUT11(.LINE,DELIM,LCT)
 I $L(LINE)'=0 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 SET INSETID=0
 ;SET DMG1 = INSGX\^INTHL7FT(1,3)\\999\@2762000EDMG1
 S D0=INDA S X=$G(INA("2762000EDMG1"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("DMG1")=X K DXS,D0
 ;SET DMG2 = INSGX\^INTHL7FT(1,3)\\999\@2762000EDMG2
 S D0=INDA S X=$G(INA("2762000EDMG2"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("DMG2")=X K DXS,D0
 ;SET DMG3 = INSGX\^INTHL7FT(1,3)\\999\@2762000EDMG3
 S D0=INDA S X=$G(INA("2762000EDMG3"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("DMG3")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="DMG" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("DMG1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("DMG2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("DMG3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP)
 D LINE^INHUT11(.LINE,DELIM,LCT)
 I $L(LINE)'=0 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 SET INSETID=0
 ;SET NM11 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM11
 S D0=INDA S X=$G(INA("2762100ENM11"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("NM11")=X K DXS,D0
 ;SET NM12 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM12
 S D0=INDA S X=$G(INA("2762100ENM12"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
9 G EN^IS00004J