Some thoughts about project and a question about API integration

17 views
Skip to first unread message

ylondon

unread,
Sep 16, 2011, 1:54:05 PM9/16/11
to snofyre-users
Some problems during installation:
Registering to TRUD website is really painfull, they are rejecting
because of they dont like your email address.Is it possible to host
this files somewhere else?where people can easily download.
During installation sql file was so big(snomed-data.sql) to import, i
had to split to 14 pieces to be able run on mysql import.

I installed snofyre 1.8 and from tools menu there is no scripting
option available.But in documentation it says there is a groovy
console.Do i need to do something else? I ran sample queries in
documentation successfully using interface though.

My main question is how can i use API with Java?
Documentation is clear about how to use API with groovy but there is
no documentation about how to implement this API to existing Java
Project(I am using Eclipse and JDK 6). It writes how to download
source code and import this project into eclipse, but i think you
should write how add this api support to existing project.

Cheers

Bharat

unread,
Sep 23, 2011, 6:06:41 AM9/23/11
to snofyre-users
Hi there,
in regards to your experiences with TRUD registration, you should have
recieved a reply as to why your registration was rejected. Normally if
you wish to access Snofyre files you will need to tick for research
purposes and provide evidence of any organisation you are affiliated
with, either through using an organisational email address or
explaining your request for membership. I will pass your feedback on
about access to the files, but if you do have any further issues with
registration please contact the datastandards helpdesk
datast...@nhs.net and they will do what they can to help you get
registered.

Would anyone else in the group be able to help with ylondon's query
about APIs? Ill note it down as a request for the site.

Many Thanks,
Bharat Sharma

Jay Kola

unread,
Sep 23, 2011, 9:04:34 AM9/23/11
to snofyr...@googlegroups.com
Hi,

Some comments below in appropriate places:

Cheers,
Jay

On 17 Sep 2011, at 01:54, ylondon wrote:

Some problems during installation:
Registering to TRUD website is really painfull, they are rejecting
because of they dont like your email address.Is it possible to host
this files somewhere else?where people can easily download.

Snofyre demonstrator application comes with SNOMED CT bundled inside. Users need to sign up for a license and provide a reason for requesting access to SNOMED CT. Please note Bharart's suggestion on getting TRUD registration up and running. 

During installation sql file was so big(snomed-data.sql) to import, i
had to split to 14 pieces to be able run on mysql import.

Yes, the snomed-data.sql file is big! It has all of SNOMED CT content (+ database indices) bundled. The installation manual specifies this explicitly and tells you that it'll take around 20 mins to import. Most users that I've known have not raised this issue. I am unsure why you'd need to need to split the file into 14 parts. Is there a reason why you needed to do this?


I installed snofyre 1.8 and from tools menu there is no scripting
option available.But in documentation it says there is a groovy
console.Do i need to do something else?

Please see http://code.google.com/p/snofyre/issues/detail?id=19&can=1&q=console for installing the scripting console. You'll need to drop both the jars on the page in the 'lib' folder. Alternatively, just check out the source code from 'tags' in the SVN repo and compile using Maven to create new instance of Snofyre with the scripting console enabled.

I ran sample queries in
documentation successfully using interface though.

My main question is how can i use API with Java?
Documentation is clear about how to use API with groovy but there is
no documentation about how to implement this API to existing Java
Project(I am using Eclipse and JDK 6). It writes how to download
source code and import this project into eclipse, but i think you
should write how add this api support to existing project.

If you are looking for sample code, please look at the JUnit tests in the source folder for all the modules. Every JUnit test is a fully functional example in its own right. I would love to create more documentation, but I have a full time job that does not have much to do with Snofyre. So, I do not have the time, though I'd really love to do it!

Please feel free to contribute some sample code if you can! Like all open source projects, we welcome member contributions!


Cheers

Reply all
Reply to author
Forward
0 new messages