Hi,
Requirement:
For a hospital website, patients can take the appointment for a doctor in the select department, e.g. Dr. Kevin, Cardiology. Now the Dr. Kevin's days/hours are as follows:
Monday, Wednesday and Friday
Morning 10 AM - 11 AM
Evening 5 PM - 9 PM

similarly all the doctors have their schedules, some 6 days a week, some like Dr. Kevin M W F or T T F.

So when a user wants appointment, from a form he should select the department (taxonomy terms) and the doctor (user), ideally this users drop down should have a filtered list i.e. doctors from the selected department (taxonomy term) only.

Modules in use:
Taxonomy,
CCK
Content Taxonomy so that my cck nodes can be linked with taxonomy terms.
Content Profile to extend the user profile and use them as nodes, now with CCK and Content Taxonomy I can link my users with taxonomy terms. So this is how my doctors (users with a role called doctor) are created.

Problem:
A doctor belongs to one or more departments, this is fine, but I've no clue how do I build an appointment system from here as I explained in my requirement.

Please suggest an approach to move forward from here.

Regards

Comments

kjv1611’s picture

Have you looked at the Storm module? It might give you some more options. Another one to look at might be the Organic Groups Module.

Storm: http://drupalmodules.com/module/storm
Storm Group: http://groups.drupal.org/storm

Organic Groups: http://drupalmodules.com/module/organic-groups

I am learning’s picture

Thanks kjv1611 for the reply, I checked these modules but they are very comprehensive and not providing directly something I want. It would be great if there exists a module to contact a user, I think from there I'll customize it. I've yet not found any module that matches my requirement, so I'm thinking if I get a nearest match I'll try to customize it.

Please suggest a module where a user can contact other user, a simple module like contact author, not comprehensive like OG or Storm.

Regards

waqasrazzaq’s picture

Hi Rajoo,
I have also exactly the same requirement, and done r&d a lot about it but still not found anything specific to our needs. I am still working on it to find out a better solution. If you found a good solution then Kindly inform me.

I am learning’s picture

hi waqas,

I've not found anything yet, for the time being I'm trying to use Contact Form on Node

Check this also.

Rajoo

wqr786’s picture

Anyone found good one related to this discussion? I'm looking for something similar, but if it's not going to be there then eventually I might end in developing it.

Thanks,
Waqar
4 Ace Technologies

jmallol’s picture

I'm subscribing it. I have the same need. A module with a front end where anonymous user can make an appointment and a back end to set holidays, time slots.

Did you find any module that does it? or Did you develop it?

Have done quite a research and haven't found anything similar.
Thanks,

Anonymous’s picture

I spent a long time researching this issue. There are some good solutions like rooms, COD, availability calendars that come close and could be amended to suit your needs if you can code. I have built something that would suit your needs using standard Drupal modules.

You need Rules, Views, Entity reference, Entity reference prepopulate, date fields, Calendar/Full Calendar, Profile2, a couple of content types with date fields.

PM if you want more details.

Too long for me to write here at the moment.

Ed