How to start

2013-08-08 Thread Ing. Pablo Pazos
Create tables, saves and retrieves the.same way you do with any other system. 
This is not black magic, is just data :)

But you need to create the bindings.

In 2012 I created bindings and give them to developers of a mobile app for a 
company in Netherlands (Bert works in that project). The developers only had to 
understand the bindings, not the whole openEHR paradigm.

Sent from my LG Mobile

Lexis Nexis lexisnexis5490 at gmail.com wrote:

Should I create a new database table to store these fields:

Last Name:
First Name:
Date of Birth Date:
Gender:
Phone:
Email:
Emergency Contact Person:

I get confused about how to save and retrieve data and where data are saved?

Thanks,

David


On Tue, Aug 6, 2013 at 8:59 PM, pablo pazos pazospablo at hotmail.com wrote:

 Hi Lexis, you can grab the demographic Person archetype here:
 http://www.openehr.org/ckm/

 Then use the ADL Workbench to extract paths, and map those paths with your
 fields. We call that mapping a binding between archetype nodes and
 software elements/artifacts.

 --
 Kind regards,
 Eng. Pablo Pazos Guti?rrez
 http://cabolabs.com http://cabolabs.com/es/homehttp://twitter.com/ppazos

 --
 Date: Tue, 6 Aug 2013 20:50:29 -0400
 Subject: How to start
 From: lexisnexis5490 at gmail.com
 To: openehr-technical at lists.openehr.org


 I am a Java developer. I am assigned to develop EHR based on OpenEHR. I
 read some specifications and they seem very complex to me. For instance, I
 want to create a web page like:

 Last Name:
 First Name:
 Date of Birth Date:
 Gender:
 Phone:
 Email:
 Emergency Contact Person:

 How do I map this object to Archetype?


 David

 ___ 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


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


How to start

2013-08-08 Thread Ing. Pablo Pazos
Look for oenEHR xml schemas.

Sent from my LG Mobile

Lexis Nexis lexisnexis5490 at gmail.com wrote:

Is RM-objects only used for data interchanges between different EHR system?

Does a way to serialize your RM-objects to that database means that I
have to create my own tables to store medical data?

Where can I get a whole picture about how to retrieve data and save data?
As I understand OpenEHR is used to model medical data. Am I right?

Thanks,

David


On Wed, Aug 7, 2013 at 3:33 AM, Bert Verhees bert.verhees at rosa.nl wrote:

  On 08/07/2013 03:21 AM, Lexis Nexis wrote:

   Is there a tutorial book I can purchase or some examples? Step-by-step
 tutorial is best.

  I found ArchetypeSaveLoadExample.java, but I missed a lot of imported
 libraries. How do I find the source code for this example?


 David, you have to build your own kernel. There is no fully functional
 kernel in Java available.
 There are some wheels you have to reinvent.

 Be careful with advices in the past, they are always/often based on
 limited experiences, or have some company-politically background.

 Think for your own, that is the most important advice I can give you.

 You must think about:
 - Database-layer, you have to consider the type of database, and then a
 way to serialize your RM-objects to that database.
 - You also must consider your infrastructure, how to handle archetypes,
 how to validate data against the archetypes, how to communicate with GUI's,
 etc.
 - How to have a query-engine which is able to query ADL-paths. (AQL)

 All this is not available in open source, even good ideas how to do so are
 not available.

 There is quite a lot you have to do before you have a working
 OpenEHR-kernel.

 So, thinking in terms of displaying data on a website, is something you do
 not need to do coming months.
 In fact, that is more or less, the last step.

 A first step:
 A good study point to start with is read the Reference Model, and look at
 the archetypes at:
 http://www.openehr.org/ckm/
 Try to match them, and when you have understood that, than it will become
 time to think about how to design your kernel.
 There are many good ways to do so.

 This list is a good place for advice, especially when you have more
 specific questions

 good luck
 Bert Verhees




  Thanks,

  David


 On Tue, Aug 6, 2013 at 8:59 PM, pablo pazos pazospablo at hotmail.comwrote:

  Hi Lexis, you can grab the demographic Person archetype here:
 http://www.openehr.org/ckm/

 Then use the ADL Workbench to extract paths, and map those paths with
 your fields. We call that mapping a binding between archetype nodes and
 software elements/artifacts.

 --
 Kind regards,
 Eng. Pablo Pazos Guti?rrez
 http://cabolabs.com http://cabolabs.com/es/home

  --
 Date: Tue, 6 Aug 2013 20:50:29 -0400
 Subject: How to start
 From: lexisnexis5490 at gmail.com
 To: openehr-technical at lists.openehr.org


  I am a Java developer. I am assigned to develop EHR based on
 OpenEHR. I read some specifications and they seem very complex to me. For
 instance, I want to create a web page like:

  Last Name:
  First Name:
  Date of Birth Date:
  Gender:
  Phone:
  Email:
  Emergency Contact Person:

  How do I map this object to Archetype?


  David

  ___ 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




 ___
 openEHR-technical mailing listopenEHR-technical at 
 lists.openehr.orghttp://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


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


