Closed jenny-hm-lee closed 2 years ago
@JennyLeePMH thank you for your interest in the dicomweb-client library and for creating the issue.
This functionality has meanwhile been included into the pydicom library (see https://github.com/pydicom/pydicom/pull/862) and is available via pydicom.dataset.Dataset.from_json().
The example should now look as follows:
from pydicom import Dataset
metadata_datasets = [Dataset.from_json(ds) for ds in metadata]
I have updated the example in the documentation accordingly (see 04257537f399e1e89e894296f66f2214b2e39b25)
Cannot find reference 'load_json_dataset' in 'api.py'
Step to reproduce