Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

3M Web Services  RSS feed

 
damien smith
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am doing a project that will use web services to invoke the 3M Healthcare Data Dictionary APIs.

I am trying to use a method called "lookupDesignation" which will take one codeSystem_id and one concept code of a concept and return a human-readable representation of a specific concept.

For example, the codeSystem_id "2.16.840.1.113883.3.232.99.5" and the concept code "AANS" would be the input and the representation "Aortic Aneurysm" would be the output.

/api/cts/vr/lookupDesignation is the given web service path in the 3M API documentation but how would I go about entering the two parameters (codeSystem_id and conceptCode)?

Thanks in advance!
 
Hikari Shidou
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What technology is used in this WebService? SOAP maybe? Where did you take its definitions?
 
damien smith
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hikari, My java program will translate a medical term in one medical coding language (ICD-9 CM) to another (Not sure yet but there are a few to choose from) using the 3M HDD as the translator. REST (not SOAP), jersey, and XML will be used on NetBeans IDE 7.2.1.

And what do you mean by your last question?
 
Hikari Shidou
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I never worked with Jersey, but I suppose it's similar to RESTlet.

You need definitions of the WebService, something to explain to you how to do calls to it, how to pass parameters, and what it will return to you. If it was SOAP you'd have a WSDL with everything you need, for REST you rely on what WebService provider wanna give you.

For REST you'll probably have something like "GET http://domain/path/operation/term/code" and you'll receive a XML with the output.

Another possibility, not recommended in REST, would be "GET http://domain/path/operation" and pass term and code as post parameters.

As I said, you're asking how to pass term and code parameters, so you must ask WebService provider for definitions on how to pass them.
 
damien smith
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Hikari.

Here is the WADL: http://173.14.188.57:9080/api/application.wadl

http://173.14.188.57:9080/api/cts/vb/getSupportedCodeSystems <-- This works and returns an XML with the supported code systems but

http://173.14.188.57:9080/api/cts/vb/lookupDesignations <-- This doesn't because this one needs 2 parameters mentioned in my prior post.

How do I insert parameters for this code?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!