How to start

2013-08-08 Thread Bert Verhees
 archetype here:
 http://www.openehr.org/ckm/

 Then use the ADL Workbench to extract paths, and map those
 paths with your fields. We call that mapping a binding
 between archetype nodes and software elements/artifacts.

 -- 
 Kind regards,
 Eng. Pablo Pazos Guti?rrez
 http://cabolabs.com http://cabolabs.com/es/home

 
 
 Date: Tue, 6 Aug 2013 20:50:29 -0400
 Subject: How to start
 From: lexisnexis5490 at gmail.com mailto:lexisnexis5490 at 
 gmail.com
 To: openehr-technical at lists.openehr.org
 mailto:openehr-technical at lists.openehr.org


 I am a Java developer. I am assigned to develop EHR based on
 OpenEHR. I read some specifications and they seem very
 complex to me. For instance, I want to create a web page like:

 Last Name:
 First Name:
 Date of Birth Date:
 Gender:
 Phone:
 Email:
 Emergency Contact Person:

 How do I map this object to Archetype?


 David

 ___
 openEHR-technical mailing list
 openEHR-technical at lists.openehr.org
 mailto: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
 mailto: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  mailto: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
 mailto: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

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20130808/f0280af7/attachment-0001.html


Please remove me from the list

2013-08-08 Thread Lipszyc Norbert
Norbert lipszyc 

Envoy? de mon iPad


How to start

2013-08-08 Thread Kathrin Dentler
Dear David,

Just because the proposed options both don't seem ideal at first sight, 
I would like to mention that I made good experiences working with an OWL 
representation of archetypes [1]. It took around two weeks until I could 
query my self-generated archetyped patient data. OWL can be queried with 
SPARQL based on graph patterns.

The example archetypes, patient data and queries are online: 
http://www.few.vu.nl/~kdr250/archetypes/index.html

However, there are some issues:

1) I stored the data as instances of archetypes, not as instances of the 
reference model. This seems most intuitive to me, but there might be 
some implications that I'm unaware of.

2) The ADL2OWL translator (originally developed by Leonardo Lezcano) is 
not feature-complete yet. For example, terminology bindings are not 
implemented yet. But Leonardo and me would be happy to share what we 
have so far, based on an appropriate open source license. It's written 
in Java.

Best,
Kathrin


[1] 
http://www.few.vu.nl/~kdr250/publications/KR4HC2012-Semantic-Integration-Archetypes.pdf



 What you need to store are instances of the reference model. That is 
 generic, it does not have fields like you mention. Those fields are 
 defined in archetypes.
 That is why I advised you yesterday, take a good look at the reference 
 model. There is a good Java-version of it, written by Rong Chen.
 Then take a good look at the archetypes at the CKM: 
 http://www.openehr.org/ckm/
 You need to understand the match between them, the documentation must 
 help you. You must understand the documentation also.

 However, the documentation is more about the medical meaning of the 
 generic reference model.
 But for you, when developing most important is to understand the 
 technical match, that is why the Java-code -- archetypes match is 
 good for you to understand..

 Don't do anything else before you understand this part completely.
 You don't need to memorize it all, just understand. Memorizing comes 
 automatically when working with it.
 Take your time, give yourself a week or more to do so. That is quite 
 normal amount of time.

 When you have good understanding of the match between the 
 Java-reference-model code, the documentation and the archetypes on CKM.

 Then come back to this list, and we can discuss how to proceed.

 Seref advises against building a kernel on your own, except when you 
 do it for academic exercise.
 I disagree with him. I think it is quite doable, but it is not a small 
 thing to do.
 But with good help and not being afraid to ask, it can be done, and 
 quite good. But it will take a year or more.
 Do you have so much time? You will really need it.

 Pablo advises you to use a relational database.
 I don't think that is suitable for a good working kernel, because you 
 cannot run path-based queries against it, but for a start it might work.

-- 
Kathrin Dentler

AI Department |   Department of Medical Informatics
Faculty of Sciences   |   Academic Medical Center
Vrije Universiteit|   Universiteit van Amsterdam
k.dentler at vu.nl   |   k.dentler at amc.uva.nl

http://www.few.vu.nl/~kdr250/




How to start

2013-08-08 Thread Bert Verhees
That is very interesting, Kathrin,

Do you also have a way to validate the data?

Thanks
Bert



On 08/08/2013 12:46 PM, Kathrin Dentler wrote:
 Dear David,

 Just because the proposed options both don't seem ideal at first 
 sight, I would like to mention that I made good experiences working 
 with an OWL representation of archetypes [1]. It took around two weeks 
 until I could query my self-generated archetyped patient data. OWL can 
 be queried with SPARQL based on graph patterns.

 The example archetypes, patient data and queries are online: 
 http://www.few.vu.nl/~kdr250/archetypes/index.html

 However, there are some issues:

 1) I stored the data as instances of archetypes, not as instances of 
 the reference model. This seems most intuitive to me, but there might 
 be some implications that I'm unaware of.

 2) The ADL2OWL translator (originally developed by Leonardo Lezcano) 
 is not feature-complete yet. For example, terminology bindings are not 
 implemented yet. But Leonardo and me would be happy to share what we 
 have so far, based on an appropriate open source license. It's written 
 in Java.

 Best,
 Kathrin


 [1] 
 http://www.few.vu.nl/~kdr250/publications/KR4HC2012-Semantic-Integration-Archetypes.pdf



 What you need to store are instances of the reference model. That is 
 generic, it does not have fields like you mention. Those fields are 
 defined in archetypes.
 That is why I advised you yesterday, take a good look at the 
 reference model. There is a good Java-version of it, written by Rong 
 Chen.
 Then take a good look at the archetypes at the CKM: 
 http://www.openehr.org/ckm/
 You need to understand the match between them, the documentation must 
 help you. You must understand the documentation also.

 However, the documentation is more about the medical meaning of the 
 generic reference model.
 But for you, when developing most important is to understand the 
 technical match, that is why the Java-code -- archetypes match is 
 good for you to understand..

 Don't do anything else before you understand this part completely.
 You don't need to memorize it all, just understand. Memorizing comes 
 automatically when working with it.
 Take your time, give yourself a week or more to do so. That is quite 
 normal amount of time.

 When you have good understanding of the match between the 
 Java-reference-model code, the documentation and the archetypes on CKM.

 Then come back to this list, and we can discuss how to proceed.

 Seref advises against building a kernel on your own, except when you 
 do it for academic exercise.
 I disagree with him. I think it is quite doable, but it is not a 
 small thing to do.
 But with good help and not being afraid to ask, it can be done, and 
 quite good. But it will take a year or more.
 Do you have so much time? You will really need it.

 Pablo advises you to use a relational database.
 I don't think that is suitable for a good working kernel, because you 
 cannot run path-based queries against it, but for a start it might work.





How to start

2013-08-08 Thread Kathrin Dentler
Hi Bert,

The idea is to validate the data by using an integrity constraint 
validator such as http://clarkparsia.com/pellet/icv/. I just implemented 
a little proof of concept so far (successfully, a blood pressure value 
that was out of range). Others have done something similar: 
http://www.biomedcentral.com/content/pdf/2041-1480-2-2.pdf

Best,
Kathrin



