I want to convert JSON i.e
“00080016” : {
“vr” : “UI”,
“Value” : [
“1.2.840.10008.5.1.4.1.1.12.1”
]
},
“00100020” : {
“vr” : “LO”,
“Value” : [
“23444423”
]
} …
to dicom, how can i do that ?
I want to convert JSON i.e
“00080016” : {
“vr” : “UI”,
“Value” : [
“1.2.840.10008.5.1.4.1.1.12.1”
]
},
“00100020” : {
“vr” : “LO”,
“Value” : [
“23444423”
]
} …
to dicom, how can i do that ?
Hello,
The following post mostly answer your question:
https://groups.google.com/d/msg/orthanc-users/oPl1wqVxgK4/Rft4VZuaBwAJ
In your case, first convert your JSON encoded using the DICOMweb convention, into the Orthanc convention:
{
“00080016” : “1.2.840.10008.5.1.4.1.1.12.1”,
“00100020” : “23444423”,
…
}
Then, call “/tools/create-dicom” as explained in the other thread.
This process can obviously be automated using a C/C++ plugin:
https://book.orthanc-server.com/developers/creating-plugins.html
HTH,
Sébastien-