2.90:Data Element Overrides: Difference between revisions
Dgreenwood (talk | contribs) No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
'''Data Element Overrides''' is a tab provided to allow overriding of default properties set to a '''Data Element'''. | '''Data Element Overrides''' is a tab provided to allow overriding of default properties set to a '''Data Element'''. | ||
</blockquote> | </blockquote> | ||
</p><br/> | |||
A completed '''Content Model''' and accompanying '''Batch''' for what will be built can be found '''[[Media:Data Element Overrides.zip|here]]'''. It is not required to download to understand this article, but can be helpful because it can be used to follow along with the content of this article. ''This file was exported from and meant for use in '''Grooper''' 2.9'' | A completed '''Content Model''' and accompanying '''Batch''' for what will be built can be found '''[[Media:Data Element Overrides.zip|here]]'''. It is not required to download to understand this article, but can be helpful because it can be used to follow along with the content of this article. ''This file was exported from and meant for use in '''Grooper''' 2.9'' | ||
| Line 62: | Line 62: | ||
3. Click '''Test Extraction'''<br/> | 3. Click '''Test Extraction'''<br/> | ||
*Rinse and repeat for the other documents. Document Format C will now successfully extract due to the overrides. | *Rinse and repeat for the other documents. Document Format C will now successfully extract due to the overrides. | ||
<p/><br/> | |||
It's important to note that because the '''Data Element Overrides''' are applied to a '''Content Type''' a document must be properly classified in order for the '''Data Model''' to know that overrides would be used for extraction for that document. You may be able to successfully test results from the '''Data Element Overrides''' interface without a classified document, but doing so on the '''Data Model''' will result in no extraction. | It's important to note that because the '''Data Element Overrides''' are applied to a '''Content Type''' a document must be properly classified in order for the '''Data Model''' to know that overrides would be used for extraction for that document. You may be able to successfully test results from the '''Data Element Overrides''' interface without a classified document, but doing so on the '''Data Model''' will result in no extraction. | ||
|| [[File:data_element_overrides_004.gif]] | || [[File:data_element_overrides_004.gif]] | ||
| Line 70: | Line 70: | ||
<br/> | <br/> | ||
It is worth noting that one could have accomplished the above by simply making another extractor and set it up for OMR, then have the '''Value Extractor''' '''Data Types''' for each '''Data Field''' simply reference a third element. Overrides would not be necessary in that case. This example, however, sufficed to provide something to show. As with many things in '''Grooper''' there isn't always a ''right'' or ''wrong'' way. There is perhaps a ''best practice'', and in this case, making the third extractor would be the better thing to do. | It is worth noting that one could have accomplished the above by simply making another extractor and set it up for OMR, then have the '''Value Extractor''' '''Data Types''' for each '''Data Field''' simply reference a third element. Overrides would not be necessary in that case. This example, however, sufficed to provide something to show. As with many things in '''Grooper''' there isn't always a ''right'' or ''wrong'' way. There is perhaps a ''best practice'', and in this case, making the third extractor would be the better thing to do. | ||
</p> | |||
A simpler, perhaps more common, example of where '''Data Element Overrides''' very much come in handy is with the visibility of '''Data Elements'''. One of the properties of a '''Data Element''' is the '''''Visible''''' property which is default ''True''. Imagine a '''Data Model''' that has five '''Data Fields''', and the '''Content Model''' has 3 '''Document Types'''. '''Document1''' uses '''Data Fields''' 1-3, '''Document2''' uses '''Data Fields''' 2-4, and '''Document3''' uses '''Data Fields''' 3-5. In '''Data Review''' you want to simplify the job for the person reviewing, so you do not want them to concern themselves with fields that are not relevant. To accomplish this you could use '''Data Element Overrides''' on each of the aforementioned hypothetical '''Document Types''' and set the '''''Visible''''' property to ''False'' on all the fields you don't need. This would keep only relevant '''Data Fields''' visibile upon review. | |||
==Use Cases== | |||
===Revenue Statements=== | |||
The following is a use case that heavily leverages '''Data Element Overrides'''. | |||
Our '''Grooper A.C.E. Training Tier II and III''' members can click [about:blank here and login to Grooper xChange] to view a video series covering the build of this awesome model. | |||
The three images below are examples of three different '''Document Types''' in the Revenue Statements model. Notice how different their formats are. As a result, the techniques used for extracting their information is quite different. | |||
{| | |||
| style="padding:25px; margin:auto" | | |||
|[[Image:data_element_overrides_005.png|500px]]||[[Image:data_element_overrides_006.png|500px]]||[[Image:data_element_overrides_007.png|500px]] | |||
|} | |||
{| | |||
| style="padding:25px; vertical-align:center; width:42.5%" | | |||
The image on the right is an expanded look at the '''Data Model''' of the Revenue Statements model (click the image if you would like to see a higher resolution image). It is quite complex. This model is used across all the different '''Document Types''' in spite of their extreme variation in formatting. Because the information being collected from the different formats is normalized via this '''Data Model''', but the formats themselves are so widely varied, '''Data Element Overrides''' ended up playing a huge role in overcoming this obstacle. | |||
|| [[Image:data_element_overrides_008.png|x750px]] | |||
|} | |||
{| | |||
| style="padding:25px; vertical-align:top; width:35%" | | |||
The main means of circumventing the varied formats was to not set any extractor settings on the '''Data Elements''' of the main '''Data Model''' (and its subsequent hierarchy). | |||
# Instead, each '''Document Type''' gets its own '''(local resources)''' which contains extractors configured to specifically work with that format. | |||
# '''Data Element Overrides''' are then set to override the default ''no extractor'' settings, and istead use the extractors built in the '''(local resources)''' (notice the underline on the '''Data Elements''' indicating an override has been set.) These overrides are especially important '''Data Elements''' like multi-instance '''Data Sections''', or '''Data Tables'''. | |||
|| [[Image:data_element_overrides_009.png]] | |||
|} | |||
==Version Differences== | ==Version Differences== | ||
Revision as of 12:51, 5 November 2020

Data Element Overrides is a tab provided to allow overriding of default properties set to a Data Element.
A completed Content Model and accompanying Batch for what will be built can be found here. It is not required to download to understand this article, but can be helpful because it can be used to follow along with the content of this article. This file was exported from and meant for use in Grooper 2.9
About
Grooper solutions can range from simple scan and archive processes to extremely complex solutions. Data Element Overrides allow discrete control of Data Elements on a per Content Type basis. This greatly magnifies Grooper’s inheritance-based architecture and allows for more robust and scalable Data Models. You are no longer required to make copies of Data Elements when you just need to modify a property for an oddball Document Type. This can greatly save time building the solution and reduce complexity by eliminating those copied Data Elements. One can also quickly and easily Test Extraction directly in the Overrides tab. After modifying any of the Data Element properties, you can easily test the results of the modification against a test Batch without leaving the tab.
How To
| ! | Some of the tabs in this tutorial are longer than the others. Please scroll to the bottom of each step's tab before going to the step. |
Understanding the Forms
Setting up the Override
Testing the Results
It is worth noting that one could have accomplished the above by simply making another extractor and set it up for OMR, then have the Value Extractor Data Types for each Data Field simply reference a third element. Overrides would not be necessary in that case. This example, however, sufficed to provide something to show. As with many things in Grooper there isn't always a right or wrong way. There is perhaps a best practice, and in this case, making the third extractor would be the better thing to do.
A simpler, perhaps more common, example of where Data Element Overrides very much come in handy is with the visibility of Data Elements. One of the properties of a Data Element is the Visible property which is default True. Imagine a Data Model that has five Data Fields, and the Content Model has 3 Document Types. Document1 uses Data Fields 1-3, Document2 uses Data Fields 2-4, and Document3 uses Data Fields 3-5. In Data Review you want to simplify the job for the person reviewing, so you do not want them to concern themselves with fields that are not relevant. To accomplish this you could use Data Element Overrides on each of the aforementioned hypothetical Document Types and set the Visible property to False on all the fields you don't need. This would keep only relevant Data Fields visibile upon review.
Use Cases
Revenue Statements
The following is a use case that heavily leverages Data Element Overrides.
Our Grooper A.C.E. Training Tier II and III members can click [about:blank here and login to Grooper xChange] to view a video series covering the build of this awesome model.
The three images below are examples of three different Document Types in the Revenue Statements model. Notice how different their formats are. As a result, the techniques used for extracting their information is quite different.
Version Differences
Versions prior to Grooper 2.9 had an initial concept version of overrides in the Data Element Profiles tab located on the Content Model or Document Type. These profiles only allowed modification to a limited number of properties on the data element, as opposed to Grooper 2.9 where all properties can be overridden.
Where Did Zonal Properties Go?
All the zonal extraction properties are now set directly on the Data Element.