Op 8/8/13 3:33 PM, Bert Verhees schreef:
 That is very interesting, Kathrin,

 Do you also have a way to validate the data?

 Thanks
 Bert



 On 08/08/2013 12:46 PM, Kathrin Dentler wrote:
 Dear David,

 Just because the proposed options both don't seem ideal at first 
 sight, I would like to mention that I made good experiences working 
 with an OWL representation of archetypes [1]. It took around two 
 weeks until I could query my self-generated archetyped patient data. 
 OWL can be queried with SPARQL based on graph patterns.

 The example archetypes, patient data and queries are online: 
 http://www.few.vu.nl/~kdr250/archetypes/index.html

 However, there are some issues:

 1) I stored the data as instances of archetypes, not as instances of 
 the reference model. This seems most intuitive to me, but there might 
 be some implications that I'm unaware of.

 2) The ADL2OWL translator (originally developed by Leonardo Lezcano) 
 is not feature-complete yet. For example, terminology bindings are 
 not implemented yet. But Leonardo and me would be happy to share what 
 we have so far, based on an appropriate open source license. It's 
 written in Java.

 Best,
 Kathrin


 [1] 
 http://www.few.vu.nl/~kdr250/publications/KR4HC2012-Semantic-Integration-Archetypes.pdf



 What you need to store are instances of the reference model. That is 
 generic, it does not have fields like you mention. Those fields are 
 defined in archetypes.
 That is why I advised you yesterday, take a good look at the 
 reference model. There is a good Java-version of it, written by Rong 
 Chen.
 Then take a good look at the archetypes at the CKM: 
 http://www.openehr.org/ckm/
 You need to understand the match between them, the documentation 
 must help you. You must understand the documentation also.

 However, the documentation is more about the medical meaning of the 
 generic reference model.
 But for you, when developing most important is to understand the 
 technical match, that is why the Java-code -- archetypes match is 
 good for you to understand..

 Don't do anything else before you understand this part completely.
 You don't need to memorize it all, just understand. Memorizing comes 
 automatically when working with it.
 Take your time, give yourself a week or more to do so. That is quite 
 normal amount of time.

 When you have good understanding of the match between the 
 Java-reference-model code, the documentation and the archetypes on CKM.

 Then come back to this list, and we can discuss how to proceed.

 Seref advises against building a kernel on your own, except when you 
 do it for academic exercise.
 I disagree with him. I think it is quite doable, but it is not a 
 small thing to do.
 But with good help and not being afraid to ask, it can be done, and 
 quite good. But it will take a year or more.
 Do you have so much time? You will really need it.

 Pablo advises you to use a relational database.
 I don't think that is suitable for a good working kernel, because 
 you cannot run path-based queries against it, but for a start it 
 might work.



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



-- 
Kathrin Dentler

AI Department |   Department of Medical Informatics
Faculty of Sciences   |   Academic Medical Center
Vrije Universiteit|   Universiteit van Amsterdam
k.dentler at vu.nl   |   k.dentler at amc.uva.nl

http://www.few.vu.nl/~kdr250/




How to start

2013-08-08 Thread Bert Verhees
But I wonder, excuse me if it is an obvious question
(I must study it, it is a lot of information, and I will depending on 
these questions)

Is there a way to use the archetype-ADL-code as a source for 
automagically to a validating source for validating datasets?
Not only the leaf values, that is the easiest part, but also the 
structure, occurrences, cardinality, illegal properties, etc?

And I have another question also,
I am not educated in graph-pattern, I should have been, but a day only 
has 24 hours.
Can it be used for automagically translate AQL-queries, is that possible?

Automagically means for me: can there be written software to do so.
-
I am interested, at this moment I am doing something similar, but still 
completely different.

I have the data in XML, very much like defined in the OpenEHR XSD's, and 
I validate them with ADL translated to RelaxNG/Schematron

XML offers XQuery to query the data on difficult queries, and the 
software to query is on the shelf (many XML-databases supports xQuery, 
commercially and opensource)
RelaxNG/Schematron offer a way for without any tricks, translate all 
quirks of ADL, and validate XML with it (software is also on the shelf 
available, also commercially and opensource)

Thanks in advance for enlightening me.
Bert



On 08/08/2013 03:39 PM, Kathrin Dentler wrote:
 Hi Bert,

 The idea is to validate the data by using an integrity constraint 
 validator such as http://clarkparsia.com/pellet/icv/. I just 
 implemented a little proof of concept so far (successfully, a blood 
 pressure value that was out of range). Others have done something 
 similar: http://www.biomedcentral.com/content/pdf/2041-1480-2-2.pdf

 Best,
 Kathrin



 Op 8/8/13 3:33 PM, Bert Verhees schreef:
 That is very interesting, Kathrin,

 Do you also have a way to validate the data?

 Thanks
 Bert



 On 08/08/2013 12:46 PM, Kathrin Dentler wrote:
 Dear David,

 Just because the proposed options both don't seem ideal at first 
 sight, I would like to mention that I made good experiences working 
 with an OWL representation of archetypes [1]. It took around two 
 weeks until I could query my self-generated archetyped patient data. 
 OWL can be queried with SPARQL based on graph patterns.

 The example archetypes, patient data and queries are online: 
 http://www.few.vu.nl/~kdr250/archetypes/index.html

 However, there are some issues:

 1) I stored the data as instances of archetypes, not as instances of 
 the reference model. This seems most intuitive to me, but there 
 might be some implications that I'm unaware of.

 2) The ADL2OWL translator (originally developed by Leonardo Lezcano) 
 is not feature-complete yet. For example, terminology bindings are 
 not implemented yet. But Leonardo and me would be happy to share 
 what we have so far, based on an appropriate open source license. 
 It's written in Java.

 Best,
 Kathrin


 [1] 
 http://www.few.vu.nl/~kdr250/publications/KR4HC2012-Semantic-Integration-Archetypes.pdf



 What you need to store are instances of the reference model. That 
 is generic, it does not have fields like you mention. Those fields 
 are defined in archetypes.
 That is why I advised you yesterday, take a good look at the 
 reference model. There is a good Java-version of it, written by 
 Rong Chen.
 Then take a good look at the archetypes at the CKM: 
 http://www.openehr.org/ckm/
 You need to understand the match between them, the documentation 
 must help you. You must understand the documentation also.

 However, the documentation is more about the medical meaning of the 
 generic reference model.
 But for you, when developing most important is to understand the 
 technical match, that is why the Java-code -- archetypes match is 
 good for you to understand..

 Don't do anything else before you understand this part completely.
 You don't need to memorize it all, just understand. Memorizing 
 comes automatically when working with it.
 Take your time, give yourself a week or more to do so. That is 
 quite normal amount of time.

 When you have good understanding of the match between the 
 Java-reference-model code, the documentation and the archetypes on 
 CKM.

 Then come back to this list, and we can discuss how to proceed.

 Seref advises against building a kernel on your own, except when 
 you do it for academic exercise.
 I disagree with him. I think it is quite doable, but it is not a 
 small thing to do.
 But with good help and not being afraid to ask, it can be done, and 
 quite good. But it will take a year or more.
 Do you have so much time? You will really need it.

 Pablo advises you to use a relational database.
 I don't think that is suitable for a good working kernel, because 
 you cannot run path-based queries against it, but for a start it 
 might work.



 ___
 openEHR-technical mailing list
 openEHR-technical at lists.openehr.org
 

How to start

2013-08-08 Thread Kathrin Dentler
 completely.
 You don't need to memorize it all, just understand. Memorizing 
 comes automatically when working with it.
 Take your time, give yourself a week or more to do so. That is 
 quite normal amount of time.

 When you have good understanding of the match between the 
 Java-reference-model code, the documentation and the archetypes on 
 CKM.

 Then come back to this list, and we can discuss how to proceed.

 Seref advises against building a kernel on your own, except when 
 you do it for academic exercise.
 I disagree with him. I think it is quite doable, but it is not a 
 small thing to do.
 But with good help and not being afraid to ask, it can be done, 
 and quite good. But it will take a year or more.
 Do you have so much time? You will really need it.

 Pablo advises you to use a relational database.
 I don't think that is suitable for a good working kernel, because 
 you cannot run path-based queries against it, but for a start it 
 might work.



 ___
 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 



-- 
Kathrin Dentler

AI Department |   Department of Medical Informatics
Faculty of Sciences   |   Academic Medical Center
Vrije Universiteit|   Universiteit van Amsterdam
k.dentler at vu.nl   |   k.dentler at amc.uva.nl

