class ReportingAPI::Total

Schema Information

Table name: reporting_api_totals

id                                    :text             primary key
academic_year                         :integer
consent_status                        :integer
has_already_vaccinated_consent        :boolean
is_archived                           :boolean
patient_gender                        :text
patient_local_authority_code          :string
patient_local_authority_official_name :string
patient_school_local_authority_code   :string
patient_school_name                   :text
patient_school_urn                    :string
patient_year_group                    :integer
programme_type                        :enum
status                                :integer
patient_id                            :bigint
session_location_id                   :bigint
team_id                               :bigint

Indexes

ix_rapi_totals_id                     (id) UNIQUE
ix_rapi_totals_session_loc            (session_location_id)
ix_rapi_totals_team_year_prog_status  (team_id,academic_year,programme_type,status)
ix_rapi_totals_year_group             (patient_year_group)