Property Name | Description |
---|---|
Message From | Specifies the format of batch message fragments: • DJMessage (default) - Use this format if memory is a constraint and your batch message fragments are small. • File - Use this format if memory is not a constraint and your batch-message fragments are very large. The default value is DJMessage. |
File Location | Full path name to the HL7 message file. |
Action | Description |
---|---|
PutMessage | Receives HL7 batch-message fragments in the following formats: • Flat file format - Use this format if memory is not a constraint and your batch-message fragments are very large. • DJMessage body - Use this format if memory is a constraint and your batch- message fragments are small. These fragments are then stored in memory. |
GetMessage | Returns individual HL7 messages in a DJ Message variable. Each GetMessage may have the following properties: • FHS - if FHS is in the HL7 file. • BHS - if BHS is in the HL7 batch message. • MessageNumber - Message sequence in HL7 batch staring with 1. • TotalMessage - Total number of messages in HL7 batch. • BatchNumber - Batch sequence in a HL7 file staring with 1. • TotalBatch - Total number of batches in the HL7 file. • SourceName - HL7 batch file name. If input is a physical file and if the file name is defined in BHS (BHS.9), then this property is skipped. |
Disconnect | Break the connection with the component source. |
Action | Parameter | Description |
---|---|---|
PutMessage, GetMessage | Message | Type the message. |
Error Code | Error Name | Description | Reason |
---|---|---|---|
4 | ERR_READERR | Error during reading of messages from a DJMessage body. | This error code is returned when an exception is encountered at the time of reading messages from a DJMessage body or URL. |
8 | ERR_WRITERR | Error at the time of storing the messages to Message Cache. | This error code is returned when an exception is encountered at the time of storing a message. |
0 | ERR_OK | On completion of a particular message Batch. | This error code is returned when batch messages are read from source and parsed into individual messages. |
86 | ERR_MSG_END | Error when there are no more message in Batch. | This error code is returned when the present batch has no more messages. |