The HL7 External Code Translation and Validation filters are used to translate and validate the contents of pre-configured coded fields. The fields to be validated must be configured and must be of the Coded Element (CE) HL7 data type (or compatible format).
Refer to:
Performance
As the Code Validation and Translation filters use the database to look up coded fields, this can become a bottleneck in a route. The filter employs two strategies to increase performance.
Connection Pooling
Connection pooling allows the filter to hold multiple connections to the database at the same time. The connections the filter has are kept until the filter is stopped. Therefore caution should be used when allocating the pool sizes, as if it is too large, other applications or filters may not be able to connect to the database.
The recommended size is between two and five, but it should be tested to find the optimal size for the configuration in use.
Caching
Caching stores the coding systems that have been previously looked up. This makes subsequent lookups faster. Two parameters control the performance of a cache:
Age limit
- describes how long an item remains usable in the cache, this allows changes in the database to propagate to the cache. If the cache has a high age limit, changes in the database will take a long time to appear in the filter. If the cache has a low age limit, unnecessary database lookups will be performed. Use an age limit that gives an acceptable update time for the application.Size of the cache
- the number of identifiers/coding systems that will be stored in the cache. If a large value is used, more memory is required by Rhapsody. If the value is too small the benefit is lost as the identifiers/coding systems will be replaced before they are used.