Skip to content

Latest commit

 

History

History

FHIR

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

FHIR Search with POST

How to use

  1. Copy the default.env to .env and adapt the value(s) to your needs
  2. Run test_post.sh

Background / Motivation

  • With GET requests, the request and all sent parameters (potentially containing sensitive information) may be logged
  • With POST FHIR-Search requests, the URL is always like https://your-fhir-server/fhir/Patient/_search but with all sensitive content in its body
  • GET requests are limited in length. The body of the POST request isn't

The data-test.txt file

Scheme:

param1=value1&param2=value2

Further readings

Thanks

Thanks to @subfuzion for his curl gist here: https://gist.github.com/subfuzion/08c5d85437d5d4f00e58!