Issue: After updating a database field directly on the primary data source the values are not reflected on the IMSI and/or FHIR interfaces.
- OpenIZ Immunization Management Service (IMS)
- When updating a database field using SQL the value is changed in the database but not reflected in applications.
- When querying a FHIR based resource the updated values do not present themselves.
Cause: The OpenIZ IMS uses an in-memory cache to speed up the retrieval of data from the primary data source. The two options for this are a built-in memory cache or REDIS. When you update the value directly on the database, it does not invalidate the cache data.
When using the built-in memory cache:
- Open a command prompt as Administrator
- Restart the OpenIZ host process using the command:
- net stop "OpenIZ Host Process"
- net start "OpenIZ Host Process"
- Note: Your instance of OpenIZ IMS will be unavailable during this time
When using the REDIS cache service
- Open a command prompt as Administrator on your REDIS host server
- Restart the REDIS process using the command
- net stop redis
- net start redis
- Note: Your instance of OpenIZ IMS will continue to be available during this time.