Announcement

Collapse
No announcement yet.

JSON File Reader

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 3.5.0.8xxx
    Attached Files

  • #2
    Hello,

    i uploaded your channel with some fixes in order to process the file.
    Changes:
    • 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
    Best Regards,
    Alex Neiva

    Comment

    Working...
    X