# Any way to attach a non dicom file to  a patient or study?

**URL:** https://discourse.orthanc-server.org/t/any-way-to-attach-a-non-dicom-file-to-a-patient-or-study/161
**Category:** Google Groups archive
**Created:** [April 20, 2015, 7:28am UTC](https://discourse.orthanc-server.org/t/any-way-to-attach-a-non-dicom-file-to-a-patient-or-study/161 "2015-04-20T07:28:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mahorabi](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/m/d07c76/32.png) [@mahorabi](https://discourse.orthanc-server.org/u/mahorabi)
#### Post date: [April 20, 2015, 7:28am UTC](https://discourse.orthanc-server.org/t/any-way-to-attach-a-non-dicom-file-to-a-patient-or-study/161/1 "2015-04-20T07:28:45Z")

</div>

Dear friends ;  
At first iam aradiologest not programer

I want to attach a MSword file to a patient or to a study is it possible through the web interface of orthanc

The scenario is  
I wave a small clinic where i will connect orthanc to its CT and US.  
I will review the studyies from remote sites through the web interface either by its web viewer ( very limited function) or by downloading the studies to my lap and open it by any free viewer  
3- i will write the diagnostic report as MS word on my laptop  
4- sending the report by emails.  
Till now thats great but i want to attach this report to the study for later reviews or archiving.  
So is it possible for orthanc to attach this MS word file to the patient study at its database  
It will be great feature, that every radiologest seeking for.  
Thank for replay

---

<div class="post-metadata">

### Author: ![mahorabi](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/m/d07c76/32.png) [@mahorabi](https://discourse.orthanc-server.org/u/mahorabi)
#### Post date: [April 21, 2015, 11:20pm UTC](https://discourse.orthanc-server.org/t/any-way-to-attach-a-non-dicom-file-to-a-patient-or-study/161/2 "2015-04-21T23:20:40Z")

</div>

Is it to difficult question....?  
ANY ANSWER.......?

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [April 22, 2015, 4:50am UTC](https://discourse.orthanc-server.org/t/any-way-to-attach-a-non-dicom-file-to-a-patient-or-study/161/3 "2015-04-22T04:50:13Z")

</div>

Please.

This is free and opensource project.

Be polite, be respectful, and wait for your turn.

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [April 22, 2015, 1:27pm UTC](https://discourse.orthanc-server.org/t/any-way-to-attach-a-non-dicom-file-to-a-patient-or-study/161/4 "2015-04-22T13:27:30Z")

</div>

The Orthanc core allows attaching custom files (i.e. non-DICOM files) to any patient, study, series or instance.

This is documented in the REST API, under the URIs “/{resourceType}/{id}/attachments”:  
[http://goo.gl/U3aZx3](http://goo.gl/U3aZx3)

In these URIs:

- “resourceType” is either “patients”, “studies”, “series” or “instances”.
- “id” needs to be an integer above 1024, or a string declared in the “UserContentType” configuration option (cf. [https://code.google.com/p/orthanc/wiki/OrthancConfiguration](https://code.google.com/p/orthanc/wiki/OrthancConfiguration)).  
However, this feature is currently only available to developers that use the REST API; It is not available in the default GUI (aka. “Orthanc Explorer”). So, you’ll have to wait for this feature or to hire a developer to implement this feature for you in Orthanc Explorer.

Sébastien-

PS: My answer comes after 2 business days since I’m back from vacation. Not bad for a free and open-source project. Most private companies would answer such questions in a much longer delay.

---

<div class="post-metadata">

### Author: ![mahorabi](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/m/d07c76/32.png) [@mahorabi](https://discourse.orthanc-server.org/u/mahorabi)
#### Post date: [April 22, 2015, 8:46pm UTC](https://discourse.orthanc-server.org/t/any-way-to-attach-a-non-dicom-file-to-a-patient-or-study/161/5 "2015-04-22T20:46:23Z")

</div>

thanks for your replay ,  
and i am really appreciate your hard { free charged } work

as i said before the possibility of attaching reports for any study is highly important function for every radiologist.

so I will wait patiently for including this function at the main GUI to be used for every patient in the explorer in some easy way .

thanks again for your great work

yours ,  
Mahmoud

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [April 23, 2015, 7:25am UTC](https://discourse.orthanc-server.org/t/any-way-to-attach-a-non-dicom-file-to-a-patient-or-study/161/6 "2015-04-23T07:25:25Z")

</div>

Fine, glad that this answer is useful to you!

We will of course take your request in consideration for future versions of Orthanc.

Sébastien-
