Mercurial > hg > orthanc
view OrthancServer/Plugins/Samples/AdoptDicomInstance/README @ 6552:0c97c019b493 default tip
updated dicom conformance statement for dcmtk 3.7.0
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Fri, 19 Dec 2025 18:08:18 +0100 |
| parents | 2944662388fd |
| children |
line wrap: on
line source
This sample plugin illustrates how to use the "OrthancPluginAdoptDicomInstance()" primitive in the Orthanc SDK. The plugin replaces the built-in storage area of Orthanc, by a flat directory "./OrthancStorage" containing the attachments. DICOM instances can then be adopted by typing: $ curl http://localhost:8042/adopt -d /tmp/sample.dcm An adopted DICOM instance is not copied inside the "OrthancStorage" folder, but is read from its original location (in the example above, from "/tmp/sample.dcm").
