GUI-directives/hints again (Was: Developing usable GUIs)

2010-12-15 Thread Koray Atalag
Thanks a lot Helma - lots of reading material for Xmas!

Cheers,

-koray

-Original Message-
From: openehr-technical-bounces at openehr.org 
[mailto:openehr-technical-boun...@openehr.org] On Behalf Of hepabolu
Sent: Wednesday, 15 December 2010 8:58 a.m.
To: For openEHR technical discussions
Subject: Re: GUI-directives/hints again (Was: Developing usable GUIs)

Hi everyone,

for those interested, my full thesis is available here:
http://www.sourcefusion.nl/thesis/Dissertation-HvdL.pdf

A link on the openEHR website to this PDF is appreciated.

Sorry for not participating in the discussion, but my current job has me 
swamped with work and deadlines.

With regards,

Helma van der Linden


Thilo Schuler said the following on 13/12/2010 07:20:
 Hi everybody,

 I got permission to publish the MedInfo paper and its successor
 mentioned below.

 You can find it here (last row of table):
 http://www.openehr.org/wiki/display/resources/MedInfo+2007+-+Brisbane+Australia

 Cheers,
 Thilo


 After that Helma, her supervisor, Rong and I published a very
 future-oriented paper
 
 http://www.ncbi.nlm.nih.gov/pubmed/17911890?ordinalpos=1itool=EntrezSystem2.PEntrez.Pubmed.Pubmed_ResultsPanel.Pubmed_RVDocSum
 about sharing not only archetypes but also GUI artefacts. Helma
 later extended this idea in a chapter of her thesis and
 (re)published http://www.ncbi.nlm.nih.gov/pubmed/19368989 it. I
 will ask her whether we can put the paper and her thesis on the wiki
 (maybe she reads this anyway... Hello Helma?).
 This is definitely far away from end-to-end applications and it is
 unclear whether it will ever be realisable but it still has some
 very interesting thoughts for our discussion.
 An extended version of Lisa's EhrView mechanism
 http://openehr.org/wiki/display/dev/openEHR+Composition+XML+to+HTML with
 a repository of XSLT-fragments is - IMO - something that could
 definitely be realised in the midterm to provide an enhanced
 read-only view of arbitrary openEHR information.




 ___
 openEHR-technical mailing list
 openEHR-technical at openehr.org
 http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical

___
openEHR-technical mailing list
openEHR-technical at openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical




New requirements from endoscopy (was Re: GUI-directives/hints again (Was: Developing usable GUIs))

2010-12-15 Thread Grahame Grieve
hi Koray

Unknown  Indeterminate. (though they overlap)

Generally, this is not really an endoscopy requirement. I've seen it come up
in all sorts of contexts. (for instance, the Australias structured pathology
reports). Even in the case of a list of medications: you can assert
that the patient *isn't* taking any medication. Also, you can assert that you're
not sure of the entire list, but you know that the patient is *not* taking a
medication

But it doesn't apply generally - it's a pattern that varies across particular
issues. Frustratingly, there's no consistency in the way people think, as
far as I can tell, and the various coding systems are even more inconsistent
than people's thinking (mainly due to variations in total capture of woolly
thinking across issues)

