SCMCHLRI ;BP/DJB - PCMM HL7 Rejects - Identify & Store Msg ; 2/28/00 12:10pm
Source file <SCMCHLRI.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| ACK | ;Identify an acknowledgment message
 | 
|
| PARSE | ;Parse ACK message.
 | 
|
| UPDATE | ;Update entry in PCMM HL7 TRANSMISSION LOG file
 | 
|
| STATUS(TRANI,STATUS) | ;Update STATUS field in PCMM HL7 TRANSMISSION LOG file.
 ; Input: TRANI - IEN of PCM HL7 TRANSMISSION LOG file ; STATUS - A=Accepted, M=Marked for re-transmit, RJ=Rejected  | 
|
| STORE(TRANI) | ;Store data from "ERR" and "ZER" arrays
 | 
|
| CREATE(ERRORCD,CNT,TRANI) | ;Create an entry in the ERROR CODE multiiple field
 ; Input: ERRORCD - Error code ; CNT - Counter for multiple entries  | 
|
| CONVERT(ID) | ;If ID is from an integrated site, convert it to local ID.
 | 
|
| HL7SAMP | ;Sample code to view HL7 message
 | 
| HL7 Protocol Name | Call Tags | 
|---|---|
| PCMM SEND SERVER FOR ADT-A08 | ACK | 
| SCMC SEND SERVER WORKLOAD | ACK |