Closed jmlaka closed 2 years ago
Please see
I took the liberty of doing some final touches on this pull request. A summary:
PersonNameBuilder
non-consumingFrom<PersonNameBuilder>
and From<&mut PersonNameBuilder>
impls to PersonName
PersonName::from_slice
to PersonName::from_str
DicomValue::as_person_name
to DicomValue::to_person_name
for consistency with the rest of the API In any case, the module seems robust and well constructed. @jmlaka I am likely to merge this soon, but feel free to look over the extra commits in case you have any concerns or questions.
Thanks for your insights @Enet4 ! Everything is fine with me.
Hello Eduardo, I don't know if this would be useful but I needed to handle Dicom PN. It only uses borrowed values and family, given names are not optional but mandatory.
Removed one typo from a previous Doc test