With regard to the proposal to have nullFlavor on cluster, HL7 pretty much
does this in v3 - all associations have a nullFlavor. But it's a
difficult concept -
when you say the association is not a proper value - which parts of it? It's
like negation - what parts of observed as improper, and what parts properly
define the improperness? (LIke negation - what's the scope of the negation?).
I don't see why the same concern wouldn't apply to a cluster.

It seems to me that this was meant to be solved by having optional clusters
with mandatory items. Because of the variations in the pattern, you sometimes
write additional constraints - like, for instance, you can't observe
any features
of a carcinoma if the carcinoma is not present. But usually we don't bother
encoding these very obvious things in the models

I do think that you have GUI hinting requirements for the template
language here.
These are the kind of things our kind-of-like-archetype-system focuses on:
GUI hints in the templating language

Grahame






On Wed, Dec 15, 2010 at 1:01 AM, Thomas Beale
thomas.beale at oceaninformatics.com wrote:
 On 14/12/2010 10:44, Koray Atalag wrote:

 Hi Tom, here is our response:



 We have so far came across two issues which we believe should be handled at
 the clinical modelling levels (i.e. RM, archetypes and templates). These
 have to do with the structure and semantics of the clinical information and
 underpinned by domain knowledge.



 1) During our implementation one change request mandated that we should be
 able to depict certain data items (endoscopic findings) as
 present|unknown|absent as well as null if nothing has been specified about
 it. In the work for Nehta on anatomical pathology models Ian followed a
 similar approach where some findings were expressed as present, absent or
 indeterminate as far as I remember and this was definitely a repeating
 pattern.



 This caused us to look more carefully into the whole thing and we came to a
 conclusion that not all data items need/can be represented like that. For
 example it doesn?t really make sense to indicate absence of a drug in
 patient?s medication list or a medical procedure performed; they are either
 present and further qualified (i.e. Aspirin 300mg tid or biopsy performed)
 or not mentioned at all.



 However clinical findings, as in our case, essentially require to be
 depicted as unknown or absent explicitly. We have initially thought we could
 solve the issue by using flavours of null which is defined by openEHR RM for
 each ELEMENT data item (caution here it is only for ELEMENT) but the problem
 is that these findings are represented using CLUSTERs not ELEMENTs in our
 MST Archetypes. This is because we use ELEMENTs under each CLUSTER to depict
 properties or attributes of those findings such as size, number extent etc.
 And we cannot represent Absent with flavours of null either.

 Koray, I don't get this bit: you are saying you want the effect of flavours
 of null for whole sub-trees of information?



 Our workaround in current implementation is that we have inserted to each
 and every clinical finding CLUSTER a special ELEMENT data item called
 ?Present?? of DV_CODED_TEXT which have the following? values: 0Null,
 1Present, 2Unknown, 3Absent. We don?t further specify the reasons of
 Unknown but using flavours of null would be logical.



 Even more interesting when nothing is entered on GUI for a clinical finding
 or when entered but later on it is ?cleared? instead of putting value 0 for
 null we can actually ?prune? that particular CLUSTER (and all downstream
 items); i.e. remove altogether from the value instance.



 Our solution to this issue was to come up with a GUI Directive called
 ?isCoreConcept?.? This instructs our GUI generator to render that item with
 3- state checkbox and also hide all its children until a value has been
 selected. This directive also imposes an implicit precondition that the
 affected CLUSTER define the special child ELEMENT that denotes Present? -
 otherwise the GUI generator will render the model invalid. Actually when we
 rethink about this we found out that this particular directive actually is
 overloaded and has elements of both 

GUI-directives/hints again (Was: Developing usable GUIs)

2010-12-15 Thread pablo pazos

On 15/12/2010 00:57, pablo pazos wrote:

  
  Hi
  Thomas,



  
  ...
  

  You describe a very big picture and sounds logic, so we'll have:

  

  
Level 1: archetypes (for model complete data sets about a
  concept, general and specialized ones)
Level 2: structural templates (for localized use of
  archetypes, general and specialized templates)
Level 3: define the use of the structural templates

  GUI Templates: define directives over a couple of
Structural Templates to create a graphic representations of
some archetyped data.

  
  Message Templates: define directives to structure
archetyped data into messages with some syntax (HL7 v2, v3,
13606, CCR, CCD, CDA ...).

  

  


to do non-openEHR message syntaxes, it requires not just another
'template' (in fact, not much be needed here), but a transformation
from the operational template (OPT) form to the target form, e.g.
CCR XSD or whatever.



Doing futurology here, we could have these mapping rules defined inside the 
Message Templates, or  may be just referencing wich tranformation to use (the 
output syntax) will suffice. But I'm not sure what will be the inside of one of 
these templates.



  

  Report Templates: create reports with aggregated data and
graphic representations like charts. Can be used by GUI
Templates.

  
  Information Aggregation Templates: to define data
aggregation rules over a set of  archetyped data. Can be
used by GUI Templates, Report Templates, etc.

  
  Rule Templates: to define rules over a set of archetyped
data to check validity, consistency, etc, etc. Can be used
by Decision Support Modules, e.g. to check medication
reactions.

  
  ...

  

  


I am not sure what some of these would look like, but I suspect they
will come into existence one day...



I'm not sure neither, but I'm sure these templates will be part of any 
openEHR-based EHR.


-Pablo.

  
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20101215/09bc6d96/attachment.html