You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the event that one of the DICOM properties in the DIM output is the string of a valid JSON object, the DIMGeneric construct interprets that string as a JSON object when printing the aggregation result to JSON.
For instance, if the patient's name happens to be {"PatientName":"Anonymous"} by mistake, the output of a searchDIM request could be the following:
This is not likely to happen, but if it does, it affects the entire output schema of the /searchDIM service, thus breaking the search user interface.
This happens because json-lib reinterprets values in JSONObject too freely as JSON values if they fulfill certain criteria, and there doesn't appear to be an easy way to avoid this.
The text was updated successfully, but these errors were encountered:
In the event that one of the DICOM properties in the DIM output is the string of a valid JSON object, the
DIMGeneric
construct interprets that string as a JSON object when printing the aggregation result to JSON.For instance, if the patient's name happens to be
{"PatientName":"Anonymous"}
by mistake, the output of asearchDIM
request could be the following:This is not likely to happen, but if it does, it affects the entire output schema of the
/searchDIM
service, thus breaking the search user interface.This happens because
json-lib
reinterprets values inJSONObject
too freely as JSON values if they fulfill certain criteria, and there doesn't appear to be an easy way to avoid this.The text was updated successfully, but these errors were encountered: