WebAPI Plugin / DICOM PN Value Representation

Hello,

I was going through the web APIs and noticed that the JSON output format may be incorrect for the value representation of PN in tags such as {0008,0090} and {0010,0010}

“00080090”:{
“Value”:[
“^Bob^^Dr.”
],
“vr”:“PN”
},

For example (from https://support.dcmtk.org/docs/dcm2json.html)

“00080090”: {
“vr”: “PN”,
“Value”: [
{
“Alphabetic”: “^Bob^^Dr.”
}
]
},

The DICOM JSON midel is defined here:

http://dicom.nema.org/medical/Dicom/2016d/output/chtml/part18/sect_F.2.2.html

Will clients default/assume that it is Alphabetic if not specified? Or is this bad JSON?

Tak/Thanks!

Marie

Looks like the webAPI plugin is basically an example of an implementation. It is not DICOM standard compliant.

Marie

Hello,

The DICOMweb plugin for Orthanc is not just an example, but an actual open-source implementation of the DICOMweb standard.

Which does not mean that the implementation is bug-free wrt. the standard.

Please file a bug report so that we can work on a fix:
https://bitbucket.org/sjodogne/orthanc/issues?status=new&status=open

Regards,
Sébastien-

For reference, here is the link to this issue in our bug tracker:
https://bitbucket.org/sjodogne/orthanc-dicomweb/issues/2/