Creating a hospital erp (hospital management) in Django

1,649 views
Skip to first unread message

Saadat

unread,
Feb 10, 2012, 5:58:16 AM2/10/12
to Django users
Hello All,
I'm in my final year of computer science engineering and for my final
year project, i'm creating a hospital erp. I'm a bit confused about
where to start from. Any sort of help will be appreciated. Thanks a
lot.

Cheers
Saadat

adesan...@gmail.com

unread,
Feb 10, 2012, 8:06:28 AM2/10/12
to django...@googlegroups.com
Hello, nice thread.

**tagged to keep following..


+adesst
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Python_Junkie

unread,
Feb 10, 2012, 8:18:55 AM2/10/12
to Django users
Not sure from your post, which piece you are stuck on.

1. Have you used Django before?
If not start with the tutorial

https://www.djangoproject.com/

2. If you have a basic understanding of Django, have you been able to
set up a basic project /app and connect run syncdb.
One can always connect to the sqllite database, because it is built
in, but getting some other database to connect can be a time consuming
process if the procedure has not been established on your machine.

3. If you have done the above 2 items then you should move in a
parallel path.

a. Start defining your database model to support the business and the
workflow that you intend to create.
b. Use some sort of wire frame (framework) to lay out your web pages
to support and interact step 3 a.

Python_Junkie

unread,
Feb 10, 2012, 8:26:47 AM2/10/12
to Django users
I had not completed my previous post, and hit the send button by
mistake.

One wire frame work is
http://www.balsamiq.com/products/mockups/manifesto

And you can download a free trial.

If you search on Frameworks then you will find a number of others that
are open source, or you can simply use yellow stickies, as some of
these web sites suggest as an alternative.

Then convert the yellow stickies into web pages and link them to the
backend database.

Good luck


On Feb 10, 8:18 am, Python_Junkie <software.buy.des...@gmail.com>
wrote:

Richard House

unread,
Feb 10, 2012, 8:27:25 AM2/10/12
to django...@googlegroups.com
Hi Saadat,
Rather than creating something new, have you looked at contributing to software from such lists like this?
http://en.wikipedia.org/wiki/List_of_open-source_healthcare_software

Regards,
Richard

Patricio Valarezo

unread,
Feb 10, 2012, 8:59:29 AM2/10/12
to django...@googlegroups.com
El 10/02/12 8:26, Python_Junkie escribi�:

What about choosing a system development methodology? A simple one could
you give some clues, the code is always the last thing to do.


--
Patricio Valarezo Lozano.
pato...@pupilabox.net.ec
www.pupilabox.net.ec
"las cosas no se hacen solas, alguien las tiene que hacer..."

Python_Junkie

unread,
Feb 10, 2012, 9:05:40 AM2/10/12
to Django users
Is the project referenced in this link written in Django.

Was your goal for your class project to write a Django app?



On Feb 10, 8:27 am, Richard House <rhou...@gmail.com> wrote:
> Hi Saadat,
> Rather than creating something new, have you looked at contributing to software from such lists like this?http://en.wikipedia.org/wiki/List_of_open-source_healthcare_software

Alec Taylor

unread,
Feb 10, 2012, 10:50:19 AM2/10/12
to django...@googlegroups.com

A lot of ERP is general across any field.

I recommend working from the AGPL licensed OpenERP into Django
(http://apps.openerp.com/addon/4533): http://openerp.com

Then just build in all the hospital ERP related functions, streamline
all the interfaces (including config and admin interfaces).

If you find yourself finishing the project early, just throw in some
scope-creep :P, it's an ERP afterall!

Good luck ;)

Saadat

unread,
Feb 13, 2012, 3:56:48 PM2/13/12
to Django users
Thank you Python_junkie
I've created the poll app and I'm working on this Hospital ERP thing.
I've also created the database schema and put some dummy values for
testing. Then I created the models using 'inspected' command and saved
the models in models.py file. Now I'm confused where to put the
models.py file and what to with it. Guide me please.

Thanks a lot.
Saadat

On Feb 10, 6:18 pm, Python_Junkie <software.buy.des...@gmail.com>
wrote:

Saadat

unread,
Feb 13, 2012, 3:58:06 PM2/13/12
to Django users
Thanks Richard House,
Its my final project and I have to create something new. So I cannot
work on something that has already been built. Thanks again.

On Feb 10, 6:27 pm, Richard House <rhou...@gmail.com> wrote:
> Hi Saadat,
> Rather than creating something new, have you looked at contributing to software from such lists like this?http://en.wikipedia.org/wiki/List_of_open-source_healthcare_software

Saadat

unread,
Feb 13, 2012, 3:59:30 PM2/13/12
to Django users
Hi Patricio
I dont understand what you mean by System Development methodology.
What exactly do you want me to let you know?

Thanks

On Feb 10, 6:59 pm, Patricio Valarezo <patov...@pupilabox.net.ec>
wrote:
> patov...@pupilabox.net.ecwww.pupilabox.net.ec

Saadat

unread,
Feb 13, 2012, 4:00:12 PM2/13/12
to Django users
Yeah, the project is to be written in Django and it was meant to be
written in Django only.

On Feb 10, 7:05 pm, Python_Junkie <software.buy.des...@gmail.com>
wrote:

Ovnicraft

unread,
Feb 13, 2012, 8:30:55 PM2/13/12
to django...@googlegroups.com
Maybe DRY can help you and start from OpenERP.
Its wrote in python, MVC, WS, etc.

Regards,

Cheers
Saadat

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
Cristian Salamea
@ovnicraft

Python_Junkie

unread,
Feb 13, 2012, 10:07:03 PM2/13/12
to Django users
Now that you have your file >>models.py >>>> place this file in the
app folder after creating your app

1. python manage.py start app My_Erp (for example)
2. a blank models.py file will be created, overwrite this with your
models.py
3. run the command to sync the database, assuming that your set up the
settings.py file has been set up correctly to connect to the database
of your choice.

python manage.py syncdb

Let me know if this works for you

sebastien piquemal

unread,
Feb 14, 2012, 8:37:35 AM2/14/12
to Django users
+1 to @Patricio Valarezo's comment :

If you want to build a system for hospitals, you've got to know how an
hospital works first. So, make interviews, draw mockups, more
interviews, code a prototype, more interviews, and so on ... and only
then you'll know what you need to do.

On Feb 14, 4:07 am, Python_Junkie <software.buy.des...@gmail.com>
wrote:

Saadat

unread,
Feb 14, 2012, 9:12:13 AM2/14/12
to Django users
Thanks Sebastien, I already have the info about the various
departments of the hospital. I also created a sample database with
tables being Patient detail, Then I created the admin interface and I
could login and see the app over there. I could also access and edit
the details of the tables thru the admin interface. Now, how do i
create the view for normal user who is not an admin. What do i have to
do with the templates? Thanks for everything.

Saadat

Alec Taylor

unread,
Feb 14, 2012, 9:16:09 AM2/14/12
to django...@googlegroups.com
Hi Saadat,

I recommend reading a book on Django to get started.

All the best,

Alec Taylor

Message has been deleted

Saadat

unread,
Feb 16, 2012, 6:18:03 AM2/16/12
to Django users
Hi all, I created a view today and I could access the database
contents using Templates. Now I wish to create a listbox that would
have the names of doctors. When an item from the list is selected, an
sql query should be sent which will return all the details of that
doctor, where doc_id is the primary key? how do we create buttons? do
we need to use html or django can handle them also?

Thanks a lot people.
Saadat

On Feb 16, 4:12 pm, Saadat <saa...@saadat.in> wrote:
> Hello All
> I created a view today and I could access the database values usi
>
> On Feb 14, 8:07 am, Python_Junkie <software.buy.des...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > Now that you have your file >>models.py  >>>> place this file in the
> > app folder after creating your app
>
> > 1.  python manage.py start app  My_Erp (for example)
> > 2.  a blank models.py file will be created, overwrite this with your
> > models.py
> > 3. run the command to sync the database, assuming that your set up the
> > settings.py file has been set up correctly to connect to the database
> > of your choice.
>
> > python manage.py syncdb
>
> > Let me know if this works for you
>

Alec Taylor

unread,
Feb 16, 2012, 9:50:27 PM2/16/12
to django...@googlegroups.com
ModelForm

Saadat

unread,
Feb 18, 2012, 7:53:36 AM2/18/12
to Django users
Hello all
Can someone guide me to create a drop down menu (single-level).. i
need to put this menu in a header file that will be included in every
page. A bit of code and some explanation is required. tried searching
on the Internet, but couldn't find anything. thanks a lot

Alec Taylor

unread,
Feb 18, 2012, 8:19:22 AM2/18/12
to django...@googlegroups.com
http://divitodesign.com/css/how-to-dropdown-css-menu/

When you're doing template stuff, read:
- HTML
- CSS
- JS
- Python

tutorials.

Also, get a book. The questions you are asking are textbook level questions.

Saadat

unread,
Feb 18, 2012, 8:52:52 AM2/18/12
to django...@googlegroups.com
Alec, I've tried including this css file everywhere, but it doesn't show up anywhere. What exactly do i do with it to include this script on any page, say index. i tried doing it through html as well as django. I don't know what I'm doing wrong?

Marc Aymerich

unread,
Feb 18, 2012, 9:09:41 AM2/18/12
to django...@googlegroups.com
On Sat, Feb 18, 2012 at 2:52 PM, Saadat <saa...@saadat.in> wrote:
> Alec, I've tried including this css file everywhere, but it doesn't show up anywhere. What exactly do i do with it to include this script on any page, say index. i tried doing it through html as well as django. I don't know what I'm doing wrong?
>

check this:
https://docs.djangoproject.com/en/dev/howto/static-files/

btw, this seems to me a very basic web dev related question, so maybe
it will be better for you to spend some time learning general web dev
related stuff before doing things by your own.

--
Marc

Saadat

unread,
Feb 20, 2012, 9:12:36 AM2/20/12
to Django users
Hello all
I'm stuck on static files since yesterday. It gives me an error that
no module called "staticfiles" found. What my requirement is that i
have a header file where I'm including a css dropdown menu. how do i
include that file, without using staticfiles. What all needs to be
done to include that file. Thanks a lot.

Saadat

Alec Taylor

unread,
Feb 20, 2012, 9:14:24 PM2/20/12
to django...@googlegroups.com
...

Design doesn't matter one bit for what you're doing.

Don't try and win design awards by having CSS dropdowns.

Concentrate on solving their business logic rather than adding images
of sexy nurses

And get that book. There are free books online, there's the official
django tutorial also.

Reply all
Reply to author
Forward
0 new messages