SlideShare a Scribd company logo
All contents © MuleSoft, LLC
Sydney MuleSoft Meetup
Thank you for joining us today! Please introduce yourself in the chat!
We will get started at 12pm Sydney time
Welcome
All contents © MuleSoft, LLC
Meet Your Sydney Meetup Leaders
2
Join the group at https://meetups.mulesoft.com/sydney/
to be notified of all future events
All contents © MuleSoft, LLC
Unleash MuleSoft Platform for Enterprise Healthcare Solutions
3
Join the group at https://meetups.mulesoft.com/sydney/
to be notified of all future events
All contents © MuleSoft, LLC
4
● MuleSoft Announcements
● Presentation
● Q&A
● Trivia & Prize
Conference Logistic
● Use the chat and Q&A link to ask questions and comment.
● Slides and recording will be shared within 24-48 hours on the event page.
Unleash MuleSoft Platform for Enterprise Healthcare
Solutions
All contents © MuleSoft, LLC
Announcements
5
All contents © MuleSoft, LLC
MuleSoft Product Releases
All contents © MuleSoft, LLC
GA
COMPOSER
Now
Available
Salesforce
Flow
ANYPOINT
PLATFORM
MuleSoft Automation
Create better customer and employee
experiences
RPA
New
Seamlessly automate work
across docs, images, modern & legacy apps
Realize value faster
across your business through clicks not code
Accelerate innovation
securely & reliably through Anypoint Platform
All contents © MuleSoft, LLC
Next generation of MuleSoft’s Managed IPaaS
MuleSoft CloudHub 2.0
GA
8
All contents © MuleSoft, LLC
Universal API Management Feature Updates
MuleSoft Universal API Management (UAPIM)
GA
● Anypoint Flex Gateway 1.1.0
● Anypoint Flex Gateway 1.1.0 Policies (LDAP and HTTP Caching)
● Message Logs for Flex Gateway within APIM
● Onboard UAPIM to Metering and Billing Service
● Event-driven APIs Support in API Governance
9
All contents © MuleSoft, LLC
MuleSoft Platform Updates
GA
● Anypoint Studio 7.13.0
● Anypoint API Manager 2.4.4
● Runtime Manager update and full Java 11 support for Mule Runtime Engine
● Anypoint Partner Manager 2.13.1
● Import and Export Scripts on DataWeave Playground
● Mule Gateway - JWT Validator Support for ES256
● Sorting for Total Request and Error Rates on API List
● Mule SDK - Troubleshooting and Diagnostics Enhancements
10
All contents © MuleSoft, LLC
Upcoming Events
All contents © MuleSoft, LLC
Upcoming Community Meetups
● Upcoming events
○ Manila: API Governance and Flex Gateways
○ Wellington: Connected Consumer Experience through MuleSoft and
Salesforce Marketing Cloud
● Weekly events
○ Check out all upcoming events every week here
● Over 150 groups world wide
○ Join from anywhere!
→ Join the Global Group: meetups.mulesoft.com/online-group-english
→ RSVP for upcoming events: meetups.mulesoft.com/events
All contents © MuleSoft, LLC 13
Become a MuleSoft Mentor
Who are MuleSoft Mentors?
● Individuals eager to become active
contributors across platforms
● Hold 1+ MuleSoft certifications (not
required!)
Why should you become a Mentor?
● Build your professional and personal brand
● Help others skill up
● Earn recognition as a Mule expert by
MuleSoft and the broader ecosystem
Apply now
mulesoft.com/mentors
A top community program
All contents © MuleSoft, LLC
Building FHIR Applications in
MongoDB using MuleSoft
Ankur Bahadur Mathur
All contents © MuleSoft, LLC
About Me
15
All contents © MuleSoft, LLC 16
Agenda
● What is FHIR and Why to use it?
● Why MongoDB Atlas?
● Why MuleSoft?
● Error Handling
● Correlation ID
● Customer Story
● Demo
All contents © MuleSoft, LLC 17
● Supports RESTful architectures:
seamless exchange of information
using messages or documents, and
service based architectures
● XML or JSON as the data
transmission format
● A strong focus on implementation –
fast and easy to implement.
● Independent of any one EHR vendor,
health system, or other for-profit health
entity
All contents © MuleSoft, LLC 18
● MongoDB Atlas is a fully-managed cloud
database
● Atlas handles all the complexity of deploying,
managing, and healing MongoDB deployments
on the cloud service provider of your choice
(AWS, Azure, and GCP).
● MongoDB and FHIR both support the JSON
format, which is extensively used in modern
application development due to its’ ability to
support rich data structures and objects
prevalent in healthcare, such as patients,
claims, policies, treatments and so on
All contents © MuleSoft, LLC 19
● Provides plug and play connector for HL7 and MongoDB Atlas.
● Provides a large number of operations and configurations on the data and the
database.
● Can work on simple request and response mechanism where a
user/application can send a request to MuleSoft integration and expect an
operation to be done to their FHIR data
Why MuleSoft?
All contents © MuleSoft, LLC 20
Error Handling in MuleSoft
● Requirement :
○ Stop the processing if there is any error while converting one format to another.
○ Do not retry until the error in the input data is fixed.
○ Send an email notification mentioning the error.
● On Error Propagate:
○ All processors in the error handling scope are executed but at the end :
■ The rest of the flow that threw the exception is not executed which means nothing will be added to
MongoDb
■ The error is re-thrown up to the next level and handled there.
All contents © MuleSoft, LLC 21
Correlation ID
● Common Identifier to all requests, messages and
responses in each transaction.
● A Correlation ID with a log entry helps in
implementing auditing.
● On failure, we just need to check the logs as per
correlation ID to get combined transactional activity
among all microservices.
● In the screenshot on the right you can see the
CorrelationID being forwarded to all Microservices.
● Screenshot below shows how in the logs we can find
audit trail of any transaction using CorrelationID.
All contents © MuleSoft, LLC
Customer Story
● Customer tried building the converter in Java but it was a very long process.
● Customer was looking for various ways to store FHIR data for example smileCDR,
which is expensive and since it is third party, it is not completely under your control.
22
All contents © MuleSoft, LLC
LIVE DEMO
All contents © MuleSoft, LLC
Links
FHIR Resources : https://www.hl7.org/fhir/resourcelist.html
Github link to the code: https://github.com/ankurbmathur/FHIR-MongoDB-Mule.git
MongoDB Atlas: https://cloud.mongodb.com/
24
All contents © MuleSoft, LLC
Thank you

