srdc / cda2fhir

CDA to FHIR Transformer Library
Apache License 2.0
54 stars 46 forks source link

fresh mvn clean install fails #3

Closed mwhavens closed 7 years ago

mwhavens commented 7 years ago

It appears there is an issue with the default configuration for this project. If you do a fresh clone, and try mvn clean install there will be errors.

The issue appears to be in ValidatorTest.java:158. The bundle will most likely never equal null. Instead changing this line to: if(bundle != null && bundle.getId().getIdPartAsLong() != null ) { appears to work.

Also for the project to build without issue the Config.java should also have "http://ontoserver.csiro.au/stu3-latest/" added to VALIDATOR_TERMINOLOGY_SERVER_URLS.

msfyuksel commented 7 years ago

Thanks. I have updated the terminology server list and relevant error handling in case of no access. We cannot use STU3 terminology servers for DSTU2 resources, the HL7 Validator does not work with them.