LONIC Code System issue

189 views
Skip to first unread message

Lucas Falk

unread,
Feb 27, 2018, 8:21:32 AM2/27/18
to Edge Test Tool (ETT)
I am receiving the following error when trying to validate a CCDA. I have added code systems one by one until the error happened. This happened when I added LONIC. I have downloaded the lonic.csv directly from their site (https://loinc.org/downloads/loinc/). I am at a loss on what my next step is to get this to work.

From the tomcat logs:
07:54:15,662 INFO  [VocabularyLoadRunner:92] Loading vocabularies at: C:/validator_configuration/vocabulary/code_repository...
07:54:15,662 INFO  [VocabularyLoadRunner:44] Loading files in : ICD10CM...
07:54:24,474 INFO  [VocabularyLoadRunner:44] Loading files in : ICD10PCS...
07:54:29,302 INFO  [VocabularyLoadRunner:44] Loading files in : ICD9CM_DX...
07:54:30,162 INFO  [VocabularyLoadRunner:44] Loading files in : LOINC...
07:55:25,727 INFO  [VocabularyLoadRunner:94] Vocabularies loaded...

07:57:08,403 ERROR [ReferenceCCDAValidationService:89] The service has encountered the following error: org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public abstract boolean org.sitenv.vocabularies.validation.repositories.CodeRepository.codeIsActive(java.lang.String,java.util.Set)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:221)
at com.sun.proxy.$Proxy59.codeIsActive(Unknown Source)
at org.sitenv.vocabularies.validation.validators.nodetypes.CodeSystemCodeValidator.validateNode(CodeSystemCodeValidator.java:74)
at org.sitenv.vocabularies.validation.services.VocabularyValidationService.validate(VocabularyValidationService.java:69)
at org.sitenv.vocabularies.validation.services.VocabularyValidationService.validate(VocabularyValidationService.java:49)
at org.sitenv.referenceccda.validators.vocabulary.VocabularyCCDAValidator.doValidation(VocabularyCCDAValidator.java:46)
at org.sitenv.referenceccda.validators.vocabulary.VocabularyCCDAValidator.validateFile(VocabularyCCDAValidator.java:37)
at org.sitenv.referenceccda.services.ReferenceCCDAValidationService.doVocabularyValidation(ReferenceCCDAValidationService.java:169)
at org.sitenv.referenceccda.services.ReferenceCCDAValidationService.runValidators(ReferenceCCDAValidationService.java:110)
at org.sitenv.referenceccda.services.ReferenceCCDAValidationService.validateCCDA(ReferenceCCDAValidationService.java:57)
at org.sitenv.referenceccda.controllers.ReferenceCCDAValidationController.doValidation(ReferenceCCDAValidationController.java:37)

Thanks,
Lucas

Lucas Falk

unread,
Feb 27, 2018, 10:20:46 AM2/27/18
to Edge Test Tool (ETT)
Something else that I noticed is that when calling '/getbycodeincodesystem?code=A0100&codeSystems=ICD10CM' I receive an empty array. I do not think it is loading the code systems, although I am unsure why.

-Lucas

Brian Harris

unread,
Feb 27, 2018, 11:13:22 AM2/27/18
to Edge Test Tool (ETT)
Seems like there is a discrepancy between the LOINC file format the system is expecting and the one you downloaded. In particular, the STATUS column that is used to determine if a code is active or not. The system is expecting that to be in Column 'M' (STATUS).

If the new LOINC files have a different structure, then we will need to make changes to accommodate them. Thanks!


On Tuesday, February 27, 2018 at 8:21:32 AM UTC-5, Lucas Falk wrote:

Lucas Falk

unread,
Feb 27, 2018, 12:36:40 PM2/27/18
to Edge Test Tool (ETT)
Thanks for the replay. I'm trying to get the business to obtain a previous version now.

-Lucas

schwa...@gmail.com

unread,
Jun 28, 2018, 1:11:30 PM6/28/18
to Edge Test Tool (ETT)
Were you able to resolve this issue? I am currently running into the same problem using the new LOINC file obtained from their website.

Dan Brown

unread,
Jun 28, 2018, 6:22:41 PM6/28/18
to Edge Test Tool (ETT)
Hi,

Is there any chance any one of the users encountering this issue can provide a de-identified C-CDA so that I can reproduce it and resolve it?

Thanks,
Dan

Lucas Falk

