[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] SOAP widget
From: |
Ian Haywood |
Subject: |
Re: [Gnumed-devel] SOAP widget |
Date: |
Tue, 6 Jul 2004 09:20:59 +1000 |
On Mon, 5 Jul 2004 23:20:41 +0200
Karsten Hilbert <address@hidden> wrote:
> Ian,
>
> I like your SOAP widget. If you add the methods get/set_data()
> that return/set the data in/from a dict keyed by SOAP parts
Easy done.
> connect it to the backend and connect SOAP matchers.
In this case we need to agree on a grammar to parse the contents.
So:
word ::=
(A-Z a-z)+
header :=
"subjective" | "objective" | "assessment" | "plan"
phrase ::=
(command) word (" " word)+
command ::=
word ":"
phraselist ::=
phrase (";" phrase)+
section ::=
header ":" phraselist
The SOAP widget would hold a dictionary of matcher objects.
whenever the cursor moves, it would have to backtrack in the text to find what
matcher to use,
which can be the "command" within a phrase (e.g. if a phrase starts with
"prescribe:",
the matcher is gmDrugMatcher), or failing that, a general matcher for each of
the four "headers"
Ian
--
PGP public key E750652E at wwwkeys.pgp.net
9BF0 67B7 F84F F7EE 0C42 C063 28FC BC52 E750 652E
pgpkqM_ETS_LG.pgp
Description: PGP signature
Re: [Gnumed-devel] SOAP widget - Fabulous Brilliant, Richard Terry, 2004/07/07