SlideShare ist ein Scribd-Unternehmen logo
1 von 17
FHIR – Feel the Fire - Part 1

                      Jayant Singh
              http://www.j4jayant.com




                                        1
Feel the Fire
FHIR provides very good specification
http://www.hl7.org/implement/standards/fhir/
Hands on experience on any thing helps
understand it better.

Connect FHIR test servers and explore FHIR -
healthcare resources in RESTful environment.



                                               2
Connect Test Servers
I will discuss two approaches to connect test
server

Fiddler
Write your own client (in C#)

I will connect Grahame's test server available at
http://hl7connect.healthintersections.com.au/svc/fhir/

                                                         3
Connect using Fiddler
Fiddler is simple tool which we will use to
compose requests to RESTful FHIR test servers

Download and install Fiddler from
http://www.fiddler2.com/fiddler2/




                                                4
Conformance Resource - Request
First step - request a conformance resource to know how an
application or implementation supports FHIR.

OPTIONS
http://hl7connect.healthintersections.com.au/svc/fhir/




                                                             5
Conformance Resource - Response
Read the conformance carefully to understand supported FHIR
resources




                                                              6
Patient Resource Feed - Request
GET
http://hl7connect.healthintersections.com.au/svc/fhir/patient

In this request we have specified “Accept” Http header to specify
content type for this request as xml




                                                                    7
Patient Resource Feed - Response
feed with collection of all the patient resources. Each patient
resource will be inside “entry” element.
Go through each element in this xml and understand it by
comparing with definition available in specification




                                                                  8
Patient Resource - Request
GET
http://hl7connect.healthintersections.com.au/svc/fhir/patient/@1

In this request we have specified “Accept” Http header to specify
content type for this request as json




                                                                    9
Patient Resource - Response
Patient Resource
Go through each element in this json and understand it by
comparing with definition available in specification




                                                            10
Bad Request
Try to query a resource which is not available
GET
http://hl7connect.healthintersections.com.au/svc/fhir/pati
ent/@1123
This will return HTTP 404 Not Found status code




                                                         11
Write a Client in C#
Writing your own client to query resources from
test server will help you understand the FHIR &
RESTful environment.

Sample code provided here is written in C# and
uses a library RestSharp to make RESTful
request/response.


                                                 12
Sample Code
//create a RestClient
var client = new RestClient();

//Assign base url of RESTFul Server
client.BaseUrl = txtUri.Text.Trim();

//HTTP method(GET/POST etc) to use for this request
Method method = (Method)Enum.Parse((typeof(Method)), cmbHttpOptions.Text);

//Create RestRequest
var request = new RestRequest(method);

//Add header "Accept" to request xml or json data format
if (cmbContentType.Text.Equals("xml"))
     request.AddHeader("Accept", "application/xml");
else
     request.AddHeader("Accept", "application/json");

//resource to query like patient, patient/@1, document etc.
request.Resource = txtResource.Text.Trim();

//Execute the request and get response
IRestResponse response = client.Execute(request);

//display the raw response header
txtResult.Text = "************Response Header***********n";

for (int i = 0; i < response.Headers.Count; i++)
     txtResult.Text += response.Headers[i].Name + ": " + response.Headers[i].Value + "n";

txtResult.Text += "StatusCode: " + response.StatusCode + "n";

//display the raw response content
txtResult.Text += "nn************Raw Content**********n";                                 13
txtResult.Text += response.Content;
Using this client
Request Patient Resource with xml response




                                             14
Using this client
Request Document Resource with json response




                                          15
Important
Try more resource URIs on your own to explore
other resources
http://hl7connect.healthintersections.com.au/sv
c/fhir/ lists all the supported resources and their
profiles

Note that these servers are testing servers. They
may be sporadically unavailable

                                                  16
Thank You

            Jayant Singh
    http://www.j4jayant.com




                              17

Weitere ähnliche Inhalte

Was ist angesagt?

The FHIR burns brighter (what's new in DSTU2)
The FHIR burns brighter (what's new in DSTU2)The FHIR burns brighter (what's new in DSTU2)
The FHIR burns brighter (what's new in DSTU2)Ewout Kramer
 
FHIR Profiles
FHIR ProfilesFHIR Profiles
FHIR ProfilesDavid Hay
 
FHIR Tutorial - Morning
FHIR Tutorial - MorningFHIR Tutorial - Morning
FHIR Tutorial - MorningEwout Kramer
 
Vitalis 2016 FHIR Introduction
Vitalis 2016 FHIR IntroductionVitalis 2016 FHIR Introduction
Vitalis 2016 FHIR IntroductionEwout Kramer
 
FHIR - more than the basics
FHIR - more than the basicsFHIR - more than the basics
FHIR - more than the basicsEwout Kramer
 
HL7 FHIR - Out-of-the-box eHealth interoperability
HL7 FHIR - Out-of-the-box eHealth interoperabilityHL7 FHIR - Out-of-the-box eHealth interoperability
HL7 FHIR - Out-of-the-box eHealth interoperabilityEwout Kramer
 
Profile and validation by Grahame Grieve
Profile and validation by Grahame GrieveProfile and validation by Grahame Grieve
Profile and validation by Grahame GrieveFHIR Developer Days
 
FHIR API for .Net programmers by Mirjam Baltus
FHIR API for .Net programmers by Mirjam BaltusFHIR API for .Net programmers by Mirjam Baltus
FHIR API for .Net programmers by Mirjam BaltusFHIR Developer Days
 
FHIR Documents by Lloyd McKenzie
FHIR Documents by Lloyd McKenzieFHIR Documents by Lloyd McKenzie
FHIR Documents by Lloyd McKenzieFHIR Developer Days
 
Introduction to FHIR™
Introduction to FHIR™Introduction to FHIR™
Introduction to FHIR™Grahame Grieve
 
FHIR intro and background at HL7 Germany 2014
FHIR intro and background at HL7 Germany 2014FHIR intro and background at HL7 Germany 2014
FHIR intro and background at HL7 Germany 2014Ewout Kramer
 
FHIR Search for server developers by Martijn Harthoorn
FHIR Search for server developers by Martijn HarthoornFHIR Search for server developers by Martijn Harthoorn
FHIR Search for server developers by Martijn HarthoornFHIR Developer Days
 
FHIR Search for client developers by Mirjam Baltus
FHIR Search for client developers by Mirjam BaltusFHIR Search for client developers by Mirjam Baltus
FHIR Search for client developers by Mirjam BaltusFHIR Developer Days
 
Patient matching in FHIR
Patient matching in FHIRPatient matching in FHIR
Patient matching in FHIRGrahame Grieve
 
FHIR DevDays 2015 - introduction to FHIR
FHIR DevDays 2015 - introduction to FHIRFHIR DevDays 2015 - introduction to FHIR
FHIR DevDays 2015 - introduction to FHIREwout Kramer
 
Terminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieTerminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieFHIR Developer Days
 
Getting started with FHIR by Ewout Kramer
Getting started with FHIR by Ewout KramerGetting started with FHIR by Ewout Kramer
Getting started with FHIR by Ewout KramerFHIR Developer Days
 
Advanced .NET API (Ewout)
Advanced .NET API (Ewout)Advanced .NET API (Ewout)
Advanced .NET API (Ewout)Ewout Kramer
 
Security in FHIR with OAuth by Grahame Grieve
Security in FHIR with OAuth by Grahame GrieveSecurity in FHIR with OAuth by Grahame Grieve
Security in FHIR with OAuth by Grahame GrieveFHIR Developer Days
 
FHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFurore_com
 

Was ist angesagt? (20)

The FHIR burns brighter (what's new in DSTU2)
The FHIR burns brighter (what's new in DSTU2)The FHIR burns brighter (what's new in DSTU2)
The FHIR burns brighter (what's new in DSTU2)
 
FHIR Profiles
FHIR ProfilesFHIR Profiles
FHIR Profiles
 
FHIR Tutorial - Morning
FHIR Tutorial - MorningFHIR Tutorial - Morning
FHIR Tutorial - Morning
 
Vitalis 2016 FHIR Introduction
Vitalis 2016 FHIR IntroductionVitalis 2016 FHIR Introduction
Vitalis 2016 FHIR Introduction
 
FHIR - more than the basics
FHIR - more than the basicsFHIR - more than the basics
FHIR - more than the basics
 
HL7 FHIR - Out-of-the-box eHealth interoperability
HL7 FHIR - Out-of-the-box eHealth interoperabilityHL7 FHIR - Out-of-the-box eHealth interoperability
HL7 FHIR - Out-of-the-box eHealth interoperability
 
Profile and validation by Grahame Grieve
Profile and validation by Grahame GrieveProfile and validation by Grahame Grieve
Profile and validation by Grahame Grieve
 
FHIR API for .Net programmers by Mirjam Baltus
FHIR API for .Net programmers by Mirjam BaltusFHIR API for .Net programmers by Mirjam Baltus
FHIR API for .Net programmers by Mirjam Baltus
 
FHIR Documents by Lloyd McKenzie
FHIR Documents by Lloyd McKenzieFHIR Documents by Lloyd McKenzie
FHIR Documents by Lloyd McKenzie
 
Introduction to FHIR™
Introduction to FHIR™Introduction to FHIR™
Introduction to FHIR™
 
FHIR intro and background at HL7 Germany 2014
FHIR intro and background at HL7 Germany 2014FHIR intro and background at HL7 Germany 2014
FHIR intro and background at HL7 Germany 2014
 
FHIR Search for server developers by Martijn Harthoorn
FHIR Search for server developers by Martijn HarthoornFHIR Search for server developers by Martijn Harthoorn
FHIR Search for server developers by Martijn Harthoorn
 
FHIR Search for client developers by Mirjam Baltus
FHIR Search for client developers by Mirjam BaltusFHIR Search for client developers by Mirjam Baltus
FHIR Search for client developers by Mirjam Baltus
 
Patient matching in FHIR
Patient matching in FHIRPatient matching in FHIR
Patient matching in FHIR
 
FHIR DevDays 2015 - introduction to FHIR
FHIR DevDays 2015 - introduction to FHIRFHIR DevDays 2015 - introduction to FHIR
FHIR DevDays 2015 - introduction to FHIR
 
Terminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieTerminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzie
 
Getting started with FHIR by Ewout Kramer
Getting started with FHIR by Ewout KramerGetting started with FHIR by Ewout Kramer
Getting started with FHIR by Ewout Kramer
 
Advanced .NET API (Ewout)
Advanced .NET API (Ewout)Advanced .NET API (Ewout)
Advanced .NET API (Ewout)
 
Security in FHIR with OAuth by Grahame Grieve
Security in FHIR with OAuth by Grahame GrieveSecurity in FHIR with OAuth by Grahame Grieve
Security in FHIR with OAuth by Grahame Grieve
 
FHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René Spronk
 

Andere mochten auch

Top 10 dietitian assistant interview questions and answers
Top 10 dietitian assistant interview questions and answersTop 10 dietitian assistant interview questions and answers
Top 10 dietitian assistant interview questions and answersbrianmiller028
 
Asap interview questions and answers
Asap interview questions and answersAsap interview questions and answers
Asap interview questions and answersGarryFlitcroft789
 
Leveraging Open Source Integration with WSO2 Enterprise Service Bus
Leveraging Open Source Integration with WSO2 Enterprise Service BusLeveraging Open Source Integration with WSO2 Enterprise Service Bus
Leveraging Open Source Integration with WSO2 Enterprise Service BusWSO2
 
How to Assess the ROI of Your Population Health Initiative
How to Assess the ROI of Your Population Health InitiativeHow to Assess the ROI of Your Population Health Initiative
How to Assess the ROI of Your Population Health InitiativeHealth Catalyst
 
FHIR API for Java programmers by James Agnew
FHIR API for Java programmers by James AgnewFHIR API for Java programmers by James Agnew
FHIR API for Java programmers by James AgnewFHIR Developer Days
 
Top 10 systems integration interview questions with answers
Top 10 systems integration interview questions with answersTop 10 systems integration interview questions with answers
Top 10 systems integration interview questions with answersthompsonhollie02
 
Patient satisfaction
Patient satisfactionPatient satisfaction
Patient satisfactionNc Das
 
In Pursuit of the Patient Stratification Gold Standard: Getting There with He...
In Pursuit of the Patient Stratification Gold Standard: Getting There with He...In Pursuit of the Patient Stratification Gold Standard: Getting There with He...
In Pursuit of the Patient Stratification Gold Standard: Getting There with He...Health Catalyst
 
Healthcare Information Systems - Past, Present, and Future
Healthcare Information Systems - Past, Present, and FutureHealthcare Information Systems - Past, Present, and Future
Healthcare Information Systems - Past, Present, and FutureHealth Catalyst
 

Andere mochten auch (10)

Top 10 dietitian assistant interview questions and answers
Top 10 dietitian assistant interview questions and answersTop 10 dietitian assistant interview questions and answers
Top 10 dietitian assistant interview questions and answers
 
Asap interview questions and answers
Asap interview questions and answersAsap interview questions and answers
Asap interview questions and answers
 
Leveraging Open Source Integration with WSO2 Enterprise Service Bus
Leveraging Open Source Integration with WSO2 Enterprise Service BusLeveraging Open Source Integration with WSO2 Enterprise Service Bus
Leveraging Open Source Integration with WSO2 Enterprise Service Bus
 
FHIR Server Design Review
FHIR Server Design ReviewFHIR Server Design Review
FHIR Server Design Review
 
How to Assess the ROI of Your Population Health Initiative
How to Assess the ROI of Your Population Health InitiativeHow to Assess the ROI of Your Population Health Initiative
How to Assess the ROI of Your Population Health Initiative
 
FHIR API for Java programmers by James Agnew
FHIR API for Java programmers by James AgnewFHIR API for Java programmers by James Agnew
FHIR API for Java programmers by James Agnew
 
Top 10 systems integration interview questions with answers
Top 10 systems integration interview questions with answersTop 10 systems integration interview questions with answers
Top 10 systems integration interview questions with answers
 
Patient satisfaction
Patient satisfactionPatient satisfaction
Patient satisfaction
 
In Pursuit of the Patient Stratification Gold Standard: Getting There with He...
In Pursuit of the Patient Stratification Gold Standard: Getting There with He...In Pursuit of the Patient Stratification Gold Standard: Getting There with He...
In Pursuit of the Patient Stratification Gold Standard: Getting There with He...
 
Healthcare Information Systems - Past, Present, and Future
Healthcare Information Systems - Past, Present, and FutureHealthcare Information Systems - Past, Present, and Future
Healthcare Information Systems - Past, Present, and Future
 

Ähnlich wie FHIR - Feel the Fire - 1

Building Restful Applications Using Php
Building Restful Applications Using PhpBuilding Restful Applications Using Php
Building Restful Applications Using PhpSudheer Satyanarayana
 
Furore devdays2017 general-introtofhir
Furore devdays2017 general-introtofhirFurore devdays2017 general-introtofhir
Furore devdays2017 general-introtofhirDevDays
 
Validation in net and java (ewout james)
Validation in net and java (ewout james)Validation in net and java (ewout james)
Validation in net and java (ewout james)DevDays
 
JAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with JavaJAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with JavaJerry Kurian
 
APIsecure 2023 - All #FHIRed Up, John Moehrke
APIsecure 2023 - All #FHIRed Up, John MoehrkeAPIsecure 2023 - All #FHIRed Up, John Moehrke
APIsecure 2023 - All #FHIRed Up, John Moehrkeapidays
 
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...FHIR Developer Days
 
Terminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieTerminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieFurore_com
 
Code-Camp-Rest-Principles
Code-Camp-Rest-PrinciplesCode-Camp-Rest-Principles
Code-Camp-Rest-PrinciplesKnoldus Inc.
 
Spring review_for Semester II of Year 4
Spring review_for Semester II of Year 4Spring review_for Semester II of Year 4
Spring review_for Semester II of Year 4than sare
 
Resource-Oriented Web Services
Resource-Oriented Web ServicesResource-Oriented Web Services
Resource-Oriented Web ServicesBradley Holt
 
Real world RESTful service development problems and solutions
Real world RESTful service development problems and solutionsReal world RESTful service development problems and solutions
Real world RESTful service development problems and solutionsBhakti Mehta
 

Ähnlich wie FHIR - Feel the Fire - 1 (20)

ReSTful API Final
ReSTful API FinalReSTful API Final
ReSTful API Final
 
Building Restful Applications Using Php
Building Restful Applications Using PhpBuilding Restful Applications Using Php
Building Restful Applications Using Php
 
Furore devdays2017 general-introtofhir
Furore devdays2017 general-introtofhirFurore devdays2017 general-introtofhir
Furore devdays2017 general-introtofhir
 
eZ Publish REST API v2
eZ Publish REST API v2eZ Publish REST API v2
eZ Publish REST API v2
 
E zsc2012 rest-api-v2
E zsc2012 rest-api-v2E zsc2012 rest-api-v2
E zsc2012 rest-api-v2
 
Validation in net and java (ewout james)
Validation in net and java (ewout james)Validation in net and java (ewout james)
Validation in net and java (ewout james)
 
Api manager preconference
Api manager preconferenceApi manager preconference
Api manager preconference
 
Apache error
Apache errorApache error
Apache error
 
JAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with JavaJAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with Java
 
APIsecure 2023 - All #FHIRed Up, John Moehrke
APIsecure 2023 - All #FHIRed Up, John MoehrkeAPIsecure 2023 - All #FHIRed Up, John Moehrke
APIsecure 2023 - All #FHIRed Up, John Moehrke
 
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
 
Terminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieTerminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzie
 
Best Practices in Api Design
Best Practices in Api DesignBest Practices in Api Design
Best Practices in Api Design
 
Code-Camp-Rest-Principles
Code-Camp-Rest-PrinciplesCode-Camp-Rest-Principles
Code-Camp-Rest-Principles
 
Rest Webservice
Rest WebserviceRest Webservice
Rest Webservice
 
Spring review_for Semester II of Year 4
Spring review_for Semester II of Year 4Spring review_for Semester II of Year 4
Spring review_for Semester II of Year 4
 
Resource-Oriented Web Services
Resource-Oriented Web ServicesResource-Oriented Web Services
Resource-Oriented Web Services
 
Real world RESTful service development problems and solutions
Real world RESTful service development problems and solutionsReal world RESTful service development problems and solutions
Real world RESTful service development problems and solutions
 
Salesforce REST API
Salesforce  REST API Salesforce  REST API
Salesforce REST API
 
API Design- Best Practices
API Design-   Best PracticesAPI Design-   Best Practices
API Design- Best Practices
 

Kürzlich hochgeladen

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 

Kürzlich hochgeladen (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

FHIR - Feel the Fire - 1

  • 1. FHIR – Feel the Fire - Part 1 Jayant Singh http://www.j4jayant.com 1
  • 2. Feel the Fire FHIR provides very good specification http://www.hl7.org/implement/standards/fhir/ Hands on experience on any thing helps understand it better. Connect FHIR test servers and explore FHIR - healthcare resources in RESTful environment. 2
  • 3. Connect Test Servers I will discuss two approaches to connect test server Fiddler Write your own client (in C#) I will connect Grahame's test server available at http://hl7connect.healthintersections.com.au/svc/fhir/ 3
  • 4. Connect using Fiddler Fiddler is simple tool which we will use to compose requests to RESTful FHIR test servers Download and install Fiddler from http://www.fiddler2.com/fiddler2/ 4
  • 5. Conformance Resource - Request First step - request a conformance resource to know how an application or implementation supports FHIR. OPTIONS http://hl7connect.healthintersections.com.au/svc/fhir/ 5
  • 6. Conformance Resource - Response Read the conformance carefully to understand supported FHIR resources 6
  • 7. Patient Resource Feed - Request GET http://hl7connect.healthintersections.com.au/svc/fhir/patient In this request we have specified “Accept” Http header to specify content type for this request as xml 7
  • 8. Patient Resource Feed - Response feed with collection of all the patient resources. Each patient resource will be inside “entry” element. Go through each element in this xml and understand it by comparing with definition available in specification 8
  • 9. Patient Resource - Request GET http://hl7connect.healthintersections.com.au/svc/fhir/patient/@1 In this request we have specified “Accept” Http header to specify content type for this request as json 9
  • 10. Patient Resource - Response Patient Resource Go through each element in this json and understand it by comparing with definition available in specification 10
  • 11. Bad Request Try to query a resource which is not available GET http://hl7connect.healthintersections.com.au/svc/fhir/pati ent/@1123 This will return HTTP 404 Not Found status code 11
  • 12. Write a Client in C# Writing your own client to query resources from test server will help you understand the FHIR & RESTful environment. Sample code provided here is written in C# and uses a library RestSharp to make RESTful request/response. 12
  • 13. Sample Code //create a RestClient var client = new RestClient(); //Assign base url of RESTFul Server client.BaseUrl = txtUri.Text.Trim(); //HTTP method(GET/POST etc) to use for this request Method method = (Method)Enum.Parse((typeof(Method)), cmbHttpOptions.Text); //Create RestRequest var request = new RestRequest(method); //Add header "Accept" to request xml or json data format if (cmbContentType.Text.Equals("xml")) request.AddHeader("Accept", "application/xml"); else request.AddHeader("Accept", "application/json"); //resource to query like patient, patient/@1, document etc. request.Resource = txtResource.Text.Trim(); //Execute the request and get response IRestResponse response = client.Execute(request); //display the raw response header txtResult.Text = "************Response Header***********n"; for (int i = 0; i < response.Headers.Count; i++) txtResult.Text += response.Headers[i].Name + ": " + response.Headers[i].Value + "n"; txtResult.Text += "StatusCode: " + response.StatusCode + "n"; //display the raw response content txtResult.Text += "nn************Raw Content**********n"; 13 txtResult.Text += response.Content;
  • 14. Using this client Request Patient Resource with xml response 14
  • 15. Using this client Request Document Resource with json response 15
  • 16. Important Try more resource URIs on your own to explore other resources http://hl7connect.healthintersections.com.au/sv c/fhir/ lists all the supported resources and their profiles Note that these servers are testing servers. They may be sporadically unavailable 16
  • 17. Thank You Jayant Singh http://www.j4jayant.com 17