-
Notifications
You must be signed in to change notification settings - Fork 4
/
Database Writer.xml
563 lines (562 loc) · 30 KB
/
Database Writer.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
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
<channel version="3.8.0">
<id>4f6d7691-5b1a-4aa0-af85-ae45c922e144</id>
<nextMetaDataId>2</nextMetaDataId>
<name>Database Writer</name>
<description></description>
<revision>4</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>6666</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>
<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.mapper.MapperStep version="3.8.0">
<name>lastName</name>
<sequenceNumber>1</sequenceNumber>
<enabled>true</enabled>
<variable>lastName</variable>
<mapping>msg['PID']['PID.5']['PID.5.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>firstName</name>
<sequenceNumber>2</sequenceNumber>
<enabled>true</enabled>
<variable>firstName</variable>
<mapping>msg['PID']['PID.5']['PID.5.2'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>middleName</name>
<sequenceNumber>3</sequenceNumber>
<enabled>true</enabled>
<variable>middleName</variable>
<mapping>msg['PID']['PID.5']['PID.5.3'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>dateOfBirth</name>
<sequenceNumber>4</sequenceNumber>
<enabled>true</enabled>
<variable>dateOfBirth</variable>
<mapping>msg['PID']['PID.7']['PID.7.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>gender</name>
<sequenceNumber>5</sequenceNumber>
<enabled>true</enabled>
<variable>gender</variable>
<mapping>msg['PID']['PID.8']['PID.8.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>address1</name>
<sequenceNumber>6</sequenceNumber>
<enabled>true</enabled>
<variable>address1</variable>
<mapping>msg['PID']['PID.11']['PID.11.1'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>address2</name>
<sequenceNumber>7</sequenceNumber>
<enabled>true</enabled>
<variable>address2</variable>
<mapping>msg['PID']['PID.11']['PID.11.2'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>city</name>
<sequenceNumber>8</sequenceNumber>
<enabled>true</enabled>
<variable>city</variable>
<mapping>msg['PID']['PID.11']['PID.11.3'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>state</name>
<sequenceNumber>9</sequenceNumber>
<enabled>true</enabled>
<variable>state</variable>
<mapping>msg['PID']['PID.11']['PID.11.4'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
<scope>CHANNEL</scope>
</com.mirth.connect.plugins.mapper.MapperStep>
<com.mirth.connect.plugins.mapper.MapperStep version="3.8.0">
<name>postalCode</name>
<sequenceNumber>10</sequenceNumber>
<enabled>true</enabled>
<variable>postalCode</variable>
<mapping>msg['PID']['PID.11']['PID.11.5'].toString()</mapping>
<defaultValue></defaultValue>
<replacements/>
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fHwNCg==</inboundTemplate>
<outboundTemplate encoding="base64"></outboundTemplate>
<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>Write Patient Data to Database</name>
<properties class="com.mirth.connect.connectors.jdbc.DatabaseDispatcherProperties" 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>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/mirthdb</url>
<username>postgres</username>
<password>xxxxxxxxx</password>
<query>INSERT INTO patients (patientid, lastname, firstname, middlename, dateofbirth, gender, address1, address2, city, state, postalcode)
VALUES (${patientId},${lastName} ,${firstName} ,${middleName} ,${dateOfBirth} ,${gender} ,${address1} ,${address2} ,${city} ,${state} ,${postalCode} )
</query>
<useScript>false</useScript>
</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>
<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>Database 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>1558997382708</time>
<timezone>America/New_York</timezone>
</lastModified>
<pruningSettings>
<archiveEnabled>true</archiveEnabled>
</pruningSettings>
</metadata>
</exportData>
</channel>