Validator generates an error UNLESS you do not select a test case

33 views
Skip to first unread message

annie...@gmail.com

unread,
Jan 25, 2018, 4:33:25 PM1/25/18
to Cancer Reg Testing Tool
When I select a test case, I get a single error:
String index out of range: 5

When I select 'None' for the test case I do not get that error, and it gives
me the correct errors pertaining to the file I download

Blumenthal, Wendy J. (CDC/ONDIEH/NCCDPHP)

unread,
Jan 26, 2018, 10:43:46 AM1/26/18
to cancer-reg-...@googlegroups.com
Can you please send your test case so we can try to debug the issue?

Thank you,
Wendy

Wendy Blumenthal, MPH
Health Scientist
Cancer Surveillance Branch (CSB)
Centers for Disease Control and Prevention (CDC)
Phone: 770-488-1131
Fax: 770-488-4759
Email: wblum...@cdc.gov
--
You received this message because you are subscribed to the Google Groups "Cancer Reg Testing Tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cancer-reg-testin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

annie...@gmail.com

unread,
Jan 29, 2018, 11:07:41 AM1/29/18
to Cancer Reg Testing Tool
Sure Wendy. I sent it to you in an email.
Thanks.

eba...@flatiron.com

unread,
Feb 20, 2019, 5:56:51 PM2/20/19
to Cancer Reg Testing Tool
Was there a solution identified here? I'm also seeing a similar issue on my end for certain patient XMLs. 

Blumenthal, Wendy J. (CDC/DDNID/NCCDPHP/DCPC)

unread,
Feb 21, 2019, 9:50:00 AM2/21/19
to cancer-reg-...@googlegroups.com

The file that the user sent in January 2018 was found to have a number of CDA schema errors, which I suspected was the cause of the problem. I recommended that they start by fixing all of those schema errors first, and let us know if they still received the error.

 

The IG conformance testing does not currently include validation against the underlying CDA schema, so you’ll have to use an XML editor or some other similar tool, and associate the files with the CDA schema (you find the schema in the IG download package on the HL7 website), to identify schema errors. If you send me the files, I’m happy to do the same on my end and provide you feedback. But I highly recommend that you implement this as part of your development process on your end, as it will be the best way to identify whether you’ve fixed all of the issues and is critical to ensuring that you have correctly structured CDA documents. If you fix all of the schema errors, and still get the exception error, please send the new files so we can debug the issue.

 

Thanks,

Wendy

 

Wendy Blumenthal, MPH

Health Scientist

Cancer Surveillance Branch (CSB)

Centers for Disease Control and Prevention (CDC)

Phone: 770-488-1131

Fax: 770-488-4759

Email: wblum...@cdc.gov

 


Sent: Wednesday, February 20, 2019 5:57 PM
To: Cancer Reg Testing Tool <cancer-reg-...@googlegroups.com>

--

Ezra Baydur

unread,
Feb 21, 2019, 11:48:39 AM2/21/19
to cancer-reg-...@googlegroups.com
Thanks Wendy! Looks like it was a malformed phone number that was causing the javascript error.

I just did a diff with my previously functional xml, which identified the issue. Not sure how this fell into the javascript error vs. a conformance error but all resolved now. Thanks for the tip!

Best,
Ezra
--
Ezra Baydur
Product Manager

Flatiron Health | New York, NY
(657) 229-3871

Blumenthal, Wendy J. (CDC/DDNID/NCCDPHP/DCPC)

unread,
Feb 21, 2019, 12:37:33 PM2/21/19
to cancer-reg-...@googlegroups.com

Great, glad you were able to identify the issue. I agree that it’s odd for issues like this to cause javascript errors. So, can you send me the file so we can debug?

 

Thanks,

Wendy

Reply all
Reply to author
Forward
0 new messages