-
Notifications
You must be signed in to change notification settings - Fork 4
/
Transformers - Create XML.xml
515 lines (515 loc) · 28.4 KB
/
Transformers - Create XML.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
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
<channel version="3.8.0">
<id>eef5019a-8d56-4a58-8ee9-8c75a813081f</id>
<nextMetaDataId>2</nextMetaDataId>
<name>Transformers - Create XML</name>
<description></description>
<revision>3</revision>
<sourceConnector version="3.8.0">
<metaDataId>0</metaDataId>
<name>sourceConnector</name>
<properties class="com.mirth.connect.connectors.tcp.TcpReceiverProperties" version="3.8.0">
<pluginProperties/>
<listenerConnectorProperties version="3.8.0">
<host>0.0.0.0</host>
<port>6664</port>
</listenerConnectorProperties>
<sourceConnectorProperties version="3.8.0">
<responseVariable>Auto-generate (After source transformer)</responseVariable>
<respondAfterProcessing>true</respondAfterProcessing>
<processBatch>false</processBatch>
<firstResponse>true</firstResponse>
<processingThreads>1</processingThreads>
<resourceIds class="linked-hash-map">
<entry>
<string>Default Resource</string>
<string>[Default Resource]</string>
</entry>
</resourceIds>
<queueBufferSize>1000</queueBufferSize>
</sourceConnectorProperties>
<transmissionModeProperties class="com.mirth.connect.plugins.mllpmode.MLLPModeProperties">
<pluginPointName>MLLP</pluginPointName>
<startOfMessageBytes>0B</startOfMessageBytes>
<endOfMessageBytes>1C0D</endOfMessageBytes>
<useMLLPv2>false</useMLLPv2>
<ackBytes>06</ackBytes>
<nackBytes>15</nackBytes>
<maxRetries>2</maxRetries>
</transmissionModeProperties>
<serverMode>true</serverMode>
<remoteAddress></remoteAddress>
<remotePort></remotePort>
<overrideLocalBinding>false</overrideLocalBinding>
<reconnectInterval>5000</reconnectInterval>
<receiveTimeout>0</receiveTimeout>
<bufferSize>65536</bufferSize>
<maxConnections>10</maxConnections>
<keepConnectionOpen>true</keepConnectionOpen>
<dataTypeBinary>false</dataTypeBinary>
<charsetEncoding>DEFAULT_ENCODING</charsetEncoding>
<respondOnNewConnection>0</respondOnNewConnection>
<responseAddress></responseAddress>
<responsePort></responsePort>
</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>TCP Listener</transportName>
<mode>SOURCE</mode>
<enabled>true</enabled>
<waitForPrevious>true</waitForPrevious>
</sourceConnector>
<destinationConnectors>
<connector version="3.8.0">
<metaDataId>1</metaDataId>
<name>XML Document</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>${PatientId}_${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.mapper.MapperStep version="3.8.0">
<name>PatientId</name>
<sequenceNumber>0</sequenceNumber>
<enabled>true</enabled>
<variable>PatientId</variable>
<mapping>msg['PID']['PID.2']['PID.2.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<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>1</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>2</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>3</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>4</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>5</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.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>address - line1 (out) <-- Patient Identification - Patient Address - Street Address (PID.11.1) (in)</name>
<sequenceNumber>6</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['address']['line1']</messageSegment>
<mapping>msg['PID']['PID.11']['PID.11.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>address - line2 (out) <-- Patient Identification - Patient Address - Other Designation (PID.11.2) (in)</name>
<sequenceNumber>7</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['address']['line2']</messageSegment>
<mapping>msg['PID']['PID.11']['PID.11.2'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>address - city (out) <-- Patient Identification - Patient Address - City (PID.11.3) (in)</name>
<sequenceNumber>8</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['address']['city']</messageSegment>
<mapping>msg['PID']['PID.11']['PID.11.3'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>address - state (out) <-- Patient Identification - Patient Address - State or Province (PID.11.4) (in)</name>
<sequenceNumber>9</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['address']['state']</messageSegment>
<mapping>msg['PID']['PID.11']['PID.11.4'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
<com.mirth.connect.plugins.messagebuilder.MessageBuilderStep version="3.8.0">
<name>address - postalCode (out) <-- Patient Identification - Patient Address - Zip or Postal Code (PID.11.5) (in)</name>
<sequenceNumber>10</sequenceNumber>
<enabled>true</enabled>
<messageSegment>tmp['address']['postalCode']</messageSegment>
<mapping>msg['PID']['PID.11']['PID.11.5'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
</com.mirth.connect.plugins.messagebuilder.MessageBuilderStep>
</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+DQoJPGRhdGVPZkJpcnRoLz4NCgk8Z2VuZGVyLz4NCgk8YWRkcmVzcz4NCgkJPGxp
bmUxLz4NCgkJPGxpbmUyLz4NCgkJPGNpdHkvPg0KCQk8c3RhdGUvPg0KCQk8cG9zdGFsQ29kZS8+
DQoJPC9hZGRyZXNzPg0KPC9wYXRpZW50Pg0K</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>1558372630498</time>
<timezone>America/New_York</timezone>
</lastModified>
<pruningSettings>
<archiveEnabled>true</archiveEnabled>
</pruningSettings>
</metadata>
</exportData>
</channel>