Data Model (Object): Difference between revisions

From Grooper Wiki
Created page with "Data Models are digital representations of data targeted for extraction on a document. The Data Model defines the data structure for a Content Type and can live at var..."
 
No edit summary
Line 17: Line 17:
*** Data fields such as: First Name, Middle Name, Last Name, Employment Status, Status Date
*** Data fields such as: First Name, Middle Name, Last Name, Employment Status, Status Date
*** Content Category - Benefits
*** Content Category - Benefits
**** Data Model - Benefits (Inherits from Content Model's primary Data Model +)
**** Data Model - Benefits (Inherits all data from the Content Model's primary Data Model as well as...)
***** Data Fields: Eligible Date
***** Data Fields: Eligible Date
**** Document Type - Health Insurance (Inherits all data from Content Model and Content Category +)
**** Document Type - Health Insurance
***** Data Model: Enrolled Date, Covered Parties 
***** Data Model - Health Insurance (Inherits all data from the Content Model and parent Content Category as well as...)
****** Data Fields: Enrolled Date, Covered Parties 

Revision as of 11:50, 30 December 2019

Data Models are digital representations of data targeted for extraction on a document.

The Data Model defines the data structure for a Content Type and can live at varying levels of structure, allowing for inheritance if a hierarchy exists.  This can be a simple list of data fields or a complex hierarchy of sections, subsections, tables and fields.  

The Data Model is leveraged by Grooper to extract data from a Batch.  All extraction logic (i.e. referencing a Data Extractor to fill a field, performing a database lookup, or generating a calculated field expression) is set on the Data Model or the Data Elements related to the Data Model.  It also provides information to the Data Review activity setting expectations for field appearance and behavior (i.e. if a field is required before completing batch validation).  

One Data Model can be created for each:

Data Models also inherit data elements from parent Content Types.  For example, if a Content Model's Data Model has a child Data Field named "Date" and a Content Category's Data Model has a child Data Field named "Time", the Content Category's Data Model will actually have both "Date" and "Time" as fields.  It has it's child field "Time" and inherits the parent field "Date" as well. See below for a typical hierarchical structure exemplifying such:

  • Content Model - HR
    • Data Model - HR
      • Data fields such as: First Name, Middle Name, Last Name, Employment Status, Status Date
      • Content Category - Benefits
        • Data Model - Benefits (Inherits all data from the Content Model's primary Data Model as well as...)
          • Data Fields: Eligible Date
        • Document Type - Health Insurance
          • Data Model - Health Insurance (Inherits all data from the Content Model and parent Content Category as well as...)
            • Data Fields: Enrolled Date, Covered Parties