http://www.few.vu.nl/~kdr250/

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20130808/d4e43293/attachment-0001.html


How to start

2013-08-08 Thread Ing. Pablo Pazos
Please specify what kind of examples do you need. For the software part I 
believe you can do it. The binding is just a mapping of the elements I 
mentioned on my previous messages, in a simple text file.

Sent from my LG Mobile

Lexis Nexis lexisnexis5490 at gmail.com wrote:

May I have some examples? I am starting to understand OpenEHR a little bit.

Thanks,

David


On Wed, Aug 7, 2013 at 10:41 PM, Ing. Pablo Pazos pazospablo at 
hotmail.comwrote:

 Create tables, saves and retrieves the.same way you do with any other
 system. This is not black magic, is just data :)

 But you need to create the bindings.

 In 2012 I created bindings and give them to developers of a mobile app for
 a company in Netherlands (Bert works in that project). The developers only
 had to understand the bindings, not the whole openEHR paradigm.

 Sent from my LG Mobile

 Lexis Nexis lexisnexis5490 at gmail.com wrote:

 Should I create a new database table to store these fields:
 
 Last Name:
 First Name:
 Date of Birth Date:
 Gender:
 Phone:
 Email:
 Emergency Contact Person:
 
 I get confused about how to save and retrieve data and where data are
 saved?
 
 Thanks,
 
 David
 
 
 On Tue, Aug 6, 2013 at 8:59 PM, pablo pazos pazospablo at hotmail.com
 wrote:
 
  Hi Lexis, you can grab the demographic Person archetype here:
  http://www.openehr.org/ckm/
 
  Then use the ADL Workbench to extract paths, and map those paths with
 your
  fields. We call that mapping a binding between archetype nodes and
  software elements/artifacts.
 
  --
  Kind regards,
  Eng. Pablo Pazos Guti?rrez
  http://cabolabs.com http://cabolabs.com/es/home
 http://twitter.com/ppazos
 
  --
  Date: Tue, 6 Aug 2013 20:50:29 -0400
  Subject: How to start
  From: lexisnexis5490 at gmail.com
  To: openehr-technical at lists.openehr.org
 
 
  I am a Java developer. I am assigned to develop EHR based on OpenEHR. I
  read some specifications and they seem very complex to me. For
 instance, I
  want to create a web page like:
 
  Last Name:
  First Name:
  Date of Birth Date:
  Gender:
  Phone:
  Email:
  Emergency Contact Person:
 
  How do I map this object to Archetype?
 
 
  David
 
  ___ 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
 
 
 ___
 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


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


How to start

2013-08-08 Thread Bert Verhees
, that is why the Java-code -- archetypes match 
 is good for you to understand..

 Don't do anything else before you understand this part completely.
 You don't need to memorize it all, just understand. Memorizing 
 comes automatically when working with it.
 Take your time, give yourself a week or more to do so. That is 
 quite normal amount of time.

 When you have good understanding of the match between the 
 Java-reference-model code, the documentation and the archetypes 
 on CKM.

 Then come back to this list, and we can discuss how to proceed.

 Seref advises against building a kernel on your own, except when 
 you do it for academic exercise.
 I disagree with him. I think it is quite doable, but it is not a 
 small thing to do.
 But with good help and not being afraid to ask, it can be done, 
 and quite good. But it will take a year or more.
 Do you have so much time? You will really need it.

 Pablo advises you to use a relational database.
 I don't think that is suitable for a good working kernel, because 
 you cannot run path-based queries against it, but for a start it 
 might work.



 ___
 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
  



 -- 
 Kathrin Dentler

 AI Department |   Department of Medical Informatics
 Faculty of Sciences   |   Academic Medical Center
 Vrije Universiteit|   Universiteit van Amsterdam
 k.dentler at vu.nl|k.dentler at amc.uva.nl

 http://www.few.vu.nl/~kdr250/


 ___
 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/20130808/92793d06/attachment.html


How to start

2013-08-08 Thread pablo pazos
Hi Bert,
I have the need to clarify some of your assertions about my previous messages:

  Pablo advises you to use a relational database. 
