- INHPSA1 ; FRW ; 30 Jul 1999 14:42; Interface Control - applications - data
- ;;3.01;BHL IHS Interfaces with GIS;;JUL 01, 2001
- ;COPYRIGHT 1991-2000 SAIC
- ;
- Q
- ;
- TEXT(INTER,LI) ;Return a line of data or "" if line not found
- ;INPUT:
- ; INTER - interface application identifier
- ; LI - offset from DATA tag to get data from
- ;
- Q:'$G(LI)!'$L($G(INTER)) ""
- N X,INLINE,INROU
- F X=1,3,5 S INROU="INHPSA"_X,INLINE=$T(@INTER+LI^@INROU) Q:$L(INLINE)
- Q INLINE
- ;
- DATA ;data - INHPSAM for description of structure
- ;;; DESTINATION: EMPTY
- AP ;;DESTINATION: ANATOMIC PATHOLOGY
- ;;4005^^ANATOMIC PATHOLOGY
- ;;4004^^ANATOMIC PATHOLOGY RECEIVER
- ;;4004^^ANATOMIC PATHOLOGY TRANSMITTER
- ;;4000^^HL AP LOGIN/RESULT - IN
- ;;4000^^HL DG ADMIT OUT (AP)
- ;;4000^^HL DG CANCEL ADMIT OUT (AP)
- ;;4000^^HL DG CANCEL DISCHARGE OUT (AP)
- ;;4000^^HL DG CANCEL TRANSFER OUT (AP)
- ;;4000^^HL DG DISCHARGE PATIENT OUT (AP)
- ;;4000^^HL DG MERGE PATIENT OUT (AP)
- ;;4000^^HL DG REG OUT (AP)
- ;;4000^^HL DG TRANSFER OUT (AP)
- ;;4000^^HL DG UPDATE OUT (AP)
- ;;4000^^HL DG UPDATE PATIENT OUT (AP)
- ;;4000^^HL AP ORDER OUT (COTS)
- ;;4000^^HL AP ORDER OUT MODIFY (C)
- ;;4000^^INCOMING ACK^1
- ;;4000^^HL GIS ACCEPT ACKNOWLEDGEMENT^1
- ;;4000^^HL GIS APPL ACKNOWLEDGEMENT^1
- ;;4000^^HL MASTER FILE NOTIFICATION (AP)
- ;;
- BB ;; DESTINATION: HL BLOOD BANK
- ;;4005^^HL DBSS
- ;;4004^^DBSS RECEIVER
- ;;4004^^DBSS TRANSMITTER
- ;;4000^^HL DG MERGE PATIENT OUT (BB)
- ;;4000^^HL DG MERGE PATIENT IN (BB)
- ;;4000^^HL DG UPDATE PATIENT IN (BB)
- ;;4000^^HL LAB DBSS ACCESSION (R)
- ;;4000^^HL LAB DBSS RESULT
- ;;4000^^INCOMING ACK^1
- ;;4000^^HL GIS ACCEPT ACKNOWLEDGEMENT^1
- ;;4000^^HL GIS APPL ACKNOWLEDGEMENT^1
- ;;4000^^HL MASTER FILE NOTIFICATION (BB)
- ;;
- CIW ;; DESTINATION: HL CIW - OUT
- ;;4005^^HL CIW - OUT
- ;;4004^^CIW LOGON SERVER
- ;;4004^^CIW APP SERVER
- ;;4004^^CIW RECEIVER
- ;;4004^^CIW TRANSMITTER
- ;;4000^^HL CIW LOGON REQUEST FROM REMOTE SYSTEM
- ;;4000^^HL PWS LOGON REQUEST FROM REMOTE SYSTEM - ACK
- ;;4000^^HL INH APPLICATION SERVER LOGOFF
- ;;4000^^HL INH APPLICATION SERVER LOGOFF - ACK
- ;;4000^^HL INH APPLICATION SERVER LOGON
- ;;4000^^HL INH APPLICATION SERVER LOGON - ACK
- ;;4000^^HL CIW CH ORDER IN
- ;;4000^^HL CIW DIET ORDER - OUT (CIW)
- ;;4000^^HL CIW IVD ORDER OUT
- ;;4000^^HL CIW IVF ORDER OUT
- ;;4000^^HL CIW IVH ORDER OUT
- ;;4000^^HL CIW IVP ORDER OUT
- ;;4000^^HL CIW RAD ORDER
- ;;4000^^HL CIW UNIT DOSE ORDER OUT
- ;;4000^^HL DG ADMIT OUT (CIW)
- ;;4000^^HL DG CANCEL ADMIT OUT (CIW)
- ;;4000^^HL DG CANCEL DISCHARGE OUT (CIW)
- ;;4000^^HL DG CANCEL TRANSFER OUT (CIW)
- ;;4000^^HL DG DISCHARGE PATIENT OUT (CIW)
- ;;4000^^HL DG GO ON LEAVE OF ABSENCE OUT (CIW)
- ;;4000^^HL DG ID DUP OUT (CIW)
- ;;4000^^HL DG MERGE PATIENT OUT (CIW)
- ;;4000^^HL DG REG OUT (CIW)
- ;;4000^^HL DG RET FROM LEAVE OF ABSENCE OUT (CIW)
- ;;4000^^HL DG SWAP BEDS OUT (CIW)
- ;;4000^^HL DG TRANSFER OUT (CIW)
- ;;4000^^HL DG UN-ID DUP OUT (CIW)
- ;;4000^^HL DG UPDATE OUT (CIW)
- ;;4000^^HL DG UPDATE PATIENT OUT (CIW)
- ;;4000^^HL LAB AP RESULTS - CIW
- ;;4000^^HL LAB BB RESULTS - CIW
- ;;4000^^HL LAB CH RESULTS - CIW
- ;;4000^^HL LAB MI RESULTS - CIW
- ;;4000^^HL ORPW ANC ORDER ACK
- ;;4000^^HL ORPW ANC ORDER - IN
- ;;4000^^HL ORPW ANC ORDER - OUT
- ;;4000^^HL ORPW CLN ORDER ACK
- ;;4000^^HL ORPW CLN ORDER - IN
- ;;4000^^HL ORPW CLN ORDER - OUT
- ;;4000^^HL ORPW CON ORDER ACK
- ;;4000^^HL ORPW CON ORDER - IN
- ;;4000^^HL ORPW CON ORDER - OUT
- ;;4000^^HL ORPW DTS ACK
- ;;4000^^HL ORPW DTS ORDER OUT
- ;;4000^^HL ORPW DTS ORDER IN
- ;;4000^^HL ORPW LAB ORDER ACK
- ;;4000^^HL ORPW LAB ORDER IN
- ;;4000^^HL ORPW LAB ORDER - OUT
- ;;4000^^HL ORPW MED ORDER IN
- ;;4000^^HL ORPW NRS ORDER ACK
- ;;4000^^HL ORPW NRS ORDER - IN
- ;;4000^^HL ORPW NRS ORDER - OUT
- ;;4000^^HL ORPW PATIENT ACK
- ;;4000^^HL ORPW PATIENT LOOKUP - IN
- ;;4000^^HL ORPW PATIENT LOOKUP ACK
- ;;4000^^HL ORPW PATIENT SELECT
- ;;4000^^HL ORPW RAD ORDER ACK
- ;;4000^^HL ORPW RAD ORDER - IN
- ;;4000^^HL ORPW RAD ORDER - OUT
- ;;4000^^HL ORPW RX ORDER ACK
- ;;4000^^HL ORPW RX ORDER - IN
- ;;4000^^HL ORPW RX ORDER - OUT
- ;;4000^^HL RAD RESULTS (CIW)
- ;;4000^^INCOMING ACK^1
- ;;4000^^HL GIS ACCEPT ACKNOWLEDGEMENT^1
- ;;4000^^HL GIS APPL ACKNOWLEDGEMENT^1
- ;;4000^^HL MASTER FILE NOTIFICATION (CIW)
- ;;
- CLIN ;; DESTINATION: HL CLINICOMP
- ;;4005^^HL CLINICOMP
- ;;4004^^CLINICOMP TRANSMITTER
- ;;4000^^HL DG ADMIT OUT (CLIN)
- ;;4000^^HL DG CANCEL ADMIT OUT (CLIN)
- ;;4000^^HL DG CANCEL DISCHARGE OUT (CLIN)
- ;;4000^^HL DG CANCEL TRANSFER OUT (CLIN)
- ;;4000^^HL DG DISCHARGE PATIENT OUT (CLIN)
- ;;4000^^HL DG MERGE PATIENT OUT (CLIN)
- ;;4000^^HL DG REG OUT (CLIN)
- ;;4000^^HL DG TRANSFER OUT (CLIN)
- ;;4000^^HL DG UPDATE OUT (CLIN)
- ;;4000^^HL DG UPDATE PATIENT OUT (CLIN)
- ;;4000^^HL LAB CH RESULTS - CLIN
- ;;4000^^HL LAB BB RESULTS - CLIN
- ;;4000^^HL RAD RESULTS (CLIN)
- ;;4000^^INCOMING ACK^1
- ;;4000^^HL GIS ACCEPT ACKNOWLEDGEMENT^1
- ;;4000^^HL GIS APPL ACKNOWLEDGEMENT^1
- ;;4000^^HL MASTER FILE NOTIFICATION (CLIN)
- ;;4000^^HL CIS ADMIT OUT (CLIN)
- ;;4000^^HL CIS PATIENT OUT (CLIN)
- ;;4000^^HL CIS TRANSFER OUT (CLIN)
- ;;4000^^HL CIS UPDATE PATIENT OUT (CLIN)
- ;;
- HIV ;;DESTINATION: HL LA VIROMED/HIV ABTS SERVER RESULTS IN
- ;;4005^^HL LA VIROMED/HIV ABTS SERVER RESULTS IN
- ;;4004^^HL LA VIROMED/HIV ABTS RECEIVER
- ;;4000^^HL LA VIROMED/HIV ABTS RESULTS IN
- ;;4000^^INCOMING ACK^1
- ;;4000^^HL GIS ACCEPT ACKNOWLEDGEMENT^1
- ;;4000^^HL GIS APPL ACKNOWLEDGEMENT^1
- ;;
- DMHRS ;; DESTINATION: HL DMHRS OUT
- ;;4005^^HL DMHRS OUT
- ;;4004^^DMHRS TRANSMITTER
- ;;4004^^DMHRS RECEIVER
- ;;4000^^HL DG ADMIT OUT (DMHRS)
- ;;4000^^HL DG TRANSFER OUT (DMHRS)
- ;;4000^^HL DG CANCEL DISCHARGE OUT (DMHRS)
- ;;4000^^HL DG CANCEL ADMIT OUT (DMHRS)
- ;;4000^^HL DG CANCEL TRANSFER OUT (DMHRS)
- ;;4000^^HL DG DISCHARGE PATIENT OUT (DMHRS)
- ;;4000^^HL DG GO ON LEAVE OF ABSENCE OUT (DMHRS)
- ;;4000^^HL DG RET FROM LEAVE OF ABSENCE OUT (DMHRS)
- ;;4000^^HL DG UPDATE PATIENT OUT (DMHRS)
- ;;4000^^HL DG UPDATE OUT (DMHRS)
- ;;4000^^HL DG SWAP BEDS OUT (DMHRS)
- ;;4000^^HL OR DMHRS - IN
- ;;4000^^HL OR DMHRS ACK
- ;;
- ITS ;;DESTINATION: HL GP HCI ITS
- ;;4005^^HL GP HCI ITS
- ;;4004^^HCI ITS TRANSMITTER
- ;;4000^^HL GP IMMDEERS QUERY - IN
- ;;4000^^HL GP IMMDEERS QUERY - OUT
- ;;4000^^HL GP IMMDEERS UNSOLIC - OUT
- ;;4000^^INCOMING ACK^1
- ;;4000^^HL GIS ACCEPT ACKNOWLEDGEMENT^1
- ;;4000^^HL GIS APPL ACKNOWLEDGEMENT^1
- ;;
- LSI ;; DESTINATION: HL DII LSI
- ;;4005^^HL LA DII LSI PRIMARY
- ;;4004^^LSI DII RECEIVER 1
- ;;4004^^LSI DII TRANSMITTER 1
- ;;4000^^HL GIS ACCEPT ACKNOWLEDGEMENT^1
- ;;4000^^HL GIS APPL ACKNOWLEDGEMENT^1
- ;;4000^^HL LA DII LSI ERROR UPDATE IN^1
- ;;4000^^HL LA DII LSI RESULT IN
- ;;4000^^HL LA DII LSI ORDER OUT (R)
- ;;4000^^HL LA DII LSI STATUS OUT (R)
- ;;4000^^HL LA DII LSI STATUS - IN
- ;;4000^^INCOMING ACK^1
- ;;
- MDIS ;; DESTINATION: HL MDIS
- ;;4005^^HL MDIS
- ;;4000^^HL DG ADMIT OUT (MDIS)
- ;;4000^^HL DG CANCEL ADMIT OUT (MDIS)
- ;;4000^^HL DG CANCEL DISCHARGE OUT (MDIS)
- ;;4000^^HL DG CANCEL TRANSFER OUT (MDIS)
- ;;4000^^HL DG DISCHARGE PATIENT OUT (MDIS)
- ;;4000^^HL DG MERGE PATIENT OUT (MDIS)
- ;;4000^^HL DG REG OUT (MDIS)
- ;;4000^^HL DG TRANSFER OUT (MDIS)
- ;;4000^^HL DG UPDATE OUT (MDIS)
- ;;4000^^HL DG UPDATE PATIENT OUT (MDIS)
- ;;4000^^HL PAS APPOINTMENT (MDIS)
- ;;4000^^HL RAD ARRIVAL (MDIS)
- ;;4000^^HL RAD ORDER (MDIS)
- ;;4000^^HL RAD RESULTS (MDIS)
- ;;4000^^HL RAD SCHEDULE (MDIS)
- ;;4000^^INCOMING ACK^1
- ;;4000^^HL GIS ACCEPT ACKNOWLEDGEMENT^1
- ;;4000^^HL GIS APPL ACKNOWLEDGEMENT^1
- ;;4000^^HL MASTER FILE NOTIFICATION (MDIS)
- ;;