Hello,
You can find examples of setting/reading/clearing a metadata using the REST API in the integration tests of Orthanc:
https://bitbucket.org/sjodogne/orthanc-tests/src/5920954287dd602d065314282753d3d41b76475e/Tests/Tests.py?at=default&fileviewer=file-view-default#Tests.py-910
These examples are written in Python, but they can obviously be ported to other languages.
HTH,
Sébastien-
On Thursday, June 2, 2016 at 11:19:27 PM UTC+2, jan.van...@gmail.com wrote:Hi Sebastien,
Thanks a lot for that great piece of work.
Indexing files in-place is a great feature.
In your message you indicate 'using the REST API, you would associate it with a custom metadata containing the path to the original DICOM file.'.
Would you have a link that could indicate how to perform that?
Thanks a lot
jan
> Wow, very nice! One trick you can do with this is have the images sent using the JPIP transfer syntax. When this is done, a URL to the JPIP stream is sent instead of the pixel data. This way you can build/populate Orthanc with metadata without the overhead of the pixel data! This requires that the PACS sending data in this way (not many do, but some will)
>
> Hello Peter,
>
>
> It is now possible to use Orthanc in a "index-only" mode by turning the "StoreDicom" option to "false" in the configuration file.
>
>
> When this mode is enabled, Orthanc does not store the full DICOM file: It updates its index and only stores the JSON summary of the DICOM file.
>
>
> You can assign a metadata to each DICOM instance (using the REST API) to store the location of the original DICOM file on your drive.
>
>
> HTH,
> Sébastien-
>
>
>
>
> On Saturday, August 9, 2014 6:44:19 PM UTC+2, Peter Somlo wrote:Hi,
>
>
>
> it's been a while since I posted to the group, hope everything is going well.
>
>
>
> I have the following scenario: in a directory, I have a thousands of
>
> studies stored as dicom files, is it possible to tell Orthanc to scan
>
> and index those files (generate an SQLite file containing the index),
>
> and use the existing dicom files as the storage without moving them?
>
> I would like to get quick, readonly, access to plain files through the
>
> DICOM protocol. The structure of the folders is different than the one
>
> used by Orthanc when it stores the filesfor itself.
>
> Is there a quick way of achieving it, or do I have to send them to