Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » If OHF validation the document form?
If OHF validation the document form? [message #45413] Fri, 08 August 2008 03:55 Go to next message
Eclipse UserFriend
Originally posted by: 322zx.163.com

I puzzuled that If OHF validation the document form before submitting?
This means is :if the docement that submits to the Repository is wrong or
not exact XML file, the OHF validates it and repeat the error?

In other words,for this code Document clinicalDocument = new
Document("./resources/sample_files/test1/input.xml",DocumentDescriptor.CDA_R2),I
change the input.xml to a document that is not a CDA_R2 docment,OHF is
able to check the document that is not CDA_R2?

I do this,but it also is successful to submit to the services.

I would like to know OHF able to check document,for example ,using CDA
Schema check CDA document etc.
Re: If OHF validation the document form? [message #45473 is a reply to message #45413] Fri, 08 August 2008 17:39 Go to previous messageGo to next message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Hi,

Yep, this is kind of correct. If you tell the XDS Source component that
you are providing a CDA document, it attempts to do an XDS metadata
extraction from elements of the CDA before submitting the document.
This allows a user to create an XDS document submission without doing
(much) additional work in setting values for the XDS metadata -
something that can be quite tedious.

I actually think you have encountered a bug in OHF. Is it possible for
you to send me (attached to this post or through a bug report at
http://www.eclipse.org/ohf/bugs.php) the document you're trying to
submit? I will drop it into the test and see what the debug results are
and whether there's something wrong in OHF. If the document is not a
CDA, then the XDS metadata probably isn't being formed properly. But --
this doesn't appear to be a result of that. It will help me a lot in
trying to determine what's wrong.

Thanks!
-Matt

RobertHua wrote:
> I puzzuled that If OHF validation the document form before submitting?
> This means is :if the docement that submits to the Repository is wrong
> or not exact XML file, the OHF validates it and repeat the error?
>
> In other words,for this code Document clinicalDocument = new
> Document("./resources/sample_files/test1/input.xml",DocumentDescriptor.CDA_R2),I
> change the input.xml to a document that is not a CDA_R2 docment,OHF is
> able to check the document that is not CDA_R2?
>
> I do this,but it also is successful to submit to the services.
>
> I would like to know OHF able to check document,for example ,using CDA
> Schema check CDA document etc.
>
Re: If OHF validation the document form? [message #45507 is a reply to message #45473] Fri, 08 August 2008 21:09 Go to previous message
No real name is currently offline No real nameFriend
Messages: 292
Registered: July 2009
Senior Member
Hi Robert,
Is it correct that you are just running the XDS Source JUNITs?
Mesa12049_Option1.java and Mesa11746_Option1.java? I'd verify the
endpoint you are sending to ... the 117* tests are for XDS.a and the
120* tests are for XDS.b. Also from your log of test 12049 it seems that
the metadata loaded successfully from the separate file that it was
supposed to and made it through the conversion to ebXML 3.0, but dies
when we try to encase it in SOAP. To help with this, try to re-run the
test, but switch all the log4j parameters to 'debug' (incase they are
not) and then submit this bug and your sample files to our bugzilla.
This way we have the most information possible.

thanks,
Sarah


Matthew Davis wrote:
> Hi,
>
> Yep, this is kind of correct. If you tell the XDS Source component that
> you are providing a CDA document, it attempts to do an XDS metadata
> extraction from elements of the CDA before submitting the document. This
> allows a user to create an XDS document submission without doing (much)
> additional work in setting values for the XDS metadata - something that
> can be quite tedious.
>
> I actually think you have encountered a bug in OHF. Is it possible for
> you to send me (attached to this post or through a bug report at
> http://www.eclipse.org/ohf/bugs.php) the document you're trying to
> submit? I will drop it into the test and see what the debug results are
> and whether there's something wrong in OHF. If the document is not a
> CDA, then the XDS metadata probably isn't being formed properly. But --
> this doesn't appear to be a result of that. It will help me a lot in
> trying to determine what's wrong.
>
> Thanks!
> -Matt
>
> RobertHua wrote:
>
>> I puzzuled that If OHF validation the document form before submitting?
>> This means is :if the docement that submits to the Repository is wrong
>> or not exact XML file, the OHF validates it and repeat the error?
>>
>> In other words,for this code Document clinicalDocument = new
>> Document("./resources/sample_files/test1/input.xml",DocumentDescriptor.CDA_R2),I
>> change the input.xml to a document that is not a CDA_R2 docment,OHF is
>> able to check the document that is not CDA_R2?
>>
>> I do this,but it also is successful to submit to the services.
>>
>> I would like to know OHF able to check document,for example ,using CDA
>> Schema check CDA document etc.
>>
Re: If OHF validation the document form? [message #586642 is a reply to message #45413] Fri, 08 August 2008 17:39 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Hi,

Yep, this is kind of correct. If you tell the XDS Source component that
you are providing a CDA document, it attempts to do an XDS metadata
extraction from elements of the CDA before submitting the document.
This allows a user to create an XDS document submission without doing
(much) additional work in setting values for the XDS metadata -
something that can be quite tedious.

I actually think you have encountered a bug in OHF. Is it possible for
you to send me (attached to this post or through a bug report at
http://www.eclipse.org/ohf/bugs.php) the document you're trying to
submit? I will drop it into the test and see what the debug results are
and whether there's something wrong in OHF. If the document is not a
CDA, then the XDS metadata probably isn't being formed properly. But --
this doesn't appear to be a result of that. It will help me a lot in
trying to determine what's wrong.

Thanks!
-Matt

RobertHua wrote:
> I puzzuled that If OHF validation the document form before submitting?
> This means is :if the docement that submits to the Repository is wrong
> or not exact XML file, the OHF validates it and repeat the error?
>
> In other words,for this code Document clinicalDocument = new
> Document("./resources/sample_files/test1/input.xml",DocumentDescriptor.CDA_R2),I
> change the input.xml to a document that is not a CDA_R2 docment,OHF is
> able to check the document that is not CDA_R2?
>
> I do this,but it also is successful to submit to the services.
>
> I would like to know OHF able to check document,for example ,using CDA
> Schema check CDA document etc.
>
Re: If OHF validation the document form? [message #586654 is a reply to message #45473] Fri, 08 August 2008 21:09 Go to previous message
No real name is currently offline No real nameFriend
Messages: 292
Registered: July 2009
Senior Member
Hi Robert,
Is it correct that you are just running the XDS Source JUNITs?
Mesa12049_Option1.java and Mesa11746_Option1.java? I'd verify the
endpoint you are sending to ... the 117* tests are for XDS.a and the
120* tests are for XDS.b. Also from your log of test 12049 it seems that
the metadata loaded successfully from the separate file that it was
supposed to and made it through the conversion to ebXML 3.0, but dies
when we try to encase it in SOAP. To help with this, try to re-run the
test, but switch all the log4j parameters to 'debug' (incase they are
not) and then submit this bug and your sample files to our bugzilla.
This way we have the most information possible.

thanks,
Sarah


Matthew Davis wrote:
> Hi,
>
> Yep, this is kind of correct. If you tell the XDS Source component that
> you are providing a CDA document, it attempts to do an XDS metadata
> extraction from elements of the CDA before submitting the document. This
> allows a user to create an XDS document submission without doing (much)
> additional work in setting values for the XDS metadata - something that
> can be quite tedious.
>
> I actually think you have encountered a bug in OHF. Is it possible for
> you to send me (attached to this post or through a bug report at
> http://www.eclipse.org/ohf/bugs.php) the document you're trying to
> submit? I will drop it into the test and see what the debug results are
> and whether there's something wrong in OHF. If the document is not a
> CDA, then the XDS metadata probably isn't being formed properly. But --
> this doesn't appear to be a result of that. It will help me a lot in
> trying to determine what's wrong.
>
> Thanks!
> -Matt
>
> RobertHua wrote:
>
>> I puzzuled that If OHF validation the document form before submitting?
>> This means is :if the docement that submits to the Repository is wrong
>> or not exact XML file, the OHF validates it and repeat the error?
>>
>> In other words,for this code Document clinicalDocument = new
>> Document("./resources/sample_files/test1/input.xml",DocumentDescriptor.CDA_R2),I
>> change the input.xml to a document that is not a CDA_R2 docment,OHF is
>> able to check the document that is not CDA_R2?
>>
>> I do this,but it also is successful to submit to the services.
>>
>> I would like to know OHF able to check document,for example ,using CDA
>> Schema check CDA document etc.
>>
Previous Topic:Test11743 error
Next Topic:Xds.b submit tests have the same errors
Goto Forum:
  


Current Time: Thu Apr 18 10:53:18 GMT 2024

Powered by FUDForum. Page generated in 0.02287 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top