pass_through attribute in ADL 1.5

2012-01-26 Thread David Moner
In fact, the emphasis attribute of 13606 is a CV.

2012/1/26 Diego Bosc? yampeku at gmail.com

 but they won't show everything on a 'full' GUI either. Maybe what is
 needed is not only a boolean but a way to tell exactly the criteria
 with different values of a controlled vocabulary, such as 'mandatory',
 'recommended', 'passable'/'skippable'...

 2012/1/26 David Moner damoca at gmail.com:
  Following this new sense for it, I think that the implications for a GUI
 or
  visual representation would depend on a decision of the implementers. If
 the
  screen space is reduced, they could opt for just showing the clinically
  relevant data and leave the rest for a second screen, a pop-up or
 something
  like that.
 
 
  2012/1/25 Diego Bosc? yampeku at gmail.com
 
  Would this attribute value change depending on where is the archetype
  used? i.e. if we use it on a GUI of a smartphone rather than a
  standalone or web application
 
  2012/1/25 David Moner damoca at gmail.com:
  
   2012/1/25 Thomas Beale thomas.beale at oceaninformatics.com
  
   Maybe another way of understanding this flag is as 'this node can be
   skipped without loss of meaning'. I would be very interested to know
 if
   we
   should make AQL queries sensitive to this flag. Has anyone thought
   about
   that?
  
  
  
   In this sense I can see the reason for this attribute, since it can be
   understood as part of the documentation of the clinical model. But
   definitely it is not clearly described at the specs since there it
 seems
   to
   be linked to the presentation template only.
  
   I fact, there is a similar attribute in EN13606 ITEM class, but used
 in
   an
   opposite sense. The attribute is emphasis and it is described as A
   way of
   denoting that the composer wished to mark this ITEM as being of
   particular
   note (an unusual measurement value, an unexpected outcome, anything
 that
   might be considered necessary to highlight to a future reader).
  
   I have never thought about this. I don't know if this kind of
   annotations
   (this item is important or clinically relevant or not) better fits
 as
   part
   of the RM or part of the AOM. In other words, if this marker is
 related
   to a
   specific data instance or to a data item definition in an archetype.
  
   Thoughts on this?
  
  
  
   --
   David Moner Cano
   Grupo de Inform?tica Biom?dica - IBIME
   Instituto ITACA
   http://www.ibime.upv.es
  
   Universidad Polit?cnica de Valencia (UPV)
   Camino de Vera, s/n, Edificio G-8, Acceso B, 3? planta
   Valencia ? 46022 (Espa?a)
  
   ___
   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
 
 
 
 
  --
  David Moner Cano
  Grupo de Inform?tica Biom?dica - IBIME
  Instituto ITACA
  http://www.ibime.upv.es
 
  Universidad Polit?cnica de Valencia (UPV)
  Camino de Vera, s/n, Edificio G-8, Acceso B, 3? planta
  Valencia ? 46022 (Espa?a)
 
  ___
  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




-- 
David Moner Cano
Grupo de Inform?tica Biom?dica - IBIME
Instituto ITACA
http://www.ibime.upv.es

Universidad Polit?cnica de Valencia (UPV)
Camino de Vera, s/n, Edificio G-8, Acceso B, 3? planta
Valencia ? 46022 (Espa?a)
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/b6c254ed/attachment.html


pass_through attribute in ADL 1.5

2012-01-26 Thread Thomas Beale
On 25/01/2012 22:45, David Moner wrote:

 2012/1/25 Thomas Beale thomas.beale at oceaninformatics.com 
 mailto:thomas.beale at oceaninformatics.com

 Maybe another way of understanding this flag is as 'this node can
 be skipped without loss of meaning'. I would be very interested to
 know if we should make AQL queries sensitive to this flag. Has
 anyone thought about that?



 In this sense I can see the reason for this attribute, since it can be 
 understood as part of the documentation of the clinical model. But 
 definitely it is not clearly described at the specs since there it 
 seems to be linked to the presentation template only.

 I fact, there is a similar attribute in EN13606 ITEM class, but used 
 in an opposite sense. The attribute is emphasis and it is described 
 as A way of denoting that the composer wished to mark this ITEM as 
 being of particular note (an unusual measurement value, an unexpected 
 outcome, anything that might be considered necessary to highlight to a 
 future reader).

I remember many arguments about that one in CEN meetings. It was 
intended originally to be used on text items.


 I have never thought about this. I don't know if this kind of 
 annotations (this item is important or clinically relevant or not) 
 better fits as part of the RM or part of the AOM. In other words, if 
 this marker is related to a specific data instance or to a data item 
 definition in an archetype.

