So here's my situation. I'm new to Mirth Connect and API in general.
I'm working on a project where I have 2 Docker containers running:
- One that runs Mirth Connect
- One that runs a health information management system
I'm trying to import data that is in a CSV file to the health information management system by passing it through Mirth Connect (without transforming the data).
I first tested this locally by using this curl command:
This command worked perfectly fine when running it through my command prompt locally. I could confirm the data was received by the health information system.
I then tried to reproduce this in a Mirth Connect channel. The source part seems to work fine, however the destination part gives an error (see attached file).
You'll also find my destination tab configuration attached, and here's how the tab looks in Mirth:
mirthDestination.png
Note that since I'm using Docker, I created a virtual network and I'm referencing the other container by name instead of IP Address.
Thanks a lot!
I'm working on a project where I have 2 Docker containers running:
- One that runs Mirth Connect
- One that runs a health information management system
I'm trying to import data that is in a CSV file to the health information management system by passing it through Mirth Connect (without transforming the data).
I first tested this locally by using this curl command:
Code:
curl --data-binary @template_import.csv "localhost:8080/api/dataValueSets?dataElementIdScheme=code&orgUnitIdSc heme=code&categoryOptionComboIdScheme=code&dryRun= false&importStrategy=CREATE" -H "Content-Type:application/csv" -u admin:district
I then tried to reproduce this in a Mirth Connect channel. The source part seems to work fine, however the destination part gives an error (see attached file).
You'll also find my destination tab configuration attached, and here's how the tab looks in Mirth:
mirthDestination.png
Note that since I'm using Docker, I created a virtual network and I'm referencing the other container by name instead of IP Address.
Thanks a lot!
Comment