| 806 | } |
| 807 | |
| 808 | mitk::DICOMCodeSequenceWithModifiers mitk::Label::GetPrimaryAnatomicStructure(std::size_t index) const |
| 809 | { |
| 810 | PropertyKeyPath basePath; |
| 811 | basePath.AddSelection(LabelPropertyConstants::GetPrimaryAnatomicStructurePropertyBaseName(), index); |
| 812 | auto result = GetDICOMCodeSequenceWithModifiersFromProperties(basePath); |
| 813 | |
| 814 | if (!result.has_value()) |
| 815 | mitkThrow() << "Cannot get PrimaryAnatomicStructure code. Index seems to be invalid. Index: " << index; |
| 816 | |
| 817 | return *result; |
| 818 | } |
| 819 | |
| 820 | std::size_t mitk::Label::GetPrimaryAnatomicStructureCount() const |
| 821 | { |
no outgoing calls