web stats
Mirth as a FHIR client - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2019, 03:09 PM
psanders psanders is offline
OBX.2 Kenobi
 
Join Date: Nov 2011
Posts: 55
psanders is on a distinguished road
Default Mirth as a FHIR client

Hello all!

I have a project to connect to an API that returns results in FHIR. I'm not yet familiar with FHIR and installed the FHIR example channel and done some reading but not finding much on how to use Mirth as a client to consume FHIR results. I've attached my channel for review, but essentially, I get this back on my destination (pasted below) of which I need to parse out the various data elements into channel maps. Is there a FHIR library I need to verify I have installed to do this, or is there any other suggestions?

Thanks

{
"Items" : [
"",
"{\"resourceType\":\"EpisodeOfCare\",\"contained\" :[{\"resourceType\":\"Patient\",\"contained\":[{\"resourceType\":\"Organization\",\"identifier\ ":[{\"value\":\"1205887130\"}],\"name\":\"T6 QA Company - Primary\"}],\"identifier\":[{\"system\":\"http://hl7.org/fhir/sid/us-ssn\"},{\"system\":\"Medical Record Number\",\"value\":\"6796\"}],\"active\":true,\"name\":[{\"use\":\"official\",\"family\":\"UAT\",\"given\" :[\"Verify \"],\"suffix\":[\"KMS\"]}],\"telecom\":[{\"system\":\"phone\",\"value\":\"(001)212-1000\"}],\"gender\":\"male\",\"birthDate\":\"3/10/1990\",\"address\":[{\"use\":\"home\",\"type\":\"both\",\"country\":\" \"}],\"communication\":[{\"language\":{\"text\":\"English\"},\"preferred\" :true}],\"managingOrganization\":{\"reference\":\"#120588 7130\"}}],\"identifier\":[{\"system\":\"Admission Guid\",\"value\":\"978fb0c9-8143-4b02-83b0-3bc940b4a876\"}],\"status\":\"active\",\"patient\":{\"reference\": \"#6796\"},\"period\":{\"start\":\"11/4/2012\"}}",
"{\"resourceType\":\"EpisodeOfCare\",\"contained\" :[{\"resourceType\":\"Patient\",\"contained\":[{\"resourceType\":\"Organization\",\"identifier\ ":[{\"value\":\"1205887130\"}],\"name\":\"T6 QA Company - Primary\"}],\"identifier\":[{\"system\":\"http://hl7.org/fhir/sid/us-ssn\",\"value\":\"212321999\"},{\"system\":\"Medic al Record Number\",\"value\":\"6689\"}],\"active\":true,\"name\":[{\"use\":\"official\",\"family\":\"Hoang\",\"given \":[\"Minh 44\"],\"suffix\":[\"KMS\"]}],\"telecom\":[{\"system\":\"phone\",\"value\":\"(432) 434-3423\"}],\"gender\":\"male\",\"birthDate\":\"9/24/1989\",\"address\":[{\"use\":\"home\",\"type\":\"both\",\"text\":\"Hom e\",\"line\":[\"LA 2122, GA 39132 \",\"21331\"],\"city\":\"Galena\",\"state\":\"OH\",\"postalCode \":\"43021\",\"country\":\"USA\"}],\"contact\":[{\"relationship\":[{\"coding\":[{\"system\":\"http://hl7.org/fhir/v2/0131\"}],\"text\":\"Spouse\"}],\"name\":{\"family\":\"Primary\",\"given\":[\"Caregiver\"]},\"telecom\":[{\"system\":\"phone\",\"value\":\"(342) 432-3234\"}]},{\"relationship\":[{\"coding\":[{\"system\":\"http://hl7.org/fhir/v2/0131\"}],\"text\":\"Brother\"}],\"name\":{\"family\":\"Emergency \",\"given\":[\"Contact\"]},\"telecom\":[{\"system\":\"phone\",\"value\":\"(342) 432-3234\"}]}],\"communication\":[{\"language\":{\"text\":\"English\"},\"preferred\" :true}],\"managingOrganization\":{\"reference\":\"#120588 7130\"}}],\"identifier\":[{\"system\":\"Admission Guid\",\"value\":\"b49ce573-bdb4-4ea7-934d-bdfb3125de40\"}],\"status\":\"active\",\"patient\":{\"reference\": \"#6689\"},\"period\":{\"start\":\"3/21/1997\"}}",
"{\"resourceType\":\"EpisodeOfCare\",\"contained\" :[{\"resourceType\":\"Patient\",\"contained\":[{\"resourceType\":\"Organization\",\"identifier\ ":[{\"value\":\"1205887130\"}],\"name\":\"T6 QA Company - Primary\"}],\"identifier\":[{\"system\":\"http://hl7.org/fhir/sid/us-ssn\",\"value\":\"241510805\"},{\"system\":\"Medic al Record Number\",\"value\":\"3610\"}],\"active\":true,\"name\":[{\"use\":\"official\",\"family\":\"Williams\",\"gi ven\":[\"Carl\"]}],\"telecom\":[{\"system\":\"phone\",\"value\":\"(252)438-6483\"}],\"gender\":\"male\",\"birthDate\":\"3/24/1964\",\"address\":[{\"use\":\"home\",\"type\":\"both\",\"text\":\"Hom e\",\"line\":[\"317 Sombrero Lane \",\"\"],\"city\":\"Henderson\",\"state\":\"NC\",\"postalC ode\":\"27537\",\"country\":\"USA\"}],\"contact\":[{\"relationship\":[{\"coding\":[{\"system\":\"http://hl7.org/fhir/v2/0131\"}],\"text\":\"Spouse\"}],\"name\":{\"family\":\"Williams\",\"given\":[\"Stephanie\"]},\"telecom\":[{\"system\":\"phone\",\"value\":\"(252)438-6483\"}]},{\"relationship\":[{\"coding\":[{\"system\":\"http://hl7.org/fhir/v2/0131\"}],\"text\":\"Spouse\"}],\"name\":{\"family\":\"Williams\",\"given\":[\"Stephanie\"]},\"telecom\":[{\"system\":\"phone\",\"value\":\"(252)438-6483\"}]}],\"communication\":[{\"language\":{\"text\":\"English\"},\"preferred\" :true}],\"managingOrganization\":{\"reference\":\"#120588 7130\"}}],\"identifier\":[{\"system\":\"Admission Guid\",\"value\":\"ea1ebb24-8eac-4264-8e68-5e0d7fd39863\"}],\"status\":\"active\",\"patient\":{\"reference\": \"#3610\"},\"period\":{\"start\":\"4/8/2004\"}}"
],
"Total" : 4090,
"PageSize" : 3,
"PageNumber" : 1
Attached Files
File Type: xml BrightTree_Patient_Test_Paul2.xml (153.1 KB, 2 views)
Reply With Quote
Reply

Tags
api, fhir, json

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 11:10 PM.


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