Releases: gacou54/pyorthanc
Releases · gacou54/pyorthanc
v1.18.0
PyOrthanc 1.17.0
What's Changed
- Update to Orthanc 1.12.3 and Python Plugin 4.2
- MainDicomTags are only queried once
- Resource metadata (e.g. LastUpdate) that is not in the DICOM tag are always query Orthanc
- Remove deprecated function
build_patient_forest()
Full Changelog: v1.16.1...v1.17.0
PyOrthanc 1.16.1
New features:
- Added the
.main_dicom_tags
property to all resources (Patient/Study/Series/Instance) to retrieve the main DICOM tags.
PyOrthanc 1.16.0
New features:
- Each resources now have a
.download()
method that retrieve in chunk a zip (Patient, Study, Series) or a DICOM file.- This is useful when downloading resources
PyOrthanc 1.15.1
Fix:
Series.description
property now retrieve the value with the correct DICOM tag.
PyOrthanc 1.15.0
New features:
- Each resource as new
parent_(patient/study/series)
property that facilitate the access to its parent resources- For instance, it is possible to retrieve the patient corresponding to an instance
patient = instance.parent_patient
- For instance, it is possible to retrieve the patient corresponding to an instance
Patient
,Study
andSeries
objects now have ashared_tags
property that retrieve the shared tags in a simplified format- For more control on the output format, a
get_shared_tags(simplify=True/False, short=True/False)
method is also accessible
- For more control on the output format, a
PyOrthanc 1.14.1
Fix:
- Force a minimum version on the httpx dependencies
PyOrthanc 1.14.0
Features:
- Add
to_orthanc_patient_id
,to_orthanc_study_id
,to_orthanc_series_id
andto_orthanc_instance_id
functions to generate Orthanc IDs from DICOM (U)IDs orthanc_sdk
- Improve linting and autocompletion
- Follow the Python Plugin 4.1
Other:
- Less restrictive dependency on httpx
PyOrthanc 1.13.1
Fix:
- orthanc_sdk
- Fix autocomplete in some editor/IDE (e.g. fix the pycharm autocomplete)
PyOrthanc 1.13.0
Features:
- Add a new submodule orthanc_sdk.
- When used in an Orthanc Python script, it acts the same as
import orthanc
- When used outside Orthanc (i.e. when developing a script), expose the same signature as
import orthanc
- This adds autocomplete and linting
- All methods/functions are mock (i.e. do nothing), which is useful when developing
- Use it with
from pyorthanc import orthanc_sdk
- When used in an Orthanc Python script, it acts the same as