More Related Content

Unleash MuleSoft Platform for Enterprise Healthcare Solutions

  • 1. All contents © MuleSoft, LLC Sydney MuleSoft Meetup Thank you for joining us today! Please introduce yourself in the chat! We will get started at 12pm Sydney time Welcome
  • 2. All contents © MuleSoft, LLC Meet Your Sydney Meetup Leaders 2 Join the group at https://meetups.mulesoft.com/sydney/ to be notified of all future events
  • 3. All contents © MuleSoft, LLC Unleash MuleSoft Platform for Enterprise Healthcare Solutions 3 Join the group at https://meetups.mulesoft.com/sydney/ to be notified of all future events
  • 4. All contents © MuleSoft, LLC 4 ● MuleSoft Announcements ● Presentation ● Q&A ● Trivia & Prize Conference Logistic ● Use the chat and Q&A link to ask questions and comment. ● Slides and recording will be shared within 24-48 hours on the event page. Unleash MuleSoft Platform for Enterprise Healthcare Solutions
  • 5. All contents © MuleSoft, LLC Announcements 5
  • 6. All contents © MuleSoft, LLC MuleSoft Product Releases
  • 7. All contents © MuleSoft, LLC GA COMPOSER Now Available Salesforce Flow ANYPOINT PLATFORM MuleSoft Automation Create better customer and employee experiences RPA New Seamlessly automate work across docs, images, modern & legacy apps Realize value faster across your business through clicks not code Accelerate innovation securely & reliably through Anypoint Platform
  • 8. All contents © MuleSoft, LLC Next generation of MuleSoft’s Managed IPaaS MuleSoft CloudHub 2.0 GA 8
  • 9. All contents © MuleSoft, LLC Universal API Management Feature Updates MuleSoft Universal API Management (UAPIM) GA ● Anypoint Flex Gateway 1.1.0 ● Anypoint Flex Gateway 1.1.0 Policies (LDAP and HTTP Caching) ● Message Logs for Flex Gateway within APIM ● Onboard UAPIM to Metering and Billing Service ● Event-driven APIs Support in API Governance 9
  • 10. All contents © MuleSoft, LLC MuleSoft Platform Updates GA ● Anypoint Studio 7.13.0 ● Anypoint API Manager 2.4.4 ● Runtime Manager update and full Java 11 support for Mule Runtime Engine ● Anypoint Partner Manager 2.13.1 ● Import and Export Scripts on DataWeave Playground ● Mule Gateway - JWT Validator Support for ES256 ● Sorting for Total Request and Error Rates on API List ● Mule SDK - Troubleshooting and Diagnostics Enhancements 10
  • 11. All contents © MuleSoft, LLC Upcoming Events
  • 12. All contents © MuleSoft, LLC Upcoming Community Meetups ● Upcoming events ○ Manila: API Governance and Flex Gateways ○ Wellington: Connected Consumer Experience through MuleSoft and Salesforce Marketing Cloud ● Weekly events ○ Check out all upcoming events every week here ● Over 150 groups world wide ○ Join from anywhere! → Join the Global Group: meetups.mulesoft.com/online-group-english → RSVP for upcoming events: meetups.mulesoft.com/events
  • 13. All contents © MuleSoft, LLC 13 Become a MuleSoft Mentor Who are MuleSoft Mentors? ● Individuals eager to become active contributors across platforms ● Hold 1+ MuleSoft certifications (not required!) Why should you become a Mentor? ● Build your professional and personal brand ● Help others skill up ● Earn recognition as a Mule expert by MuleSoft and the broader ecosystem Apply now mulesoft.com/mentors A top community program
  • 14. All contents © MuleSoft, LLC Building FHIR Applications in MongoDB using MuleSoft Ankur Bahadur Mathur
  • 15. All contents © MuleSoft, LLC About Me 15
  • 16. All contents © MuleSoft, LLC 16 Agenda ● What is FHIR and Why to use it? ● Why MongoDB Atlas? ● Why MuleSoft? ● Error Handling ● Correlation ID ● Customer Story ● Demo
  • 17. All contents © MuleSoft, LLC 17 ● Supports RESTful architectures: seamless exchange of information using messages or documents, and service based architectures ● XML or JSON as the data transmission format ● A strong focus on implementation – fast and easy to implement. ● Independent of any one EHR vendor, health system, or other for-profit health entity
  • 18. All contents © MuleSoft, LLC 18 ● MongoDB Atlas is a fully-managed cloud database ● Atlas handles all the complexity of deploying, managing, and healing MongoDB deployments on the cloud service provider of your choice (AWS, Azure, and GCP). ● MongoDB and FHIR both support the JSON format, which is extensively used in modern application development due to its’ ability to support rich data structures and objects prevalent in healthcare, such as patients, claims, policies, treatments and so on
  • 19. All contents © MuleSoft, LLC 19 ● Provides plug and play connector for HL7 and MongoDB Atlas. ● Provides a large number of operations and configurations on the data and the database. ● Can work on simple request and response mechanism where a user/application can send a request to MuleSoft integration and expect an operation to be done to their FHIR data Why MuleSoft?
  • 20. All contents © MuleSoft, LLC 20 Error Handling in MuleSoft ● Requirement : ○ Stop the processing if there is any error while converting one format to another. ○ Do not retry until the error in the input data is fixed. ○ Send an email notification mentioning the error. ● On Error Propagate: ○ All processors in the error handling scope are executed but at the end : ■ The rest of the flow that threw the exception is not executed which means nothing will be added to MongoDb ■ The error is re-thrown up to the next level and handled there.
  • 21. All contents © MuleSoft, LLC 21 Correlation ID ● Common Identifier to all requests, messages and responses in each transaction. ● A Correlation ID with a log entry helps in implementing auditing. ● On failure, we just need to check the logs as per correlation ID to get combined transactional activity among all microservices. ● In the screenshot on the right you can see the CorrelationID being forwarded to all Microservices. ● Screenshot below shows how in the logs we can find audit trail of any transaction using CorrelationID.
  • 22. All contents © MuleSoft, LLC Customer Story ● Customer tried building the converter in Java but it was a very long process. ● Customer was looking for various ways to store FHIR data for example smileCDR, which is expensive and since it is third party, it is not completely under your control. 22
  • 23. All contents © MuleSoft, LLC LIVE DEMO
  • 24. All contents © MuleSoft, LLC Links FHIR Resources : https://www.hl7.org/fhir/resourcelist.html Github link to the code: https://github.com/ankurbmathur/FHIR-MongoDB-Mule.git MongoDB Atlas: https://cloud.mongodb.com/ 24
  • 25. All contents © MuleSoft, LLC Thank you