FHIR Server Facade Example Profile Overview

This sample profile shows you how to implement the FHIR Facade pattern, which involves a pseudo-FHIR server on top of an existing SQL database. A "pseudo-FHIR" makes a server capable of communicating with external applications in the FHIR format. However, the server maps the actual FHIR data to store the data in a native SQL database. Using the FHIR Facade pattern might be helpful for organizations that do not plan to use fully-fledged FHIR servers, but still need to interact with external services using the FHIR data format.

The profile shows you how to perform the following operations:

  • get inbound URL request,
  • parse the request and perform a corresponding SQL query,
  • send a response in the FHIR format.

The execution steps show you how to perform the basic operations on a Patient FHIR resource. The profile supports only GET, POST, and DELETE operations by FHIR ID, identifier, given name, family name, date of birth. The profile uses an H2 database as an example. The database contains a single table that stores information on patients. The table columns are:

  • id BIGINT AUTO_INCREMENT,
  • identifier VARCHAR(255),
  • given VARCHAR(255),
  • family VARCHAR(255),
  • dob VARCHAR(255).

Profile Location

Edifecs Library / FHIR / FHIR Interactions / FHIR Server Facade Example

Requirements

  • XEngine 9.2 or later
  • EAM 9.2 or later
  • XEServer 9.2 or later
  • FHIR Standards 9.2.

Prerequisites

To test the profile, you have to deploy the H2 database with sample patient data.

  1. Go to ${XESProfileConfig}/
  2. Unzip db.zip to ${XESProfileConfig}/