We discussed a while ago using that forcing users to manually pass the first element of a the content sequence (such as a highdicom.sr.MeasurementReport object) when constructing an SR object is clumsy and counterintuitive.
This PR allows the user to pass any content sequence that contains a single item to the content parameter of the SR classes, and tweaks the user guide to make this the official recommendation. The old way of passing a dataset is also supported.
We discussed a while ago using that forcing users to manually pass the first element of a the content sequence (such as a
highdicom.sr.MeasurementReport
object) when constructing an SR object is clumsy and counterintuitive.This PR allows the user to pass any content sequence that contains a single item to the
content
parameter of the SR classes, and tweaks the user guide to make this the official recommendation. The old way of passing a dataset is also supported.