Orthanc customized online retrieve

Hello guys,

I am currently working with OrthanC, but now, I need some customized options on it.

I need it to store patients based on their study date and patient IDs so I can retrieve them with following URL:

http://orthanc:port/PatientID

*Patient ID is patients social security number.

It will be so kind of you if you can help me through that.

Arvand

Hello,

You can implement this feature by creating a plugin:
https://orthanc.chu.ulg.ac.be/book/plugins.html#plugins-contributed

This plugin would register a REST callback on URI “/PatientID” using the function “OrthancPluginRegisterRestCallback()” of the plugin SDK:
https://orthanc.chu.ulg.ac.be/sdk/index.html

The actual search would be implemented by a call against the built-in REST URI “/tools/find”, that can be invoked with a call to “OrthancPluginRestApiPost()”.

HTH,
Sébastien-

Hello, Sebastien,

Thank you for your prompt and helpful answers.
To be honest, I am not an engineer and I don’t have proper coding knowledge.
So, it will be so kind of you (or anyone else) if you can give me information and step by step guide about how should I do this work.
I know it will taking your time and I understand that you may not have enough time to do this for me but any helps would be appreciated.

AFAIC, I must stay focused on the development of the whole Orthanc ecosystem and its future evolution, to the benefit of the entire community. As a consequence, I personally cannot give time to individual people.

There are actually many possible ways of giving back to Orthanc (including non-coding tasks), which would give me more time to answer requests such as yours:
https://orthanc.chu.ulg.ac.be/book/contributing.html

Sébastien-