unread,
Jun 29, 2018, 7:18:54 AM6/29/18
to Edge Test Tool (ETT)
I know we had to buy a subscription to their list so we could download legacy versions, and I had to go back a fair number of versions before one worked. I am however not seeing the version we are currently using : (


On Thursday, June 28, 2018 at 1:11:30 PM UTC-4, schwa...@gmail.com wrote:

Jason Countryman

unread,
Jun 29, 2018, 4:28:41 PM6/29/18
to Edge Test Tool (ETT)
I was able to identify that this is causing my error as well.  I have attached the CCD (its the 170.315_b1_gold_sample1), and can verify it is the following node:

line 1799:  <code code="33765-9" displayName="WBC" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>

And this is how that code appears in my loinc.csv:

"33765-9","Leukocytes","NCnc","Pt","^BPU.platelet pheresis","Qn","Automated count","HEM/BC","2.40","MIN",,"ACTIVE",,1,,,,,,"N","K3/UL","#; ABS; absolute; absolutes; Auto; Automated detection; Blood product unit; Blood Product Unit (Pack); Cnt; Count; Count/volume; CT; Elec; Elect; Electr; HEMATOLOGY/CELL COUNTS; Leuc; Leuk; Leukocyte; Lkcs; Number concentration; Number Concentration (count/vol); Pheresis BPU; Point in time; QNT; Quan; Quant; Quantitative; Random; WBC; WBCs; White blood cell; White blood cells","WBC # Pheresis BPU Auto","Observation",,,,"10*3/uL","Leukocytes [#/volume] in Blood Product unit.platelet pheresis by Automated count",,,"10*3/uL",,,,,0,0,0,,,,,,"2.09",
Export CCD.xml

Dan Brown

unread,
Jul 2, 2018, 7:37:43 PM7/2/18
to Edge Test Tool (ETT)
Thanks for the detailed info. I have determined the root cause and have a fix. We never experienced this issue on our end since we were using an older version of the LOINC CSV. I downloaded the latest version, and encountered the error. The error is a result of the latest CSV having a different format, with data at different indexes in multiple locations as well as extra data and missing when compared.
A fix will be pushed to github soon. The plan (at this time, may change if there is enough push) is to release this as part of the next build vs an emergency release because the online version is working without issue as it uses the old LOINC CSV. This is also the workaround which can be used for local users until the end of this month when the fix is in the new build, along with the latest LOINC CSV on the server. On our end, we need to make sure other issues are not caused by the new LOINC file than has been documented due to the other discrepancies within it from the current format used. This will take time and testing. However, if you have local code running and can build, there will be a fix in github tomorrow specific to this posted issue.

Thanks again,
Dan

Jason Countryman

unread,
Jul 6, 2018, 8:31:44 AM7/6/18
to Edge Test Tool (ETT)
Anyone know how far back we have to go for working loinc csv?

Nagesh Bashyam - Drajer

unread,
Jul 6, 2018, 8:36:38 AM7/6/18
to Jason Countryman, Edge Test Tool (ETT)
Jason

The updated code will support multiple version including the old and the new.
However you can use the certification baseline version from the regulation if you want to go back to an older version.

Thanks
Dragon

On Jul 6, 2018, at 8:31 AM, Jason Countryman <jason.co...@gmail.com> wrote:

Anyone know how far back we have to go for working loinc csv?

--
You received this message because you are subscribed to the Google Groups "Edge Test Tool (ETT)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to edge-test-too...@googlegroups.com.
To post to this group, send email to edge-te...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/edge-test-tool/8041a4e0-8387-4aa3-bc33-ac77ee1fe905%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nagesh Bashyam - Drajer

unread,
Jul 6, 2018, 8:46:45 AM7/6/18
to Jason Countryman, Edge Test Tool (ETT)
Jason

The updated code will support multiple version including the old and the new.
However you can use the certification baseline version from the regulation if you want to go back to an older version.

Thanks
Dragon
On Jul 6, 2018, at 8:31 AM, Jason Countryman <jason.co...@gmail.com> wrote:

Anyone know how far back we have to go for working loinc csv?

schwa...@gmail.com

unread,
Aug 20, 2018, 2:09:05 PM8/20/18
to Edge Test Tool (ETT)
I recently upgraded to the latest release of the CCDA validator, and when I added in the most recent LOINC codes and attempt to validate certain ccdas I still receive the following error: 'The service has encountered the following error: Null return value from advice does not match primitive return type for: public abstract boolean org.sitenv.vocabularies.validation.repositories.CodeRepository.codeIsActive(java.lang.String,java.util.Set)'

Is anyone else still experiencing this or have found a fix?

schwa...@gmail.com

unread,
Aug 20, 2018, 4:06:00 PM8/20/18
to Edge Test Tool (ETT)
Follow up, I fixed the issue, the file was saved as Loinc.csv instead of loinc.csv
Reply all
Reply to author
Forward
0 new messages