1.4 KiB
1.4 KiB
sidebar_position, sidebar_label, summary
| sidebar_position | sidebar_label | summary |
|---|---|---|
| 2 | Other Changes | Migration guide for OHIF 3.11 additional changes |
Key Changes:
connectToolsToMeasurementServiceparameters: TheconnectToolsToMeasurementServicefunction from the@ohif/cornerstone-extensionsnow take different arguments.data-viewportIdThedata-viewportIdnaming was not compliant with react and was causing warnings. Rename references todata-viewportid.
Migration Steps:
-
Update
connectToolsToMeasurementServiceMethod Calls:- Now the connectToolsToMeasurementService receives all service object arguments (servicesManager, commandsManager and extensionManager).
// Before - connectToolsToMeasurementService(servicesManager); // After + connectToolsToMeasurementService({ + servicesManager, + commandsManager, + extensionsManager + });
Images sort by position patient
The ImageSet sort has been modified: images are now sorted by ImagePositionPatient by default. If ImagePositionPatient is not available, the sort will fall back to InstanceNumber.
To revert to the previous sorting method, you can add the customization instanceSortingCriteria as shown below:
customizationService.setCustomizations({
'instanceSortingCriteria': {
$set: {defaultSortFunctionName: 'default'},
},
});