Component | Description | Component Version(s) |
Aggregators | ||
Receives multiple fragments of HL7 messages and aggregates them into a single message. | 1.0.0 | |
Generates a template message from the data provided to the component. | 1.0.0 | |
Invokers | ||
Validates a message header and optionally checks its syntax. Note: This component is similar, but not identical to the HL7 Message Structure Validator. Make sure you use the correct component. | 1.0.0 | |
Generates an enhanced system-level acknowledgment message to the sending application. | 1.0.0 | |
Checks the validity of message structure. | 1.0.0 | |
Generates an application-level acknowledgment message to the sending application. | 1.0.0 | |
Iterators | ||
Receives one or more batch messages and returns an individual message from the batch. | 1.0.0 | |
Returns either segments or fields, using the segment or field names that you provide. | 1.0.0 | |
Transformers | ||
Transforms an HL7 message into XML. | 1.2.1 2.0.0 | |
Transforms an XML message into HL7. | 1.1.1 2.0.0 | |
Transforms NCPDP script to XML | 1.0.6 | |
Transforms XML script to NCPDP script | 1.0.6 |
Property | Description |
Schema | Required. Location of the schema. You have the choice of using a master schema or a subset schema that is based on the master. If you want to use a subset schema, specify the complete path or browse to the subset schema file. If you want to use a master schema, specify the complete path or browse to the directory containing the master schema. The validator loads the master schema for a specific schema version and message type. The name and location of the master schema directory does not matter. However, the sub-directories and master schema file must adhere to the following: • Sub-directories must appear in ascending order (2.1, 2.2, 2.3) • The ending string of the master schema file name must be .master.ds.schema (for example, HL726.master.ds.schema) The sub-directory must contain only one master schema with the required .master.ds.schema ending string. Example The following is an example master schema directory structure: Master schema directory • 2.1 – HL721.master.ds.schema • 2.2 – HL722.master.ds.schema • 2.3 – HL723.master.ds.schema • 2.3.1 – HL7231.master.ds.schema |
Property | Supported Actions | Description |
SourceMessage | Execute | Required. Path and name of the source message. |
TargetMessage | Execute | Required. Path and name of the target message. |
Code | Description | Reason |
100 | Incorrect message type | The message type is incorrect for the subset schema validation. |
101 | MSH element not first | MSH is not the first segment of the message. |
102 | Version undefined | The version of the schema is not defined in the data file. |
103 | Undefined version | The version number is undefined in the data file. |
104 | Missing delimiters | One or more delimiters are missing. |
105 | Missing required segment | One or more mandatory segments are missing. |
106 | Extra segment | An undefined segment is in the data file. |
107 | Repeating segment | A segment repeats more times than the value specified for maxOccurs. |
108 | Cannot repeat segment | The segment cannot repeat. |
109 | Segment not in choice | The segment is not contained in the Choice element. |
110 | Incorrect segment field count | The segment field count is incorrect. |
111 | Cannot repeat field | The segment contains one or more invalid fields that cannot repeat. |
112 | Missing required field | A mandatory field is missing in the segment. |
113 | Expected max field length | The length of the segment field is greater than the maximum length specified in the data file. |
114 | Expected composite count | A segment field was encountered when a Composite count was expected. |
115 | Missing required composite | A mandatory composite is missing. |
116 | Expected subcomposite count | A field Composite was encountered when a Subcomposite count was expected. |
118 | Unsupported event code | The specified event code is not supported for this version of HL7. |
119 | Field repeats more than maxOccurs | The segment field repeats more times than the value specified for maxOccurs. |
120 | Required subcomposite missing/not included | A mandatory subcomposite is missing in the composite. |
121 | Error loading json schema file | The specified schema cannot be found. |
122 | Group repeats more than maxOccurs | The group repeats more times than the value specified for maxOccurs. |
123 | Required group is missing/not included | A mandatory segment is missing in the group. |
998 | Invalid data file | An invalid data file was encountered. |
999 | Application internal error | An internal error occurred during validation. For example, the invoker could not find the schema library file for the specified message type and version. |
Error Code | Error Name | Description | Reason |
89 | ERR_ HEADERDER_VALIDATION | Error at the time of header validation. | An exception was encountered at the time of structure validation of a message. |
85 | ERR_SYNTAXCHECK | Error at the time of syntax check. | An exception was encountered at the time of checking the syntax of a message. |
88 | ERR_STRUCTURAL_VALIDATION | Error at the time of structure validation. | An exception was encountered at the time of structure validation of a message. |
87 | ERR_MSG_CONTINUATION | Error on receiving incomplete message parts. | The present message part is not the last part of a Message sequence |
50 | ERR_UNSPECIFIED | Unspecified error. | Unknown error condition. |
4 | ERR_READERR | Error during reading of file or table. | The component cannot locate the schema. |
0 | ERR_OK | Error on structure validation. | An HL7 message was passed against any kind of validation. |
Attribute Name | Description |
id | The name of the segment/group/choice. |
repeatIndex | (Optional) Applicable only to segment/group/fields. Default - first index. If an invalid repeatIndex is specified, then the component displays an error. The reason is that you cannot create a higher repeatIndex when a lower repeatIndex is not created. |
sequence | (Optional) Specifies the position of the occurrence of this segment/group/choice within the message. Default - first occurring sequence of this segment/group within the message. To add a repeated segment, specify the sequence number of the segment within the message so that it is inserted at the specified position in the message. The sequence attribute is used to differentiate between segments occurring in more than one position within the message. |
mode | (Optional) Allowable values are: • "C" - for create • "D" - for delete. If the data for a composite or subcomposite exists and a new value is provided, then the old value is overwritten with the new one. Thus, the default behavior of the component is "when the data already exists then update". The "D"- delete mode, removes the data from the specified composite or subcomposite and the placeholder associated with it. Delete mode is available at all the levels of the message hierarchy. If the delete option is specified at segment level, then values from all the fields, composites, and subcomposites within that segment is removed. Default - "C" - create. |
number | (Mandatory) Available only at the field, composite and the sub composite level. This attribute specifies the sequence of the field within the segment. Composites can have data only if it does not have any sub composite within it. Otherwise the data is set to the subcomposite values. |
Property Name | Description |
Base Segment Path | Location of the schema library, which the component loads for a specific schema version and message type. |
Version | Supported HL7 version. |
Message Type | Message type for which the template message is generated. |
Action | Description |
GetMessage | Returns data from the Iterator in a DJMessage object. |
PutMessage | Sends the data contained in a DJMessage object to the aggregator. |
Action | Parameter | Description |
GetMessage | Message | Returns the template message. |
PutMessage | Message | Creates the data placeholders using the pattern XML provided. |
Error Code | Error Name | Description | Reason |
8 | ERR_WRITERR | Error while running the “put message” action. | This error is returned by the HL7 Message Aggregator when an error occurs while creating the template message |
0 | ERR_OK | OK status | No Error. OK Status. The Information is returned successfully |
Property Name | Description |
Domain_Name | Location of the schema library, which the component loads for a specific schema version and message type. |
Message_Type | Supported HL7 version. |
Cache_Type | Message type for which the template message is generated. |
Action | Description |
GetMessage | Returns data from the aggregator in a djmessage object. |
PutMessage | Sends the data contained in a DJMessage object to the aggregator. |
Action | Parameter | Description |
GetMessage | Message | Returns the template message. |
PutMessage | Message | Creates the data placeholders using the pattern XML provided. |
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. |
8 | ERR_WRITERR | Error at the time of storing the messages to the message cache. | This error code is returned when an exception is encountered at the time of storing a message to cache. |
0 | ERR_OK | On completion of a particular message sequence. | This error code is returned when different parts of a HL7 Message is aggregated to form the complete message. |
86 | ERR_MSG_INCOMPLETE | Error on receiving incomplete message parts. | This error code is returned when the present message part is not the last part of a message sequence. |
Action | Description |
Execute | Performs the transformation based on the specified parameters and properties. |
Action | Parameter | Description |
Execute | SourceMessage | Path and name of the source message. |
Execute | TargetMessage | Path and name of the target message. |
Action | Property | Description |
Execute | Optional XSLT Document | To create a custom document, enter the full path to the XSLT document you want to use. The XSLT document must consume v2.xml. |
Error Code | Error Name | Description | Reason |
0 | ERR_OK | OK status. | No error. The information is returned successfully. |
7 | ERR_CREATERR | Error creating a file or table. | Error detected during component initialization. |
8 | ERR_WRITERR | Error writing to a file or table. | XSLT transformation failed. See the process log for specific message. |
34 | INVALID | Primary transformation failed. | HL7 source message may be malformed. See the process log for specific message. |
46 | LICENSING | Component is not licensed for the product version. | Component is not licensed. |
Action | Description |
Execute | Performs the transformation based on the specified parameters and properties. |
Action | Parameter | Description |
Execute | SourceMessage | Path and name of the source message. |
Execute | TargetMessage | Path and name of the target message. |
Action | Property | Description |
Execute | Optional XSLT Document | To create a custom document, enter the full path to the XSLT document you want to use. The XSLT document must consume v2.xml. |
Error Code | Error Name | Description | Reason |
0 | ERR_OK | OK status. | No error. OK The information is returned successfully. |
7 | ERR_CREATERR | Error creating a file or table. | Error detected during component initialization. |
8 | ERR_WRITERR | Error writing to a file or table. | XSLT transformation failed. See the process log for specific message. |
34 | INVALID | Primary transformation failed. | This error code does not mean that your HL7 XML message is invalid. However, your XML source message may be malformed. Verify that your XML syntax is correct. See the process log for specific message. |
46 | LICENSING | Component is not licensed for the product version. | Component is not licensed. |
Action | Description |
Execute | Performs the transformation based on the specified parameters and properties. |
Action | Parameter | Description |
Execute | SourceMessage | Path and name of the source message. |
Execute | TargetMessage | Path and name of the target message. |
Action | Property | Description |
Execute | Optional XSLT Document | If you want to transform a custom XML document into NCPDP XML to act as the source, type the path and name of the XSLT. |
Transaction Type | Description |
NEWRX | New prescription from doctor to pharmacy. |
REFREQ | Request from pharmacy to prescriber asking for additional refills. |
REFRES | Prescription authorization from prescriber to pharmacy. Response to REFREQ. |
RXFILL | Message to prescriber from pharmacy indicating the status of prescriptions (dispensed, partially dispensed, not dispensed). |
CANRX | Request from prescriber to pharmacy to cancel a previously sent prescription. |
CANRES | Response from pharmacy to prescriber to acknowledge a cancel request (CANRX). |
STATUS | Relays acceptance of a transaction back to sender. Indicates acceptance and responsibility for a request. Response to REFREQ, REFRES, NEWRX, RXCHG, CHGRES, CANRX, CANRES, or RXFILL. |
RXCHG | Request from pharmacy for a change in the original prescription. |
CHGRES | Response to an RXCHG message. |
ERROR | An error occurred and the request was canceled. |
RXHREQ | An entity is requesting medication history from another entity. |
RXHRES | Response describing a patient’s medication history. Response to RXHREQ. |
Code List Type | File Name |
Patient ID type | PatientIDTypeto.xsl |
Payer ID type | PayerIDTypeto.xsl |
Pharmacy ID type | PharmacyIDTypeto.xsl |
Prescriber ID type | PrescriberIDTypeto.xsl |
Supervisor ID type | SupervisorIDTypeto.xsl |
Error Code | Error Name | Description | Reason |
0 | ERR_OK | OK status. | No error. OK The information is returned successfully. |
7 | ERR_CREATERR | Error creating a file or table. | Error detected during component initialization. |
8 | ERR_WRITERR | Error writing to a file or table. | XSLT transformation failed. See the process log for specific message. |
34 | INVALID | Primary transformation failed. | XML source message may be malformed. See the process log for specific message. |
46 | LICENSING | Component is not licensed for the product version. | Component is not licensed. |
Action | Description |
Execute | Performs the transformation based on the specified parameters and properties. |
Action | Parameter | Description |
Execute | SourceMessage | Path and name of the source message. |
Execute | TargetMessage | Path and name of the target message. |
Action | Property | Description |
Execute | Optional XSLT Document | Path name of the XSLT document. This is optional. |
Transaction Type | Description |
NEWRX | New prescription from doctor to pharmacy. |
REFREQ | Request from pharmacy to prescriber asking for additional refills. |
REFRES | Prescription authorization from prescriber to pharmacy. Response to REFREQ. |
RXFILL | Message to prescriber from pharmacy indicating the status of prescriptions (dispensed, partially dispensed, not dispensed). |
CANRX | Request from prescriber to pharmacy to cancel a previously sent prescription. |
CANRES | Response from pharmacy to prescriber to acknowledge a cancel request (CANRX). |
STATUS | Relays acceptance of a transaction back to sender. Indicates acceptance and responsibility for a request. Response to REFREQ, REFRES, NEWRX, RXCHG, CHGRES, CANRX, CANRES, or RXFILL. |
RXCHG | Request from pharmacy for a change in the original prescription. |
CHGRES | Response to an RXCHG message. |
ERROR | An error occurred and the request was canceled. |
RXHREQ | An entity is requesting medication history from another entity. |
RXHRES | Response describing a patient’s medication history. Response to RXHREQ. |
Code List Type | File Name |
Patient ID type | PatientIDTypeto.xsl |
Payer ID type | PayerIDTypeto.xsl |
Pharmacy ID type | PharmacyIDTypeto.xsl |
Prescriber ID type | PrescriberIDTypeto.xsl |
Supervisor ID type | SupervisorIDTypeto.xsl |
Error Code | Error Name | Description | Reason |
0 | ERR_OK | OK status. | No error. OK The information is returned successfully. |
7 | ERR_CREATERR | Error creating a file or table. | Error detected during component initialization. |
8 | ERR_WRITERR | Error writing to a file or table. | XSLT transformation failed. See the process log for specific message. |
34 | INVALID | Primary transformation failed. | XML source message may be malformed. See the process log for specific message. |
46 | LICENSING | Component is not licensed for the product version. | Component is not licensed. |
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. |
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. |
Property Name | Description |
Base Segment Path | Location of the schema library, which the component loads for a specific schema version and message type. |
Return Type | Specify the type of information that is returned: • All - All the matching information is returned if the segment or field repeats. • First - Only the first matching information is returned. |
Action | Description |
GetMessage | Returns data from the Iterator in a djmessage object. The maximum size limit for DJMessage is 512 MB. |
Action | Parameter | Description |
GetMessage | Message | Type the message. |
Action | Property | Description |
GetMessage | Version | Supported HL7 version.The supported values are 2.1 to 2.5. The default value is 2.5 |
Segment Name | Any valid HL7 segment name. | |
Segment Order Number | A valid number greated than zero that represents the order or occurence of the segment within the HL7 message. By default, the first occurrence of this segment is considered. | |
Field Name | A valid field ID. All the Field IDs along with the description of the selected segment are automatically displayed in the drop-down list. | |
Field Required | • True – If the fields have to be returned • False – If the fields are not required to be returned. | |
Composite | A composite number of the selected field together with its data type ID. | |
Composite Required | • True – If the composites have to be returned • False – If the composites are not required to be returned. |
Error Code | Error Name | Description | Reason |
4 | ERR_READERR | Error in getting required information to return composite/ subcomposite/segment / field data | Returned when the component is unable to get required information. |
8 | ERR_NOSOURCE | No data found | No data found for the requested segment name or field name. Either data is not present or the segment or field is not found in the schema. |
0 | ERR_OK | OK status | No Error. OK Status. The Information is returned successfully |
Property | Default Value | Description |
CheckSyntax | false | Enable or disable syntax check: • True - CheckSyntax validates all the segments of a message. • False - CheckSyntax is disabled. Header validation validates only the MSH segment of the message. |
Action | Description |
Execute | Runs any expression that you specify. |
Action | Parameter | Description |
Execute | SourceMessage | The SourceMessage property is used to set the HL7 message and the DJMessage properties. These values are set before they are passed to the acknowledgment component. |
Execute | TargetMessage | Contains the generated message. |
Error Code | Error Name | Description | Reason |
50 | ERR_UNSPECIFIED | Unspecified error | Unknown error condition |
89 | ERR_ HEADERDER_VALIDATION | Error at the time of Header Validation | This error code is returned when an exception is encountered at the time of basic validation of a message. |
85 | ERR_SYNTAXCHECK | Error at the time of Syntax check | This error code is returned when an exception is encountered at the time of checking the syntax of a message. |
0 | ERR_OK | On basic Validation | This error code is returned when a HL7 Message is passed against any kind of validation. |
Property | Default Value | Description |
Schema Base Path | - | Location of the schema library, which the component loads for a specific schema version and message type. |
Action | Description |
Execute | Runs any expression that you specify. |
Action | Parameter | Description |
Execute | SourceMessage | Sets the HL7 message and the DJMessage properties. These values are set before they are passed to the acknowledgment component. |
Execute | TargetMessage | Contains the generated acknowledgement message. |
Error Code | Description | Reason |
100 | Segment sequence error | Possible reasons: • A required segment is missing • An error in the segment sequence in the message. |
101 | Required field missing | A mandatory field is missing in the segment. |
103 | Table value not found | The value does not match with the allowable value specified in the code table for a field. |
150 | Max length error | The length of the field value exceeds the maxlength specified in the schema. |
200 | Unsupported message type | The specified message type is not supported for this HL7 version. |
201 | Unsupported event code | The specified event code not supported for this HL7 version. |
203 | Unsupported version ID | The specified version ID is not supported. |
207 | Application internal error | Some internal error occurred during validation. For example, the component could not find the schema library file for the specified message type and version. |
Error Code | Error Name | Description | Reason |
89 | ERR_ HEADERDER_VALIDATION | Error at the time of Header Validation | This error code is returned when an exception is encountered at the time of structure validation of a message |
85 | ERR_SYNTAXCHECK | Error at the time of Syntax check | This error code is returned when an exception is encountered at the time of checking the syntax of a message |
88 | ERR_STRUCTURAL_VALIDATION | Error at the time of structure validation | This error code is returned when an exception is encountered at the time of structure validation of a message |
87 | ERR_MSG_CONTINUATION | Error on receiving incomplete message parts | This error code is returned when the present message part is not the last part of a Message sequence |
50 | ERR_UNSPECIFIED | Unspecified error | Unknown error condition |
4 | ERR_READERR | Error was encountered reading file or table | The error code is returned when the component cannot locate the schema |
0 | ERR_OK | On structure validation | This error code is returned when a HL7 Message is passed against any kind of validation |
ACK Code | Description |
AA | Application Accept This code is sent when the application successfully validates the HL7 message.The AA code indicates that the receiving application has verified the message at the application level and found it to be valid. |
AE | Application Error This code is sent when the application has processed the HL7 message but found errors within the message itself.The AE code indicates that the receiving application found a problem while either parsing or validating the message at the application level.For example: a segment sequence error, or a required field is missing. |
AR | Application Reject This code is sent when the application is unable to process the HL7 message due to errors.The AR code indicates that the receiving application was unable to parse or validate the message at the application level.For example: an unsupported message type, or an unsupported version id. |
Property (Mandatory/Optional) | Description | Example |
General Properties | ||
HL7 message (M) | Set in the message body | srcMsg.body |
Acknowledgment Code (M) | Set as a property | srcMsg.properties("AckCode") = "AE" |
ErrorText (O) | Set as a property. This property provides the specific error that the component encountered. | srcMsg.properties("ErrorText") = "Required field is missing" |
SequenceNumber (O) | Set as a property. This property is used when generating the ACK message for the sequence number protocol (SNP). | srcMsg.properties("SequenceNumber") = "10101011" |
MessageControlId (M) | Set as a property. This property should be set for generating a new Message control Id for the MSH segment. | srcMsg.properties("MessageControlId") = "12345678" |
Version (M) | Set as a property This property should be set to provide the version number. This is the base HL7 version for which the ACK will be generated List of valid and supported versions: 2.1, 2.2, 2.3, 2.3.1, 2.4, 2.5. | srcMsg.properties("Version")="2.1" |
ERR segment — ErrorLocation | ||
SegmentId (O) | Set as a property. This property provides the segment name for which the error occurred. | srcMsg.properties("SegmentId") = "MSH" |
SegmentSequence (O) | Set as a property. This property provides the segment sequence in the HL7 message at which the error occurred. | srcMsg.properties("SegmentSequence") = "1" |
FieldPosition (O) | Set as a property. This property provides the position of the field in a segment where the error occurred. | srcMsg.properties("FieldPosition") = "2" |
FieldRepetition (O) | Set as a property. This property provides the position of the repeating field where the error occurred. | srcMsg.properties("FieldRepetition") = "3" |
ComponentNumber (O) | Set as a property. This property provides the position of the component within the field where the error occurred. | srcMsg.properties("ComponentNumber") = "4" |
SubComponentNumber (O) | Set as a property. This property provides the position of the sub component within the component where the error occurred. | srcMsg.properties("SubComponentNumber") = "5" |
ERR Segment — ErrorSeverity | ||
ErrorSeverity (M) | Set as a property. The Severity code is one of the following: I - Information E - Error W - Warning Note: The Error Severity information is required for version HL7 version 2.5. | srcMsg.properties("ErrorSeverity") = "E" |
ERR Segment — ErrorCode | ||
ErrorCode (M) | Set as a property. This property is required to be set if the AckCode is either Application Error or Application Reject. For more information on the list of valid ErrorCodes, see table definition “0357” under the HL7 specification. | srcMsg.properties("ErrorCode") = "101 |
Action | Description |
Execute | Runs any expression that you specify. |
Action | Parameter | Description |
Execute | SourceMessage | Sets the HL7 message and the DJMessage properties. These values are set before they are passed to the acknowledgment component. |
Execute | TargetMessage | Contains the generated ACK message. |
Error Code | Error Name | Description | Reason |
8 | ERR_WRITERR | Error in generating acknowledgment | The component could not generate an acknowledgment. |
50 | ERR_UNSPECIFIED | Unknown Error occurred | The component identified an unknown error. |
0 | ERR_OK | OK status | The component generated an ACK successfully. There is no error. |
ACK Code | Description |
CA | Commit Accept This code is sent when the message is successfully accepted for processing. |
CE | Commit Error This code is sent if the message cannot be accepted for any other reason. For example, a sequence number error. |
CR | Commit Reject This code is sent when the receiving application finds any of the following values as unacceptable: message type, version ID, or processing ID. |
Property (Mandatory/Optional) | Description | Example |
General Properties | ||
HL7 message (M) | Set in the message body | srcMsg.body |
Acknowledgment Code (M) | Set as a property | srcMsg.properties("AckCode") = "AE" |
ErrorText (O) | Set as a property. This property provides the specific error that the component encountered. | srcMsg.properties("ErrorText") = "Required field is missing" |
SequenceNumber (O) | Set as a property. This property is used when generating the ACK message for the sequence number protocol (SNP). | srcMsg.properties("SequenceNumber") = "10101011" |
MessageControlId (M) | Set as a property. This property should be set for generating a new Message control Id for the MSH segment. | srcMsg.properties("MessageControlId") = "12345678" |
Version (M) | Set as a property This property should be set to provide the version number. This is the base HL7 version for which the ACK will be generated List of valid and supported versions: 2.1, 2.2, 2.3, 2.3.1, 2.4, 2.5. | srcMsg.properties("Version")="2.1" |
ERR segment — ErrorLocation | ||
SegmentId (O) | Set as a property. This property provides the segment name for which the error occurred. | srcMsg.properties("SegmentId") = "MSH" |
SegmentSequence (O) | Set as a property. This property provides the segment sequence in the HL7 message at which the error occurred. | srcMsg.properties("SegmentSequence") = "1" |
FieldPosition (O) | Set as a property. This property provides the position of the field in a segment where the error occurred. | srcMsg.properties("FieldPosition") = "2" |
FieldRepetition (O) | Set as a property. This property provides the position of the repeating field where the error occurred. | srcMsg.properties("FieldRepetition") = "3" |
ComponentNumber (O) | Set as a property. This property provides the position of the component within the field where the error occurred. | srcMsg.properties("ComponentNumber") = "4" |
SubComponentNumber (O) | Set as a property. This property provides the position of the sub component within the component where the error occurred. | srcMsg.properties("SubComponentNumber") = "5" |
ERR Segment — ErrorSeverity | ||
ErrorSeverity (M) | Set as a property. The Severity code is one of the following: • I - Information • E - Error • W - Warning Note: The Error Severity information is required for version HL7 version 2.5. | srcMsg.properties("ErrorSeverity") = "E" |
ERR Segment — ErrorCode | ||
ErrorCode (M) | Set as a property. This property is required to be set if the AckCode is either Application Error or Application Reject. For more information on the list of valid ErrorCodes, see table definition “0357” under the HL7 specification. | srcMsg.properties("ErrorCode") = "101 |
Action | Description |
Execute | Runs any expression that you specify. |
Action | Parameter | Description |
Execute | SourceMessage | Sets the HL7 message and the DJMessage properties. These values are set before they are passed to the acknowledgment component. |
Execute | TargetMessage | Contains the generated ACK message. |
Error Code | Error Name | Description | Reason |
8 | ERR_WRITERR | Error in generating acknowledgment | The component could not generate an acknowledgment. |
50 | ERR_UNSPECIFIED | Unknown Error occurred | The component identified an unknown error. |
0 | ERR_OK | OK status | The component generated an ACK successfully. There is no error. |
Name | Value |
ID | Schema identification number. |
Name | Name of the schema. |
STANDARD | Schema standard. Default is HL7. |
STDVERSION | Schema version. |
Name | Value |
ITEM | Field ID Number |
NAME | Field Name |
DT | Data Type |
SEQ | Sequence Number |
OPT | Option: O=Optional, R=Required, C=Conditional |
LEN | Size of the field |
REPEAT | Number of times a field can repeat. An integer or N = No repeat. Y = indefinite or site-determined number of times. |