Example messages

Dear All,

Is there an easy way to create or does anyone have any messages in XML?

i.e. if one has a template or archetype is there any way to create an
example of the message which would be sent using that archetype/template?

Our message checking s/w in our Integration Center uses XPath, XSLT etc
to run rules against incoming HL7 messages & I'd like to get an initial
feeling wrt how/if this system could be used wrt OpenEHR messages.

Forget about any external layers of the onion as they're already dealt
with (i.e. http header info> good xml > good soap > good ebxml > good
HL7) but then.... > ??? Open EHR.

Right now if someone has a simple archetype or template containing a
simple archetype (in XML) & an example message.....that would be of help
as I simply need to look at the 2 next to each other to work out what
the conformance checking people would need to look for/ how difficult it
would be.

TIA

Adam

Hi!

Is there an easy way to create or does anyone have any messages in XML?

Not sure what the difference between EHR-data and messages would be
for openEHR if you (as it sounds) already have an envelope specified
to put it in. Please specify if you want something else than pure EHR
content.

When we need testdata in XML-form for student projects we usually
(with permission) "steal" some data in XML form from Oceans EHRView
(via web interface, http://demo.oceanehr.com/EhrView) or EHRBank (via
SOAP, http://demo.oceanehr.com/EhrBank13/EhrService.asmx). You'd need
to ask Ocean for permission and a a password to do this.

I think there is a need for more realistic and completely freely
available openEHR testdata of various kinds from many sources (perhaps
as simple XML files or zipped XML file collections attached to openEHR
wiki-pages?). We could for example probably generate a fake diabetes
patient record within a week or two if somebody would like to give us
access to an environment for archetype based data entry we can access
via the web, we can send the needed templates from Oceans Template
Designer tool or the list of archetypes we need to use for data entry.
Any advice regarding possible systems available to enter test data?
Does the NHS XML/XForms tools contain everything needed to do this?
How is the Python implementation going? Other alternatives available
now?

Best regards,
Erik Sundvall
erisu@imt.liu.se http://www.imt.liu.se/~erisu/ Tel: +46-13-227579

P.s. To help students play around with EQL through the web service I
did a quick Flash/Flex hack available at
http://www.imt.liu.se/~erisu/2008/ehrbank/ but it can't be run from
there due to security sandbox regulations of flash/flex unless the
application or a crossdomain.xml file is uploaded to the same server
ad the SOAP service.

Erik Sundvall wrote:

Hi!

Is there an easy way to create or does anyone have any messages in XML?
    
Not sure what the difference between EHR-data and messages would be
for openEHR if you (as it sounds) already have an envelope specified
to put it in. Please specify if you want something else than pure EHR
content.

Looking at the examples from the sites below it is more to do with if
datatypes/lists of values are defined etc.

e.g. I found an OWL statement/file

http://trajano.us.es/~isabel/EHR/Data_Types_RM.owl

Which does some of what we want but we'd be using Xpath/XSLT.

e.g.

        <language>
          <terminology_id />
          <code_string>string</code_string>
        </language>

where code string is actually defined in the archetype as:

<code_string>en</code_string>

Is pretty easy.

whereas :

<rm_type_name>DV_CODED_TEXT</rm_type_name>

less so.

e.g. :

"A text item whose value must be the rubric from a controlled
terminology, the key (i.e. the ‘code’) of which is the defining_code
attribute. In other words: a DV_CODED_TEXT is a combination of a
CODE_PHRASE (effectively a code) and the rubric of that term, from a
terminology service, in the language in which the data was authored."

....in XPATH/XSLT....

It's a QA / "test the implementation" thing.

For instance is there/ would it be possible for me to write an XSLT
which could generate a test file in our required format (or even as a
complete XSLT file which simply returns nothing if OK or structure
containing the errors & where they occurred if any errors found).

When we need testdata in XML-form for student projects we usually
(with permission) "steal" some data in XML form from Oceans EHRView
(via web interface, http://demo.oceanehr.com/EhrView) or EHRBank (via
SOAP, http://demo.oceanehr.com/EhrBank13/EhrService.asmx). You'd need
to ask Ocean for permission and a a password to do this.

The SOAP one is exactly what I was looking for (with the exception of
datatypes).

I think there is a need for more realistic and completely freely
available openEHR testdata of various kinds from many sources (perhaps
as simple XML files or zipped XML file collections attached to openEHR
wiki-pages?). We could for example probably generate a fake diabetes
patient record within a week or two if somebody would like to give us
access to an environment for archetype based data entry we can access
via the web, we can send the needed templates from Oceans Template
Designer tool or the list of archetypes we need to use for data entry.
  
This is more of a heads up for me as at present we are in any early
adopter/trial stage with a trail site etc. If though these messages
start being transmitted over the central system then they will need to
be QA'es etc & then at that stage I would like to "be prepared" <G>.

Any advice regarding possible systems available to enter test data?
Does the NHS XML/XForms tools contain everything needed to do this?
How is the Python implementation going? Other alternatives available
now?

The NHS XML tools are just getting started wrt OpenEHR stuff. Other than
publishing, this is the next thing (i.e. QA'ing the
implementations/messages on the wire).

Sort the QA first & then look at std'ized GUI's

Adam

Hi Erik

Not sure if its what you need, but if you provided the Templates, then we can host the data entry screens based on those templates in EhrView and you can create your Diabetic record. I also have some sample compositions that we should post somewhere on the openEHR site so that people can use them for testing etc.

regards Hugh

Erik Sundvall wrote:

Hi Erik and Adam,
Please note that the version of EhrView that you quoted is using data stored
using a pre-release 1.0.1 schema. I will take this site down immediately so
that it cannot be used by mistake again.

The best URL to use is http://demo.oceanehr.com/EhrView14

I would certainly appreciate anyone using either Ocean's EhrView or the
EhrBank EHR Repository Service for more than a quick look to please contact
me. These are hosted on multi-purpose development, test and demonstration
servers which often get new versions of software and database upgrades and
knowing who this might affect would be useful.

Regards

Heath

Heath Frankel
Product Development Manager
Ocean Informatics

From: openehr-technical-bounces@openehr.org [mailto:openehr-technical-
bounces@openehr.org] On Behalf Of Erik Sundvall
Sent: Friday, 25 April 2008 8:33 PM
To: adam.flinton@nhs.net; For openEHR technical discussions
Subject: Re: Example messages

Hi!

> Is there an easy way to create or does anyone have any messages in XML?

Not sure what the difference between EHR-data and messages would be
for openEHR if you (as it sounds) already have an envelope specified
to put it in. Please specify if you want something else than pure EHR
content.

When we need testdata in XML-form for student projects we usually
(with permission) "steal" some data in XML form from Oceans EHRView
(via web interface, http://demo.oceanehr.com/EhrView) or EHRBank (via
SOAP, http://demo.oceanehr.com/EhrBank13/EhrService.asmx). You'd need
to ask Ocean for permission and a a password to do this.

I think there is a need for more realistic and completely freely
available openEHR testdata of various kinds from many sources (perhaps
as simple XML files or zipped XML file collections attached to openEHR
wiki-pages?). We could for example probably generate a fake diabetes
patient record within a week or two if somebody would like to give us
access to an environment for archetype based data entry we can access
via the web, we can send the needed templates from Oceans Template
Designer tool or the list of archetypes we need to use for data entry.
Any advice regarding possible systems available to enter test data?
Does the NHS XML/XForms tools contain everything needed to do this?
How is the Python implementation going? Other alternatives available
now?

Best regards,
Erik Sundvall
erisu@imt.liu.se http://www.imt.liu.se/~erisu/ Tel: +46-13-227579

P.s. To help students play around with EQL through the web service I
did a quick Flash/Flex hack available at
http://www.imt.liu.se/~erisu/2008/ehrbank/ but it can't be run from
there due to security sandbox regulations of flash/flex unless the
application or a crossdomain.xml file is uploaded to the same server
ad the SOAP service.

> Dear All,
>
> Is there an easy way to create or does anyone have any messages in XML?
>
> i.e. if one has a template or archetype is there any way to create an
> example of the message which would be sent using that

archetype/template?

>
> Our message checking s/w in our Integration Center uses XPath, XSLT etc
> to run rules against incoming HL7 messages & I'd like to get an initial
> feeling wrt how/if this system could be used wrt OpenEHR messages.
>
> Forget about any external layers of the onion as they're already dealt
> with (i.e. http header info> good xml > good soap > good ebxml > good
> HL7) but then.... > ??? Open EHR.
>
>
> Right now if someone has a simple archetype or template containing a
> simple archetype (in XML) & an example message.....that would be of

help

> as I simply need to look at the 2 next to each other to work out what
> the conformance checking people would need to look for/ how difficult

it