gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Emacs & org-mode for handling appointments


From: Gour
Subject: Re: [Gnumed-devel] Emacs & org-mode for handling appointments
Date: Mon, 28 Jul 2008 20:00:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> "Karsten" == Karsten Hilbert <address@hidden> writes:

>> 1) shcheduling appointment - when working with the patient record in
>> GNUmed and when I want to schedule an appointment, then GNUmed should
>> be able to call emacs (probably using emacsclient) with specified
>> *.org file to 'schedule' an appointment and

Karsten> 1) Give me a command line and I'll see what I can do ;-) Anyway
Karsten> I gather it'd be something like "emacs -b ..." or something.

I'm still thinking what would be the best way to do it...maybe it's
enough that GNUmed do the following:

1) ask for a *.org filename

2) open that filename with emacsclient (in order not to launch new
instance of Emacs, but that requires that user has emacs-server running
- not a problem), i.e. do: emacsclient filename.org.

Then user can add appointment in the outline level he/she prefers.

Karsten> 2) Would you like GNUmed to just pass patient information (and
Karsten> which) to emacs org mode or do you also want GNUmed to let you
Karsten> select date and time of the apptointment.

Yes, passing patient name would be nice, but I'm not sure atm how the
user could retrieve it.

Karsten>    The latter doesn't make too much sense, IMO, as all the
Karsten> appointment information itself is intended to be kept in the
Karsten> external application that'd be the place to most conveniently
Karsten> select the appointment time, too. Unless the scheduler offers
Karsten> an API for things like "give me the next available 15min
Karsten> appointment with Dr.Who". For which it'd also be useful to have
Karsten> GNUmed parse agenda output (see below). For which I'd
Karsten> appreciate a commandline exporting relevant agenda data into,
Karsten> say, CSV format.

There is possibility to define time-range for the appointment, but I
have to consult org-mode docs and/or ask on the mailing list to find out
if there is API for such things. Stay tuned...


>> Another feature would be to look at appointments and it can happen as
>> follows: GNUmed shall call emacsclient with specified *.org file and
>> then launch Agenda-view command to display all the appointments in
>> the current week.
Karsten> That'd be fairly easy to do. GNUmed could also parse an agenda
Karsten> export and display it in its appointment viewer.  

That would be COOL ;)

Karsten> Parsing this information would be beneficial anyway for
Karsten> auto-filling the (to-be) waiting list.

Wonderful!


Let me tell you that I really appreciate your readiness to help us make
GNUmed work for our needs. Thank you.


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D
----------------------------------------------------------------

Attachment: pgpz4zeHTDsK8.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]