From 3177de469d871c896b7413a7ae88a7ff10319c2c Mon Sep 17 00:00:00 2001 From: Alberto Delgadillo Date: Sat, 16 May 2015 01:01:56 -0500 Subject: [PATCH] modelo historia clinica --- requirements.txt | 2 ++ src/citasalud/apps/main/models.py | 2 +- src/citasalud/db.sqlite3 | Bin 82944 -> 82944 bytes 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8cd0e8d..8c06a49 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ Django==1.8 +django-localflavor==1.1 djangorestframework==3.1.1 Markdown==2.6.2 +Pillow==2.8.1 diff --git a/src/citasalud/apps/main/models.py b/src/citasalud/apps/main/models.py index 1d6ea88..3dd9f64 100644 --- a/src/citasalud/apps/main/models.py +++ b/src/citasalud/apps/main/models.py @@ -90,7 +90,7 @@ class Meta: class CitaMedica(models.Model): - paciente = models.ForeignKey("PerfilPaciente") + historia = models.ForeignKey("HistoriaClinica") medico = models.ForeignKey("PerfilMedico") horario = models.DateTimeField("Hora de cita") asistio = models.BooleanField() diff --git a/src/citasalud/db.sqlite3 b/src/citasalud/db.sqlite3 index a239850558b36782740ac489a867c05d0557bff8..e336001fbf69264b04d97544ca013dfe0b0e512b 100644 GIT binary patch delta 1952 zcmah~OKcNY6rGtjjy)t6rAdec7@RZ++9s2kH~$nQ947{w*df7oV$&!Z|Kf3GJjS1V zya}ngKx!9-ky?peB~(@FqHQeEF1m_Tp;oO_N*7e6U7!j9g`!qeAc53AJ2>Gdbrx5i zGw-Nu6LEARb%?N`W9ONV#a-zTr)|w4&q9QHJ zEXVPdt%Z9Mm3Wb7CClH!K8Zq+mler+r-k1{1zM7LR+g+ET9hYIj^QNW z#aciZfJW8L)G##g>*5a>6KDNEox>51^V$+PR-AnGYt+i zx;aZ)E3E_Fe_-v{#sh9(9hlPr_TXxzoSmtZ(nZ3$)VhO2CpxXWt(`46IFEtzwQX(Z zKqihmF`RPk-0A9ex|}0~Br>un$=rmN%&Ntd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