Overview
The Medical Records module (Historial Clínico) allows doctors to document patient consultations, diagnoses, treatments, and future care plans. Each record is timestamped and linked to a specific doctor and patient.Creating Medical Records
Access Points
Medical records are created from the patient profile page:- Navigate to
/patients/{uuid} - Select the “History” tab
- Click ”➕ Nuevo registro” button (doctors only)
- Fill in the clinical record form
- Click “Guardar Evolución” to save
Only users with the
CREATE_MEDICAL_RECORDS permission (typically doctors) can create new clinical records.Database Schema
Record Components
Clinical Fields
Each medical record contains the following structured information:Motivo de Consulta (Chief Complaint)
Motivo de Consulta (Chief Complaint)
Field:
motifThe reason for the patient’s visit. What brought them to the clinic today?Example: “Dolor intenso en molar inferior izquierdo. 3 días de evolución.”Diagnóstico (Diagnosis)
Diagnóstico (Diagnosis)
Field:
diagnosisThe clinical diagnosis based on examination and symptoms.Example: “Caries profunda con compromiso pulpar — pieza 3.6”Tratamiento (Treatment)
Tratamiento (Treatment)
Field:
treatmentThe treatment performed during this visit.Example: “Extracción de pieza 3.6 bajo anestesia local. Sin complicaciones.”Plan Futuro (Future Plan)
Plan Futuro (Future Plan)
Field:
future_planPlanned follow-up treatments or next steps in the treatment plan.Example: “Control en 7 días para evaluar cicatrización. Valorar implante en 3 meses.”Próxima Visita (Next Visit)
Próxima Visita (Next Visit)
Field:
next_visitAutomatically calculated based on selected interval (7 days, 15 days, 1 month, etc.).Observaciones (Observations)
Observaciones (Observations)
Field:
observationsAdditional notes, precautions, or special considerations.Example: “Paciente alérgica a penicilina. Se prescribió alternativa.”Next Visit Intervals
The system provides pre-defined intervals for scheduling follow-up visits:Automatic Date Calculation
Viewing Medical Records
History Timeline
Medical records are displayed in reverse chronological order (newest first) on the patient’s History tab:
Record Display Format
Status Badges
Records can be tagged with status badges:Completado
Green badge - Treatment completed successfully
Control
Blue badge - Follow-up or control visit
En Tratamiento
Amber badge - Ongoing treatment
Editing Medical Records
Edit Workflow
- Locate the record in the History tab
- Click the edit button (if permission granted)
- Modify necessary fields
- Save changes
Anamnesis Integration
Medical History Form
The Anamnesis (medical history questionnaire) complements clinical records:- Personal medical history: Chronic conditions, surgeries, medications
- Family medical history: Hereditary conditions
- Habits: Smoking, alcohol, oral hygiene
- Vital signs: Blood pressure, heart rate, temperature
Anamnesis is typically filled out once during initial patient registration and updated periodically.
Anamnesis Permissions
VIEW_ANAMNESIS
View the patient’s medical history questionnaire.
EDIT_ANAMNESIS
Create or modify the patient’s anamnesis form.
Document Attachments
Uploading Files
Medical records can include attachments:- X-rays and radiographs
- Lab results
- Consent forms
- Treatment photos
- External reports
Files Database Schema
File Management Permissions
VIEW_ATTACHMENTS
View uploaded files in the patient’s Files tab.
UPLOAD_ATTACHMENTS
Upload new documents and images to patient records.
API Reference
List Medical Records
Create Medical Record
Update Medical Record
Permissions Summary
VIEW_MEDICAL_RECORDS
VIEW_MEDICAL_RECORDS
Module: ClínicoAccess to view patient medical records and treatment history. Essential for continuity of care.
CREATE_MEDICAL_RECORDS
CREATE_MEDICAL_RECORDS
Module: ClínicoCreate new clinical records after patient consultations. Typically restricted to doctors.
EDIT_MEDICAL_RECORDS
EDIT_MEDICAL_RECORDS
Module: ClínicoModify existing clinical records. May be restricted for audit compliance.
Best Practices
Document Immediately
Record clinical notes during or immediately after the consultation while details are fresh.
Be Specific
Use precise dental terminology (e.g., “pieza 3.6” for specific teeth) and detailed descriptions.
Complete All Fields
Fill in motif, diagnosis, and treatment for comprehensive records that support continuity of care.
Regulatory Compliance
Medical records are legal documents. Ensure all entries are:
- Accurate and truthful
- Timestamped automatically by the system
- Attributed to the treating doctor
- Comprehensive and professionally written
- Record creation timestamp
- Doctor ID (who created the record)
- Patient ID (who the record belongs to)
