|
1 | 1 | /*
|
2 | 2 | *
|
3 |
| - * Copyright (C) 2015-2016, J. Riesmeier, Oldenburg, Germany |
| 3 | + * Copyright (C) 2015-2025, J. Riesmeier, Oldenburg, Germany |
4 | 4 | * All rights reserved. See COPYRIGHT file for details.
|
5 | 5 | *
|
6 | 6 | * This software and supporting documentation are maintained by
|
@@ -86,6 +86,14 @@ class DCMTK_DCMSR_EXPORT DSRContextGroup
|
86 | 86 | return MappingResource;
|
87 | 87 | }
|
88 | 88 |
|
| 89 | + /** get context group keyword |
| 90 | + ** @return keyword of the context group (might be empty) |
| 91 | + */ |
| 92 | + inline const OFString &getKeyword() const |
| 93 | + { |
| 94 | + return Keyword; |
| 95 | + } |
| 96 | + |
89 | 97 | /** get context group version (optional)
|
90 | 98 | ** @return version of the context group (might be empty)
|
91 | 99 | */
|
@@ -203,13 +211,15 @@ class DCMTK_DCMSR_EXPORT DSRContextGroup
|
203 | 211 | /** constructor
|
204 | 212 | ** @param contextIdentifier identifier of the context group
|
205 | 213 | * @param mappingResource mapping resource that defines the context group
|
| 214 | + * @param contextGroupKeyword keyword of the context group (optional) |
206 | 215 | * @param contextGroupVersion version of the context group (optional)
|
207 | 216 | * @param contextGroupUID unique identifier of the context group (optional)
|
208 | 217 | * @param selectedValue coded entry to be selected as the current value
|
209 | 218 | * (optional)
|
210 | 219 | */
|
211 | 220 | DSRContextGroup(const OFString &contextIdentifier,
|
212 | 221 | const OFString &mappingResource,
|
| 222 | + const OFString &contextGroupKeyword = "", |
213 | 223 | const OFString &contextGroupVersion = "",
|
214 | 224 | const OFString &contextGroupUID = "",
|
215 | 225 | const DSRCodedEntryValue &selectedValue = DSRCodedEntryValue());
|
@@ -265,6 +275,8 @@ class DCMTK_DCMSR_EXPORT DSRContextGroup
|
265 | 275 | const OFString Identifier;
|
266 | 276 | /// mapping resource (VR=CS, mandatory)
|
267 | 277 | const OFString MappingResource;
|
| 278 | + /// context group keyword (optional) |
| 279 | + const OFString Keyword; |
268 | 280 | /// context group version (VR=DT, optional)
|
269 | 281 | const OFString Version;
|
270 | 282 | /// context group UID (VR=UI, optional)
|
|
0 commit comments