well I am always suspicious of subjective markers like 'important' and 
so on. At least 'pass-through' is a mechanistic kind of concept. I agree 
that it has not been analysed properly though, and I think that can only 
be done in the clinical realm. At the moment, I think we need to support 
it because it is already in use in the .oet templates. The question is 
whether it turns out to have some proper semantic basis or is indeed 
'just presentation'. We should ask why it is there at all: the reason is 
that it deals with information nodes that are not needed cognitively 
(i.e. for human understanding) but are an unavoidable artefact of 
information trees - but only sometimes... as far as I know there is no 
reliable algorithm for removing these nodes from presentation.

- thomas

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


pass_through attribute in ADL 1.5

2012-01-26 Thread Thomas Beale
On 25/01/2012 23:03, David Moner wrote:
 Following this new sense for it, I think that the implications for a 
 GUI or visual representation would depend on a decision of the 
 implementers. If the screen space is reduced, they could opt for just 
 showing the clinically relevant data and leave the rest for a second 
 screen, a pop-up or something like that. 

I know that sounds logical but that is not the way clinical people use 
this attribute. They look at certain archetypes and simply decide to add 
it, with out regard for which particular device it is displayed on. For 
them it is not optional to remove it or keep it - in a given archetype. 
In other archetypes it is not used at all. I will try to obtain some 
examples...

- thomas



How to get the URL to an archetype on the CKM?

2012-01-26 Thread pablo pazos

Hi,
When I want to show an archetype to someone I have to tell him/her to go to the 
CKM and do some search.Is there any way to get an URL to display one archetype 
on the CKM?

-- 
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
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/23dd030e/attachment.html


How to get the URL to an archetype on the CKM?

2012-01-26 Thread Sebastian Garde
Hi Pablo,

sure, the easiest is probably to go to the Share with Colleague Tab 
for that archetype.
You'll find a) the direct URL to this archetype which you can copy or 
share using AddToAny and b) use the form to send it directly.

For details like referring to a specific revision of the archetype, or 
opening a specific view (e.g. the Mindmap view) see 
http://www.openehr.org/wiki/display/healthmod/Opening+a+Resource+on+CKM+Start

Regards
Sebastian

On 26.01.2012 16:42, pablo pazos wrote:
 Hi,

 When I want to show an archetype to someone I have to tell him/her to 
 go to the CKM and do some search.
 Is there any way to get an URL to display one archetype on the CKM?

 -- 
 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


-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/50e764e6/attachment.html


How to get the URL to an archetype on the CKM?

2012-01-26 Thread Diego Boscá
Hello Pablo,

The way for accessing an archetype on the CKM from an URL is to build
a URL similar to this

http://www.openehr.org/knowledge/#showArchetypeById_openEHR-EHR-OBSERVATION.lab_test-lipids.v1
http://www.openehr.org/knowledge/#showArchetypeById_openEHR-EHR-OBSERVATION.lab_test-full_blood_count.v1

Regards

2012/1/26 pablo pazos pazospablo at hotmail.com:
 Hi,

 When I want to show an archetype to someone I have to tell him/her to go to
 the CKM and do some search.
 Is there any way to get an URL to display one archetype on the CKM?

 --
 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

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





How to get the URL to an archetype on the CKM?

2012-01-26 Thread Ian McNicoll
Hi Pablo,

Open the archetype and press the share with colleague button (Envelope
icon) this gives you a few options.

Ian

Dr Ian McNicoll
office +44 (0)1536 414 994
fax +44 (0)1536 516317
mobile +44 (0)775 209 7859
skype ianmcnicoll
ian.mcnicoll at oceaninformatics.com

Clinical Modelling Consultant,?Ocean Informatics, UK
Director/Clinical Knowledge Editor openEHR Foundation ?www.openehr.org/knowledge
Honorary Senior Research Associate, CHIME, UCL
SCIMP Working Group, NHS Scotland
BCS Primary Health Care ?www.phcsg.org



On 26 January 2012 15:42, pablo pazos pazospablo at hotmail.com wrote:
 Hi,

 When I want to show an archetype to someone I have to tell him/her to go to
 the CKM and do some search.
 Is there any way to get an URL to display one archetype on the CKM?

 --
 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

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





ADL reading

2012-01-26 Thread Márcio Costa
Hello guys,

i'm trying to build a app using arquetypes and i need to read the ADL to
build my interface.

where i can get some examples how reading ADL 1.5? Is there some API to do
that?

thanks in advance,

*M?rcio Costa*
B.Sc. in Computer Science @ Cin/UFPE
M.Sc. Candidate in Computer Science @ CIn/UFPE
MSN: mdckoury at gmail.com
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/b9c66858/attachment.html


ADL reading

2012-01-26 Thread Athanasios Anastasiou
Hello Marcio

