Mirth connect / nextgenhealthcare - response with json object to the sender ? #4966
Unanswered
yassersaber-ontology
asked this question in
Q&A
Replies: 1 comment 1 reply
-
MC 3.2.2 is quite old, upgrading would be a good idea. Yes this should be possible in MC, even in 3.2. You should implement:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dears , i am using old mirth 3.2.2 i am trying to do the following so please advise if can be done in same version or in higher version or cannot done at all
1-Receive HL7 ,message from sender
2-map the values and using some mapped values to query my external database
3- return the database query result as a response object to the sender again so sender can receive the response and parse it
I try it between two channels and did the part of querying the database but i can save the result in javascript parameter only so any way to save in json object or hl7 and return this json object as response in the same hl7 messages received from the sender
fyi, i found that i have to change response inpound data type to (raw) in the mirth channel summary data type selection so object can be returned back to the sender channel but when change to hl7 or xml the response not appear in source channel (so this means i cannot return hl7 object or json object ?) in additon i see the returned object not the data itself
Beta Was this translation helpful? Give feedback.
All reactions