Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR add following GSRS extensions from https://github.com/epuzanov/gsrs-ep-substance-extension repository.
gsrs.module.substance.exporters.GsrsApiExporterFactory
The GsrsApiExporter can be used for the exporting of the substances directly to anothe GSRS instance.
Dependencies
Configuration
gsrs.module.substance.exporters.JmespathSpreadsheetExporterFactory
The JmespathSpreadsheetExporter can to be used for exporting substances to Excel file with custom defined fields. It uses Jmespath expressions to select values from substances json.
Dependencies
Configuration
gsrs.module.substance.indexers.JmespathIndexValueMaker
The JmespathIndexvalueMaker canbe used for creating of the custom indexes. It uses Jmespath expressions to select values from substances json.
Dependencies
Configuration
gsrs.module.substance.processors.CVClassificationsCodeProcessor
The CVClassificationsCodeProcessor can be used for creating the comment string for classification codes.
Configuration
Alternative Configuration 1
Include Veterinary ATC codes dictionary from JSON file include LEVEL 5 codes.
Alternative Configuration 2
Use the GSRS CV for storing ATC Classification information. And initially populate the CV from the JSON file if the cvVersion is greater then the version of the CV Domain.
gsrs.module.substance.processors.DBClassificationsCodeProcessor
The DBClassificationsCodeProcessor can be used for creating the comment string for classification codes using SQL database as the source. The query must return 4 fields.
The first field contains COMMENTS text, the second field contains URL, the third field contains DOC_TYPE of the Reference and the fourth field contains CITATION of the Reference.
The second, third and fourth fields can return NULL values.
Configuration
gsrs.module.substance.processors.SetAccessCodeProcessor
The SetAccessCodeProcessor can be used to force the access value for the specific code system.
Configuration
gsrs.module.substance.tasks.UpdateEntityTaskInitializer
The UpdateEntityTaskInitializer task can be used for updating attributes from any Entity class in the GSRS
The optional parameter "query" can be used for granular selection of the objects.
The optional parameter "resetFields" can be used to nullify specified fields before invoking the "preUpdate" method.
Configuration
ix.ginas.utils.validation.validators.JmespathValidator
The JmespathValidator can to be used for creating the custom GSRS validations rules. It uses Jmespath expressions to validate the substances json.
Dependencies
Configuration