Perhaps the quickest route to do this would be to use the java reference 
implementation (http://www.openehr.org/projects/java.html) and more 
specifically the classes ADLParser and Archetype. Essentially, you 
create a new ADLParser object passing as  a parameter a standard file 
object pointing to your ADL file and then from the parser you can obtain 
an Archetype object using the parse() member function.

//For a (minimal) example
File fd;
ADLParser theParser;
Archetype MyArchetype;

fd = new File(openEHR-EHR-OBSERVATION.blood_pressure.v1.adl);
theParser = new ADLParser(fd);
MyArchetype = theParser.parse();
//--
// It omits some exception handling but this is the main idea

You can now traverse the archetype structure implied by your .adl file 
using the functions of Archetype such as getAdlVersion(), 
getConceptName(), getChildren() and others.


You could also use the Clinical Knowledge Manager 
(http://openehr.org/knowledge/) to browse archetypes of interest and 
download them in XML (rather than ADL). From there you could possibly 
process the XML to recover anything you want (concepts, terms, labels etc).

The code from the opereffa project 
(http://opereffa.chime.ucl.ac.uk/introduction.jsf) might also be helpful 
for you, depending on what exactly you are trying to do (Web app in 
Java, deployed over Tomcat).

That one is very detailed in that it includes all the necessary (and 
extensive) work that is required to handle Archetype(able) information 
through the current reference implementation and the Data Access Objects 
mechanism. If my memory is not failing me, it also includes an actual 
user interface generator so that forms accepting data are constructed 
through the archetypes.

I hope this helps.

All the best
Athanasios Anastasiou

On 26/01/2012 17:43, M?rcio Costa wrote:
 Hello guys,

 i'm trying to build a app using arquetypes and i need to read the ADL to
 build my interface.

 where i can get some examples how reading ADL 1.5? Is there some API to
 do that?

 thanks in advance,

 *M?rcio Costa*
 B.Sc. in Computer Science @ Cin/UFPE
 M.Sc. Candidate in Computer Science @ CIn/UFPE
 MSN: mdckoury at gmail.com mailto:mdckoury at gmail.com




ADL reading

2012-01-26 Thread Márcio Costa
Hello Athanasios ,

your information helped me a lot! I was a little bit lost in the world of
openEHR. Now i know how to start my journey!

Thanks you very much!

Best Regards,

*M?rcio Costa*
B.Sc. in Computer Science @ Cin/UFPE
M.Sc. Candidate in Computer Science @ CIn/UFPE
MSN: mdckoury at gmail.com



2012/1/26 Athanasios Anastasiou athanasios.anastasiou at plymouth.ac.uk

 Hello Marcio

 Perhaps the quickest route to do this would be to use the java reference
 implementation (http://www.openehr.org/projects/java.html) and more
 specifically the classes ADLParser and Archetype. Essentially, you
 create a new ADLParser object passing as  a parameter a standard file
 object pointing to your ADL file and then from the parser you can obtain
 an Archetype object using the parse() member function.

 //For a (minimal) example
 File fd;
 ADLParser theParser;
 Archetype MyArchetype;

 fd = new File(openEHR-EHR-OBSERVATION.blood_pressure.v1.adl);
 theParser = new ADLParser(fd);
 MyArchetype = theParser.parse();
 //--
 // It omits some exception handling but this is the main idea

 You can now traverse the archetype structure implied by your .adl file
 using the functions of Archetype such as getAdlVersion(),
 getConceptName(), getChildren() and others.


 You could also use the Clinical Knowledge Manager
 (http://openehr.org/knowledge/) to browse archetypes of interest and
 download them in XML (rather than ADL). From there you could possibly
 process the XML to recover anything you want (concepts, terms, labels etc).

 The code from the opereffa project
 (http://opereffa.chime.ucl.ac.uk/introduction.jsf) might also be helpful
 for you, depending on what exactly you are trying to do (Web app in
 Java, deployed over Tomcat).

 That one is very detailed in that it includes all the necessary (and
 extensive) work that is required to handle Archetype(able) information
 through the current reference implementation and the Data Access Objects
 mechanism. If my memory is not failing me, it also includes an actual
 user interface generator so that forms accepting data are constructed
 through the archetypes.

 I hope this helps.

 All the best
 Athanasios Anastasiou

 On 26/01/2012 17:43, M?rcio Costa wrote:
  Hello guys,
 
  i'm trying to build a app using arquetypes and i need to read the ADL to
  build my interface.
 
  where i can get some examples how reading ADL 1.5? Is there some API to
  do that?
 
  thanks in advance,
 
  *M?rcio Costa*
  B.Sc. in Computer Science @ Cin/UFPE
  M.Sc. Candidate in Computer Science @ CIn/UFPE
  MSN: mdckoury at gmail.com mailto:mdckoury at gmail.com
 
 ___
 openEHR-technical mailing list
 openEHR-technical at openehr.org
 http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/68c5ce2d/attachment.html


ADL reading

2012-01-26 Thread Ian McNicoll
Hi Marciio,

You should also look at

http://code.google.com/p/open-ehr-gen-framework/

The author Pablo Pazos is on this list and will no doubt have how own
suggestions.

Do not despair - openEHR confusion is a normal pre-requisite to
eventual enlightenment  :-)

Ian
Dr Ian McNicoll
office +44 (0)1536 414 994
fax +44 (0)1536 516317
mobile +44 (0)775 209 7859
skype ianmcnicoll
ian.mcnicoll at oceaninformatics.com

Clinical Modelling Consultant,?Ocean Informatics, UK
Director/Clinical Knowledge Editor openEHR Foundation ?www.openehr.org/knowledge
Honorary Senior Research Associate, CHIME, UCL
SCIMP Working Group, NHS Scotland
BCS Primary Health Care ?www.phcsg.org



2012/1/26 M?rcio Costa mdckoury at gmail.com:
 Hello Athanasios ,

 your information helped me a lot! I was a little bit lost in the world of
 openEHR. Now i know how to start my journey!

 Thanks you very much!

 Best Regards,

 M?rcio Costa
 B.Sc. in Computer Science @ Cin/UFPE
 M.Sc. Candidate in Computer Science @ CIn/UFPE
 MSN: mdckoury at gmail.com



 2012/1/26 Athanasios Anastasiou athanasios.anastasiou at plymouth.ac.uk

 Hello Marcio

 Perhaps the quickest route to do this would be to use the java reference
 implementation (http://www.openehr.org/projects/java.html) and more
 specifically the classes ADLParser and Archetype. Essentially, you
 create a new ADLParser object passing as ?a parameter a standard file
 object pointing to your ADL file and then from the parser you can obtain
 an Archetype object using the parse() member function.

 //For a (minimal) example
 File fd;
 ADLParser theParser;
 Archetype MyArchetype;

 fd = new File(openEHR-EHR-OBSERVATION.blood_pressure.v1.adl);
 theParser = new ADLParser(fd);
 MyArchetype = theParser.parse();
 //--
 // It omits some exception handling but this is the main idea

 You can now traverse the archetype structure implied by your .adl file
 using the functions of Archetype such as getAdlVersion(),
 getConceptName(), getChildren() and others.


 You could also use the Clinical Knowledge Manager
 (http://openehr.org/knowledge/) to browse archetypes of interest and
 download them in XML (rather than ADL). From there you could possibly
 process the XML to recover anything you want (concepts, terms, labels
 etc).

 The code from the opereffa project
 (http://opereffa.chime.ucl.ac.uk/introduction.jsf) might also be helpful
 for you, depending on what exactly you are trying to do (Web app in
 Java, deployed over Tomcat).

 That one is very detailed in that it includes all the necessary (and
 extensive) work that is required to handle Archetype(able) information
 through the current reference implementation and the Data Access Objects
 mechanism. If my memory is not failing me, it also includes an actual
 user interface generator so that forms accepting data are constructed
 through the archetypes.

 I hope this helps.

 All the best
 Athanasios Anastasiou

 On 26/01/2012 17:43, M?rcio Costa wrote:
  Hello guys,
 
  i'm trying to build a app using arquetypes and i need to read the ADL to
  build my interface.
 
  where i can get some examples how reading ADL 1.5? Is there some API to
  do that?
 
  thanks in advance,
 
  *M?rcio Costa*
  B.Sc. in Computer Science @ Cin/UFPE
  M.Sc. Candidate in Computer Science @ CIn/UFPE
  MSN: mdckoury at gmail.com mailto:mdckoury at gmail.com
 
 ___
 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





ADL reading

2012-01-26 Thread Thomas Beale

Just one note of caution - the Java project is in the middle of 
upgrading to ADL/AOM 1.5 from 1.4. So the operational code that is there 
today is for ADL 1.4. If you are just getting started, the differences 
probably won't matter for a while. If you specifically want to see ADL 
1.5, you can use the ADL Workbench 
http://www.openehr.org/svn/ref_impl_eiffel/TRUNK/apps/adl_workbench/doc/web/index.html.
 
This is written in Eiffel, which is probably not a language you are 
familiar with, but the tool, and test archetypes 
http://www.openehr.org/svn/knowledge2/TRUNK/archetypes/ will help you 
understand ADL 1.5, along with this wiki page. 
http://www.openehr.org/wiki/pages/viewpage.action?pageId=196633 In a 
few months the Java code base will catch up, so ADL 1.5 in Java won't be 
that far away.

- thomas

On 26/01/2012 18:20, Athanasios Anastasiou wrote:
 Hello Marcio

 Perhaps the quickest route to do this would be to use the java reference
 implementation (http://www.openehr.org/projects/java.html) and more
 specifically the classes ADLParser and Archetype. Essentially, you
 create a new ADLParser object passing as  a parameter a standard file
 object pointing to your ADL file and then from the parser you can obtain
 an Archetype object using the parse() member function.

 //For a (minimal) example
 File fd;
 ADLParser theParser;
 Archetype MyArchetype;

 fd = new File(openEHR-EHR-OBSERVATION.blood_pressure.v1.adl);
 theParser = new ADLParser(fd);
 MyArchetype = theParser.parse();
 //--
 // It omits some exception handling but this is the main idea

 You can now traverse the archetype structure implied by your .adl file
 using the functions of Archetype such as getAdlVersion(),
 getConceptName(), getChildren() and others.


 You could also use the Clinical Knowledge Manager
 (http://openehr.org/knowledge/) to browse archetypes of interest and
 download them in XML (rather than ADL). From there you could possibly
 process the XML to recover anything you want (concepts, terms, labels etc).

 The code from the opereffa project
 (http://opereffa.chime.ucl.ac.uk/introduction.jsf) might also be helpful
 for you, depending on what exactly you are trying to do (Web app in
 Java, deployed over Tomcat).

 That one is very detailed in that it includes all the necessary (and
 extensive) work that is required to handle Archetype(able) information
 through the current reference implementation and the Data Access Objects
 mechanism. If my memory is not failing me, it also includes an actual
 user interface generator so that forms accepting data are constructed
 through the archetypes.

 I hope this helps.

 All the best
 Athanasios Anastasiou

 On 26/01/2012 17:43, M?rcio Costa wrote:
 Hello guys,

 i'm trying to build a app using arquetypes and i need to read the ADL to
 build my interface.

 where i can get some examples how reading ADL 1.5? Is there some API to
 do that?

 thanks in advance,

 *M?rcio Costa*
 B.Sc. in Computer Science @ Cin/UFPE
 M.Sc. Candidate in Computer Science @ CIn/UFPE
 MSN: mdckoury at gmail.commailto:mdckoury at gmail.com

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



-- 
Ocean Informatics   *Thomas Beale
Chief Technology Officer, Ocean Informatics 
http://www.oceaninformatics.com/*

Chair Architectural Review Board, /open/EHR Foundation 
http://www.openehr.org/
Honorary Research Fellow, University College London 
http://www.chime.ucl.ac.uk/
Chartered IT Professional Fellow, BCS, British Computer Society 
http://www.bcs.org.uk/
Health IT blog http://www.wolandscat.net/


*
*
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/a6368a80/attachment.html
-- next part --
A non-text attachment was scrubbed...
Name: ocean_full_small.jpg
Type: image/jpeg
Size: 5828 bytes
Desc: not available
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/a6368a80/attachment.jpg


ADL reading

2012-01-26 Thread Márcio Costa
I would like to thank all for the attention and help.

Best Regards,

*M?rcio Costa*
B.Sc. in Computer Science @ Cin/UFPE
M.Sc. Candidate in Computer Science @ CIn/UFPE
MSN: mdckoury at gmail.com



2012/1/26 Thomas Beale thomas.beale at oceaninformatics.com


 Just one note of caution - the Java project is in the middle of upgrading
 to ADL/AOM 1.5 from 1.4. So the operational code that is there today is for
 ADL 1.4. If you are just getting started, the differences probably won't
 matter for a while. If you specifically want to see ADL 1.5, you can use
 the ADL 
 Workbenchhttp://www.openehr.org/svn/ref_impl_eiffel/TRUNK/apps/adl_workbench/doc/web/index.html.
 This is written in Eiffel, which is probably not a language you are
 familiar with, but the tool, and test 
 archetypeshttp://www.openehr.org/svn/knowledge2/TRUNK/archetypes/will help 
 you understand ADL 1.5, along with this
 wiki page.http://www.openehr.org/wiki/pages/viewpage.action?pageId=196633In 
 a few months the Java code base will catch up, so ADL 1.5 in Java won't
 be that far away.

 - thomas


 On 26/01/2012 18:20, Athanasios Anastasiou wrote:

 Hello Marcio

 Perhaps the quickest route to do this would be to use the java reference
 implementation (http://www.openehr.org/projects/java.html) and more
 specifically the classes ADLParser and Archetype. Essentially, you
 create a new ADLParser object passing as  a parameter a standard file
 object pointing to your ADL file and then from the parser you can obtain
 an Archetype object using the parse() member function.

 //For a (minimal) example
 File fd;
 ADLParser theParser;
 Archetype MyArchetype;

 fd = new File(openEHR-EHR-OBSERVATION.blood_pressure.v1.adl);
 theParser = new ADLParser(fd);
 MyArchetype = theParser.parse();
 //--
 // It omits some exception handling but this is the main idea

 You can now traverse the archetype structure implied by your .adl file
 using the functions of Archetype such as getAdlVersion(),
 getConceptName(), getChildren() and others.


 You could also use the Clinical Knowledge Manager
 (http://openehr.org/knowledge/) to browse archetypes of interest and
 download them in XML (rather than ADL). From there you could possibly
 process the XML to recover anything you want (concepts, terms, labels etc).

 The code from the opereffa project
 (http://opereffa.chime.ucl.ac.uk/introduction.jsf) might also be helpful
 for you, depending on what exactly you are trying to do (Web app in
 Java, deployed over Tomcat).

 That one is very detailed in that it includes all the necessary (and
 extensive) work that is required to handle Archetype(able) information
 through the current reference implementation and the Data Access Objects
 mechanism. If my memory is not failing me, it also includes an actual
 user interface generator so that forms accepting data are constructed
 through the archetypes.

 I hope this helps.

 All the best
 Athanasios Anastasiou

 On 26/01/2012 17:43, M?rcio Costa wrote:

  Hello guys,

 i'm trying to build a app using arquetypes and i need to read the ADL to
 build my interface.

 where i can get some examples how reading ADL 1.5? Is there some API to
 do that?

 thanks in advance,

 *M?rcio Costa*
 B.Sc. in Computer Science @ Cin/UFPE
 M.Sc. Candidate in Computer Science @ CIn/UFPE
 MSN: mdckoury at gmail.com mailto:mdckoury at gmail.com mdckoury at 
 gmail.com

  ___
 openEHR-technical mailing listopenEHR-technical at 
 openehr.orghttp://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical



 --
   [image: Ocean Informatics]  *Thomas Beale
 Chief Technology Officer, Ocean Informaticshttp://www.oceaninformatics.com/
 *

 Chair Architectural Review Board, *open*EHR 
 Foundationhttp://www.openehr.org/
 Honorary Research Fellow, University College 
 Londonhttp://www.chime.ucl.ac.uk/
 Chartered IT Professional Fellow, BCS, British Computer 
 Societyhttp://www.bcs.org.uk/
 Health IT blog http://www.wolandscat.net/
 *
 *

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


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


ADL reading

2012-01-26 Thread pablo pazos

Hi M?rcio,
As Ian mentioned, we have developed an EHR tool based on openEHR.The EHRGen has 
a component to load and cache archetypes on memory, that has the code 
Athanasios mentioned, you can see it here: 
http://code.google.com/p/open-ehr-gen-framework/source/browse/trunk/open-ehr-gen/src/groovy/archetype_repository/ArchetypeManager.groovy
 
See method getArchetype(archetypId).
We use the Java Ref Impl to parse ADL files.
Hope that helps.

-- 
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

 From: Ian.McNicoll at oceaninformatics.com
 Date: Thu, 26 Jan 2012 18:44:38 +
 Subject: Re: ADL reading
 To: openehr-technical at openehr.org
 
 Hi Marciio,
 
 You should also look at
 
 http://code.google.com/p/open-ehr-gen-framework/
 
 The author Pablo Pazos is on this list and will no doubt have how own
 suggestions.
 
 Do not despair - openEHR confusion is a normal pre-requisite to
 eventual enlightenment  :-)

  
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/7b1fd0c5/attachment.html


ADL reading

2012-01-26 Thread Marcelo Rodrigues dos Santos
M?rcio,

We have some academic projects developed at UFMG / Brazil involving the use
of ADL. Please, feel free to contact us directly if you have interest.

Regards,

Marcelo Rodrigues dos Santos
UFMG/FUMEC

Em 26 de janeiro de 2012 18:53, M?rcio Costa mdckoury at gmail.com escreveu:

 I would like to thank all for the attention and help.

 Best Regards,

 *M?rcio Costa*
 B.Sc. in Computer Science @ Cin/UFPE
 M.Sc. Candidate in Computer Science @ CIn/UFPE
 MSN: mdckoury at gmail.com



 2012/1/26 Thomas Beale thomas.beale at oceaninformatics.com


 Just one note of caution - the Java project is in the middle of upgrading
 to ADL/AOM 1.5 from 1.4. So the operational code that is there today is for
 ADL 1.4. If you are just getting started, the differences probably won't
 matter for a while. If you specifically want to see ADL 1.5, you can use
 the ADL 
 Workbenchhttp://www.openehr.org/svn/ref_impl_eiffel/TRUNK/apps/adl_workbench/doc/web/index.html.
 This is written in Eiffel, which is probably not a language you are
 familiar with, but the tool, and test 
 archetypeshttp://www.openehr.org/svn/knowledge2/TRUNK/archetypes/will help 
 you understand ADL 1.5, along with this
 wiki 
 page.http://www.openehr.org/wiki/pages/viewpage.action?pageId=196633In a 
 few months the Java code base will catch up, so ADL 1.5 in Java won't
 be that far away.

 - thomas


 On 26/01/2012 18:20, Athanasios Anastasiou wrote:

 Hello Marcio

 Perhaps the quickest route to do this would be to use the java reference
 implementation (http://www.openehr.org/projects/java.html) and more
 specifically the classes ADLParser and Archetype. Essentially, you
 create a new ADLParser object passing as  a parameter a standard file
 object pointing to your ADL file and then from the parser you can obtain
 an Archetype object using the parse() member function.

 //For a (minimal) example
 File fd;
 ADLParser theParser;
 Archetype MyArchetype;

 fd = new File(openEHR-EHR-OBSERVATION.blood_pressure.v1.adl);
 theParser = new ADLParser(fd);
 MyArchetype = theParser.parse();
 //--
 // It omits some exception handling but this is the main idea

 You can now traverse the archetype structure implied by your .adl file
 using the functions of Archetype such as getAdlVersion(),
 getConceptName(), getChildren() and others.


 You could also use the Clinical Knowledge Manager
 (http://openehr.org/knowledge/) to browse archetypes of interest and
 download them in XML (rather than ADL). From there you could possibly
 process the XML to recover anything you want (concepts, terms, labels etc).

 The code from the opereffa project
 (http://opereffa.chime.ucl.ac.uk/introduction.jsf) might also be helpful
 for you, depending on what exactly you are trying to do (Web app in
 Java, deployed over Tomcat).

 That one is very detailed in that it includes all the necessary (and
 extensive) work that is required to handle Archetype(able) information
 through the current reference implementation and the Data Access Objects
 mechanism. If my memory is not failing me, it also includes an actual
 user interface generator so that forms accepting data are constructed
 through the archetypes.

 I hope this helps.

 All the best
 Athanasios Anastasiou

 On 26/01/2012 17:43, M?rcio Costa wrote:

  Hello guys,

 i'm trying to build a app using arquetypes and i need to read the ADL to
 build my interface.

 where i can get some examples how reading ADL 1.5? Is there some API to
 do that?

 thanks in advance,

 *M?rcio Costa*
 B.Sc. in Computer Science @ Cin/UFPE
 M.Sc. Candidate in Computer Science @ CIn/UFPE
 MSN: mdckoury at gmail.com mailto:mdckoury at gmail.com mdckoury at 
 gmail.com

  ___
 openEHR-technical mailing listopenEHR-technical at 
 openehr.orghttp://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical



 --
   [image: Ocean Informatics]  *Thomas Beale
 Chief Technology Officer, Ocean Informaticshttp://www.oceaninformatics.com/
 *

 Chair Architectural Review Board, *open*EHR 
 Foundationhttp://www.openehr.org/
 Honorary Research Fellow, University College 
 Londonhttp://www.chime.ucl.ac.uk/
 Chartered IT Professional Fellow, BCS, British Computer 
 Societyhttp://www.bcs.org.uk/
 Health IT blog http://www.wolandscat.net/
 *
 *

 ___
 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


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


ADL reading

2012-01-26 Thread Márcio Costa
Excelent Pablo!

I will study the class that you developed.

Thanks,

*M?rcio Costa*
B.Sc. in Computer Science @ Cin/UFPE
M.Sc. Candidate in Computer Science @ CIn/UFPE
MSN: mdckoury at gmail.com



2012/1/26 pablo pazos pazospablo at hotmail.com

  Hi M?rcio,

 As Ian mentioned, we have developed an EHR tool based on openEHR.
 The EHRGen has a component to load and cache archetypes on memory, that
 has the code Athanasios mentioned, you can see it here:
 http://code.google.com/p/open-ehr-gen-framework/source/browse/trunk/open-ehr-gen/src/groovy/archetype_repository/ArchetypeManager.groovy


 See method getArchetype(archetypId).

 We use the Java Ref Impl to parse ADL files.

 Hope that helps.

 --
 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 http://twitter.com/ppazos

  From: Ian.McNicoll at oceaninformatics.com
  Date: Thu, 26 Jan 2012 18:44:38 +
  Subject: Re: ADL reading
  To: openehr-technical at openehr.org

 
  Hi Marciio,
 
  You should also look at
 
  http://code.google.com/p/open-ehr-gen-framework/
 
  The author Pablo Pazos is on this list and will no doubt have how own
  suggestions.
 
  Do not despair - openEHR confusion is a normal pre-requisite to
  eventual enlightenment :-)


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


-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/2a650b88/attachment.html


ADL reading

2012-01-26 Thread Seref Arikan
Greetings,
You may find this one helpful:
http://serefarikan.com/2010/10/18/openehr-for-practical-people/
Warning in advance: I moved this from my old server to wordpress and it has
some garbage, diagrams are missing etc. It may not be accurate enough too.
So why do I even bother to give the link? It would still help with the
basics.

Pablo's work is probably in better shape compared to Opereffa, (I'll
re-write all of it from scratch in the next month or so) so Pablo's work
may help you better as a starting point. Also check out Shinji's recent
posts; he recently released a big update to his implementation in Ruby.

Don't panic. openEHR is a great piece of work, but it will take time to
digest, so don't feel down if you struggle at first. As you can see, it has
a good community.



2012/1/26 M?rcio Costa mdckoury at gmail.com

 Excelent Pablo!

 I will study the class that you developed.

 Thanks,

 *M?rcio Costa*
 B.Sc. in Computer Science @ Cin/UFPE
 M.Sc. Candidate in Computer Science @ CIn/UFPE
 MSN: mdckoury at gmail.com



 2012/1/26 pablo pazos pazospablo at hotmail.com

  Hi M?rcio,

 As Ian mentioned, we have developed an EHR tool based on openEHR.
 The EHRGen has a component to load and cache archetypes on memory, that
 has the code Athanasios mentioned, you can see it here:
 http://code.google.com/p/open-ehr-gen-framework/source/browse/trunk/open-ehr-gen/src/groovy/archetype_repository/ArchetypeManager.groovy


 See method getArchetype(archetypId).

 We use the Java Ref Impl to parse ADL files.

 Hope that helps.

 --
 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 http://twitter.com/ppazos

  From: Ian.McNicoll at oceaninformatics.com
  Date: Thu, 26 Jan 2012 18:44:38 +
  Subject: Re: ADL reading
  To: openehr-technical at openehr.org

 
  Hi Marciio,
 
  You should also look at
 
  http://code.google.com/p/open-ehr-gen-framework/
 
  The author Pablo Pazos is on this list and will no doubt have how own
  suggestions.
 
  Do not despair - openEHR confusion is a normal pre-requisite to
  eventual enlightenment :-)


 ___
 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


-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/7fc30535/attachment.html


ADL reading

2012-01-26 Thread Márcio Costa
Hello Seref,

I'm really impressed with the activity and dynamism of this community.

OpenEHR is a great work, and also need a great time to digest :)

Thank you for help :)

Best Regards,

*M?rcio Costa*
B.Sc. in Computer Science @ Cin/UFPE
M.Sc. Candidate in Computer Science @ CIn/UFPE
MSN: mdckoury at gmail.com



2012/1/26 Seref Arikan serefarikan at kurumsalteknoloji.com

 Greetings,
 You may find this one helpful:
 http://serefarikan.com/2010/10/18/openehr-for-practical-people/
 Warning in advance: I moved this from my old server to wordpress and it
 has some garbage, diagrams are missing etc. It may not be accurate enough
 too. So why do I even bother to give the link? It would still help with the
 basics.

 Pablo's work is probably in better shape compared to Opereffa, (I'll
 re-write all of it from scratch in the next month or so) so Pablo's work
 may help you better as a starting point. Also check out Shinji's recent
 posts; he recently released a big update to his implementation in Ruby.

 Don't panic. openEHR is a great piece of work, but it will take time to
 digest, so don't feel down if you struggle at first. As you can see, it has
 a good community.




 2012/1/26 M?rcio Costa mdckoury at gmail.com

 Excelent Pablo!

 I will study the class that you developed.

  Thanks,

 *M?rcio Costa*
 B.Sc. in Computer Science @ Cin/UFPE
 M.Sc. Candidate in Computer Science @ CIn/UFPE
 MSN: mdckoury at gmail.com



 2012/1/26 pablo pazos pazospablo at hotmail.com

  Hi M?rcio,

 As Ian mentioned, we have developed an EHR tool based on openEHR.
 The EHRGen has a component to load and cache archetypes on memory, that
 has the code Athanasios mentioned, you can see it here:
 http://code.google.com/p/open-ehr-gen-framework/source/browse/trunk/open-ehr-gen/src/groovy/archetype_repository/ArchetypeManager.groovy


 See method getArchetype(archetypId).

 We use the Java Ref Impl to parse ADL files.

 Hope that helps.

 --
 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 http://twitter.com/ppazos

  From: Ian.McNicoll at oceaninformatics.com
  Date: Thu, 26 Jan 2012 18:44:38 +
  Subject: Re: ADL reading
  To: openehr-technical at openehr.org

 
  Hi Marciio,
 
  You should also look at
 
  http://code.google.com/p/open-ehr-gen-framework/
 
  The author Pablo Pazos is on this list and will no doubt have how own
  suggestions.
 
  Do not despair - openEHR confusion is a normal pre-requisite to
  eventual enlightenment :-)


 ___
 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



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


-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120126/9ecd5f2f/attachment.html