A complete implementation guide for HMIS integration teams connecting with the Health Information Exchange (HIE) — Client Registry, Facility Registry, Health Worker Registry and Claims systems.
Following these guidelines ensures your HMIS interfaces correctly with the HIE's critical components. Comptracks Systems built this guide from real-world SHA integration projects to help engineering teams plan and scope their own implementation.
| Icon | Level | Description |
|---|---|---|
| 🔴 | Critical | Essential functionality — must be implemented |
| 🟠 | Standard | Expected functionality — should be implemented |
| 🟢 | Advanced | Enhanced functionality — optional features |
| Requirement | Details |
|---|---|
| API Source | Use only APIs provided through the official portal |
| No Third-Party | Avoid unofficial interfaces or middleware |
| Data Exchange | All communication through official channels only |
Best Practices: maintain up-to-date API documentation, implement proper authentication and security, monitor API usage and performance.
| Requirement | Details |
|---|---|
| Implementation | Direct integration within HMIS itself |
| No Middleware | No external components or third-party systems |
| Native Functionality | All features built into the HMIS |
| Feature | Implementation Details |
|---|---|
| Registration Form | Implement patient registration functionality |
| ID Search | Search by ID number capability |
| PIN Management | Set default PIN, enable PIN changes |
| User Awareness | Inform patients about PIN for Afyayangu login |
| Parameter | Required | Description |
|---|---|---|
| ID Number | Yes | National identification number |
| Full Name | Yes | Complete patient name |
| Date of Birth | Yes | Patient's date of birth |
| Phone Number | No | Contact phone number |
| Other Identifiers | No | As per API documentation |
Enable comprehensive search functionality, display accurate results, and implement error handling for failed searches.
| Component | Requirement |
|---|---|
| Decryption Keys | Use AfyaLink-provided keys |
| Data Security | Encrypt all sensitive information |
| Key Management | Secure storage with access controls |
| Audit Logging | Log all decryption activities |
| Field | Type | Description |
|---|---|---|
| CR ID | String | Client Registry identifier |
| ID Number | String | National ID |
| Full Names | String | Complete patient name |
| Date of Birth | Date | Patient DOB |
| Gender | Enum | Patient gender |
| Phone Number | String | Contact number |
Store patient details locally after a successful search to eliminate repeated API calls, and map all required fields accurately.
| Feature | Details |
|---|---|
| Update Functionality | Enable information updates |
| Encryption | Send updates with encrypted PIN |
| Validation | Validate all update requests |
| Change Tracking | Track all patient modifications |
| Dependent Type | Action |
|---|---|
| Spouse | Store and display as next of kin |
| Children | Register as dependents |
| Relationships | Map family connections clearly |
Capture patient consent before processing requests, store consent linked to patient records, comply with privacy laws and regulations, and implement age-appropriate consent mechanisms.
Implement eligibility search functionality with clear visual status indicators, and show reasons and solutions when a patient is ineligible.
Process flow: verify eligibility → initialize SHA visit → capture required parameters → confirm visit creation.
| Scheme | Display Requirements |
|---|---|
| SHIF | Status, coverage period, benefit limits |
| ECCIF & PCIF | Active periods, waiting periods |
| POMF | Eligibility status, coverage details |
| ECDF | Active coverage, benefit information |
Use color-coded eligibility status and easy-to-read benefit displays, with detailed information on hover or click.
| Parameter | Description |
|---|---|
| Facility Code | Unique facility identifier |
| Facility Name | Official facility name |
| Location | Geographic location |
| Level | Facility level (primary, secondary, tertiary) |
Store facility name, level, codes, location and contact details locally in the HMIS database, implement caching to reduce API calls, and ensure proper data mapping.
Populate the organization resource in claims, ensure consistent facility information, and implement data validation and fallback mechanisms.
Search by ID number, registration number, or practitioner name.
Store full names, license numbers, registration number, ID number and specialization.
Populate the practitioner resource in claims, keep information consistent across claims, and handle updates and missing data appropriately.
Map SHA codes to your local database, keep coding consistent for SHA visits, validate codes before submission, and handle code version changes.
Flag services requiring preauthorization with visual indicators during service selection, and block the service until preauth is confirmed.
Process flow: identify service requiring preauth → collect required information → submit preauth request → process and store response → proceed based on authorization status.
Display the SHA payable amount per intervention using locally stored data, update amounts regularly, and indicate patient vs. SHA responsibility.
| Approach | Benefits |
|---|---|
| API-based with caching | Always current, minimal storage |
| Local database | Fast, offline capability |
| Hybrid | Optimal performance and accuracy |
Assemble patient information, facility details, and practitioner information from local storage, along with current visit details and system-generated claim metadata.
Include primary and secondary diagnoses (ICD-11), all procedures rendered, prescribed medications, and any additional required clinical information.
Validate claim data completeness, submit the claim to the HIE, receive and process the response, store the claim ID for tracking, and provide status feedback.
Regularly check status using the claim ID, handle all status codes appropriately, display clear visual indicators, and enable resubmission for rejections.
Customize workflows based on facility capabilities, show appropriate options by facility level, hide unavailable features, and provide facility-specific guidance.
Filter services by facility level, show only relevant services, prevent selection of unavailable services, and implement referral workflows.
To be eligible for production deployment, a system must complete 100% of all Critical (🔴) and Standard (🟠) components. Advanced (🟢) features are optional enhancements and are not required for production.
| Integration Area | Required Components |
|---|---|
| Core Requirements | 2 |
| Client Registry | 6 |
| Eligibility Check | 3 |
| Facility Registry | 3 |
| Health Worker Registry | 3 |
| Claims Integration | 9 |
| Total Required | 26 |