FHIR Profile Demo
This repository demonstrates how to create, load, and validate FHIR Profiles using InterSystems IRIS for Health.
It includes a sample FHIR repository and a Patient FHIR profile, along with example requests to validate resources against the profile.
The project is containerized using Docker Compose for easy setup and execution.
π Features
- Sample FHIR repository configuration
- Patient FHIR profile loaded into IRIS for Health
- Validation of FHIR resources against profiles
- Ready-to-use
.http request files
- Fully Dockerized environment
βοΈ Prerequisites
Before starting, ensure you have the following installed:
- REST Client extension for VS Code
βοΈ Installation
1. Clone the Repository
git clone https://github.com/AshokThangavel/fhir-profile-demo.git
cd fhir-profile-demo
π³ Running the Application with Docker
Build and start the application using Docker Compose:
docker-compose up --build
This will:
- Start InterSystems IRIS for Health
- Configure the FHIR repository
- Load the Patient FHIR profile automatically
β³ Initial startup take a few minutes.
π Stopping the Application
To stop and remove all running containers:
docker-compose down
π§ Technical Details
Once InterSystems IRIS is up and running:
- The FHIR repository is initialized
- The Patient FHIR profile is loaded into the repository
- Validation endpoints become available
π Sample Request Files
Navigate to the requests directory to find validation examples:
1. ValidateCorrectPatientProfile.http
- Sends a valid Patient resource
- Confirms successful validation against the profile
2. ValidateFailedPatientProfile.http
- Sends an invalid Patient resource
- Demonstrates validation failure and error messages
π§ͺ Using the .http Files
These .http files can be executed directly from Visual Studio Code.
Step 1: Install REST Client Extension
Install the REST Client extension:
- Extension ID:
humao.rest-client
Step 2: Run Requests
- Open any
.http file in VS Code
- Click Send Request above the HTTP request
- Review the response in the VS Code output pane
π Accessing InterSystems IRIS
Open the InterSystems IRIS Management Portal in your browser:
http://localhost:52773/csp/sys/UtilHome.csp