web stats
JSON File Reader - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 04-29-2018, 04:30 PM
psanders psanders is offline
OBX.2 Kenobi
Join Date: Nov 2011
Posts: 55
psanders is on a distinguished road
Default JSON File Reader

I have a file I am reading in that is in JSON format.

file formatted like this:
{"Rec_Type":"10","EMR_id":"445114","MRN":"1","Firs t_Name":"PatientFirstName","Last_Name":"PatientLas tName","DOB":"01/01/1950","Patient_Street_Address":"123 Main Street","Patient_Street_Address2":"","Patient_City ":"Central","Patient_State":"NY","Patient_Zip":"12 3456","Gender":"F","Status":"10","Active":"1","Ser vice_Area":"uspecified","Case_Manager_First_Name": "Hospice","Case_Manager_Last_Name":"Nurse"}

after deploying my channel I got an error (missing a batch file) that was addressed in a response from a post by Narupley. I added the javascript and redeployed the channel but now get no errors or completed messages.

Any suggestions on what I might be missing? Thanks in advance.

Using Mirth
Attached Files
File Type: xml IslandHospicePatient_API_TEST.xml (37.4 KB, 11 views)
Reply With Quote
Old 05-16-2018, 08:06 AM
AlexNeiva AlexNeiva is offline
Mirth Guru
Join Date: Oct 2013
Location: Portugal
Posts: 277
AlexNeiva is on a distinguished road


i uploaded your channel with some fixes in order to process the file.
  • Outbound DataTypes -> XML
  • Remove the process Batch File
  • First Destination change from DBWriter to JSWriter
  • Some variable is missing (organizationalID or something similiar)
Hope it helps!
Attached Files
File Type: xml IslandHospicePatient_API_TEST.xml (34.3 KB, 13 views)
Best Regards,
Alex Neiva
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 06:02 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation