Class DefaultJpaIpsGenerationStrategy

java.lang.Object
ca.uhn.fhir.jpa.ips.strategy.BaseIpsGenerationStrategy
ca.uhn.fhir.jpa.ips.jpa.DefaultJpaIpsGenerationStrategy
All Implemented Interfaces:
IIpsGenerationStrategy

This generation strategy contains default rules for fetching IPS section contents for each of the base (universal realm) IPS definition sections. It fetches contents for each section from the JPA server repository.

This class can be used directly, but it can also be subclassed and extended if you want to create an IPS strategy that is based on the defaults but add or change the inclusion rules or sections. If you are subclassing this class, the typical approach is to override the addSections() method and replace it with your own implementation. You can include any of the same sections that are defined in the parent class, but you can also omit any you don't want to include, and add your own as well.