That?s not true. I supposed David were working with relational, but he didn't 
confirmed that. 
openEHR persistence should be DBMS independent, so I'll never advise to use 
relational over other thing without knowing requirements. DBMS option should 
depend on requirements. (e.g. how data will be used / consumed).
Also, there are different level of persistence needed: for local systems, 
shared/federated systems, mobile and cloud based. For local systems and some 
shared systems, I would recommend relational. Maybe also for mobile persistence 
on the device. For other kinds, I'll suggest XML/JSON based DB. And for some 
applications, I would recommend EAV or path-value.I know some of those are 
different from your solution, but that is not mean that are not suitable for a 
huge space of solutions. I don't believe in one-fits-all solutions.
IMO, this doesn't give David the answer he needs. Is good to give him options. 
Consider he's on a learning process.

  I don't think that is suitable for a good working kernel, 
I'm not talking about a kernel, I'm talking about persistence. One architect 
can put that layer on a kernel or as a service on the cloud, depends also on 
requirements. 
because you cannot run path-based queries against it, but for a start it might 
work.
That's not true. Anyone can run path based queries against any type of DBMS, 
relational included. You just need a query transformer as recommended by AQL 
articles.
  
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20130808/c0229a75/attachment.html


How to start

2013-08-08 Thread Bert Verhees
On 08/08/2013 08:18 PM, pablo pazos wrote:
 Hi Bert,

 I have the need to clarify some of your assertions about my previous 
 messages:

 Pablo advises you to use a relational database.

 That?s not true. I supposed David were working with relational, but he 
 didn't confirmed that.

OK, no hard feelings about that. I must have misunderstood. I apologize.


 openEHR persistence should be DBMS independent, so I'll never advise 
 to use relational over other thing without knowing requirements. *DBMS 
 option should depend on requirements. (e.g. how data will be used / 
 consumed).*

One of the requirements is that it must be able to run path based queries.

 *
 *
 Also, there are different level of persistence needed: for local 
 systems, shared/federated systems, mobile and cloud based. For local 
 systems and some shared systems, I would recommend relational. Maybe 
 also for mobile persistence on the device. For other kinds, I'll 
 suggest XML/JSON based DB. And for some applications, I would 
 recommend EAV or path-value.
 I know some of those are different from your solution, but that is not 
 mean that are not suitable for a huge space of solutions. I don't 
 believe in one-fits-all solutions.

I did not advise a solution to David, I just said that a relational 
database could be good for starting, but would not be suitable for a 
full featured OpenEHR database.
I recommended against a relational database.


 IMO, this doesn't give David the answer he needs. Is good to give him 
 options. Consider he's on a learning process.

 I don't think that is suitable for a good working kernel,

 I'm not talking about a kernel, I'm talking about persistence. One 
 architect can put that layer on a kernel or as a service on the cloud, 
 depends also on requirements.

 because you cannot run path-based queries against it, but for a start 
 it might work.

Service, cloud, in the end, it must go to a disk, that is the part I am 
talking about.
You can leave this decision to others, cloud, architect, 
service-providers, but somewhere this decision must be made.


 That's not true. Anyone can run path based queries against any type of 
 DBMS, relational included. You just need a query transformer as 
 recommended by AQL articles.

Yes of course it is possible, but when talking about relational, it 
needs a layer which transforms from AQL to a Codd optimized database.
In fact, it will be a transformation from AQL to SQL into a RDBMS schema.
I don't think it is even possible for a few programmers to write that.
So that solution is for me out of the question.

In your case, as you state it, you want the cloud to solve it, or 
somewhere else where the architect (whoever that may be) puts it. That 
is fine.

I want to solve it myself, with the people I work with.
I think that is where the money is. In the solving of the technical 
problems. That is what I am discussing.
There is no need to interfere in that discussion if you don't want to 
regard that as your problem.

But if you do want to regard it as a situation you want to handle, then 
I am very pleased, if you explain/discuss how you are planning do it.

Thanks in advance
Bert
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20130808/d03ecb82/attachment.html


How to start

2013-08-08 Thread Lexis Nexis
I am pretty good at Java development. But there are two many documents for
a prototype. Can you send me a mapping text file and tell me all steps I
should take to retrieve and save data into database? I have already
downloaded openehr-aom, openehr-ap, openehr-dao, openehr-rm-core,
openehr-rm-domain, adl-parser and adl-serializer packages. If you can give
me a whole flow, that will be big helpful.

