Fast Healthcare Interoperability Resources (FHIR) Integration

Been working on getting a HSPC FHIR server going. So far have the following docker-compose.yml going that includes a HSPC FHIR server:

# admin/pass are default user/password credentials for openemr
# openemr is default mysql database
# openemr/openemr are default user/password credentials for mysql openemr database
version: '2.0'
services:
  mysql:
    restart: always
    image: mysql
    command: ['mysqld','--character-set-server=utf8']
    environment:
      MYSQL_ROOT_PASSWORD: root
  hapi-fhir:
    restart: always
    image: bradymiller/hapi-fhir-jpaserver-example
    ports:
    - 8080:8080
  openemr:
    restart: always
    image: openemr/openemr:5.0.1
    ports:
    - 80:80
    - 443:443
    environment:
      MYSQL_HOST: mysql
      MYSQL_ROOT_PASS: root
      MYSQL_USER: openemr
      MYSQL_PASS: openemr
      OE_USER: admin
      OE_PASS: pass
    links:
    - mysql
  phpmyadmin:
    restart: always
    image: phpmyadmin/phpmyadmin
    ports:
    - 81:80
    environment:
      PMA_HOST: mysql
    links:
    - mysql
  hspc-fhir:
    restart: always
    image: bradymiller/hspc-reference-api-webapp-multitenant
    ports:
    - 8075:8075
    - 8076:8076
    - 8077:8077
    links:
    - mysql

Have these going on a google cloud instance here:
OpenEMR is at http://35.229.69.20 (admin/pass credentials)
HAPI FHIR is at http://35.229.69.20:8080
HSPC FHIR is at http://35.229.69.20:8075

I am still struggling with the HSPC FHIR, though. Even though I set hspc.platform.api.security.mode=open in the reference-api-webapp-multitenant/src/main/resources/application.yml script (I do this before the maven build, which I then used to build the docker), the open stuff does not work (just says it’s not authorized no matter what I try). It appears I am going to need to learn more about java and java’s build/deployment tools, and I will keep plugging along on that.

-brady

1 Like