Skip to main content
The Family Violence module (Violencia Familiar o de Género) provides comprehensive tools for documenting, tracking, and managing domestic violence cases with focus on victim protection and case follow-up.

Overview

This critical module handles:
  • Domestic violence case registration
  • Victim and accused party documentation
  • Protective measure tracking
  • Detention status monitoring
  • Case narrative documentation
  • Inter-agency coordination support
Sensitive Data: This module handles highly sensitive information about violence victims. Strict confidentiality and access control measures must be maintained.

Case Registration System

Jurisdictional Assignment

Each case is assigned to specific law enforcement units:
1

Regional Unit Selection

UNIDAD REGIONALSelect from available Regional Units (UR) using dynamic dropdown:
SELECT id, nombre 
FROM ur 
ORDER BY id
Units range from UR-1 through UR-15 across the jurisdiction.
2

Dependency Assignment

DEPENDENCIASpecific police station or unit handling the case:
  • Auto-populated based on Regional Unit selection
  • Ensures proper case routing
  • Enables jurisdictional tracking

Report Date Information

The system captures when the report was filed:
// Date components
"d"  => Day of report (current day auto-filled)
"m"  => Month of report (current month auto-filled)
"a"  => Year of report (current year auto-filled)
Auto-Population: The date fields automatically populate with the current date, which can be adjusted if needed for backdated reports.

Party Information

Complainant/Victim Details

DENUNCIANTE

Complainant Information
  • Full name of person filing report
  • May be the victim or third party
  • Text field with 60-character capacity
  • Required for case processing

Accused Party Details

ACUSADO/A

Accused Person Information
  • Full name of alleged perpetrator
  • Text field with 60-character capacity
  • Critical for protective measures
  • Used for restraining order processing
Both fields use gender-neutral formatting (DENUNCIANTE, ACUSADO/A) to accommodate all case types.

Incident Documentation

Case Narrative

The system provides structured fields for detailed incident documentation:
RELATO SINTETICO DEL HECHO DENUNCIADO(Synthetic Account of Reported Incident)
<textarea name="relato" 
          cols="45" 
          rows="5">
</textarea>
Should Include:
  • Date and time of incident
  • Location of violence
  • Nature of violence (physical, verbal, psychological)
  • Injuries sustained
  • Witnesses present
  • Prior incidents (if applicable)
  • Immediate danger assessment

Detention Management

Arrest Status Tracking

The system monitors whether the accused was detained:
DETENIDO (Detained)

SELECCIONAR

Default/Not yet determined

SI

Accused was arrested

NO

No arrest made
TIEMPO DETENIDO (Time Detained)
<input name="tiempo" 
       type="text" 
       size="50">
Document:
  • Hours/days detained
  • Detention location
  • Release conditions (if applicable)
  • Bail/bond status
  • Court date assignments
  • Monitoring requirements (ankle monitor, check-ins, etc.)
Detention information is crucial for victim safety planning and case management. Update this field as case status changes.

Case Management Workflow

Initial Report Processing

1

Emergency Response

  • Assess immediate danger
  • Provide emergency medical care if needed
  • Separate parties if both present
  • Ensure victim safety
2

Case Creation

  • Log into Family Violence module
  • Select Regional Unit and Dependency
  • Verify auto-populated date or adjust if needed
3

Party Information

  • Enter complainant/victim name
  • Enter accused party name
  • Verify spelling for legal documents
4

Incident Documentation

  • Document detailed incident narrative
  • Record all protective measures taken
  • Note any additional relevant information
5

Detention Status

  • Select if arrest was made
  • Document detention duration and conditions
6

Save Case

Click GUARDAR (Save) to register case in system

Case Updates and Follow-up

Cases can be updated as situations evolve:
// Case deletion capability for authorized users
if (isset($_GET["sel"])) {
    $cod = $_GET["sel"];
    
    $sql = "DELETE FROM violencia_familiar 
            WHERE cod=$cod";
    
    // Confirmation messages:
    // Success: 'SE BORRO EL REGISTRO CORRECTAMENTE'
    // Error: 'ERROR, NO SE PUDO BORRAR EL REGISTRO'
}
Deletion Restrictions: Case deletion should be restricted to authorized administrators only. Consider implementing soft deletes to maintain case history.

Data Structure

The violencia_familiar table stores:
CREATE TABLE violencia_familiar (
    cod INTEGER PRIMARY KEY,        -- Case code
    ur_id INTEGER,                  -- Regional unit
    dependencia VARCHAR,            -- Police station
    fecha_denuncia DATE,            -- Report date
    denunciante VARCHAR(60),        -- Complainant name
    acusado VARCHAR(60),            -- Accused name
    relato TEXT,                    -- Incident narrative
    medidas TEXT,                   -- Protective measures
    otros TEXT,                     -- Additional info
    detenido VARCHAR(20),           -- Detention status
    tiempo_detenido VARCHAR(50)     -- Detention duration
);

Best Practices

Priority Considerations:
  • Assess lethality risk immediately
  • Implement protective measures before completing documentation
  • Provide victim with safety plan and resources
  • Coordinate with victim services organizations
  • Follow up within 24-48 hours
Keep emergency shelter and hotline information readily accessible for immediate referrals.
Documentation Standards:
  • Use objective, factual language
  • Include direct quotes when relevant
  • Document all visible injuries with photos if possible
  • Note demeanor and emotional state
  • Record exact threats made
  • List all witnesses
  • Preserve evidence properly
Detailed documentation strengthens legal cases and improves victim outcomes.
Common Interventions:
  • Emergency Protective Orders (EPO)
  • Temporary Restraining Orders (TRO)
  • No-contact directives
  • Weapon confiscation
  • Emergency housing referrals
  • Medical treatment coordination
  • Crisis counseling referrals
  • Child protective services notification (when applicable)
Case Management:
  • Schedule follow-up contact within 24-48 hours
  • Verify protective orders were served
  • Check on victim safety regularly
  • Update case notes with new information
  • Coordinate with prosecutors office
  • Track court dates and outcomes
  • Document any violations of protective orders

Integration with Other Systems

Family Violence cases may connect with:

Homicides

Cases that escalate to domestic homicide or femicideView Homicides Module →

Reports

Statistical analysis of domestic violence patternsView Reports →

Reporting Capabilities

The system enables analysis of:
  • Case Volume: Track cases by jurisdiction and time period
  • Repeat Offenders: Identify accused parties with multiple reports
  • Detention Rates: Monitor arrest rates in domestic violence cases
  • Geographic Patterns: Analyze hotspots for targeted intervention
  • Protective Measure Effectiveness: Evaluate which measures work best

Victim Resources

Resource Integration: Consider integrating links to victim support services:
  • Domestic violence hotlines
  • Emergency shelters
  • Legal aid services
  • Counseling services
  • Children’s services
  • Immigration assistance

Multi-Agency Coordination

Family violence cases often require coordination with:
  1. Judicial System
    • Courts for protective orders
    • Prosecutors for criminal charges
    • Probation for monitoring
  2. Social Services
    • Child protective services
    • Housing assistance
    • Financial support programs
  3. Healthcare
    • Emergency medical care
    • Forensic documentation
    • Mental health services
  4. Community Organizations
    • Victim advocacy groups
    • Domestic violence shelters
    • Legal aid clinics

Build docs developers (and LLMs) love