MCPD coverage
PDCI is a mechanism to assess the coverage of accession passport data provided and it assigns different scores for fields for different types of accessions based on SAMPSTAT field.
We would like to see overall coverage of all passport data fields in Genesys database for a specified filter.
Add missing
ES aggregation query for all fields of Accession
that are serialized to JSON and stored to ES.
Using JSON schema
- Determine JSON schema for
Accession
and all related types - Take every field name (including nested properties) and find the
missing
value
The result will be a map of all JSON paths with their missing
value. totalCount
shows all records matching the filter.