Re: Parsing of Archetypes/Templates

2018-11-12 Thread Bert Verhees
On 12-11-18 18:40, Bert Verhees wrote: >> Another very important restriction for using XML Schema, in my opinion, >> is that you cannot have two or more elements with the same name but a >> different data type. This data type must be in detail the same. XML Schema >> regards an Element with a

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Bert Verhees
On 12-11-18 17:59, Thomas Beale wrote: On 12/11/2018 16:04, Bert Verhees wrote: On 12-11-18 16:13, Thomas Beale wrote: you can, it's called a Template Data Schema (TDS), and is generated from the Template Designer and I think the new Marand ADL-designer. Its intended exactly for checking

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Bert Verhees
On 12-11-18 16:13, Thomas Beale wrote: On 12/11/2018 09:44, Bert Verhees wrote: Sorry, I first replied to Pieter Bos only, now to the list. Pieter already replied to me that the question was not about XSD to check datasets was . So, read my reply, for those interested in easy validating

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Thomas Beale
On 12/11/2018 16:04, Bert Verhees wrote: On 12-11-18 16:13, Thomas Beale wrote: you can, it's called a Template Data Schema (TDS), and is generated from the Template Designer and I think the new Marand ADL-designer. Its intended exactly for checking data sets... Of course you can write any

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Thomas Beale
On 12/11/2018 09:44, Bert Verhees wrote: Sorry, I first replied to Pieter Bos only, now to the list. Pieter already replied to me that the question was not about XSD to check datasets was . So, read my reply, for those interested in easy validating datasets: It is possible to have an XSD

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Pieter Bos
: Re: Parsing of Archetypes/Templates Hello Georg, Archie is meant to be used with ADL2 archetypes, if you want to parse 1.4 archetypes I think java implementation you mentioned before is your current best option. Regards El lun., 12 nov. 2018 a las 13:40, Georg Fette (mailto:georg.fe...@uni

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Diego Boscá
Hello Georg, Archie is meant to be used with ADL2 archetypes, if you want to parse 1.4 archetypes I think java implementation you mentioned before is your current best option. Regards El lun., 12 nov. 2018 a las 13:40, Georg Fette (< georg.fe...@uni-wuerzburg.de>) escribió: > Hi Peter, > The

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Georg Fette
Hi Peter, The Archie-Toolkit looks promising. I tried to parse one of the archetypes from the CKM (BloodPressure) and tried to parse the exported ADL. However, I got a Exception when trying this because the exported ADL does not seem to be parseable: line 1:24 mismatched input '1.4' expecting

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Bert Verhees
Sorry, I first replied to Pieter Bos only, now to the list. Pieter already replied to me that the question was not about XSD to check datasets was . So, read my reply, for those interested in easy validating datasets: It is possible to have an XSD to describe the AOM, but you cannot have an

Re: Parsing of Archetypes/Templates

2018-11-12 Thread Pieter Bos
Hello George, If you are looking for something to handle ADL 2 archetypes - the most recent version -, have a look at https://github.com/opener/archie . It is a java library that can parse archetypes, flatten and validate them, create operational templates and more. Are you using the

Parsing of Archetypes/Templates

2018-11-12 Thread Georg Fette
Hello, For a project we want to create a generic mechanism to transform archetypes into FHIR Logical Models, so we can store, retrieve and query archetype instance with FHIR tools (CQL, FHIR-REST-API-query). At the moment we just want to read/write archetypes and not archetype instances. We