Overview
The HL7 Connectivity Providers Client is a Java Swing desktop application that enables healthcare providers to integrate with HL7 services. This guide will walk you through setting up, building, and running your first HL7 transaction.Prerequisites
Before you begin, ensure you have:- Java Development Kit (JDK) 8 or higher
- Apache Maven 3.6+
- Git (for cloning the repository)
- Valid API credentials (email, password, and API key)
- Access to one of the environments: DEV, QA, PRE, or PRD
Quick Setup
Build the Application
Use Maven to compile and package the application into an executable JAR:This command:
- Compiles all Java source files
- Runs the test suite
- Creates a shaded (uber) JAR with all dependencies included
- Outputs the JAR to
target/connectivity-providers-client-1.0-SNAPSHOT.jar
The build process uses the
maven-shade-plugin to create a single executable JAR file containing all dependencies. This makes deployment and distribution much easier.Run the Application
Launch the application using Java:Or use the Maven exec plugin:The application will start and display the login screen.
Login to the System
On the login screen, provide:
- Email: Your user email address
- Password: Your account password
- API Key: Your organization’s API key
- Environment: Select from DEV, QA, PRE, or PRD
The authentication process creates a device token and establishes a session. The application automatically handles token refresh to maintain your session.
Understanding the Login Flow
The authentication process follows this sequence:Session Management
The application maintains your session through:- SessionContext: Stores authentication token, environment, and user data
- SessionRefreshManager: Automatically refreshes your token before expiration
- AuthRefresher: Handles token refresh logic from
AuthService.java:95
Making Your First HL7 Request
Here’s how to perform an eligibility check:Application Startup Process
The application bootstraps in the following order:Environment Configuration
The application supports four environments:EnvironmentConfig.java:12, which constructs endpoint URLs dynamically based on the selected environment.
Next Steps
Installation Details
Learn about system requirements, dependencies, and deployment options
Configuration
Configure environments, API endpoints, and application settings
HL7 Transactions
Detailed guide on eligibility, registration, and cancellation operations
API Reference
Complete API documentation and code examples
Troubleshooting
Common Issues
Build Failures If Maven build fails, ensure:- Java 8+ is installed and
JAVA_HOMEis set correctly - Maven 3.6+ is installed
- You have internet connectivity for dependency downloads
- Check Java version:
java -version - Verify the JAR was built successfully
- Review logs for specific error messages
- Check your network connection
- Verify the authentication server is accessible
- Re-login with valid credentials
Support
For additional help:- Review the complete Installation Guide
- Check the API documentation
- Contact your system administrator for access issues