Class KnowledgeCacheService

java.lang.Object
org.ehrbase.service.KnowledgeCacheService
All Implemented Interfaces:
I_KnowledgeCache, IntrospectService

@Service @Transactional public class KnowledgeCacheService extends Object implements I_KnowledgeCache, IntrospectService
Look up and caching for archetypes, openEHR showTemplates and Operational Templates. Search in path defined as
  • 1. System environment ETHERCIS_ARCHETYPE_DIR, ETHERCIS_TEMPLATE_DIR, ETHERCIS_OPT_DIR
  • 2. Application path %USER_HOME%/.ethercis/archetype, %USER_HOME%/.ethercis/template, %USER_HOME%/.ethercis/opt
  • 3. User can also include a source directory by invoking addXYZPath method

The resources extensions are defined by the following default:

  • ADL: archetype
  • OET: openehr template
  • OPT: operational template
Author:
C. Chevalley