Re: openEHR-technical Digest, Vol 68, Issue 8

2017-10-11 Thread Pablo Pazos
Hi Flavio, this might help
http://www.openehr.org/downloads/ADLworkbench/working_with_templates

In short, templates are definitions of clinical documents, do not contain
data. Saying "template filled with data" is not correct.

Clinical document instances are the ones generated by the opt ingen
command, see the README https://github.com/ppazos/openEHR-OPT
This is a serialized RM instances of a VERSION or COMPOSITION.

On Wed, Oct 11, 2017 at 5:45 PM, Flavio Barbosa  wrote:

> Hi!
>
> We were able to import openEHR-OPT.jar into our JAVA project and we were
> also able to instantiate the classes XmlInstanceGenerator,
> OperationalTemplate, OperationalTemplateParser, etc. However, we have a
> question regarding the template in OPT format. We understand that this
> format has a template metadata structure, but it does not carry clinical
> data within it (eg blood pressure: 120 mmHg), in other words, it is not an
> instance of the template. Is this understanding correct? If yes, how should
> we export in XML an instance of a template filled with clinical data?
>
>
> Conseguimos importar o openEHR-OPT.jar em nosso projeto JAVA e também
> conseguimos instanciar as classes XmlInstanceGenerator,
> OperationalTemplate, OperationalTemplateParser entre outras. Porém, estamos
> com uma dúvida em relação ao template em formato OPT. Entendemos que esse
> formato apresenta uma estrutura de metadados do template, mas não
> transporta dados clínicos dentro dele (p. ex. pressão arterial: 120 mmHg
> etc.), ou seja, não é uma instância do template (objeto). Este entendimento
> está correto? Se sim, como devemos exportar em XML uma instância de um
> template preenchido com os dados clínicos?
>
> []'s Flávio Barbosa.
>
> 2017-10-09 23:17 GMT-03:00 :
>
>> Send openEHR-technical mailing list submissions to
>> openehr-technical@lists.openehr.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_
>> lists.openehr.org
>>
>> or, via email, send a message with subject or body 'help' to
>> openehr-technical-requ...@lists.openehr.org
>>
>> You can reach the person managing the list at
>> openehr-technical-ow...@lists.openehr.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of openEHR-technical digest..."
>>
>>
>> Today's Topics:
>>
>>1. Re: openEHR-technical Digest, Vol 68, Issue 7 (Flavio Barbosa)
>>
>>
>> --
>>
>> Message: 1
>> Date: Mon, 9 Oct 2017 23:16:40 -0300
>> From: Flavio Barbosa 
>> To: openehr-technical@lists.openehr.org
>> Subject: Re: openEHR-technical Digest, Vol 68, Issue 7
>> Message-ID:
>> 

Re: openEHR-technical Digest, Vol 68, Issue 8

2017-10-11 Thread Flavio Barbosa
Hi!

We were able to import openEHR-OPT.jar into our JAVA project and we were
also able to instantiate the classes XmlInstanceGenerator,
OperationalTemplate, OperationalTemplateParser, etc. However, we have a
question regarding the template in OPT format. We understand that this
format has a template metadata structure, but it does not carry clinical
data within it (eg blood pressure: 120 mmHg), in other words, it is not an
instance of the template. Is this understanding correct? If yes, how should
we export in XML an instance of a template filled with clinical data?


Conseguimos importar o openEHR-OPT.jar em nosso projeto JAVA e também
conseguimos instanciar as classes XmlInstanceGenerator,
OperationalTemplate, OperationalTemplateParser entre outras. Porém, estamos
com uma dúvida em relação ao template em formato OPT. Entendemos que esse
formato apresenta uma estrutura de metadados do template, mas não
transporta dados clínicos dentro dele (p. ex. pressão arterial: 120 mmHg
etc.), ou seja, não é uma instância do template (objeto). Este entendimento
está correto? Se sim, como devemos exportar em XML uma instância de um
template preenchido com os dados clínicos?

[]'s Flávio Barbosa.

2017-10-09 23:17 GMT-03:00 :

> Send openEHR-technical mailing list submissions to
> openehr-technical@lists.openehr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.openehr.org/mailman/listinfo/openehr-
> technical_lists.openehr.org
>
> or, via email, send a message with subject or body 'help' to
> openehr-technical-requ...@lists.openehr.org
>
> You can reach the person managing the list at
> openehr-technical-ow...@lists.openehr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of openEHR-technical digest..."
>
>
> Today's Topics:
>
>1. Re: openEHR-technical Digest, Vol 68, Issue 7 (Flavio Barbosa)
>
>
> --
>
> Message: 1
> Date: Mon, 9 Oct 2017 23:16:40 -0300
> From: Flavio Barbosa 
> To: openehr-technical@lists.openehr.org
> Subject: Re: openEHR-technical Digest, Vol 68, Issue 7
> Message-ID:
>