Constraints on displaying

2012-07-19 Thread pablo pazos

Hi Leysan,
Archetypes are for content definition, not to define rules on field displaying 
on GUI.
That should be part of a GUI directive, maybe inside a GUI Template. 
http://www.openehr.org/wiki/display/impl/GUI+directives+for+visualization+templates
-- 
Kind regards,
Ing. Pablo Pazos Guti?rrez
LinkedIn: http://uy.linkedin.com/in/pablopazosgutierrez
Blog: http://informatica-medica.blogspot.com/
Twitter: http://twitter.com/ppazos

Date: Thu, 19 Jul 2012 16:50:41 +0300
Subject: Constraints on displaying
From: pirogma...@gmail.com
To: openehr-technical at lists.openehr.org




Hello!

 

Could you
tell me, please, how can I constrain the archetype displaying
(or only the one field of the archetype), according to the sex (age) of a
patient?



Thank you, 

Leysan










___
openEHR-technical mailing list
openEHR-technical at lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org   
  
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20120719/80f6026e/attachment.html


Constraints on displaying

2012-07-19 Thread Diego Boscá
I think she is referring to something like if patient is male then
obstetrics field should be null, and those are created as invariants

2012/7/19 pablo pazos pazospablo at hotmail.com:
 Hi Leysan,

 Archetypes are for content definition, not to define rules on field
 displaying on GUI.
 That should be part of a GUI directive, maybe inside a GUI Template.
 http://www.openehr.org/wiki/display/impl/GUI+directives+for+visualization+templates

 --
 Kind regards,
 Ing. Pablo Pazos Guti?rrez
 LinkedIn: http://uy.linkedin.com/in/pablopazosgutierrez
 Blog: http://informatica-medica.blogspot.com/
 Twitter: http://twitter.com/ppazos

 
 Date: Thu, 19 Jul 2012 16:50:41 +0300
 Subject: Constraints on displaying
 From: pirogmanic at gmail.com
 To: openehr-technical at lists.openehr.org


 Hello!



 Could you tell me, please, how can I constrain the archetype displaying (or
 only the one field of the archetype), according to the sex (age) of a
 patient?

 Thank you,

 Leysan




 ___ openEHR-technical mailing
 list openEHR-technical at lists.openehr.org
 http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

 ___
 openEHR-technical mailing list
 openEHR-technical at lists.openehr.org
 http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org



Constraints on displaying

2012-07-19 Thread Koray Atalag
Hi, 

As I understand this is an issue related with semantics rather than 
presentation as it reads. Therefore I'd say you'd define the rule in 
Invariant/Rules section of the Archetype (I might be wrong with the naming 
though).

But as we go into real implementations some dodgy things start to come out; 
that you can't always separate semantics of information from presentation. For 
the latter GUI Directives, a new shadow model if you like, will solve the 
problem. However how to solve the issue with the semantics and link 
presentation to it consistently is a difficult question. That's why I still 
believe (sorry purists will hate me but), as they do in CDA - the way clinical 
information presentation has also a meaning in real practice, and we should be 
expressing it within Templates if not Archetypes. 

Thanks for raising this issue, so let the discussions begin ;)

Cheers,

-koray

-Original Message-
From: openehr-technical-bounces at lists.openehr.org 
[mailto:openehr-technical-boun...@lists.openehr.org] On Behalf Of Diego Bosc?
Sent: Friday, 20 July 2012 7:47 a.m.
To: For openEHR technical discussions
Subject: Re: Constraints on displaying

I think she is referring to something like if patient is male then obstetrics 
field should be null, and those are created as invariants

2012/7/19 pablo pazos pazospablo at hotmail.com:
 Hi Leysan,

 Archetypes are for content definition, not to define rules on field 
 displaying on GUI.
 That should be part of a GUI directive, maybe inside a GUI Template.
 http://www.openehr.org/wiki/display/impl/GUI+directives+for+visualizat
 ion+templates

 --
 Kind regards,
 Ing. Pablo Pazos Guti?rrez
 LinkedIn: http://uy.linkedin.com/in/pablopazosgutierrez
 Blog: http://informatica-medica.blogspot.com/
 Twitter: http://twitter.com/ppazos

 
 Date: Thu, 19 Jul 2012 16:50:41 +0300
 Subject: Constraints on displaying
 From: pirogmanic at gmail.com
 To: openehr-technical at lists.openehr.org


 Hello!



 Could you tell me, please, how can I constrain the archetype 
 displaying (or only the one field of the archetype), according to the 
 sex (age) of a patient?

 Thank you,

 Leysan




 ___ openEHR-technical 
 mailing list openEHR-technical at lists.openehr.org
 http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.open
 ehr.org

 ___
 openEHR-technical mailing list
 openEHR-technical at lists.openehr.org
 http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.open
 ehr.org

___
openEHR-technical mailing list
openEHR-technical at lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org



Constraints on displaying

2012-07-19 Thread Thomas Beale
On 19/07/2012 20:46, Diego Bosc? wrote:
 I think she is referring to something like if patient is male then
 obstetrics field should be null, and those are created as invariants

 *
 *

My understanding as well. ADL 1.5 will make this possible e.g., with a 
rule in the archetype like:

$$gender/value = some_terminology::12345 implies exists 
../path/to/some/gender/specific/cluster


where 12345 is the term for female.

- thomas

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20120719/3f3cffb6/attachment.html


Constraints on displaying

2012-07-19 Thread Ляйсан Сабирьянова
Hello!



Could you tell me, please, how can I constrain the archetype displaying (or
only the one field of the archetype), according to the sex (age) of a
patient?

Thank you,

Leysan
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20120719/9ab4d77e/attachment.html