Initial Release
A Reusable Web Interface and Class for Maintaining Data Lookup Tables in HealthConnect.
This web interface is designed to facilitate the management of Data Lookup Tables via a user-friendly web page. It is particularly useful when your lookup table values are large, dynamic, and frequently changing. By granting end-users controlled access to this web interface (read, write, and delete permissions limited to this page), they can efficiently manage lookup table data according to their needs.
The data managed through this interface can be seamlessly utilized in HealthConnect rules or data transformations, eliminating the need for constant manual monitoring and management of the lookup tables and thereby saving significant time.
🚨 Note: If the standard Data Lookup Table does not meet your mapping requirements, you can create a custom table and adapt this web interface along with its supporting class with minimal modifications. Sample class code is available upon request.
Before using the web interface, ensure you have created an empty Data Lookup Table in HealthConnect:
💡 Example:
The sample Data Lookup Table name used in this documentation is
Example of data lookup table
The setup process is straightforward:
Obtain the code:
Download the provided code from the GitHub repository or copy it from the community link.
Create a CSP page:
Create a new CSP page in your HealthConnect environment and paste the entire code from the DataLookupWebApp
file.
Create a class:
Copy and paste the class code provided in the documentation or repository.
Before compiling and running:
Ensure the class name in the code matches your custom class name.
Assign your lookup table name in the class, where indicated by myDtName = ‘your data lookup table’. See screenshot above.
Screenshot 1: Adding Records
To verify the records in your lookup table:
This reusable web interface and class provide a simple yet effective way to manage Data Lookup Tables in HealthConnect, enhancing both efficiency and flexibility. By empowering end-users with controlled access, it reduces the administrative overhead traditionally associated with lookup table maintenance.
💬 **Thank you