New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving Measurements via SR from OHIF #89
Comments
Hey @nutzlastfan , can you please attach the request headers from the store request? You can get these from the developer console network tab |
Ok, here is an example:
|
OK, the request looks fine and the content-type header value is correct. What seems to be wrong is the line you posted from DICOMcloud, I am not sure why the code you have has the value "relate" instead of "related":
if (!Request.Content.IsMimeMultipartContent("related"))
{
throw new HttpResponseException(HttpStatusCode.UnsupportedMediaType);
} |
it was autocorrected from a browser plugin, in the code it is the right spelling |
@nutzlastfan, check this: dcmjs-org/dcmjs#113 |
Ok, thanks for looking this up, I would have never thought of that as a possibility. |
@nutzlastfan Have you solved the problem? I want Saving Measurements via SR from OHIF. And i am research start. |
Not recommended just for reference since the problem comes from ohif implementation not dicomcloud:
Body is essentially the structured report in byte[] form that you can just open in fo-dicom or save to disk etc. |
@Zaid-Safadi Looks like Dicomcloud has no support for SR... It just treats SR store requests like an image store request. Any upcoming plans to support SR? |
@Dev-Now responded at your ticket. thanks for your patience. |
Hello,
is it possible at the Moment to save measurements from OHIF Viewer with DicomCloud ?
Currently a least for me it is not working:
POST http://...8081/..WebApi/api/studies 415 (Unsupported Media Type)
dataExchange.js:73 [DICOMSR] Error while saving the measurements: request failed
The Post is send without a studyinstance id.
In DICOMCloud it ends up with a UnsupportedMediaType exception.
public async Task Post(string studyInstanceUID = null)
.....
if (!Request.Content.IsMimeMultipartContent("relate"))
{
throw new HttpResponseException(HttpStatusCode.UnsupportedMediaType);
}
Is my configuration a fault here or something else ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: