/
Capitation Report Data Structure

ЕСОЗ - публічна документація

Capitation Report Data Structure

Reporting DB objects

See details here

GitHub

capitation_reports

This table stores all the reports generated by the system

AttributeData TypeM/ODescription
idUUIDMUnique report id
billing_dateDATEMReport billing date
created_atTIMESTAMPMDate that shows when the report was generated

capitation_report_details

This table stores all the details, related to the report. It includes all metrics and aggregations

AttributeData TypeM/ODescription
idUUIDMUnique record id
capitation_report_idUUIDM

Capitation report ID.

Reference to capitation_reports.id

legal_entity_idUUIDM

Legal entity ID.

Reference to legal_entities.id

capitation_contract_idUUIDM

Capitation contract ID.

Reference to contracts.id

mountain_groupBOOLEANMMountain group
age_groupVARCHAR(50)MOne of the specified age group, defined in AGE_GROUPS
declarations_countINTEGERM

Number of all active declarations related to (specified):

  • age group
  • mountaing group
  • legal_entity
  • contract

capitation_report_errors

This table stores all records that cause the problem during report generation. It includes references to related objects, action and error message

AttributeData TypeM/ODescription
idUUIDMUnique record id
capitation_report_idUUIDM

Capitation report ID.

Reference to capitation_reports.id

declaration_idUUIDM

Declaration ID.

Reference to declarations.id

actionVARCHAR(50)MAction that cause the problem
messageTEXTMError message
inserted_atTIMESTAMPMRecord inserted_at datetime

Related content

Capitation Report Process
Capitation Report Process
More like this
Add employee role
Add employee role
Read with this
Reporting Data model
Reporting Data model
More like this
Capitation data structure
Capitation data structure
More like this
RC_(CSI-1323)_IL
RC_(CSI-1323)_IL
More like this
Capitation Report Creation Tests
Capitation Report Creation Tests
More like this

ЕСОЗ - публічна документація