Saltar al contenido

app.osha_cases

TablaSeguridad a nivel de fila activa

Recordable work-related injuries and illnesses (29 CFR Part 1904): each row is a Form 300 log entry and its Form 301 incident report. Health information: read with data.restricted.read.medical.

Clave primaria: id

Columnas de app.osha_cases
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.osha_establishments on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
establishment_iduuidNoEstablishment whose log the case is on.Hace referencia a app.osha_establishments.id
incident_iduuidSíIncident the case came from, when there is one.Hace referencia a app.incidents.id
log_yearsmallintNoYear of the log; the year of the injury or illness date. Set by the database.
case_numbertextNoCase no. (Form 300 column A, Form 301 item 10). Numbered per establishment and year by the database when left empty.
person_iduuidSíThe employee, when they are a person in XOS.Hace referencia a app.people.id
employee_nametextSíEmployee's full name when they are not a person in XOS (Form 300 column B, Form 301 item 1).
privacy_casebooleanNoA privacy concern case (29 CFR 1904.29(b)(6) to (9)): the log prints "privacy case" in place of the name.
job_titletextNoJob title (Form 300 column C).
injury_datedateNoDate of injury or onset of illness (Form 300 column D, Form 301 item 11).
event_locationtextNoWhere the event occurred (Form 300 column E).
descriptiontextNoInjury or illness, parts of body affected, and object or substance that directly injured or made the person ill (Form 300 column F).
outcometextNoMost serious outcome: Death, Days away from work, Job transfer or restriction, or Other recordable case (Form 300 columns G to J).
days_awaysmallintNoDays away from work (Form 300 column K). Counting stops at 180 together with days_restricted.
days_restrictedsmallintNoDays on job transfer or restriction (Form 300 column L).
case_typetextNoInjury, Skin disorder, Respiratory condition, Poisoning, Hearing loss or All other illnesses (Form 300 column M).
employee_streettextSíEmployee's street (Form 301 item 2).
employee_localitytextSíEmployee's city (Form 301 item 2).
employee_regiontextSíEmployee's state, two letters (Form 301 item 2).
employee_postal_codetextSíEmployee's ZIP code (Form 301 item 2).
date_of_birthdateSíDate of birth (Form 301 item 3).
date_hireddateSíDate hired (Form 301 item 4).
employee_sextextSíMale or Female, as Form 301 item 5 asks.
health_care_professionaltextSíName of physician or other health care professional (Form 301 item 6).
treatment_facilitytextSíFacility where treatment was given away from the worksite (Form 301 item 7).
facility_streettextSíFacility street (Form 301 item 7).
facility_localitytextSíFacility city (Form 301 item 7).
facility_regiontextSíFacility state, two letters (Form 301 item 7).
facility_postal_codetextSíFacility ZIP code (Form 301 item 7).
emergency_roombooleanSíWas the employee treated in an emergency room (Form 301 item 8).
hospitalized_overnightbooleanSíWas the employee hospitalized overnight as an in-patient (Form 301 item 9).
work_began_attime without time zoneSíTime the employee began work (Form 301 item 12).
event_timetime without time zoneSíTime of event (Form 301 item 13).
event_time_unknownbooleanNoThe time of the event cannot be determined (Form 301 item 13).
activity_beforetextSíWhat the employee was doing just before the incident occurred, with no personally identifiable information (Form 301 item 14).
what_happenedtextSíHow the injury occurred (Form 301 item 15).
injury_detailtextSíThe injury or illness: part of the body affected and how (Form 301 item 16).
harmful_objecttextSíObject or substance that directly harmed the employee (Form 301 item 17).
died_ondateSíDate of death, if the employee died (Form 301 item 18).
completed_byuuidSíPerson who completed the Form 301.Hace referencia a app.people.id
completed_titletextSíTitle of the person who completed the Form 301.
completed_phonetextSíPhone of the person who completed the Form 301.
completed_ondateSíDate the Form 301 was completed.
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id