Stream: implementers
Topic: with PHP
technodeviser (Sep 12 2019 at 10:41):
Hi guys, I want to implement FHIR APIs in my website which is going to be develop in PHP platform. I came to know that there is no library available in this platform. If anyone did the same, please provide me some details. Thanks!
Grahame Grieve (Sep 12 2019 at 10:44):
@Matthew Koch
Matthew Koch (Sep 12 2019 at 11:23):
You have some choices here but there are no full fledged solutions for a FHIR server/client written in PHP that I am aware of. To begin, what are you looking to achieve? Is your website going to consume FHIR data or expose it?
technodeviser (Sep 12 2019 at 11:31):
Thanks for your response :) Okay so as we don't have any library for PHP, so how can we use get the data from it ? Basically I wanted to develop an website where doctor/patient records will be stored & retrieved on the basis of any unique ids & I will perform further operations.
Matthew Koch (Sep 12 2019 at 12:05):
There are many use cases where a FHIR transformational layer sits between an interface (UI, Web service, etc) and a relational data store - in your case, you might look at using PHP to build your web app and then use some FHIR tooling to transform your PHP classes according to your needs.
At the FHIR dev days conferences there were several people that designed their databases as a normal relational data store and then tacked on a json/blob column to hold the FHIR representation of the resource.
Matthew Koch (Sep 12 2019 at 12:06):
For PHP, we have used the open source FHIR libraries created and maintained by Daniel Carbone: https://github.com/dcarbone/php-fhir
Grahame Grieve (Sep 17 2019 at 15:59):
@Sebastiaan Knijnenburg
Last updated: Apr 12 2022 at 19:14 UTC