Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Local Variables |  All
Print Page as PDF
Routine: INHUT

Package: IHS Generic Interface System

Routine: INHUT


Information

INHUT ; FRW ; 7 May 99 11:24; HL7 utilities

Source Information

Source file <INHUT.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
IHS Generic Interface System 7 ($$CC,$$CE,$$CL,$$CM,$$CN,$$CRB,$$DT,$$HDT,$$HLPN,$$PN,$$TS)^INHUT1  $$TIMEIO^INHUT10  ($$BPSTAT,$$GETSEG,PARSEG)^INHUT2  RCVSCRN^INHUT5  LOG^INHUT6  ($$CNVDLM,$$GETDEST,$$SUBESC,APPACK)^INHUT7  $$TASKNUM^INTQRY  

Caller Graph

Caller Graph Total: 83

Package Total Caller Graph
IHS Generic Interface System 48 INHMS1  INHRDUP  INHSGZ1  INHUSEQ2  INHUT1  INHUT10  INHUT2  INHUT7  
INHUVUT  INHUVUTX  INHVTMT1  INHVTMT2  INHVTMT6  IS00001  IS00002  IS00003  
IS00004  IS00005  IS00005A  IS00005C  IS00006  IS00007  IS00008  IS00009  
IS00010  IS00011  IS00012  IS00013  IS00014  IS00015  IS00016  IS00017  
IS00018  IS00019  IS00020  IS00021  IS00022  IS00023  IS00024  IS00025  
IS00026  IS00027  IS00027A  IS00027B  IS00028  IS00029  IS00030  IS00031  
IHS Support HL7 Interfaces 16 BHLEVENT  BHLPIDI  BHLPRV  BHLQRD  BHLQRF  BHLQU  BHLRLABI  BHLRLABL  
BHLRLABN  BHLRLABQ  BHLRLABR  BHLRLABS  BHLRLABT  BHLRLABU  BHLSETI  BHLV  
Data Warehouse Export System 9 BDW1VBL2  BDW1VBLI  BDWBHL  BDWBHL1  BDWCVAR  BDWDDR  BDWDWPX  BDWDWPX1  
BDWIN1  
IHS Changes To Lab 6 BLRLIIN1  BLRQIIN1  BLRRIIN1  BLRRLHL2  BLRRLXP  BLRUIIN1  
Comprehensive Diabetes Management 1 BCDMFLDS  
IHS Immunizations Interface 1 BYIMSEGS  
IHS Lab LOINC Surveillance 1 BLSLX  
IHS Patient Registration 1 AGEVC  

Entry Points

Name Comments DBIA/ICR reference
PARSEG(INSRCTL,INSEGNM) ; Parse an HL7 segment (from GETSEG.)
CE(INTCE,FILE,CODE,INDELIMS,INENC,INDIR) ;Entry point to transform to coded entry data type
HDATE(X,TS,VA) ;EP - Transform HL7 date/time format to internal fileman format
LOG(INFN,INIEN,INSRMC,INUIF,INLOG) ; Log error message in UIF or IEF
BPSTAT(INBKGNM,INSRVR) ;-determine status of GIS background process, given name
CL(X,INDELIMS,INENC,INDIR) ;Transform hospital location to coded location data type
CC(X,INDELIMS,INENC,INDIR) ;Transform MEPRS to charge code data type
ESC() ;EP - Escape Character
SUBESC(INREC,INDEL,INB) ;Substitute escape delimeters to and from HL7
; spec
CNVDLM(INREC) ;Convert delimeters to HL7 specifications if in record
; Input: INREC - Portion of HL7 MSG to check
; Returns - Record with replace values
RCVSCRN(INSRCTL,INSRDATA,INA,INDA) ; Default Inbound Receiver screen.
; Called by: Receiver SRMC code for inbound BPC, Dest or TT entries.
; D RCVSCRN^INHUT(.INSRCTL,.INSRDATA,.INA,.INDA)
; See called routine for comments.
REP() ;EP - Repetition separator
CM(INTCE,FILE,CODE,INDELIMS,INENC,INDIR) ;Entry point to transform to composite data type
TIMEIO(X,INP,INCV,IN24,INOUT) ;Convert time to input or output
COMP() ;EP - Return HL7 component separator
PN(NAME,INDELIMS,INENC,INDIR) ;Transform person name to HL7 formatted person name
HLPN(NAME,COMP,INDELIMS,INENC,INDIR) ;EP - Transform HL7 formatted person name to person name
FIELD() ;EP - Return HL7 field separator
TASKNUM(INSEQ) ; return task number for a given seq. #
CRB(X,INDELIMS,INENC,INDIR) ;Transform room-bed & location code room-bed data type
DATE(X,TS) ;Transform fileman date/time to HL7 date/time stamp
GETDEST(INACKTT,INA,INACKDST,INACKUIF) ; $$function
; Called by: SCRIPT GENERATOR MESSAGE file, Outgoing Initial MUMPS
; Code field, S INDEST=$$GETDEST^INHUT(INTT,.INA,INDEST)
; See called routine for comments.
SUBCOMP() ;EP - Subcomponent separator
CN(INTCE,FILE,CODE,INDELIMS,INENC,INDIR) ;Entry point to transform to composite person name data type
APPACK(INUIF,INAKMES,INASTAT,INERMSG) ;User API to ACKLOG^INHU
MRGINA(INOA,INA) ;Merge INOA array into INA array
; Used by Query Response capability
; Input: INA = Application team INA array
; INOA = Values used by GIS for processing responses
; Output: Consolidated INA array used for processing responses
GETSEG(INUIF,INSEGNM,INSTANCE) ; Get an HL7 Segment

