HL7 FHIR API Module

Hi all,
In the past several months my team has been working on a module that extends the Openemr API.
This API extension adheres to the HL7 FHIR (release 4) API standard, and we are constantly adding more functionality and implementations of the FHIR standard.
The source code for this module is hosted on Github here:


This repository contains some other modules along with the FhirAPI module. Some of these modules need to be installed as a prerequisite to the FhirAPI module.
Documentation on how to install the FhirAPI module can be found here:
https://clinikal-documentation.readthedocs.io/en/latest/

We are also currently developing a React Single-Page-Application that will communicate with the Openemr API, but this is still very much a work in progress.

Both the FHIR API implementation and the React SPA are projects supported by the Israel Ministry Of Health.

Just wanted to let the community in on this, and will be happy to answer any questions :slight_smile:

5 Likes

Hi Shachar,

Following the directions and executing composer update clinikal after updating the composer.json file I am getting a long error like the below.

Any idea what is off?

Package “clinikal” listed for update is not installed. Ignoring.
Loading composer repositories with package information

Could not fetch https://api.github.com/repos/israeli-moh/clinikal-backend/tags?per_page=100, please create a GitHub
OAuth token to go over the API rate limit
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+openemr-particle-vm+2020-10-13+1
659
to retrieve a token. It will be stored in “/root/.config/composer/auth.json” for future use by Composer.
Token (hidden):
Token stored successfully.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1

  • dompdf/dompdf v0.7.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • dompdf/dompdf v0.7.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
  • dompdf/dompdf v0.7.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • Installation request for dompdf/dompdf 0.7.0 -> satisfiable by dompdf/dompdf[v0.7.0].
    To enable extensions, verify that they are enabled in those .ini files:
  • /etc/php/7.0/cli/php.ini
  • /etc/php/7.0/cli/conf.d/10-opcache.ini
  • /etc/php/7.0/cli/conf.d/10-pdo.ini
  • /etc/php/7.0/cli/conf.d/20-calendar.ini
  • /etc/php/7.0/cli/conf.d/20-ctype.ini
  • /etc/php/7.0/cli/conf.d/20-exif.ini
  • /etc/php/7.0/cli/conf.d/20-fileinfo.ini
  • /etc/php/7.0/cli/conf.d/20-ftp.ini
  • /etc/php/7.0/cli/conf.d/20-gettext.ini
  • /etc/php/7.0/cli/conf.d/20-iconv.ini
  • /etc/php/7.0/cli/conf.d/20-json.ini
  • /etc/php/7.0/cli/conf.d/20-phar.ini
  • /etc/php/7.0/cli/conf.d/20-posix.ini
  • /etc/php/7.0/cli/conf.d/20-readline.ini
  • /etc/php/7.0/cli/conf.d/20-shmop.ini
  • /etc/php/7.0/cli/conf.d/20-sockets.ini
  • /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
  • /etc/php/7.0/cli/conf.d/20-sysvsem.ini
  • /etc/php/7.0/cli/conf.d/20-sysvshm.ini
  • /etc/php/7.0/cli/conf.d/20-tokenizer.ini
    You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

Hi @daveboerner

Seems you need install and enable php extensions in your machine, ext-dom and ext-gd.