forked from koratech/mirthconnect_channels-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Iterator Transformer- Message Builder.xml
484 lines (484 loc) · 27 KB
/
Iterator Transformer- Message Builder.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<channel version="3.8.0">
<id>c0deb5a6-0009-40e9-9c0e-e4080d354638</id>
<nextMetaDataId>2</nextMetaDataId>
<name>Iterator Transformer- Message Builder</name>
<description></description>
<revision>3</revision>
<sourceConnector version="3.8.0">
<metaDataId>0</metaDataId>
<name>sourceConnector</name>
<properties class="com.mirth.connect.connectors.vm.VmReceiverProperties" version="3.8.0">
<pluginProperties/>
<sourceConnectorProperties version="3.8.0">
<responseVariable>None</responseVariable>
<respondAfterProcessing>true</respondAfterProcessing>
<processBatch>false</processBatch>
<firstResponse>false</firstResponse>
<processingThreads>1</processingThreads>
<resourceIds class="linked-hash-map">
<entry>
<string>Default Resource</string>
<string>[Default Resource]</string>
</entry>
</resourceIds>
<queueBufferSize>1000</queueBufferSize>
</sourceConnectorProperties>
</properties>
<transformer version="3.8.0">
<elements/>
<inboundDataType>HL7V2</inboundDataType>
<outboundDataType>HL7V2</outboundDataType>
<inboundProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DataTypeProperties" version="3.8.0">
<serializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2SerializationProperties" version="3.8.0">
<handleRepetitions>true</handleRepetitions>
<handleSubcomponents>true</handleSubcomponents>
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<stripNamespaces>true</stripNamespaces>
<segmentDelimiter>\r</segmentDelimiter>
<convertLineBreaks>true</convertLineBreaks>
</serializationProperties>
<deserializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DeserializationProperties" version="3.8.0">
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<segmentDelimiter>\r</segmentDelimiter>
</deserializationProperties>
<batchProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2BatchProperties" version="3.8.0">
<splitType>MSH_Segment</splitType>
<batchScript></batchScript>
</batchProperties>
<responseGenerationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseGenerationProperties" version="3.8.0">
<segmentDelimiter>\r</segmentDelimiter>
<successfulACKCode>AA</successfulACKCode>
<successfulACKMessage></successfulACKMessage>
<errorACKCode>AE</errorACKCode>
<errorACKMessage>An Error Occurred Processing Message.</errorACKMessage>
<rejectedACKCode>AR</rejectedACKCode>
<rejectedACKMessage>Message Rejected.</rejectedACKMessage>
<msh15ACKAccept>false</msh15ACKAccept>
<dateFormat>yyyyMMddHHmmss.SSS</dateFormat>
</responseGenerationProperties>
<responseValidationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseValidationProperties" version="3.8.0">
<successfulACKCode>AA,CA</successfulACKCode>
<errorACKCode>AE,CE</errorACKCode>
<rejectedACKCode>AR,CR</rejectedACKCode>
<validateMessageControlId>true</validateMessageControlId>
<originalMessageControlId>Destination_Encoded</originalMessageControlId>
<originalIdMapVariable></originalIdMapVariable>
</responseValidationProperties>
</inboundProperties>
<outboundProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DataTypeProperties" version="3.8.0">
<serializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2SerializationProperties" version="3.8.0">
<handleRepetitions>true</handleRepetitions>
<handleSubcomponents>true</handleSubcomponents>
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<stripNamespaces>true</stripNamespaces>
<segmentDelimiter>\r</segmentDelimiter>
<convertLineBreaks>true</convertLineBreaks>
</serializationProperties>
<deserializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DeserializationProperties" version="3.8.0">
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<segmentDelimiter>\r</segmentDelimiter>
</deserializationProperties>
<batchProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2BatchProperties" version="3.8.0">
<splitType>MSH_Segment</splitType>
<batchScript></batchScript>
</batchProperties>
<responseGenerationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseGenerationProperties" version="3.8.0">
<segmentDelimiter>\r</segmentDelimiter>
<successfulACKCode>AA</successfulACKCode>
<successfulACKMessage></successfulACKMessage>
<errorACKCode>AE</errorACKCode>
<errorACKMessage>An Error Occurred Processing Message.</errorACKMessage>
<rejectedACKCode>AR</rejectedACKCode>
<rejectedACKMessage>Message Rejected.</rejectedACKMessage>
<msh15ACKAccept>false</msh15ACKAccept>
<dateFormat>yyyyMMddHHmmss.SSS</dateFormat>
</responseGenerationProperties>
<responseValidationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseValidationProperties" version="3.8.0">
<successfulACKCode>AA,CA</successfulACKCode>
<errorACKCode>AE,CE</errorACKCode>
<rejectedACKCode>AR,CR</rejectedACKCode>
<validateMessageControlId>true</validateMessageControlId>
<originalMessageControlId>Destination_Encoded</originalMessageControlId>
<originalIdMapVariable></originalIdMapVariable>
</responseValidationProperties>
</outboundProperties>
</transformer>
<filter version="3.8.0">
<elements/>
</filter>
<transportName>Channel Reader</transportName>
<mode>SOURCE</mode>
<enabled>true</enabled>
<waitForPrevious>true</waitForPrevious>
</sourceConnector>
<destinationConnectors>
<connector version="3.8.0">
<metaDataId>1</metaDataId>
<name>XML Document Writer</name>
<properties class="com.mirth.connect.connectors.file.FileDispatcherProperties" version="3.8.0">
<pluginProperties/>
<destinationConnectorProperties version="3.8.0">
<queueEnabled>false</queueEnabled>
<sendFirst>false</sendFirst>
<retryIntervalMillis>10000</retryIntervalMillis>
<regenerateTemplate>false</regenerateTemplate>
<retryCount>0</retryCount>
<rotate>false</rotate>
<includeFilterTransformer>false</includeFilterTransformer>
<threadCount>1</threadCount>
<threadAssignmentVariable></threadAssignmentVariable>
<validateResponse>false</validateResponse>
<resourceIds class="linked-hash-map">
<entry>
<string>Default Resource</string>
<string>[Default Resource]</string>
</entry>
</resourceIds>
<queueBufferSize>1000</queueBufferSize>
<reattachAttachments>true</reattachAttachments>
</destinationConnectorProperties>
<scheme>FILE</scheme>
<host>C:/Users/eslia/Desktop/Mirth Connect/Training/XML Documents</host>
<outputPattern>${message.channelId}_${message.messageId}.xml</outputPattern>
<anonymous>true</anonymous>
<username>anonymous</username>
<password>anonymous</password>
<timeout>10000</timeout>
<keepConnectionOpen>true</keepConnectionOpen>
<maxIdleTime>0</maxIdleTime>
<secure>true</secure>
<passive>true</passive>
<validateConnection>true</validateConnection>
<outputAppend>true</outputAppend>
<errorOnExists>false</errorOnExists>
<temporary>false</temporary>
<binary>false</binary>
<charsetEncoding>DEFAULT_ENCODING</charsetEncoding>
<template>${XmlUtil.prettyPrint(${message.encodedData})}</template>
</properties>
<transformer version="3.8.0">
<elements>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>patientId (out) <-- Patient Identification - Patient ID (External ID) - ID Number (PID.2.1) (in)</name>
<sequenceNumber>0</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['patientId']</messageSegment>
<mapping>msg['PID']['PID.2']['PID.2.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>name - last (out) <-- Patient Identification - Patient Name - Family Name (PID.5.1) (in)</name>
<sequenceNumber>1</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['name']['last']</messageSegment>
<mapping>msg['PID']['PID.5']['PID.5.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>name - first (out) <-- Patient Identification - Patient Name - Given Name (PID.5.2) (in)</name>
<sequenceNumber>2</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['name']['first']</messageSegment>
<mapping>msg['PID']['PID.5']['PID.5.2'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>dateOfBirth (out) <-- Patient Identification - Date of Birth - Value (PID.7.1) (in)</name>
<sequenceNumber>3</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['dateOfBirth']</messageSegment>
<mapping>msg['PID']['PID.7']['PID.7.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>gender (out) <-- Patient Identification - Sex - Value (PID.8.1) (in)</name>
<sequenceNumber>4</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['gender']</messageSegment>
<mapping>msg['PID']['PID.8']['PID.8.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.model.IteratorStep version="3.8.0">
<name>For each msg['NK1']</name>
<sequenceNumber>5</sequenceNumber>
<enabled>true</enabled>
<properties>
<target>msg['NK1']</target>
<indexVariable>i</indexVariable>
<prefixSubstitutions>
<string>msg['NK1']</string>
<string>tmp['nextOfKin']</string>
</prefixSubstitutions>
<children>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>nextOfKin - last (out) <-- Next of Kin/Associated Parties [0] - Name - Family Name (NK1.2.1) (in)</name>
<sequenceNumber>5-0</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['nextOfKin'][i]['last']</messageSegment>
<mapping>msg['NK1'][i]['NK1.2']['NK1.2.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>nextOfKin - first (out) <-- Next of Kin/Associated Parties [0] - Name - Given Name (NK1.2.2) (in)</name>
<sequenceNumber>5-1</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['nextOfKin'][i]['first']</messageSegment>
<mapping>msg['NK1'][i]['NK1.2']['NK1.2.2'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>nextOfKin - relationship (out) <-- Next of Kin/Associated Parties [0] - Relationship - Identifier (NK1.3.1) (in)</name>
<sequenceNumber>5-2</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['nextOfKin'][i]['relationship']</messageSegment>
<mapping>msg['NK1'][i]['NK1.3']['NK1.3.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>nextOfKin - phoneNumber (out) <-- Next of Kin/Associated Parties [0] - Phone Number - Value (NK1.5.1) (in)</name>
<sequenceNumber>5-3</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['nextOfKin'][i]['phoneNumber']</messageSegment>
<mapping>msg['NK1'][i]['NK1.5']['NK1.5.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
</children>
</properties>
</com.mirth.connect.model.IteratorStep>
</elements>
<inboundTemplate encoding="base64">TVNIfF5+XCZ8QURUU0VOREVSfEhvc3BpdGFsIEF8fHwyMDE1MDYwMTEzMjMyM3x8QURUXkEwM3xI
Q09OUkFELTAwNDB8VHwyLjJ8ODA5Mg0KRVZOfEEwM3wyMDE1MDYwMTEzMjMyM3x8fG1yLmNmYXIN
ClBJRHx8ODgwMDQwfDg4MDA0MHx8Q29ucmFkXkhlcm1lc15efHwxOTY0MDIwMnxNfHwyMDU0LTV8
MTMgSmFtYWljYSBQbGFjZV5eTGFrZSBGb3Jlc3ReQ0FeOTI2MzBeVVNeSHx8KDk0OSkgNTU1LTAw
NDBeXkhPTUUgU09+fHxFTkd8UHxPVEh8MDA0MHw3NDEtMDEtMjYwNnx8DQpOSzF8MXxDb25yYWRe
TGFCYXJiYXJhfFNQT3wxMjMgT0FLIEFWRU5VRV5BUFQuIDRBXklSVklORV5DQV45MjYxMnwoMjI1
KTM1MS0zNzM4fCg4MDIpNTYxLTY2MTcNCk5LMXwyfENvbnJhZF5Ed2lnaHR8Q0hEfDEzIEphbWFp
Y2EgUGxhY2VeXkxha2UgRm9yZXN0XkNBXjkyNjMwXlVTXkh8DQpQVjF8fEl8VzJXXlcyNTFeQXxF
fHx8MTleV0lHR1VNXlNBUkFIXl58MTReVkFOIEhPVVRFTl5NSUxMSE9VU0VeXnw4XlNJTVBTT05e
QkFSVF5efE1FRHx8fHwzfHwgfDA5MzU3MF5LQUxFQl5WQU5FU1NBXk18SXx8QU98MzF8fHx8fHx8
fHx8fHx8fHwiInx8fFNJTVBTT04gQ0xJTklDfHx8fHwyMDE1MDUyNDE4MzB8MjAxNTA1MjUxMTQ1
DQpQVjJ8fDMxfDE4MzBeRVhQTEFSQVRPUlkgTEFQfHx8fHwyMDE1MDUyNHx8fHwiInx8fHx8fHx8
fFYNCkdUMXwxfHxDb25yYWReSGVybWVzXl58Q29ucmFkXkxhQmFyYmFyYXwxMyBKYW1haWNhIFBs
YWNlXl5MYWtlIEZvcmVzdF5DQV45MjYzMF5VU15IfCg5NDkpIDU1NS0wMDQwfHwxOTY0MDIwMnxN
fHxTRUx8NzQxLTAxLTI2MDZ8fHx8UGxhbmV0IEV4cHJlc3N8MTM4OCBXLiBFbG0gU3QuXl5OZXcg
WW9ya15OWV4xNDQ2Nw0KSU4xfDF8MUhQNnwwRjMwfEdSRUFUIFdFU1QgUFBPIEN8fHx8fE9QRU4g
QUNDRVNTDQo=</inboundTemplate>
<outboundTemplate encoding="base64">PHBhdGllbnQ+DQoJPHBhdGllbnRJZC8+DQoJPG5hbWU+DQoJCTxsYXN0Lz4NCgkJPGZpcnN0Lz4N
Cgk8L25hbWU+DQoJPGRhdGVPZkJpcnRoLz4NCgk8Z2VuZGVyLz4NCgk8bmV4dE9mS2luPg0KCQk8
bGFzdC8+DQoJCTxmaXJzdC8+DQoJCTxyZWxhdGlvbnNoaXAvPg0KCQk8cGhvbmVOdW1iZXIvPg0K
CTwvbmV4dE9mS2luPg0KPC9wYXRpZW50Pg0KDQo=</outboundTemplate>
<inboundDataType>HL7V2</inboundDataType>
<outboundDataType>XML</outboundDataType>
<inboundProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DataTypeProperties" version="3.8.0">
<serializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2SerializationProperties" version="3.8.0">
<handleRepetitions>true</handleRepetitions>
<handleSubcomponents>true</handleSubcomponents>
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<stripNamespaces>true</stripNamespaces>
<segmentDelimiter>\r</segmentDelimiter>
<convertLineBreaks>true</convertLineBreaks>
</serializationProperties>
<deserializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DeserializationProperties" version="3.8.0">
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<segmentDelimiter>\r</segmentDelimiter>
</deserializationProperties>
<batchProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2BatchProperties" version="3.8.0">
<splitType>MSH_Segment</splitType>
<batchScript></batchScript>
</batchProperties>
<responseGenerationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseGenerationProperties" version="3.8.0">
<segmentDelimiter>\r</segmentDelimiter>
<successfulACKCode>AA</successfulACKCode>
<successfulACKMessage></successfulACKMessage>
<errorACKCode>AE</errorACKCode>
<errorACKMessage>An Error Occurred Processing Message.</errorACKMessage>
<rejectedACKCode>AR</rejectedACKCode>
<rejectedACKMessage>Message Rejected.</rejectedACKMessage>
<msh15ACKAccept>false</msh15ACKAccept>
<dateFormat>yyyyMMddHHmmss.SSS</dateFormat>
</responseGenerationProperties>
<responseValidationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseValidationProperties" version="3.8.0">
<successfulACKCode>AA,CA</successfulACKCode>
<errorACKCode>AE,CE</errorACKCode>
<rejectedACKCode>AR,CR</rejectedACKCode>
<validateMessageControlId>true</validateMessageControlId>
<originalMessageControlId>Destination_Encoded</originalMessageControlId>
<originalIdMapVariable></originalIdMapVariable>
</responseValidationProperties>
</inboundProperties>
<outboundProperties class="com.mirth.connect.plugins.datatypes.xml.XMLDataTypeProperties" version="3.8.0">
<serializationProperties class="com.mirth.connect.plugins.datatypes.xml.XMLSerializationProperties" version="3.8.0">
<stripNamespaces>false</stripNamespaces>
</serializationProperties>
<batchProperties class="com.mirth.connect.plugins.datatypes.xml.XMLBatchProperties" version="3.8.0">
<splitType>Element_Name</splitType>
<elementName></elementName>
<level>1</level>
<query></query>
<batchScript></batchScript>
</batchProperties>
</outboundProperties>
</transformer>
<responseTransformer version="3.8.0">
<elements/>
<inboundDataType>HL7V2</inboundDataType>
<outboundDataType>HL7V2</outboundDataType>
<inboundProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DataTypeProperties" version="3.8.0">
<serializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2SerializationProperties" version="3.8.0">
<handleRepetitions>true</handleRepetitions>
<handleSubcomponents>true</handleSubcomponents>
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<stripNamespaces>true</stripNamespaces>
<segmentDelimiter>\r</segmentDelimiter>
<convertLineBreaks>true</convertLineBreaks>
</serializationProperties>
<deserializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DeserializationProperties" version="3.8.0">
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<segmentDelimiter>\r</segmentDelimiter>
</deserializationProperties>
<batchProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2BatchProperties" version="3.8.0">
<splitType>MSH_Segment</splitType>
<batchScript></batchScript>
</batchProperties>
<responseGenerationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseGenerationProperties" version="3.8.0">
<segmentDelimiter>\r</segmentDelimiter>
<successfulACKCode>AA</successfulACKCode>
<successfulACKMessage></successfulACKMessage>
<errorACKCode>AE</errorACKCode>
<errorACKMessage>An Error Occurred Processing Message.</errorACKMessage>
<rejectedACKCode>AR</rejectedACKCode>
<rejectedACKMessage>Message Rejected.</rejectedACKMessage>
<msh15ACKAccept>false</msh15ACKAccept>
<dateFormat>yyyyMMddHHmmss.SSS</dateFormat>
</responseGenerationProperties>
<responseValidationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseValidationProperties" version="3.8.0">
<successfulACKCode>AA,CA</successfulACKCode>
<errorACKCode>AE,CE</errorACKCode>
<rejectedACKCode>AR,CR</rejectedACKCode>
<validateMessageControlId>true</validateMessageControlId>
<originalMessageControlId>Destination_Encoded</originalMessageControlId>
<originalIdMapVariable></originalIdMapVariable>
</responseValidationProperties>
</inboundProperties>
<outboundProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DataTypeProperties" version="3.8.0">
<serializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2SerializationProperties" version="3.8.0">
<handleRepetitions>true</handleRepetitions>
<handleSubcomponents>true</handleSubcomponents>
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<stripNamespaces>true</stripNamespaces>
<segmentDelimiter>\r</segmentDelimiter>
<convertLineBreaks>true</convertLineBreaks>
</serializationProperties>
<deserializationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2DeserializationProperties" version="3.8.0">
<useStrictParser>false</useStrictParser>
<useStrictValidation>false</useStrictValidation>
<segmentDelimiter>\r</segmentDelimiter>
</deserializationProperties>
<batchProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2BatchProperties" version="3.8.0">
<splitType>MSH_Segment</splitType>
<batchScript></batchScript>
</batchProperties>
<responseGenerationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseGenerationProperties" version="3.8.0">
<segmentDelimiter>\r</segmentDelimiter>
<successfulACKCode>AA</successfulACKCode>
<successfulACKMessage></successfulACKMessage>
<errorACKCode>AE</errorACKCode>
<errorACKMessage>An Error Occurred Processing Message.</errorACKMessage>
<rejectedACKCode>AR</rejectedACKCode>
<rejectedACKMessage>Message Rejected.</rejectedACKMessage>
<msh15ACKAccept>false</msh15ACKAccept>
<dateFormat>yyyyMMddHHmmss.SSS</dateFormat>
</responseGenerationProperties>
<responseValidationProperties class="com.mirth.connect.plugins.datatypes.hl7v2.HL7v2ResponseValidationProperties" version="3.8.0">
<successfulACKCode>AA,CA</successfulACKCode>
<errorACKCode>AE,CE</errorACKCode>
<rejectedACKCode>AR,CR</rejectedACKCode>
<validateMessageControlId>true</validateMessageControlId>
<originalMessageControlId>Destination_Encoded</originalMessageControlId>
<originalIdMapVariable></originalIdMapVariable>
</responseValidationProperties>
</outboundProperties>
</responseTransformer>
<filter version="3.8.0">
<elements/>
</filter>
<transportName>File Writer</transportName>
<mode>DESTINATION</mode>
<enabled>true</enabled>
<waitForPrevious>true</waitForPrevious>
</connector>
</destinationConnectors>
<preprocessingScript>// Modify the message variable below to pre process data
return message;</preprocessingScript>
<postprocessingScript>// This script executes once after a message has been processed
// Responses returned from here will be stored as "Postprocessor" in the response map
return;</postprocessingScript>
<deployScript>// This script executes once when the channel is deployed
// You only have access to the globalMap and globalChannelMap here to persist data
return;</deployScript>
<undeployScript>// This script executes once when the channel is undeployed
// You only have access to the globalMap and globalChannelMap here to persist data
return;</undeployScript>
<properties version="3.8.0">
<clearGlobalChannelMap>true</clearGlobalChannelMap>
<messageStorageMode>DEVELOPMENT</messageStorageMode>
<encryptData>false</encryptData>
<removeContentOnCompletion>false</removeContentOnCompletion>
<removeOnlyFilteredOnCompletion>false</removeOnlyFilteredOnCompletion>
<removeAttachmentsOnCompletion>false</removeAttachmentsOnCompletion>
<initialState>STARTED</initialState>
<storeAttachments>true</storeAttachments>
<metaDataColumns>
<metaDataColumn>
<name>SOURCE</name>
<type>STRING</type>
<mappingName>mirth_source</mappingName>
</metaDataColumn>
<metaDataColumn>
<name>TYPE</name>
<type>STRING</type>
<mappingName>mirth_type</mappingName>
</metaDataColumn>
</metaDataColumns>
<attachmentProperties version="3.8.0">
<type>None</type>
<properties/>
</attachmentProperties>
<resourceIds class="linked-hash-map">
<entry>
<string>Default Resource</string>
<string>[Default Resource]</string>
</entry>
</resourceIds>
</properties>
<exportData>
<metadata>
<enabled>true</enabled>
<lastModified>
<time>1559146746581</time>
<timezone>America/New_York</timezone>
</lastModified>
<pruningSettings>
<archiveEnabled>true</archiveEnabled>
</pruningSettings>
</metadata>
</exportData>
</channel>