External References

Name Field # of Occurrence
$$CC^INHUT1 CC+9
$$CE^INHUT1 CE+12
$$CL^INHUT1 CL+9
$$CM^INHUT1 CM+5
$$CN^INHUT1 CN+5
$$CRB^INHUT1 CRB+10
$$DT^INHUT1 DATE+8
$$HDT^INHUT1 HDATE+13
$$HLPN^INHUT1 HLPN+10
$$PN^INHUT1 PN+9
$$TS^INHUT1 DATE+7
$$TIMEIO^INHUT10 TIMEIO+25
$$BPSTAT^INHUT2 BPSTAT+5
$$GETSEG^INHUT2 GETSEG+1
PARSEG^INHUT2 PARSEG+1
RCVSCRN^INHUT5 RCVSCRN+4
LOG^INHUT6 LOG+1
$$CNVDLM^INHUT7 CNVDLM+4
$$GETDEST^INHUT7 GETDEST+4
$$SUBESC^INHUT7 SUBESC+15
APPACK^INHUT7 APPACK+2
$$TASKNUM^INTQRY TASKNUM+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^INTHL7M - [#4011] COMP+4, FIELD+4, SUBCOMP+3, REP+2, ESC+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BHLMIEN COMP+4, FIELD+4, SUBCOMP+3, REP+2, ESC+2
CODE CE~, CE+12, CM~, CM+5, CN~, CN+5
COMP HLPN~, HLPN+10
>> DELIM FIELD+2
FILE CE~, CE+12, CM~, CM+5, CN~, CN+5
IN24 TIMEIO~, TIMEIO+25
INA RCVSCRN~, RCVSCRN+4, GETDEST~, GETDEST+4, MRGINA~, MRGINA+5*
INACKDST GETDEST~, GETDEST+4
INACKTT GETDEST~, GETDEST+4
INACKUIF GETDEST~, GETDEST+4
INAKMES APPACK~, APPACK+2
INASTAT APPACK~, APPACK+2
INB SUBESC~, SUBESC+15
INBKGNM BPSTAT~, BPSTAT+5
INCV TIMEIO~, TIMEIO+25
INDA RCVSCRN~, RCVSCRN+4
INDEL SUBESC~, SUBESC+15
>> INDELIM FIELD+1
INDELIMS CE~, CE+12, CM~, CM+5, CN~, CN+5, PN~, PN+9, HLPN~, HLPN+10
, CL~, CL+9, CC~, CC+9, CRB~, CRB+10
INDIR CE~, CE+12, CM~, CM+5, CN~, CN+5, PN~, PN+9, HLPN~, HLPN+10
, CL~, CL+9, CC~, CC+9, CRB~, CRB+10
INENC CE~, CE+12, CM~, CM+5, CN~, CN+5, PN~, PN+9, HLPN~, HLPN+10
, CL~, CL+9, CC~, CC+9, CRB~, CRB+10
INERMSG APPACK~, APPACK+2
INFN LOG~, LOG+1
INIEN LOG~, LOG+1
INLOG LOG~, LOG+1
INOA MRGINA~, MRGINA+5
INOUT TIMEIO~, TIMEIO+25
INP TIMEIO~, TIMEIO+25
INREC SUBESC~, SUBESC+15, CNVDLM~, CNVDLM+4
INSEGNM GETSEG~, GETSEG+1, PARSEG~, PARSEG+1
INSEQ TASKNUM~, TASKNUM+2
INSRCTL RCVSCRN~, RCVSCRN+4, PARSEG~, PARSEG+1
INSRDATA RCVSCRN~, RCVSCRN+4
INSRMC LOG~, LOG+1
INSRVR BPSTAT~, BPSTAT+5
INSTANCE GETSEG~, GETSEG+1
>> INSUBCOM SUBCOMP+1
>> INSUBDEL COMP+1
INTCE CE~, CE+12, CM~, CM+5, CN~, CN+5
INUIF LOG~, LOG+1, GETSEG~, GETSEG+1, APPACK~, APPACK+2
NAME PN~, PN+9, HLPN~, HLPN+10
>> SUBDELIM COMP+2
TS DATE~, DATE+7, HDATE~, HDATE+13
VA HDATE~, HDATE+13
X DATE~, DATE+7, DATE+8, HDATE~, HDATE+13, CL~, CL+9, CC~, CC+9, CRB~
, CRB+10, TIMEIO~, TIMEIO+25
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Local Variables |  All