Thanks,

David


On Thu, Aug 8, 2013 at 11:36 AM, Ing. Pablo Pazos pazospablo at 
hotmail.comwrote:

 Please specify what kind of examples do you need. For the software part I
 believe you can do it. The binding is just a mapping of the elements I
 mentioned on my previous messages, in a simple text file.

 Sent from my LG Mobile

 Lexis Nexis lexisnexis5490 at gmail.com wrote:

 May I have some examples? I am starting to understand OpenEHR a little
 bit.
 
 Thanks,
 
 David
 
 
 On Wed, Aug 7, 2013 at 10:41 PM, Ing. Pablo Pazos pazospablo at hotmail.com
 wrote:
 
  Create tables, saves and retrieves the.same way you do with any other
  system. This is not black magic, is just data :)
 
  But you need to create the bindings.
 
  In 2012 I created bindings and give them to developers of a mobile app
 for
  a company in Netherlands (Bert works in that project). The developers
 only
  had to understand the bindings, not the whole openEHR paradigm.
 
  Sent from my LG Mobile
 
  Lexis Nexis lexisnexis5490 at gmail.com wrote:
 
  Should I create a new database table to store these fields:
  
  Last Name:
  First Name:
  Date of Birth Date:
  Gender:
  Phone:
  Email:
  Emergency Contact Person:
  
  I get confused about how to save and retrieve data and where data are
  saved?
  
  Thanks,
  
  David
  
  
  On Tue, Aug 6, 2013 at 8:59 PM, pablo pazos pazospablo at hotmail.com
  wrote:
  
   Hi Lexis, you can grab the demographic Person archetype here:
   http://www.openehr.org/ckm/
  
   Then use the ADL Workbench to extract paths, and map those paths with
  your
   fields. We call that mapping a binding between archetype nodes and
   software elements/artifacts.
  
   --
   Kind regards,
   Eng. Pablo Pazos Guti?rrez
   http://cabolabs.com http://cabolabs.com/es/home
  http://twitter.com/ppazos
  
   --
   Date: Tue, 6 Aug 2013 20:50:29 -0400
   Subject: How to start
   From: lexisnexis5490 at gmail.com
   To: openehr-technical at lists.openehr.org
  
  
   I am a Java developer. I am assigned to develop EHR based on
 OpenEHR. I
   read some specifications and they seem very complex to me. For
  instance, I
   want to create a web page like:
  
   Last Name:
   First Name:
   Date of Birth Date:
   Gender:
   Phone:
   Email:
   Emergency Contact Person:
  
   How do I map this object to Archetype?
  
  
   David
  
   ___ 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
  
  
  ___
  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
 
 
 ___
 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

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20130808/2da5e3aa/attachment-0001.html


How to start

2013-08-08 Thread Erik Sundvall
Hi!

On Wed, Aug 7, 2013 at 3:21 AM, Lexis Nexis lexisnexis5490 at gmail.com wrote:
 Is there a tutorial book I can purchase or some examples? Step-by-step 
 tutorial is best.

Skim through the document
http://www.openehr.org/releases/1.0.2/architecture/overview.pdf to get
an overview then go back to that and other documents for more detail
when needed. Also there are some videos at
http://www.openehr.org/resources/learning_centre if you prefer
watching over reading.

If you don't mind using alpha-versions of work in progress, then feel
free to do some openEHR hands-on experiments using
https://github.com/LiU-IMT/EEE described in the paper
http://www.biomedcentral.com/1472-6947/13/57 (Appendix B at
http://www.biomedcentral.com/1472-6947/13/57#sec9 is a very compact
openEHR intro, perhaps too compact.)

I hope the instructions at https://github.com/LiU-IMT/EEE/wiki/install
helps you get it up and running. Try running and modifying AQL queries
on the provided example content for example.

Best regards,
Erik Sundvall
Tel: +46-72-524 54 55
LiO: erik.sundvall at lio.se http://www.lio.se/Verksamheter/IT-centrum/
LiU: erik.sundvall at liu.se http://www.imt.liu.se/~erisu/

P.s. to list readers: I Hope to see many of you openEHR people at
Medinfo in Copenhagen soon!