001package org.hl7.fhir.r5.model; 002 003 004/* 005 * #%L 006 * org.hl7.fhir.r5 007 * %% 008 * Copyright (C) 2014 - 2019 Health Level 7 009 * %% 010 * Licensed under the Apache License, Version 2.0 (the \"License\"); 011 * you may not use this file except in compliance with the License. 012 * You may obtain a copy of the License at 013 * 014 * http://www.apache.org/licenses/LICENSE-2.0 015 * 016 * Unless required by applicable law or agreed to in writing, software 017 * distributed under the License is distributed on an \"AS IS\" BASIS, 018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 019 * See the License for the specific language governing permissions and 020 * limitations under the License. 021 * #L% 022 */ 023 024/* 025 Copyright (c) 2011+, HL7, Inc. 026 All rights reserved. 027 028 Redistribution and use in source and binary forms, with or without modification, \ 029 are permitted provided that the following conditions are met: 030 031 * Redistributions of source code must retain the above copyright notice, this \ 032 list of conditions and the following disclaimer. 033 * Redistributions in binary form must reproduce the above copyright notice, \ 034 this list of conditions and the following disclaimer in the documentation \ 035 and/or other materials provided with the distribution. 036 * Neither the name of HL7 nor the names of its contributors may be used to 037 endorse or promote products derived from this software without specific 038 prior written permission. 039 040 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND \ 041 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \ 042 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. \ 043 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, \ 044 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT \ 045 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR \ 046 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \ 047 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \ 048 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \ 049 POSSIBILITY OF SUCH DAMAGE. 050 */ 051 052// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent 053 054import java.util.ArrayList; 055import java.util.Date; 056import java.util.List; 057import org.hl7.fhir.utilities.Utilities; 058import org.hl7.fhir.r5.model.Enumerations.*; 059import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 060import org.hl7.fhir.exceptions.FHIRException; 061import org.hl7.fhir.instance.model.api.ICompositeType; 062import ca.uhn.fhir.model.api.annotation.ResourceDef; 063import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; 064import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 065import ca.uhn.fhir.model.api.annotation.Child; 066import ca.uhn.fhir.model.api.annotation.ChildOrder; 067import ca.uhn.fhir.model.api.annotation.Description; 068import ca.uhn.fhir.model.api.annotation.Block; 069 070/** 071 * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. 072 */ 073@ResourceDef(name="ConceptMap", profile="http://hl7.org/fhir/StructureDefinition/ConceptMap") 074public class ConceptMap extends CanonicalResource { 075 076 public enum ConceptMapGroupUnmappedMode { 077 /** 078 * Use the code as provided in the $translate request. 079 */ 080 PROVIDED, 081 /** 082 * Use the code explicitly provided in the group.unmapped. 083 */ 084 FIXED, 085 /** 086 * Use the map identified by the canonical URL in the url element. 087 */ 088 OTHERMAP, 089 /** 090 * added to help the parsers with the generic types 091 */ 092 NULL; 093 public static ConceptMapGroupUnmappedMode fromCode(String codeString) throws FHIRException { 094 if (codeString == null || "".equals(codeString)) 095 return null; 096 if ("provided".equals(codeString)) 097 return PROVIDED; 098 if ("fixed".equals(codeString)) 099 return FIXED; 100 if ("other-map".equals(codeString)) 101 return OTHERMAP; 102 if (Configuration.isAcceptInvalidEnums()) 103 return null; 104 else 105 throw new FHIRException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); 106 } 107 public String toCode() { 108 switch (this) { 109 case PROVIDED: return "provided"; 110 case FIXED: return "fixed"; 111 case OTHERMAP: return "other-map"; 112 default: return "?"; 113 } 114 } 115 public String getSystem() { 116 switch (this) { 117 case PROVIDED: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; 118 case FIXED: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; 119 case OTHERMAP: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; 120 default: return "?"; 121 } 122 } 123 public String getDefinition() { 124 switch (this) { 125 case PROVIDED: return "Use the code as provided in the $translate request."; 126 case FIXED: return "Use the code explicitly provided in the group.unmapped."; 127 case OTHERMAP: return "Use the map identified by the canonical URL in the url element."; 128 default: return "?"; 129 } 130 } 131 public String getDisplay() { 132 switch (this) { 133 case PROVIDED: return "Provided Code"; 134 case FIXED: return "Fixed Code"; 135 case OTHERMAP: return "Other Map"; 136 default: return "?"; 137 } 138 } 139 } 140 141 public static class ConceptMapGroupUnmappedModeEnumFactory implements EnumFactory<ConceptMapGroupUnmappedMode> { 142 public ConceptMapGroupUnmappedMode fromCode(String codeString) throws IllegalArgumentException { 143 if (codeString == null || "".equals(codeString)) 144 if (codeString == null || "".equals(codeString)) 145 return null; 146 if ("provided".equals(codeString)) 147 return ConceptMapGroupUnmappedMode.PROVIDED; 148 if ("fixed".equals(codeString)) 149 return ConceptMapGroupUnmappedMode.FIXED; 150 if ("other-map".equals(codeString)) 151 return ConceptMapGroupUnmappedMode.OTHERMAP; 152 throw new IllegalArgumentException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); 153 } 154 public Enumeration<ConceptMapGroupUnmappedMode> fromType(Base code) throws FHIRException { 155 if (code == null) 156 return null; 157 if (code.isEmpty()) 158 return new Enumeration<ConceptMapGroupUnmappedMode>(this); 159 String codeString = ((PrimitiveType) code).asStringValue(); 160 if (codeString == null || "".equals(codeString)) 161 return null; 162 if ("provided".equals(codeString)) 163 return new Enumeration<ConceptMapGroupUnmappedMode>(this, ConceptMapGroupUnmappedMode.PROVIDED); 164 if ("fixed".equals(codeString)) 165 return new Enumeration<ConceptMapGroupUnmappedMode>(this, ConceptMapGroupUnmappedMode.FIXED); 166 if ("other-map".equals(codeString)) 167 return new Enumeration<ConceptMapGroupUnmappedMode>(this, ConceptMapGroupUnmappedMode.OTHERMAP); 168 throw new FHIRException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); 169 } 170 public String toCode(ConceptMapGroupUnmappedMode code) { 171 if (code == ConceptMapGroupUnmappedMode.PROVIDED) 172 return "provided"; 173 if (code == ConceptMapGroupUnmappedMode.FIXED) 174 return "fixed"; 175 if (code == ConceptMapGroupUnmappedMode.OTHERMAP) 176 return "other-map"; 177 return "?"; 178 } 179 public String toSystem(ConceptMapGroupUnmappedMode code) { 180 return code.getSystem(); 181 } 182 } 183 184 @Block() 185 public static class ConceptMapGroupComponent extends BackboneElement implements IBaseBackboneElement { 186 /** 187 * An absolute URI that identifies the source system where the concepts to be mapped are defined. 188 */ 189 @Child(name = "source", type = {UriType.class}, order=1, min=0, max=1, modifier=false, summary=false) 190 @Description(shortDefinition="Source system where concepts to be mapped are defined", formalDefinition="An absolute URI that identifies the source system where the concepts to be mapped are defined." ) 191 protected UriType source; 192 193 /** 194 * The specific version of the code system, as determined by the code system authority. 195 */ 196 @Child(name = "sourceVersion", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) 197 @Description(shortDefinition="Specific version of the code system", formalDefinition="The specific version of the code system, as determined by the code system authority." ) 198 protected StringType sourceVersion; 199 200 /** 201 * An absolute URI that identifies the target system that the concepts will be mapped to. 202 */ 203 @Child(name = "target", type = {UriType.class}, order=3, min=0, max=1, modifier=false, summary=false) 204 @Description(shortDefinition="Target system that the concepts are to be mapped to", formalDefinition="An absolute URI that identifies the target system that the concepts will be mapped to." ) 205 protected UriType target; 206 207 /** 208 * The specific version of the code system, as determined by the code system authority. 209 */ 210 @Child(name = "targetVersion", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) 211 @Description(shortDefinition="Specific version of the code system", formalDefinition="The specific version of the code system, as determined by the code system authority." ) 212 protected StringType targetVersion; 213 214 /** 215 * Mappings for an individual concept in the source to one or more concepts in the target. 216 */ 217 @Child(name = "element", type = {}, order=5, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 218 @Description(shortDefinition="Mappings for a concept from the source set", formalDefinition="Mappings for an individual concept in the source to one or more concepts in the target." ) 219 protected List<SourceElementComponent> element; 220 221 /** 222 * What to do when there is no mapping to a target concept from the source concept. This provides the "default" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to. 223 */ 224 @Child(name = "unmapped", type = {}, order=6, min=0, max=1, modifier=false, summary=false) 225 @Description(shortDefinition="What to do when there is no mapping target for the source concept", formalDefinition="What to do when there is no mapping to a target concept from the source concept. This provides the \"default\" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to." ) 226 protected ConceptMapGroupUnmappedComponent unmapped; 227 228 private static final long serialVersionUID = 1606357508L; 229 230 /** 231 * Constructor 232 */ 233 public ConceptMapGroupComponent() { 234 super(); 235 } 236 237 /** 238 * Constructor 239 */ 240 public ConceptMapGroupComponent(SourceElementComponent element) { 241 super(); 242 this.addElement(element); 243 } 244 245 /** 246 * @return {@link #source} (An absolute URI that identifies the source system where the concepts to be mapped are defined.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value 247 */ 248 public UriType getSourceElement() { 249 if (this.source == null) 250 if (Configuration.errorOnAutoCreate()) 251 throw new Error("Attempt to auto-create ConceptMapGroupComponent.source"); 252 else if (Configuration.doAutoCreate()) 253 this.source = new UriType(); // bb 254 return this.source; 255 } 256 257 public boolean hasSourceElement() { 258 return this.source != null && !this.source.isEmpty(); 259 } 260 261 public boolean hasSource() { 262 return this.source != null && !this.source.isEmpty(); 263 } 264 265 /** 266 * @param value {@link #source} (An absolute URI that identifies the source system where the concepts to be mapped are defined.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value 267 */ 268 public ConceptMapGroupComponent setSourceElement(UriType value) { 269 this.source = value; 270 return this; 271 } 272 273 /** 274 * @return An absolute URI that identifies the source system where the concepts to be mapped are defined. 275 */ 276 public String getSource() { 277 return this.source == null ? null : this.source.getValue(); 278 } 279 280 /** 281 * @param value An absolute URI that identifies the source system where the concepts to be mapped are defined. 282 */ 283 public ConceptMapGroupComponent setSource(String value) { 284 if (Utilities.noString(value)) 285 this.source = null; 286 else { 287 if (this.source == null) 288 this.source = new UriType(); 289 this.source.setValue(value); 290 } 291 return this; 292 } 293 294 /** 295 * @return {@link #sourceVersion} (The specific version of the code system, as determined by the code system authority.). This is the underlying object with id, value and extensions. The accessor "getSourceVersion" gives direct access to the value 296 */ 297 public StringType getSourceVersionElement() { 298 if (this.sourceVersion == null) 299 if (Configuration.errorOnAutoCreate()) 300 throw new Error("Attempt to auto-create ConceptMapGroupComponent.sourceVersion"); 301 else if (Configuration.doAutoCreate()) 302 this.sourceVersion = new StringType(); // bb 303 return this.sourceVersion; 304 } 305 306 public boolean hasSourceVersionElement() { 307 return this.sourceVersion != null && !this.sourceVersion.isEmpty(); 308 } 309 310 public boolean hasSourceVersion() { 311 return this.sourceVersion != null && !this.sourceVersion.isEmpty(); 312 } 313 314 /** 315 * @param value {@link #sourceVersion} (The specific version of the code system, as determined by the code system authority.). This is the underlying object with id, value and extensions. The accessor "getSourceVersion" gives direct access to the value 316 */ 317 public ConceptMapGroupComponent setSourceVersionElement(StringType value) { 318 this.sourceVersion = value; 319 return this; 320 } 321 322 /** 323 * @return The specific version of the code system, as determined by the code system authority. 324 */ 325 public String getSourceVersion() { 326 return this.sourceVersion == null ? null : this.sourceVersion.getValue(); 327 } 328 329 /** 330 * @param value The specific version of the code system, as determined by the code system authority. 331 */ 332 public ConceptMapGroupComponent setSourceVersion(String value) { 333 if (Utilities.noString(value)) 334 this.sourceVersion = null; 335 else { 336 if (this.sourceVersion == null) 337 this.sourceVersion = new StringType(); 338 this.sourceVersion.setValue(value); 339 } 340 return this; 341 } 342 343 /** 344 * @return {@link #target} (An absolute URI that identifies the target system that the concepts will be mapped to.). This is the underlying object with id, value and extensions. The accessor "getTarget" gives direct access to the value 345 */ 346 public UriType getTargetElement() { 347 if (this.target == null) 348 if (Configuration.errorOnAutoCreate()) 349 throw new Error("Attempt to auto-create ConceptMapGroupComponent.target"); 350 else if (Configuration.doAutoCreate()) 351 this.target = new UriType(); // bb 352 return this.target; 353 } 354 355 public boolean hasTargetElement() { 356 return this.target != null && !this.target.isEmpty(); 357 } 358 359 public boolean hasTarget() { 360 return this.target != null && !this.target.isEmpty(); 361 } 362 363 /** 364 * @param value {@link #target} (An absolute URI that identifies the target system that the concepts will be mapped to.). This is the underlying object with id, value and extensions. The accessor "getTarget" gives direct access to the value 365 */ 366 public ConceptMapGroupComponent setTargetElement(UriType value) { 367 this.target = value; 368 return this; 369 } 370 371 /** 372 * @return An absolute URI that identifies the target system that the concepts will be mapped to. 373 */ 374 public String getTarget() { 375 return this.target == null ? null : this.target.getValue(); 376 } 377 378 /** 379 * @param value An absolute URI that identifies the target system that the concepts will be mapped to. 380 */ 381 public ConceptMapGroupComponent setTarget(String value) { 382 if (Utilities.noString(value)) 383 this.target = null; 384 else { 385 if (this.target == null) 386 this.target = new UriType(); 387 this.target.setValue(value); 388 } 389 return this; 390 } 391 392 /** 393 * @return {@link #targetVersion} (The specific version of the code system, as determined by the code system authority.). This is the underlying object with id, value and extensions. The accessor "getTargetVersion" gives direct access to the value 394 */ 395 public StringType getTargetVersionElement() { 396 if (this.targetVersion == null) 397 if (Configuration.errorOnAutoCreate()) 398 throw new Error("Attempt to auto-create ConceptMapGroupComponent.targetVersion"); 399 else if (Configuration.doAutoCreate()) 400 this.targetVersion = new StringType(); // bb 401 return this.targetVersion; 402 } 403 404 public boolean hasTargetVersionElement() { 405 return this.targetVersion != null && !this.targetVersion.isEmpty(); 406 } 407 408 public boolean hasTargetVersion() { 409 return this.targetVersion != null && !this.targetVersion.isEmpty(); 410 } 411 412 /** 413 * @param value {@link #targetVersion} (The specific version of the code system, as determined by the code system authority.). This is the underlying object with id, value and extensions. The accessor "getTargetVersion" gives direct access to the value 414 */ 415 public ConceptMapGroupComponent setTargetVersionElement(StringType value) { 416 this.targetVersion = value; 417 return this; 418 } 419 420 /** 421 * @return The specific version of the code system, as determined by the code system authority. 422 */ 423 public String getTargetVersion() { 424 return this.targetVersion == null ? null : this.targetVersion.getValue(); 425 } 426 427 /** 428 * @param value The specific version of the code system, as determined by the code system authority. 429 */ 430 public ConceptMapGroupComponent setTargetVersion(String value) { 431 if (Utilities.noString(value)) 432 this.targetVersion = null; 433 else { 434 if (this.targetVersion == null) 435 this.targetVersion = new StringType(); 436 this.targetVersion.setValue(value); 437 } 438 return this; 439 } 440 441 /** 442 * @return {@link #element} (Mappings for an individual concept in the source to one or more concepts in the target.) 443 */ 444 public List<SourceElementComponent> getElement() { 445 if (this.element == null) 446 this.element = new ArrayList<SourceElementComponent>(); 447 return this.element; 448 } 449 450 /** 451 * @return Returns a reference to <code>this</code> for easy method chaining 452 */ 453 public ConceptMapGroupComponent setElement(List<SourceElementComponent> theElement) { 454 this.element = theElement; 455 return this; 456 } 457 458 public boolean hasElement() { 459 if (this.element == null) 460 return false; 461 for (SourceElementComponent item : this.element) 462 if (!item.isEmpty()) 463 return true; 464 return false; 465 } 466 467 public SourceElementComponent addElement() { //3 468 SourceElementComponent t = new SourceElementComponent(); 469 if (this.element == null) 470 this.element = new ArrayList<SourceElementComponent>(); 471 this.element.add(t); 472 return t; 473 } 474 475 public ConceptMapGroupComponent addElement(SourceElementComponent t) { //3 476 if (t == null) 477 return this; 478 if (this.element == null) 479 this.element = new ArrayList<SourceElementComponent>(); 480 this.element.add(t); 481 return this; 482 } 483 484 /** 485 * @return The first repetition of repeating field {@link #element}, creating it if it does not already exist {3} 486 */ 487 public SourceElementComponent getElementFirstRep() { 488 if (getElement().isEmpty()) { 489 addElement(); 490 } 491 return getElement().get(0); 492 } 493 494 /** 495 * @return {@link #unmapped} (What to do when there is no mapping to a target concept from the source concept. This provides the "default" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to.) 496 */ 497 public ConceptMapGroupUnmappedComponent getUnmapped() { 498 if (this.unmapped == null) 499 if (Configuration.errorOnAutoCreate()) 500 throw new Error("Attempt to auto-create ConceptMapGroupComponent.unmapped"); 501 else if (Configuration.doAutoCreate()) 502 this.unmapped = new ConceptMapGroupUnmappedComponent(); // cc 503 return this.unmapped; 504 } 505 506 public boolean hasUnmapped() { 507 return this.unmapped != null && !this.unmapped.isEmpty(); 508 } 509 510 /** 511 * @param value {@link #unmapped} (What to do when there is no mapping to a target concept from the source concept. This provides the "default" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to.) 512 */ 513 public ConceptMapGroupComponent setUnmapped(ConceptMapGroupUnmappedComponent value) { 514 this.unmapped = value; 515 return this; 516 } 517 518 protected void listChildren(List<Property> children) { 519 super.listChildren(children); 520 children.add(new Property("source", "uri", "An absolute URI that identifies the source system where the concepts to be mapped are defined.", 0, 1, source)); 521 children.add(new Property("sourceVersion", "string", "The specific version of the code system, as determined by the code system authority.", 0, 1, sourceVersion)); 522 children.add(new Property("target", "uri", "An absolute URI that identifies the target system that the concepts will be mapped to.", 0, 1, target)); 523 children.add(new Property("targetVersion", "string", "The specific version of the code system, as determined by the code system authority.", 0, 1, targetVersion)); 524 children.add(new Property("element", "", "Mappings for an individual concept in the source to one or more concepts in the target.", 0, java.lang.Integer.MAX_VALUE, element)); 525 children.add(new Property("unmapped", "", "What to do when there is no mapping to a target concept from the source concept. This provides the \"default\" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to.", 0, 1, unmapped)); 526 } 527 528 @Override 529 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 530 switch (_hash) { 531 case -896505829: /*source*/ return new Property("source", "uri", "An absolute URI that identifies the source system where the concepts to be mapped are defined.", 0, 1, source); 532 case 446171197: /*sourceVersion*/ return new Property("sourceVersion", "string", "The specific version of the code system, as determined by the code system authority.", 0, 1, sourceVersion); 533 case -880905839: /*target*/ return new Property("target", "uri", "An absolute URI that identifies the target system that the concepts will be mapped to.", 0, 1, target); 534 case -1639412217: /*targetVersion*/ return new Property("targetVersion", "string", "The specific version of the code system, as determined by the code system authority.", 0, 1, targetVersion); 535 case -1662836996: /*element*/ return new Property("element", "", "Mappings for an individual concept in the source to one or more concepts in the target.", 0, java.lang.Integer.MAX_VALUE, element); 536 case -194857460: /*unmapped*/ return new Property("unmapped", "", "What to do when there is no mapping to a target concept from the source concept. This provides the \"default\" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to.", 0, 1, unmapped); 537 default: return super.getNamedProperty(_hash, _name, _checkValid); 538 } 539 540 } 541 542 @Override 543 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 544 switch (hash) { 545 case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // UriType 546 case 446171197: /*sourceVersion*/ return this.sourceVersion == null ? new Base[0] : new Base[] {this.sourceVersion}; // StringType 547 case -880905839: /*target*/ return this.target == null ? new Base[0] : new Base[] {this.target}; // UriType 548 case -1639412217: /*targetVersion*/ return this.targetVersion == null ? new Base[0] : new Base[] {this.targetVersion}; // StringType 549 case -1662836996: /*element*/ return this.element == null ? new Base[0] : this.element.toArray(new Base[this.element.size()]); // SourceElementComponent 550 case -194857460: /*unmapped*/ return this.unmapped == null ? new Base[0] : new Base[] {this.unmapped}; // ConceptMapGroupUnmappedComponent 551 default: return super.getProperty(hash, name, checkValid); 552 } 553 554 } 555 556 @Override 557 public Base setProperty(int hash, String name, Base value) throws FHIRException { 558 switch (hash) { 559 case -896505829: // source 560 this.source = TypeConvertor.castToUri(value); // UriType 561 return value; 562 case 446171197: // sourceVersion 563 this.sourceVersion = TypeConvertor.castToString(value); // StringType 564 return value; 565 case -880905839: // target 566 this.target = TypeConvertor.castToUri(value); // UriType 567 return value; 568 case -1639412217: // targetVersion 569 this.targetVersion = TypeConvertor.castToString(value); // StringType 570 return value; 571 case -1662836996: // element 572 this.getElement().add((SourceElementComponent) value); // SourceElementComponent 573 return value; 574 case -194857460: // unmapped 575 this.unmapped = (ConceptMapGroupUnmappedComponent) value; // ConceptMapGroupUnmappedComponent 576 return value; 577 default: return super.setProperty(hash, name, value); 578 } 579 580 } 581 582 @Override 583 public Base setProperty(String name, Base value) throws FHIRException { 584 if (name.equals("source")) { 585 this.source = TypeConvertor.castToUri(value); // UriType 586 } else if (name.equals("sourceVersion")) { 587 this.sourceVersion = TypeConvertor.castToString(value); // StringType 588 } else if (name.equals("target")) { 589 this.target = TypeConvertor.castToUri(value); // UriType 590 } else if (name.equals("targetVersion")) { 591 this.targetVersion = TypeConvertor.castToString(value); // StringType 592 } else if (name.equals("element")) { 593 this.getElement().add((SourceElementComponent) value); 594 } else if (name.equals("unmapped")) { 595 this.unmapped = (ConceptMapGroupUnmappedComponent) value; // ConceptMapGroupUnmappedComponent 596 } else 597 return super.setProperty(name, value); 598 return value; 599 } 600 601 @Override 602 public Base makeProperty(int hash, String name) throws FHIRException { 603 switch (hash) { 604 case -896505829: return getSourceElement(); 605 case 446171197: return getSourceVersionElement(); 606 case -880905839: return getTargetElement(); 607 case -1639412217: return getTargetVersionElement(); 608 case -1662836996: return addElement(); 609 case -194857460: return getUnmapped(); 610 default: return super.makeProperty(hash, name); 611 } 612 613 } 614 615 @Override 616 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 617 switch (hash) { 618 case -896505829: /*source*/ return new String[] {"uri"}; 619 case 446171197: /*sourceVersion*/ return new String[] {"string"}; 620 case -880905839: /*target*/ return new String[] {"uri"}; 621 case -1639412217: /*targetVersion*/ return new String[] {"string"}; 622 case -1662836996: /*element*/ return new String[] {}; 623 case -194857460: /*unmapped*/ return new String[] {}; 624 default: return super.getTypesForProperty(hash, name); 625 } 626 627 } 628 629 @Override 630 public Base addChild(String name) throws FHIRException { 631 if (name.equals("source")) { 632 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.source"); 633 } 634 else if (name.equals("sourceVersion")) { 635 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.sourceVersion"); 636 } 637 else if (name.equals("target")) { 638 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.target"); 639 } 640 else if (name.equals("targetVersion")) { 641 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.targetVersion"); 642 } 643 else if (name.equals("element")) { 644 return addElement(); 645 } 646 else if (name.equals("unmapped")) { 647 this.unmapped = new ConceptMapGroupUnmappedComponent(); 648 return this.unmapped; 649 } 650 else 651 return super.addChild(name); 652 } 653 654 public ConceptMapGroupComponent copy() { 655 ConceptMapGroupComponent dst = new ConceptMapGroupComponent(); 656 copyValues(dst); 657 return dst; 658 } 659 660 public void copyValues(ConceptMapGroupComponent dst) { 661 super.copyValues(dst); 662 dst.source = source == null ? null : source.copy(); 663 dst.sourceVersion = sourceVersion == null ? null : sourceVersion.copy(); 664 dst.target = target == null ? null : target.copy(); 665 dst.targetVersion = targetVersion == null ? null : targetVersion.copy(); 666 if (element != null) { 667 dst.element = new ArrayList<SourceElementComponent>(); 668 for (SourceElementComponent i : element) 669 dst.element.add(i.copy()); 670 }; 671 dst.unmapped = unmapped == null ? null : unmapped.copy(); 672 } 673 674 @Override 675 public boolean equalsDeep(Base other_) { 676 if (!super.equalsDeep(other_)) 677 return false; 678 if (!(other_ instanceof ConceptMapGroupComponent)) 679 return false; 680 ConceptMapGroupComponent o = (ConceptMapGroupComponent) other_; 681 return compareDeep(source, o.source, true) && compareDeep(sourceVersion, o.sourceVersion, true) 682 && compareDeep(target, o.target, true) && compareDeep(targetVersion, o.targetVersion, true) && compareDeep(element, o.element, true) 683 && compareDeep(unmapped, o.unmapped, true); 684 } 685 686 @Override 687 public boolean equalsShallow(Base other_) { 688 if (!super.equalsShallow(other_)) 689 return false; 690 if (!(other_ instanceof ConceptMapGroupComponent)) 691 return false; 692 ConceptMapGroupComponent o = (ConceptMapGroupComponent) other_; 693 return compareValues(source, o.source, true) && compareValues(sourceVersion, o.sourceVersion, true) 694 && compareValues(target, o.target, true) && compareValues(targetVersion, o.targetVersion, true); 695 } 696 697 public boolean isEmpty() { 698 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(source, sourceVersion, target 699 , targetVersion, element, unmapped); 700 } 701 702 public String fhirType() { 703 return "ConceptMap.group"; 704 705 } 706 707 } 708 709 @Block() 710 public static class SourceElementComponent extends BackboneElement implements IBaseBackboneElement { 711 /** 712 * Identity (code or path) or the element/item being mapped. 713 */ 714 @Child(name = "code", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=false) 715 @Description(shortDefinition="Identifies element being mapped", formalDefinition="Identity (code or path) or the element/item being mapped." ) 716 protected CodeType code; 717 718 /** 719 * The display for the code. The display is only provided to help editors when editing the concept map. 720 */ 721 @Child(name = "display", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) 722 @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) 723 protected StringType display; 724 725 /** 726 * If noMap = true this indicates that no mapping to a target concept exists for this source concept. 727 */ 728 @Child(name = "noMap", type = {BooleanType.class}, order=3, min=0, max=1, modifier=false, summary=false) 729 @Description(shortDefinition="No mapping to a target concept for this source concept", formalDefinition="If noMap = true this indicates that no mapping to a target concept exists for this source concept." ) 730 protected BooleanType noMap; 731 732 /** 733 * A concept from the target value set that this concept maps to. 734 */ 735 @Child(name = "target", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 736 @Description(shortDefinition="Concept in target system for element", formalDefinition="A concept from the target value set that this concept maps to." ) 737 protected List<TargetElementComponent> target; 738 739 private static final long serialVersionUID = 1876940521L; 740 741 /** 742 * Constructor 743 */ 744 public SourceElementComponent() { 745 super(); 746 } 747 748 /** 749 * @return {@link #code} (Identity (code or path) or the element/item being mapped.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 750 */ 751 public CodeType getCodeElement() { 752 if (this.code == null) 753 if (Configuration.errorOnAutoCreate()) 754 throw new Error("Attempt to auto-create SourceElementComponent.code"); 755 else if (Configuration.doAutoCreate()) 756 this.code = new CodeType(); // bb 757 return this.code; 758 } 759 760 public boolean hasCodeElement() { 761 return this.code != null && !this.code.isEmpty(); 762 } 763 764 public boolean hasCode() { 765 return this.code != null && !this.code.isEmpty(); 766 } 767 768 /** 769 * @param value {@link #code} (Identity (code or path) or the element/item being mapped.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 770 */ 771 public SourceElementComponent setCodeElement(CodeType value) { 772 this.code = value; 773 return this; 774 } 775 776 /** 777 * @return Identity (code or path) or the element/item being mapped. 778 */ 779 public String getCode() { 780 return this.code == null ? null : this.code.getValue(); 781 } 782 783 /** 784 * @param value Identity (code or path) or the element/item being mapped. 785 */ 786 public SourceElementComponent setCode(String value) { 787 if (Utilities.noString(value)) 788 this.code = null; 789 else { 790 if (this.code == null) 791 this.code = new CodeType(); 792 this.code.setValue(value); 793 } 794 return this; 795 } 796 797 /** 798 * @return {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value 799 */ 800 public StringType getDisplayElement() { 801 if (this.display == null) 802 if (Configuration.errorOnAutoCreate()) 803 throw new Error("Attempt to auto-create SourceElementComponent.display"); 804 else if (Configuration.doAutoCreate()) 805 this.display = new StringType(); // bb 806 return this.display; 807 } 808 809 public boolean hasDisplayElement() { 810 return this.display != null && !this.display.isEmpty(); 811 } 812 813 public boolean hasDisplay() { 814 return this.display != null && !this.display.isEmpty(); 815 } 816 817 /** 818 * @param value {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value 819 */ 820 public SourceElementComponent setDisplayElement(StringType value) { 821 this.display = value; 822 return this; 823 } 824 825 /** 826 * @return The display for the code. The display is only provided to help editors when editing the concept map. 827 */ 828 public String getDisplay() { 829 return this.display == null ? null : this.display.getValue(); 830 } 831 832 /** 833 * @param value The display for the code. The display is only provided to help editors when editing the concept map. 834 */ 835 public SourceElementComponent setDisplay(String value) { 836 if (Utilities.noString(value)) 837 this.display = null; 838 else { 839 if (this.display == null) 840 this.display = new StringType(); 841 this.display.setValue(value); 842 } 843 return this; 844 } 845 846 /** 847 * @return {@link #noMap} (If noMap = true this indicates that no mapping to a target concept exists for this source concept.). This is the underlying object with id, value and extensions. The accessor "getNoMap" gives direct access to the value 848 */ 849 public BooleanType getNoMapElement() { 850 if (this.noMap == null) 851 if (Configuration.errorOnAutoCreate()) 852 throw new Error("Attempt to auto-create SourceElementComponent.noMap"); 853 else if (Configuration.doAutoCreate()) 854 this.noMap = new BooleanType(); // bb 855 return this.noMap; 856 } 857 858 public boolean hasNoMapElement() { 859 return this.noMap != null && !this.noMap.isEmpty(); 860 } 861 862 public boolean hasNoMap() { 863 return this.noMap != null && !this.noMap.isEmpty(); 864 } 865 866 /** 867 * @param value {@link #noMap} (If noMap = true this indicates that no mapping to a target concept exists for this source concept.). This is the underlying object with id, value and extensions. The accessor "getNoMap" gives direct access to the value 868 */ 869 public SourceElementComponent setNoMapElement(BooleanType value) { 870 this.noMap = value; 871 return this; 872 } 873 874 /** 875 * @return If noMap = true this indicates that no mapping to a target concept exists for this source concept. 876 */ 877 public boolean getNoMap() { 878 return this.noMap == null || this.noMap.isEmpty() ? false : this.noMap.getValue(); 879 } 880 881 /** 882 * @param value If noMap = true this indicates that no mapping to a target concept exists for this source concept. 883 */ 884 public SourceElementComponent setNoMap(boolean value) { 885 if (this.noMap == null) 886 this.noMap = new BooleanType(); 887 this.noMap.setValue(value); 888 return this; 889 } 890 891 /** 892 * @return {@link #target} (A concept from the target value set that this concept maps to.) 893 */ 894 public List<TargetElementComponent> getTarget() { 895 if (this.target == null) 896 this.target = new ArrayList<TargetElementComponent>(); 897 return this.target; 898 } 899 900 /** 901 * @return Returns a reference to <code>this</code> for easy method chaining 902 */ 903 public SourceElementComponent setTarget(List<TargetElementComponent> theTarget) { 904 this.target = theTarget; 905 return this; 906 } 907 908 public boolean hasTarget() { 909 if (this.target == null) 910 return false; 911 for (TargetElementComponent item : this.target) 912 if (!item.isEmpty()) 913 return true; 914 return false; 915 } 916 917 public TargetElementComponent addTarget() { //3 918 TargetElementComponent t = new TargetElementComponent(); 919 if (this.target == null) 920 this.target = new ArrayList<TargetElementComponent>(); 921 this.target.add(t); 922 return t; 923 } 924 925 public SourceElementComponent addTarget(TargetElementComponent t) { //3 926 if (t == null) 927 return this; 928 if (this.target == null) 929 this.target = new ArrayList<TargetElementComponent>(); 930 this.target.add(t); 931 return this; 932 } 933 934 /** 935 * @return The first repetition of repeating field {@link #target}, creating it if it does not already exist {3} 936 */ 937 public TargetElementComponent getTargetFirstRep() { 938 if (getTarget().isEmpty()) { 939 addTarget(); 940 } 941 return getTarget().get(0); 942 } 943 944 protected void listChildren(List<Property> children) { 945 super.listChildren(children); 946 children.add(new Property("code", "code", "Identity (code or path) or the element/item being mapped.", 0, 1, code)); 947 children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); 948 children.add(new Property("noMap", "boolean", "If noMap = true this indicates that no mapping to a target concept exists for this source concept.", 0, 1, noMap)); 949 children.add(new Property("target", "", "A concept from the target value set that this concept maps to.", 0, java.lang.Integer.MAX_VALUE, target)); 950 } 951 952 @Override 953 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 954 switch (_hash) { 955 case 3059181: /*code*/ return new Property("code", "code", "Identity (code or path) or the element/item being mapped.", 0, 1, code); 956 case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); 957 case 104971227: /*noMap*/ return new Property("noMap", "boolean", "If noMap = true this indicates that no mapping to a target concept exists for this source concept.", 0, 1, noMap); 958 case -880905839: /*target*/ return new Property("target", "", "A concept from the target value set that this concept maps to.", 0, java.lang.Integer.MAX_VALUE, target); 959 default: return super.getNamedProperty(_hash, _name, _checkValid); 960 } 961 962 } 963 964 @Override 965 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 966 switch (hash) { 967 case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType 968 case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType 969 case 104971227: /*noMap*/ return this.noMap == null ? new Base[0] : new Base[] {this.noMap}; // BooleanType 970 case -880905839: /*target*/ return this.target == null ? new Base[0] : this.target.toArray(new Base[this.target.size()]); // TargetElementComponent 971 default: return super.getProperty(hash, name, checkValid); 972 } 973 974 } 975 976 @Override 977 public Base setProperty(int hash, String name, Base value) throws FHIRException { 978 switch (hash) { 979 case 3059181: // code 980 this.code = TypeConvertor.castToCode(value); // CodeType 981 return value; 982 case 1671764162: // display 983 this.display = TypeConvertor.castToString(value); // StringType 984 return value; 985 case 104971227: // noMap 986 this.noMap = TypeConvertor.castToBoolean(value); // BooleanType 987 return value; 988 case -880905839: // target 989 this.getTarget().add((TargetElementComponent) value); // TargetElementComponent 990 return value; 991 default: return super.setProperty(hash, name, value); 992 } 993 994 } 995 996 @Override 997 public Base setProperty(String name, Base value) throws FHIRException { 998 if (name.equals("code")) { 999 this.code = TypeConvertor.castToCode(value); // CodeType 1000 } else if (name.equals("display")) { 1001 this.display = TypeConvertor.castToString(value); // StringType 1002 } else if (name.equals("noMap")) { 1003 this.noMap = TypeConvertor.castToBoolean(value); // BooleanType 1004 } else if (name.equals("target")) { 1005 this.getTarget().add((TargetElementComponent) value); 1006 } else 1007 return super.setProperty(name, value); 1008 return value; 1009 } 1010 1011 @Override 1012 public Base makeProperty(int hash, String name) throws FHIRException { 1013 switch (hash) { 1014 case 3059181: return getCodeElement(); 1015 case 1671764162: return getDisplayElement(); 1016 case 104971227: return getNoMapElement(); 1017 case -880905839: return addTarget(); 1018 default: return super.makeProperty(hash, name); 1019 } 1020 1021 } 1022 1023 @Override 1024 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 1025 switch (hash) { 1026 case 3059181: /*code*/ return new String[] {"code"}; 1027 case 1671764162: /*display*/ return new String[] {"string"}; 1028 case 104971227: /*noMap*/ return new String[] {"boolean"}; 1029 case -880905839: /*target*/ return new String[] {}; 1030 default: return super.getTypesForProperty(hash, name); 1031 } 1032 1033 } 1034 1035 @Override 1036 public Base addChild(String name) throws FHIRException { 1037 if (name.equals("code")) { 1038 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.code"); 1039 } 1040 else if (name.equals("display")) { 1041 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.display"); 1042 } 1043 else if (name.equals("noMap")) { 1044 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.noMap"); 1045 } 1046 else if (name.equals("target")) { 1047 return addTarget(); 1048 } 1049 else 1050 return super.addChild(name); 1051 } 1052 1053 public SourceElementComponent copy() { 1054 SourceElementComponent dst = new SourceElementComponent(); 1055 copyValues(dst); 1056 return dst; 1057 } 1058 1059 public void copyValues(SourceElementComponent dst) { 1060 super.copyValues(dst); 1061 dst.code = code == null ? null : code.copy(); 1062 dst.display = display == null ? null : display.copy(); 1063 dst.noMap = noMap == null ? null : noMap.copy(); 1064 if (target != null) { 1065 dst.target = new ArrayList<TargetElementComponent>(); 1066 for (TargetElementComponent i : target) 1067 dst.target.add(i.copy()); 1068 }; 1069 } 1070 1071 @Override 1072 public boolean equalsDeep(Base other_) { 1073 if (!super.equalsDeep(other_)) 1074 return false; 1075 if (!(other_ instanceof SourceElementComponent)) 1076 return false; 1077 SourceElementComponent o = (SourceElementComponent) other_; 1078 return compareDeep(code, o.code, true) && compareDeep(display, o.display, true) && compareDeep(noMap, o.noMap, true) 1079 && compareDeep(target, o.target, true); 1080 } 1081 1082 @Override 1083 public boolean equalsShallow(Base other_) { 1084 if (!super.equalsShallow(other_)) 1085 return false; 1086 if (!(other_ instanceof SourceElementComponent)) 1087 return false; 1088 SourceElementComponent o = (SourceElementComponent) other_; 1089 return compareValues(code, o.code, true) && compareValues(display, o.display, true) && compareValues(noMap, o.noMap, true) 1090 ; 1091 } 1092 1093 public boolean isEmpty() { 1094 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, display, noMap, target 1095 ); 1096 } 1097 1098 public String fhirType() { 1099 return "ConceptMap.group.element"; 1100 1101 } 1102 1103 } 1104 1105 @Block() 1106 public static class TargetElementComponent extends BackboneElement implements IBaseBackboneElement { 1107 /** 1108 * Identity (code or path) or the element/item that the map refers to. 1109 */ 1110 @Child(name = "code", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=false) 1111 @Description(shortDefinition="Code that identifies the target element", formalDefinition="Identity (code or path) or the element/item that the map refers to." ) 1112 protected CodeType code; 1113 1114 /** 1115 * The display for the code. The display is only provided to help editors when editing the concept map. 1116 */ 1117 @Child(name = "display", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) 1118 @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) 1119 protected StringType display; 1120 1121 /** 1122 * The relationship between the source and target concepts. The relationship is read from target to source (e.g. the target is 'broader' than the source). 1123 */ 1124 @Child(name = "relationship", type = {CodeType.class}, order=3, min=1, max=1, modifier=true, summary=false) 1125 @Description(shortDefinition="related-to | equivalent | broader | narrower | not-related-to", formalDefinition="The relationship between the source and target concepts. The relationship is read from target to source (e.g. the target is 'broader' than the source)." ) 1126 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/concept-map-relationship") 1127 protected Enumeration<ConceptMapRelationship> relationship; 1128 1129 /** 1130 * A description of status/issues in mapping that conveys additional information not represented in the structured data. 1131 */ 1132 @Child(name = "comment", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) 1133 @Description(shortDefinition="Description of status/issues in mapping", formalDefinition="A description of status/issues in mapping that conveys additional information not represented in the structured data." ) 1134 protected StringType comment; 1135 1136 /** 1137 * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value. 1138 */ 1139 @Child(name = "dependsOn", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1140 @Description(shortDefinition="Other elements required for this mapping (from context)", formalDefinition="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value." ) 1141 protected List<OtherElementComponent> dependsOn; 1142 1143 /** 1144 * A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the relationship (e.g., equivalent) cannot be relied on. 1145 */ 1146 @Child(name = "product", type = {OtherElementComponent.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1147 @Description(shortDefinition="Other concepts that this mapping also produces", formalDefinition="A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the relationship (e.g., equivalent) cannot be relied on." ) 1148 protected List<OtherElementComponent> product; 1149 1150 private static final long serialVersionUID = -1425743857L; 1151 1152 /** 1153 * Constructor 1154 */ 1155 public TargetElementComponent() { 1156 super(); 1157 } 1158 1159 /** 1160 * Constructor 1161 */ 1162 public TargetElementComponent(ConceptMapRelationship relationship) { 1163 super(); 1164 this.setRelationship(relationship); 1165 } 1166 1167 /** 1168 * @return {@link #code} (Identity (code or path) or the element/item that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 1169 */ 1170 public CodeType getCodeElement() { 1171 if (this.code == null) 1172 if (Configuration.errorOnAutoCreate()) 1173 throw new Error("Attempt to auto-create TargetElementComponent.code"); 1174 else if (Configuration.doAutoCreate()) 1175 this.code = new CodeType(); // bb 1176 return this.code; 1177 } 1178 1179 public boolean hasCodeElement() { 1180 return this.code != null && !this.code.isEmpty(); 1181 } 1182 1183 public boolean hasCode() { 1184 return this.code != null && !this.code.isEmpty(); 1185 } 1186 1187 /** 1188 * @param value {@link #code} (Identity (code or path) or the element/item that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 1189 */ 1190 public TargetElementComponent setCodeElement(CodeType value) { 1191 this.code = value; 1192 return this; 1193 } 1194 1195 /** 1196 * @return Identity (code or path) or the element/item that the map refers to. 1197 */ 1198 public String getCode() { 1199 return this.code == null ? null : this.code.getValue(); 1200 } 1201 1202 /** 1203 * @param value Identity (code or path) or the element/item that the map refers to. 1204 */ 1205 public TargetElementComponent setCode(String value) { 1206 if (Utilities.noString(value)) 1207 this.code = null; 1208 else { 1209 if (this.code == null) 1210 this.code = new CodeType(); 1211 this.code.setValue(value); 1212 } 1213 return this; 1214 } 1215 1216 /** 1217 * @return {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value 1218 */ 1219 public StringType getDisplayElement() { 1220 if (this.display == null) 1221 if (Configuration.errorOnAutoCreate()) 1222 throw new Error("Attempt to auto-create TargetElementComponent.display"); 1223 else if (Configuration.doAutoCreate()) 1224 this.display = new StringType(); // bb 1225 return this.display; 1226 } 1227 1228 public boolean hasDisplayElement() { 1229 return this.display != null && !this.display.isEmpty(); 1230 } 1231 1232 public boolean hasDisplay() { 1233 return this.display != null && !this.display.isEmpty(); 1234 } 1235 1236 /** 1237 * @param value {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value 1238 */ 1239 public TargetElementComponent setDisplayElement(StringType value) { 1240 this.display = value; 1241 return this; 1242 } 1243 1244 /** 1245 * @return The display for the code. The display is only provided to help editors when editing the concept map. 1246 */ 1247 public String getDisplay() { 1248 return this.display == null ? null : this.display.getValue(); 1249 } 1250 1251 /** 1252 * @param value The display for the code. The display is only provided to help editors when editing the concept map. 1253 */ 1254 public TargetElementComponent setDisplay(String value) { 1255 if (Utilities.noString(value)) 1256 this.display = null; 1257 else { 1258 if (this.display == null) 1259 this.display = new StringType(); 1260 this.display.setValue(value); 1261 } 1262 return this; 1263 } 1264 1265 /** 1266 * @return {@link #relationship} (The relationship between the source and target concepts. The relationship is read from target to source (e.g. the target is 'broader' than the source).). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value 1267 */ 1268 public Enumeration<ConceptMapRelationship> getRelationshipElement() { 1269 if (this.relationship == null) 1270 if (Configuration.errorOnAutoCreate()) 1271 throw new Error("Attempt to auto-create TargetElementComponent.relationship"); 1272 else if (Configuration.doAutoCreate()) 1273 this.relationship = new Enumeration<ConceptMapRelationship>(new ConceptMapRelationshipEnumFactory()); // bb 1274 return this.relationship; 1275 } 1276 1277 public boolean hasRelationshipElement() { 1278 return this.relationship != null && !this.relationship.isEmpty(); 1279 } 1280 1281 public boolean hasRelationship() { 1282 return this.relationship != null && !this.relationship.isEmpty(); 1283 } 1284 1285 /** 1286 * @param value {@link #relationship} (The relationship between the source and target concepts. The relationship is read from target to source (e.g. the target is 'broader' than the source).). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value 1287 */ 1288 public TargetElementComponent setRelationshipElement(Enumeration<ConceptMapRelationship> value) { 1289 this.relationship = value; 1290 return this; 1291 } 1292 1293 /** 1294 * @return The relationship between the source and target concepts. The relationship is read from target to source (e.g. the target is 'broader' than the source). 1295 */ 1296 public ConceptMapRelationship getRelationship() { 1297 return this.relationship == null ? null : this.relationship.getValue(); 1298 } 1299 1300 /** 1301 * @param value The relationship between the source and target concepts. The relationship is read from target to source (e.g. the target is 'broader' than the source). 1302 */ 1303 public TargetElementComponent setRelationship(ConceptMapRelationship value) { 1304 if (this.relationship == null) 1305 this.relationship = new Enumeration<ConceptMapRelationship>(new ConceptMapRelationshipEnumFactory()); 1306 this.relationship.setValue(value); 1307 return this; 1308 } 1309 1310 /** 1311 * @return {@link #comment} (A description of status/issues in mapping that conveys additional information not represented in the structured data.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value 1312 */ 1313 public StringType getCommentElement() { 1314 if (this.comment == null) 1315 if (Configuration.errorOnAutoCreate()) 1316 throw new Error("Attempt to auto-create TargetElementComponent.comment"); 1317 else if (Configuration.doAutoCreate()) 1318 this.comment = new StringType(); // bb 1319 return this.comment; 1320 } 1321 1322 public boolean hasCommentElement() { 1323 return this.comment != null && !this.comment.isEmpty(); 1324 } 1325 1326 public boolean hasComment() { 1327 return this.comment != null && !this.comment.isEmpty(); 1328 } 1329 1330 /** 1331 * @param value {@link #comment} (A description of status/issues in mapping that conveys additional information not represented in the structured data.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value 1332 */ 1333 public TargetElementComponent setCommentElement(StringType value) { 1334 this.comment = value; 1335 return this; 1336 } 1337 1338 /** 1339 * @return A description of status/issues in mapping that conveys additional information not represented in the structured data. 1340 */ 1341 public String getComment() { 1342 return this.comment == null ? null : this.comment.getValue(); 1343 } 1344 1345 /** 1346 * @param value A description of status/issues in mapping that conveys additional information not represented in the structured data. 1347 */ 1348 public TargetElementComponent setComment(String value) { 1349 if (Utilities.noString(value)) 1350 this.comment = null; 1351 else { 1352 if (this.comment == null) 1353 this.comment = new StringType(); 1354 this.comment.setValue(value); 1355 } 1356 return this; 1357 } 1358 1359 /** 1360 * @return {@link #dependsOn} (A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.) 1361 */ 1362 public List<OtherElementComponent> getDependsOn() { 1363 if (this.dependsOn == null) 1364 this.dependsOn = new ArrayList<OtherElementComponent>(); 1365 return this.dependsOn; 1366 } 1367 1368 /** 1369 * @return Returns a reference to <code>this</code> for easy method chaining 1370 */ 1371 public TargetElementComponent setDependsOn(List<OtherElementComponent> theDependsOn) { 1372 this.dependsOn = theDependsOn; 1373 return this; 1374 } 1375 1376 public boolean hasDependsOn() { 1377 if (this.dependsOn == null) 1378 return false; 1379 for (OtherElementComponent item : this.dependsOn) 1380 if (!item.isEmpty()) 1381 return true; 1382 return false; 1383 } 1384 1385 public OtherElementComponent addDependsOn() { //3 1386 OtherElementComponent t = new OtherElementComponent(); 1387 if (this.dependsOn == null) 1388 this.dependsOn = new ArrayList<OtherElementComponent>(); 1389 this.dependsOn.add(t); 1390 return t; 1391 } 1392 1393 public TargetElementComponent addDependsOn(OtherElementComponent t) { //3 1394 if (t == null) 1395 return this; 1396 if (this.dependsOn == null) 1397 this.dependsOn = new ArrayList<OtherElementComponent>(); 1398 this.dependsOn.add(t); 1399 return this; 1400 } 1401 1402 /** 1403 * @return The first repetition of repeating field {@link #dependsOn}, creating it if it does not already exist {3} 1404 */ 1405 public OtherElementComponent getDependsOnFirstRep() { 1406 if (getDependsOn().isEmpty()) { 1407 addDependsOn(); 1408 } 1409 return getDependsOn().get(0); 1410 } 1411 1412 /** 1413 * @return {@link #product} (A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the relationship (e.g., equivalent) cannot be relied on.) 1414 */ 1415 public List<OtherElementComponent> getProduct() { 1416 if (this.product == null) 1417 this.product = new ArrayList<OtherElementComponent>(); 1418 return this.product; 1419 } 1420 1421 /** 1422 * @return Returns a reference to <code>this</code> for easy method chaining 1423 */ 1424 public TargetElementComponent setProduct(List<OtherElementComponent> theProduct) { 1425 this.product = theProduct; 1426 return this; 1427 } 1428 1429 public boolean hasProduct() { 1430 if (this.product == null) 1431 return false; 1432 for (OtherElementComponent item : this.product) 1433 if (!item.isEmpty()) 1434 return true; 1435 return false; 1436 } 1437 1438 public OtherElementComponent addProduct() { //3 1439 OtherElementComponent t = new OtherElementComponent(); 1440 if (this.product == null) 1441 this.product = new ArrayList<OtherElementComponent>(); 1442 this.product.add(t); 1443 return t; 1444 } 1445 1446 public TargetElementComponent addProduct(OtherElementComponent t) { //3 1447 if (t == null) 1448 return this; 1449 if (this.product == null) 1450 this.product = new ArrayList<OtherElementComponent>(); 1451 this.product.add(t); 1452 return this; 1453 } 1454 1455 /** 1456 * @return The first repetition of repeating field {@link #product}, creating it if it does not already exist {3} 1457 */ 1458 public OtherElementComponent getProductFirstRep() { 1459 if (getProduct().isEmpty()) { 1460 addProduct(); 1461 } 1462 return getProduct().get(0); 1463 } 1464 1465 protected void listChildren(List<Property> children) { 1466 super.listChildren(children); 1467 children.add(new Property("code", "code", "Identity (code or path) or the element/item that the map refers to.", 0, 1, code)); 1468 children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); 1469 children.add(new Property("relationship", "code", "The relationship between the source and target concepts. The relationship is read from target to source (e.g. the target is 'broader' than the source).", 0, 1, relationship)); 1470 children.add(new Property("comment", "string", "A description of status/issues in mapping that conveys additional information not represented in the structured data.", 0, 1, comment)); 1471 children.add(new Property("dependsOn", "", "A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.", 0, java.lang.Integer.MAX_VALUE, dependsOn)); 1472 children.add(new Property("product", "@ConceptMap.group.element.target.dependsOn", "A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the relationship (e.g., equivalent) cannot be relied on.", 0, java.lang.Integer.MAX_VALUE, product)); 1473 } 1474 1475 @Override 1476 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 1477 switch (_hash) { 1478 case 3059181: /*code*/ return new Property("code", "code", "Identity (code or path) or the element/item that the map refers to.", 0, 1, code); 1479 case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); 1480 case -261851592: /*relationship*/ return new Property("relationship", "code", "The relationship between the source and target concepts. The relationship is read from target to source (e.g. the target is 'broader' than the source).", 0, 1, relationship); 1481 case 950398559: /*comment*/ return new Property("comment", "string", "A description of status/issues in mapping that conveys additional information not represented in the structured data.", 0, 1, comment); 1482 case -1109214266: /*dependsOn*/ return new Property("dependsOn", "", "A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.", 0, java.lang.Integer.MAX_VALUE, dependsOn); 1483 case -309474065: /*product*/ return new Property("product", "@ConceptMap.group.element.target.dependsOn", "A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the relationship (e.g., equivalent) cannot be relied on.", 0, java.lang.Integer.MAX_VALUE, product); 1484 default: return super.getNamedProperty(_hash, _name, _checkValid); 1485 } 1486 1487 } 1488 1489 @Override 1490 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 1491 switch (hash) { 1492 case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType 1493 case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType 1494 case -261851592: /*relationship*/ return this.relationship == null ? new Base[0] : new Base[] {this.relationship}; // Enumeration<ConceptMapRelationship> 1495 case 950398559: /*comment*/ return this.comment == null ? new Base[0] : new Base[] {this.comment}; // StringType 1496 case -1109214266: /*dependsOn*/ return this.dependsOn == null ? new Base[0] : this.dependsOn.toArray(new Base[this.dependsOn.size()]); // OtherElementComponent 1497 case -309474065: /*product*/ return this.product == null ? new Base[0] : this.product.toArray(new Base[this.product.size()]); // OtherElementComponent 1498 default: return super.getProperty(hash, name, checkValid); 1499 } 1500 1501 } 1502 1503 @Override 1504 public Base setProperty(int hash, String name, Base value) throws FHIRException { 1505 switch (hash) { 1506 case 3059181: // code 1507 this.code = TypeConvertor.castToCode(value); // CodeType 1508 return value; 1509 case 1671764162: // display 1510 this.display = TypeConvertor.castToString(value); // StringType 1511 return value; 1512 case -261851592: // relationship 1513 value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value)); 1514 this.relationship = (Enumeration) value; // Enumeration<ConceptMapRelationship> 1515 return value; 1516 case 950398559: // comment 1517 this.comment = TypeConvertor.castToString(value); // StringType 1518 return value; 1519 case -1109214266: // dependsOn 1520 this.getDependsOn().add((OtherElementComponent) value); // OtherElementComponent 1521 return value; 1522 case -309474065: // product 1523 this.getProduct().add((OtherElementComponent) value); // OtherElementComponent 1524 return value; 1525 default: return super.setProperty(hash, name, value); 1526 } 1527 1528 } 1529 1530 @Override 1531 public Base setProperty(String name, Base value) throws FHIRException { 1532 if (name.equals("code")) { 1533 this.code = TypeConvertor.castToCode(value); // CodeType 1534 } else if (name.equals("display")) { 1535 this.display = TypeConvertor.castToString(value); // StringType 1536 } else if (name.equals("relationship")) { 1537 value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value)); 1538 this.relationship = (Enumeration) value; // Enumeration<ConceptMapRelationship> 1539 } else if (name.equals("comment")) { 1540 this.comment = TypeConvertor.castToString(value); // StringType 1541 } else if (name.equals("dependsOn")) { 1542 this.getDependsOn().add((OtherElementComponent) value); 1543 } else if (name.equals("product")) { 1544 this.getProduct().add((OtherElementComponent) value); 1545 } else 1546 return super.setProperty(name, value); 1547 return value; 1548 } 1549 1550 @Override 1551 public Base makeProperty(int hash, String name) throws FHIRException { 1552 switch (hash) { 1553 case 3059181: return getCodeElement(); 1554 case 1671764162: return getDisplayElement(); 1555 case -261851592: return getRelationshipElement(); 1556 case 950398559: return getCommentElement(); 1557 case -1109214266: return addDependsOn(); 1558 case -309474065: return addProduct(); 1559 default: return super.makeProperty(hash, name); 1560 } 1561 1562 } 1563 1564 @Override 1565 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 1566 switch (hash) { 1567 case 3059181: /*code*/ return new String[] {"code"}; 1568 case 1671764162: /*display*/ return new String[] {"string"}; 1569 case -261851592: /*relationship*/ return new String[] {"code"}; 1570 case 950398559: /*comment*/ return new String[] {"string"}; 1571 case -1109214266: /*dependsOn*/ return new String[] {}; 1572 case -309474065: /*product*/ return new String[] {"@ConceptMap.group.element.target.dependsOn"}; 1573 default: return super.getTypesForProperty(hash, name); 1574 } 1575 1576 } 1577 1578 @Override 1579 public Base addChild(String name) throws FHIRException { 1580 if (name.equals("code")) { 1581 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.code"); 1582 } 1583 else if (name.equals("display")) { 1584 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.display"); 1585 } 1586 else if (name.equals("relationship")) { 1587 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.relationship"); 1588 } 1589 else if (name.equals("comment")) { 1590 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.comment"); 1591 } 1592 else if (name.equals("dependsOn")) { 1593 return addDependsOn(); 1594 } 1595 else if (name.equals("product")) { 1596 return addProduct(); 1597 } 1598 else 1599 return super.addChild(name); 1600 } 1601 1602 public TargetElementComponent copy() { 1603 TargetElementComponent dst = new TargetElementComponent(); 1604 copyValues(dst); 1605 return dst; 1606 } 1607 1608 public void copyValues(TargetElementComponent dst) { 1609 super.copyValues(dst); 1610 dst.code = code == null ? null : code.copy(); 1611 dst.display = display == null ? null : display.copy(); 1612 dst.relationship = relationship == null ? null : relationship.copy(); 1613 dst.comment = comment == null ? null : comment.copy(); 1614 if (dependsOn != null) { 1615 dst.dependsOn = new ArrayList<OtherElementComponent>(); 1616 for (OtherElementComponent i : dependsOn) 1617 dst.dependsOn.add(i.copy()); 1618 }; 1619 if (product != null) { 1620 dst.product = new ArrayList<OtherElementComponent>(); 1621 for (OtherElementComponent i : product) 1622 dst.product.add(i.copy()); 1623 }; 1624 } 1625 1626 @Override 1627 public boolean equalsDeep(Base other_) { 1628 if (!super.equalsDeep(other_)) 1629 return false; 1630 if (!(other_ instanceof TargetElementComponent)) 1631 return false; 1632 TargetElementComponent o = (TargetElementComponent) other_; 1633 return compareDeep(code, o.code, true) && compareDeep(display, o.display, true) && compareDeep(relationship, o.relationship, true) 1634 && compareDeep(comment, o.comment, true) && compareDeep(dependsOn, o.dependsOn, true) && compareDeep(product, o.product, true) 1635 ; 1636 } 1637 1638 @Override 1639 public boolean equalsShallow(Base other_) { 1640 if (!super.equalsShallow(other_)) 1641 return false; 1642 if (!(other_ instanceof TargetElementComponent)) 1643 return false; 1644 TargetElementComponent o = (TargetElementComponent) other_; 1645 return compareValues(code, o.code, true) && compareValues(display, o.display, true) && compareValues(relationship, o.relationship, true) 1646 && compareValues(comment, o.comment, true); 1647 } 1648 1649 public boolean isEmpty() { 1650 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, display, relationship 1651 , comment, dependsOn, product); 1652 } 1653 1654 public String fhirType() { 1655 return "ConceptMap.group.element.target"; 1656 1657 } 1658 1659 } 1660 1661 @Block() 1662 public static class OtherElementComponent extends BackboneElement implements IBaseBackboneElement { 1663 /** 1664 * A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. 1665 */ 1666 @Child(name = "property", type = {UriType.class}, order=1, min=1, max=1, modifier=false, summary=false) 1667 @Description(shortDefinition="Reference to property mapping depends on", formalDefinition="A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property." ) 1668 protected UriType property; 1669 1670 /** 1671 * An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems). 1672 */ 1673 @Child(name = "system", type = {CanonicalType.class}, order=2, min=0, max=1, modifier=false, summary=false) 1674 @Description(shortDefinition="Code System (if necessary)", formalDefinition="An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems)." ) 1675 protected CanonicalType system; 1676 1677 /** 1678 * Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to. 1679 */ 1680 @Child(name = "value", type = {StringType.class}, order=3, min=1, max=1, modifier=false, summary=false) 1681 @Description(shortDefinition="Value of the referenced element", formalDefinition="Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to." ) 1682 protected StringType value; 1683 1684 /** 1685 * The display for the code. The display is only provided to help editors when editing the concept map. 1686 */ 1687 @Child(name = "display", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) 1688 @Description(shortDefinition="Display for the code (if value is a code)", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) 1689 protected StringType display; 1690 1691 private static final long serialVersionUID = -1836341923L; 1692 1693 /** 1694 * Constructor 1695 */ 1696 public OtherElementComponent() { 1697 super(); 1698 } 1699 1700 /** 1701 * Constructor 1702 */ 1703 public OtherElementComponent(String property, String value) { 1704 super(); 1705 this.setProperty(property); 1706 this.setValue(value); 1707 } 1708 1709 /** 1710 * @return {@link #property} (A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value 1711 */ 1712 public UriType getPropertyElement() { 1713 if (this.property == null) 1714 if (Configuration.errorOnAutoCreate()) 1715 throw new Error("Attempt to auto-create OtherElementComponent.property"); 1716 else if (Configuration.doAutoCreate()) 1717 this.property = new UriType(); // bb 1718 return this.property; 1719 } 1720 1721 public boolean hasPropertyElement() { 1722 return this.property != null && !this.property.isEmpty(); 1723 } 1724 1725 public boolean hasProperty() { 1726 return this.property != null && !this.property.isEmpty(); 1727 } 1728 1729 /** 1730 * @param value {@link #property} (A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value 1731 */ 1732 public OtherElementComponent setPropertyElement(UriType value) { 1733 this.property = value; 1734 return this; 1735 } 1736 1737 /** 1738 * @return A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. 1739 */ 1740 public String getProperty() { 1741 return this.property == null ? null : this.property.getValue(); 1742 } 1743 1744 /** 1745 * @param value A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. 1746 */ 1747 public OtherElementComponent setProperty(String value) { 1748 if (this.property == null) 1749 this.property = new UriType(); 1750 this.property.setValue(value); 1751 return this; 1752 } 1753 1754 /** 1755 * @return {@link #system} (An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value 1756 */ 1757 public CanonicalType getSystemElement() { 1758 if (this.system == null) 1759 if (Configuration.errorOnAutoCreate()) 1760 throw new Error("Attempt to auto-create OtherElementComponent.system"); 1761 else if (Configuration.doAutoCreate()) 1762 this.system = new CanonicalType(); // bb 1763 return this.system; 1764 } 1765 1766 public boolean hasSystemElement() { 1767 return this.system != null && !this.system.isEmpty(); 1768 } 1769 1770 public boolean hasSystem() { 1771 return this.system != null && !this.system.isEmpty(); 1772 } 1773 1774 /** 1775 * @param value {@link #system} (An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value 1776 */ 1777 public OtherElementComponent setSystemElement(CanonicalType value) { 1778 this.system = value; 1779 return this; 1780 } 1781 1782 /** 1783 * @return An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems). 1784 */ 1785 public String getSystem() { 1786 return this.system == null ? null : this.system.getValue(); 1787 } 1788 1789 /** 1790 * @param value An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems). 1791 */ 1792 public OtherElementComponent setSystem(String value) { 1793 if (Utilities.noString(value)) 1794 this.system = null; 1795 else { 1796 if (this.system == null) 1797 this.system = new CanonicalType(); 1798 this.system.setValue(value); 1799 } 1800 return this; 1801 } 1802 1803 /** 1804 * @return {@link #value} (Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value 1805 */ 1806 public StringType getValueElement() { 1807 if (this.value == null) 1808 if (Configuration.errorOnAutoCreate()) 1809 throw new Error("Attempt to auto-create OtherElementComponent.value"); 1810 else if (Configuration.doAutoCreate()) 1811 this.value = new StringType(); // bb 1812 return this.value; 1813 } 1814 1815 public boolean hasValueElement() { 1816 return this.value != null && !this.value.isEmpty(); 1817 } 1818 1819 public boolean hasValue() { 1820 return this.value != null && !this.value.isEmpty(); 1821 } 1822 1823 /** 1824 * @param value {@link #value} (Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value 1825 */ 1826 public OtherElementComponent setValueElement(StringType value) { 1827 this.value = value; 1828 return this; 1829 } 1830 1831 /** 1832 * @return Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to. 1833 */ 1834 public String getValue() { 1835 return this.value == null ? null : this.value.getValue(); 1836 } 1837 1838 /** 1839 * @param value Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to. 1840 */ 1841 public OtherElementComponent setValue(String value) { 1842 if (this.value == null) 1843 this.value = new StringType(); 1844 this.value.setValue(value); 1845 return this; 1846 } 1847 1848 /** 1849 * @return {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value 1850 */ 1851 public StringType getDisplayElement() { 1852 if (this.display == null) 1853 if (Configuration.errorOnAutoCreate()) 1854 throw new Error("Attempt to auto-create OtherElementComponent.display"); 1855 else if (Configuration.doAutoCreate()) 1856 this.display = new StringType(); // bb 1857 return this.display; 1858 } 1859 1860 public boolean hasDisplayElement() { 1861 return this.display != null && !this.display.isEmpty(); 1862 } 1863 1864 public boolean hasDisplay() { 1865 return this.display != null && !this.display.isEmpty(); 1866 } 1867 1868 /** 1869 * @param value {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value 1870 */ 1871 public OtherElementComponent setDisplayElement(StringType value) { 1872 this.display = value; 1873 return this; 1874 } 1875 1876 /** 1877 * @return The display for the code. The display is only provided to help editors when editing the concept map. 1878 */ 1879 public String getDisplay() { 1880 return this.display == null ? null : this.display.getValue(); 1881 } 1882 1883 /** 1884 * @param value The display for the code. The display is only provided to help editors when editing the concept map. 1885 */ 1886 public OtherElementComponent setDisplay(String value) { 1887 if (Utilities.noString(value)) 1888 this.display = null; 1889 else { 1890 if (this.display == null) 1891 this.display = new StringType(); 1892 this.display.setValue(value); 1893 } 1894 return this; 1895 } 1896 1897 protected void listChildren(List<Property> children) { 1898 super.listChildren(children); 1899 children.add(new Property("property", "uri", "A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.", 0, 1, property)); 1900 children.add(new Property("system", "canonical(CodeSystem)", "An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).", 0, 1, system)); 1901 children.add(new Property("value", "string", "Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.", 0, 1, value)); 1902 children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); 1903 } 1904 1905 @Override 1906 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 1907 switch (_hash) { 1908 case -993141291: /*property*/ return new Property("property", "uri", "A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.", 0, 1, property); 1909 case -887328209: /*system*/ return new Property("system", "canonical(CodeSystem)", "An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).", 0, 1, system); 1910 case 111972721: /*value*/ return new Property("value", "string", "Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.", 0, 1, value); 1911 case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); 1912 default: return super.getNamedProperty(_hash, _name, _checkValid); 1913 } 1914 1915 } 1916 1917 @Override 1918 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 1919 switch (hash) { 1920 case -993141291: /*property*/ return this.property == null ? new Base[0] : new Base[] {this.property}; // UriType 1921 case -887328209: /*system*/ return this.system == null ? new Base[0] : new Base[] {this.system}; // CanonicalType 1922 case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // StringType 1923 case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType 1924 default: return super.getProperty(hash, name, checkValid); 1925 } 1926 1927 } 1928 1929 @Override 1930 public Base setProperty(int hash, String name, Base value) throws FHIRException { 1931 switch (hash) { 1932 case -993141291: // property 1933 this.property = TypeConvertor.castToUri(value); // UriType 1934 return value; 1935 case -887328209: // system 1936 this.system = TypeConvertor.castToCanonical(value); // CanonicalType 1937 return value; 1938 case 111972721: // value 1939 this.value = TypeConvertor.castToString(value); // StringType 1940 return value; 1941 case 1671764162: // display 1942 this.display = TypeConvertor.castToString(value); // StringType 1943 return value; 1944 default: return super.setProperty(hash, name, value); 1945 } 1946 1947 } 1948 1949 @Override 1950 public Base setProperty(String name, Base value) throws FHIRException { 1951 if (name.equals("property")) { 1952 this.property = TypeConvertor.castToUri(value); // UriType 1953 } else if (name.equals("system")) { 1954 this.system = TypeConvertor.castToCanonical(value); // CanonicalType 1955 } else if (name.equals("value")) { 1956 this.value = TypeConvertor.castToString(value); // StringType 1957 } else if (name.equals("display")) { 1958 this.display = TypeConvertor.castToString(value); // StringType 1959 } else 1960 return super.setProperty(name, value); 1961 return value; 1962 } 1963 1964 @Override 1965 public Base makeProperty(int hash, String name) throws FHIRException { 1966 switch (hash) { 1967 case -993141291: return getPropertyElement(); 1968 case -887328209: return getSystemElement(); 1969 case 111972721: return getValueElement(); 1970 case 1671764162: return getDisplayElement(); 1971 default: return super.makeProperty(hash, name); 1972 } 1973 1974 } 1975 1976 @Override 1977 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 1978 switch (hash) { 1979 case -993141291: /*property*/ return new String[] {"uri"}; 1980 case -887328209: /*system*/ return new String[] {"canonical"}; 1981 case 111972721: /*value*/ return new String[] {"string"}; 1982 case 1671764162: /*display*/ return new String[] {"string"}; 1983 default: return super.getTypesForProperty(hash, name); 1984 } 1985 1986 } 1987 1988 @Override 1989 public Base addChild(String name) throws FHIRException { 1990 if (name.equals("property")) { 1991 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.property"); 1992 } 1993 else if (name.equals("system")) { 1994 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.system"); 1995 } 1996 else if (name.equals("value")) { 1997 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.value"); 1998 } 1999 else if (name.equals("display")) { 2000 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.display"); 2001 } 2002 else 2003 return super.addChild(name); 2004 } 2005 2006 public OtherElementComponent copy() { 2007 OtherElementComponent dst = new OtherElementComponent(); 2008 copyValues(dst); 2009 return dst; 2010 } 2011 2012 public void copyValues(OtherElementComponent dst) { 2013 super.copyValues(dst); 2014 dst.property = property == null ? null : property.copy(); 2015 dst.system = system == null ? null : system.copy(); 2016 dst.value = value == null ? null : value.copy(); 2017 dst.display = display == null ? null : display.copy(); 2018 } 2019 2020 @Override 2021 public boolean equalsDeep(Base other_) { 2022 if (!super.equalsDeep(other_)) 2023 return false; 2024 if (!(other_ instanceof OtherElementComponent)) 2025 return false; 2026 OtherElementComponent o = (OtherElementComponent) other_; 2027 return compareDeep(property, o.property, true) && compareDeep(system, o.system, true) && compareDeep(value, o.value, true) 2028 && compareDeep(display, o.display, true); 2029 } 2030 2031 @Override 2032 public boolean equalsShallow(Base other_) { 2033 if (!super.equalsShallow(other_)) 2034 return false; 2035 if (!(other_ instanceof OtherElementComponent)) 2036 return false; 2037 OtherElementComponent o = (OtherElementComponent) other_; 2038 return compareValues(property, o.property, true) && compareValues(system, o.system, true) && compareValues(value, o.value, true) 2039 && compareValues(display, o.display, true); 2040 } 2041 2042 public boolean isEmpty() { 2043 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(property, system, value 2044 , display); 2045 } 2046 2047 public String fhirType() { 2048 return "ConceptMap.group.element.target.dependsOn"; 2049 2050 } 2051 2052 } 2053 2054 @Block() 2055 public static class ConceptMapGroupUnmappedComponent extends BackboneElement implements IBaseBackboneElement { 2056 /** 2057 * Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). 2058 */ 2059 @Child(name = "mode", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) 2060 @Description(shortDefinition="provided | fixed | other-map", formalDefinition="Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL)." ) 2061 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode") 2062 protected Enumeration<ConceptMapGroupUnmappedMode> mode; 2063 2064 /** 2065 * The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code. 2066 */ 2067 @Child(name = "code", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=false) 2068 @Description(shortDefinition="Fixed code when mode = fixed", formalDefinition="The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code." ) 2069 protected CodeType code; 2070 2071 /** 2072 * The display for the code. The display is only provided to help editors when editing the concept map. 2073 */ 2074 @Child(name = "display", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) 2075 @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) 2076 protected StringType display; 2077 2078 /** 2079 * The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept. 2080 */ 2081 @Child(name = "url", type = {CanonicalType.class}, order=4, min=0, max=1, modifier=false, summary=false) 2082 @Description(shortDefinition="canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped", formalDefinition="The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept." ) 2083 protected CanonicalType url; 2084 2085 private static final long serialVersionUID = 1261364354L; 2086 2087 /** 2088 * Constructor 2089 */ 2090 public ConceptMapGroupUnmappedComponent() { 2091 super(); 2092 } 2093 2094 /** 2095 * Constructor 2096 */ 2097 public ConceptMapGroupUnmappedComponent(ConceptMapGroupUnmappedMode mode) { 2098 super(); 2099 this.setMode(mode); 2100 } 2101 2102 /** 2103 * @return {@link #mode} (Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value 2104 */ 2105 public Enumeration<ConceptMapGroupUnmappedMode> getModeElement() { 2106 if (this.mode == null) 2107 if (Configuration.errorOnAutoCreate()) 2108 throw new Error("Attempt to auto-create ConceptMapGroupUnmappedComponent.mode"); 2109 else if (Configuration.doAutoCreate()) 2110 this.mode = new Enumeration<ConceptMapGroupUnmappedMode>(new ConceptMapGroupUnmappedModeEnumFactory()); // bb 2111 return this.mode; 2112 } 2113 2114 public boolean hasModeElement() { 2115 return this.mode != null && !this.mode.isEmpty(); 2116 } 2117 2118 public boolean hasMode() { 2119 return this.mode != null && !this.mode.isEmpty(); 2120 } 2121 2122 /** 2123 * @param value {@link #mode} (Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value 2124 */ 2125 public ConceptMapGroupUnmappedComponent setModeElement(Enumeration<ConceptMapGroupUnmappedMode> value) { 2126 this.mode = value; 2127 return this; 2128 } 2129 2130 /** 2131 * @return Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). 2132 */ 2133 public ConceptMapGroupUnmappedMode getMode() { 2134 return this.mode == null ? null : this.mode.getValue(); 2135 } 2136 2137 /** 2138 * @param value Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). 2139 */ 2140 public ConceptMapGroupUnmappedComponent setMode(ConceptMapGroupUnmappedMode value) { 2141 if (this.mode == null) 2142 this.mode = new Enumeration<ConceptMapGroupUnmappedMode>(new ConceptMapGroupUnmappedModeEnumFactory()); 2143 this.mode.setValue(value); 2144 return this; 2145 } 2146 2147 /** 2148 * @return {@link #code} (The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 2149 */ 2150 public CodeType getCodeElement() { 2151 if (this.code == null) 2152 if (Configuration.errorOnAutoCreate()) 2153 throw new Error("Attempt to auto-create ConceptMapGroupUnmappedComponent.code"); 2154 else if (Configuration.doAutoCreate()) 2155 this.code = new CodeType(); // bb 2156 return this.code; 2157 } 2158 2159 public boolean hasCodeElement() { 2160 return this.code != null && !this.code.isEmpty(); 2161 } 2162 2163 public boolean hasCode() { 2164 return this.code != null && !this.code.isEmpty(); 2165 } 2166 2167 /** 2168 * @param value {@link #code} (The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 2169 */ 2170 public ConceptMapGroupUnmappedComponent setCodeElement(CodeType value) { 2171 this.code = value; 2172 return this; 2173 } 2174 2175 /** 2176 * @return The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code. 2177 */ 2178 public String getCode() { 2179 return this.code == null ? null : this.code.getValue(); 2180 } 2181 2182 /** 2183 * @param value The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code. 2184 */ 2185 public ConceptMapGroupUnmappedComponent setCode(String value) { 2186 if (Utilities.noString(value)) 2187 this.code = null; 2188 else { 2189 if (this.code == null) 2190 this.code = new CodeType(); 2191 this.code.setValue(value); 2192 } 2193 return this; 2194 } 2195 2196 /** 2197 * @return {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value 2198 */ 2199 public StringType getDisplayElement() { 2200 if (this.display == null) 2201 if (Configuration.errorOnAutoCreate()) 2202 throw new Error("Attempt to auto-create ConceptMapGroupUnmappedComponent.display"); 2203 else if (Configuration.doAutoCreate()) 2204 this.display = new StringType(); // bb 2205 return this.display; 2206 } 2207 2208 public boolean hasDisplayElement() { 2209 return this.display != null && !this.display.isEmpty(); 2210 } 2211 2212 public boolean hasDisplay() { 2213 return this.display != null && !this.display.isEmpty(); 2214 } 2215 2216 /** 2217 * @param value {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value 2218 */ 2219 public ConceptMapGroupUnmappedComponent setDisplayElement(StringType value) { 2220 this.display = value; 2221 return this; 2222 } 2223 2224 /** 2225 * @return The display for the code. The display is only provided to help editors when editing the concept map. 2226 */ 2227 public String getDisplay() { 2228 return this.display == null ? null : this.display.getValue(); 2229 } 2230 2231 /** 2232 * @param value The display for the code. The display is only provided to help editors when editing the concept map. 2233 */ 2234 public ConceptMapGroupUnmappedComponent setDisplay(String value) { 2235 if (Utilities.noString(value)) 2236 this.display = null; 2237 else { 2238 if (this.display == null) 2239 this.display = new StringType(); 2240 this.display.setValue(value); 2241 } 2242 return this; 2243 } 2244 2245 /** 2246 * @return {@link #url} (The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 2247 */ 2248 public CanonicalType getUrlElement() { 2249 if (this.url == null) 2250 if (Configuration.errorOnAutoCreate()) 2251 throw new Error("Attempt to auto-create ConceptMapGroupUnmappedComponent.url"); 2252 else if (Configuration.doAutoCreate()) 2253 this.url = new CanonicalType(); // bb 2254 return this.url; 2255 } 2256 2257 public boolean hasUrlElement() { 2258 return this.url != null && !this.url.isEmpty(); 2259 } 2260 2261 public boolean hasUrl() { 2262 return this.url != null && !this.url.isEmpty(); 2263 } 2264 2265 /** 2266 * @param value {@link #url} (The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 2267 */ 2268 public ConceptMapGroupUnmappedComponent setUrlElement(CanonicalType value) { 2269 this.url = value; 2270 return this; 2271 } 2272 2273 /** 2274 * @return The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept. 2275 */ 2276 public String getUrl() { 2277 return this.url == null ? null : this.url.getValue(); 2278 } 2279 2280 /** 2281 * @param value The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept. 2282 */ 2283 public ConceptMapGroupUnmappedComponent setUrl(String value) { 2284 if (Utilities.noString(value)) 2285 this.url = null; 2286 else { 2287 if (this.url == null) 2288 this.url = new CanonicalType(); 2289 this.url.setValue(value); 2290 } 2291 return this; 2292 } 2293 2294 protected void listChildren(List<Property> children) { 2295 super.listChildren(children); 2296 children.add(new Property("mode", "code", "Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).", 0, 1, mode)); 2297 children.add(new Property("code", "code", "The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.", 0, 1, code)); 2298 children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); 2299 children.add(new Property("url", "canonical(ConceptMap)", "The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.", 0, 1, url)); 2300 } 2301 2302 @Override 2303 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 2304 switch (_hash) { 2305 case 3357091: /*mode*/ return new Property("mode", "code", "Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).", 0, 1, mode); 2306 case 3059181: /*code*/ return new Property("code", "code", "The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.", 0, 1, code); 2307 case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); 2308 case 116079: /*url*/ return new Property("url", "canonical(ConceptMap)", "The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.", 0, 1, url); 2309 default: return super.getNamedProperty(_hash, _name, _checkValid); 2310 } 2311 2312 } 2313 2314 @Override 2315 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 2316 switch (hash) { 2317 case 3357091: /*mode*/ return this.mode == null ? new Base[0] : new Base[] {this.mode}; // Enumeration<ConceptMapGroupUnmappedMode> 2318 case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType 2319 case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType 2320 case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // CanonicalType 2321 default: return super.getProperty(hash, name, checkValid); 2322 } 2323 2324 } 2325 2326 @Override 2327 public Base setProperty(int hash, String name, Base value) throws FHIRException { 2328 switch (hash) { 2329 case 3357091: // mode 2330 value = new ConceptMapGroupUnmappedModeEnumFactory().fromType(TypeConvertor.castToCode(value)); 2331 this.mode = (Enumeration) value; // Enumeration<ConceptMapGroupUnmappedMode> 2332 return value; 2333 case 3059181: // code 2334 this.code = TypeConvertor.castToCode(value); // CodeType 2335 return value; 2336 case 1671764162: // display 2337 this.display = TypeConvertor.castToString(value); // StringType 2338 return value; 2339 case 116079: // url 2340 this.url = TypeConvertor.castToCanonical(value); // CanonicalType 2341 return value; 2342 default: return super.setProperty(hash, name, value); 2343 } 2344 2345 } 2346 2347 @Override 2348 public Base setProperty(String name, Base value) throws FHIRException { 2349 if (name.equals("mode")) { 2350 value = new ConceptMapGroupUnmappedModeEnumFactory().fromType(TypeConvertor.castToCode(value)); 2351 this.mode = (Enumeration) value; // Enumeration<ConceptMapGroupUnmappedMode> 2352 } else if (name.equals("code")) { 2353 this.code = TypeConvertor.castToCode(value); // CodeType 2354 } else if (name.equals("display")) { 2355 this.display = TypeConvertor.castToString(value); // StringType 2356 } else if (name.equals("url")) { 2357 this.url = TypeConvertor.castToCanonical(value); // CanonicalType 2358 } else 2359 return super.setProperty(name, value); 2360 return value; 2361 } 2362 2363 @Override 2364 public Base makeProperty(int hash, String name) throws FHIRException { 2365 switch (hash) { 2366 case 3357091: return getModeElement(); 2367 case 3059181: return getCodeElement(); 2368 case 1671764162: return getDisplayElement(); 2369 case 116079: return getUrlElement(); 2370 default: return super.makeProperty(hash, name); 2371 } 2372 2373 } 2374 2375 @Override 2376 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 2377 switch (hash) { 2378 case 3357091: /*mode*/ return new String[] {"code"}; 2379 case 3059181: /*code*/ return new String[] {"code"}; 2380 case 1671764162: /*display*/ return new String[] {"string"}; 2381 case 116079: /*url*/ return new String[] {"canonical"}; 2382 default: return super.getTypesForProperty(hash, name); 2383 } 2384 2385 } 2386 2387 @Override 2388 public Base addChild(String name) throws FHIRException { 2389 if (name.equals("mode")) { 2390 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.mode"); 2391 } 2392 else if (name.equals("code")) { 2393 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.code"); 2394 } 2395 else if (name.equals("display")) { 2396 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.display"); 2397 } 2398 else if (name.equals("url")) { 2399 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.url"); 2400 } 2401 else 2402 return super.addChild(name); 2403 } 2404 2405 public ConceptMapGroupUnmappedComponent copy() { 2406 ConceptMapGroupUnmappedComponent dst = new ConceptMapGroupUnmappedComponent(); 2407 copyValues(dst); 2408 return dst; 2409 } 2410 2411 public void copyValues(ConceptMapGroupUnmappedComponent dst) { 2412 super.copyValues(dst); 2413 dst.mode = mode == null ? null : mode.copy(); 2414 dst.code = code == null ? null : code.copy(); 2415 dst.display = display == null ? null : display.copy(); 2416 dst.url = url == null ? null : url.copy(); 2417 } 2418 2419 @Override 2420 public boolean equalsDeep(Base other_) { 2421 if (!super.equalsDeep(other_)) 2422 return false; 2423 if (!(other_ instanceof ConceptMapGroupUnmappedComponent)) 2424 return false; 2425 ConceptMapGroupUnmappedComponent o = (ConceptMapGroupUnmappedComponent) other_; 2426 return compareDeep(mode, o.mode, true) && compareDeep(code, o.code, true) && compareDeep(display, o.display, true) 2427 && compareDeep(url, o.url, true); 2428 } 2429 2430 @Override 2431 public boolean equalsShallow(Base other_) { 2432 if (!super.equalsShallow(other_)) 2433 return false; 2434 if (!(other_ instanceof ConceptMapGroupUnmappedComponent)) 2435 return false; 2436 ConceptMapGroupUnmappedComponent o = (ConceptMapGroupUnmappedComponent) other_; 2437 return compareValues(mode, o.mode, true) && compareValues(code, o.code, true) && compareValues(display, o.display, true) 2438 && compareValues(url, o.url, true); 2439 } 2440 2441 public boolean isEmpty() { 2442 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(mode, code, display, url 2443 ); 2444 } 2445 2446 public String fhirType() { 2447 return "ConceptMap.group.unmapped"; 2448 2449 } 2450 2451 } 2452 2453 /** 2454 * An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers. 2455 */ 2456 @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1, modifier=false, summary=true) 2457 @Description(shortDefinition="Canonical identifier for this concept map, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers." ) 2458 protected UriType url; 2459 2460 /** 2461 * A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance. 2462 */ 2463 @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=1, modifier=false, summary=true) 2464 @Description(shortDefinition="Additional identifier for the concept map", formalDefinition="A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance." ) 2465 protected Identifier identifier; 2466 2467 /** 2468 * The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. 2469 */ 2470 @Child(name = "version", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) 2471 @Description(shortDefinition="Business version of the concept map", formalDefinition="The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." ) 2472 protected StringType version; 2473 2474 /** 2475 * A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation. 2476 */ 2477 @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) 2478 @Description(shortDefinition="Name for this concept map (computer friendly)", formalDefinition="A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) 2479 protected StringType name; 2480 2481 /** 2482 * A short, descriptive, user-friendly title for the concept map. 2483 */ 2484 @Child(name = "title", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) 2485 @Description(shortDefinition="Name for this concept map (human friendly)", formalDefinition="A short, descriptive, user-friendly title for the concept map." ) 2486 protected StringType title; 2487 2488 /** 2489 * The status of this concept map. Enables tracking the life-cycle of the content. 2490 */ 2491 @Child(name = "status", type = {CodeType.class}, order=5, min=1, max=1, modifier=true, summary=true) 2492 @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this concept map. Enables tracking the life-cycle of the content." ) 2493 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") 2494 protected Enumeration<PublicationStatus> status; 2495 2496 /** 2497 * A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 2498 */ 2499 @Child(name = "experimental", type = {BooleanType.class}, order=6, min=0, max=1, modifier=false, summary=true) 2500 @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ) 2501 protected BooleanType experimental; 2502 2503 /** 2504 * The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes. 2505 */ 2506 @Child(name = "date", type = {DateTimeType.class}, order=7, min=0, max=1, modifier=false, summary=true) 2507 @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes." ) 2508 protected DateTimeType date; 2509 2510 /** 2511 * The name of the organization or individual that published the concept map. 2512 */ 2513 @Child(name = "publisher", type = {StringType.class}, order=8, min=0, max=1, modifier=false, summary=true) 2514 @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the concept map." ) 2515 protected StringType publisher; 2516 2517 /** 2518 * Contact details to assist a user in finding and communicating with the publisher. 2519 */ 2520 @Child(name = "contact", type = {ContactDetail.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 2521 @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) 2522 protected List<ContactDetail> contact; 2523 2524 /** 2525 * A free text natural language description of the concept map from a consumer's perspective. 2526 */ 2527 @Child(name = "description", type = {MarkdownType.class}, order=10, min=0, max=1, modifier=false, summary=false) 2528 @Description(shortDefinition="Natural language description of the concept map", formalDefinition="A free text natural language description of the concept map from a consumer's perspective." ) 2529 protected MarkdownType description; 2530 2531 /** 2532 * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances. 2533 */ 2534 @Child(name = "useContext", type = {UsageContext.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 2535 @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances." ) 2536 protected List<UsageContext> useContext; 2537 2538 /** 2539 * A legal or geographic region in which the concept map is intended to be used. 2540 */ 2541 @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 2542 @Description(shortDefinition="Intended jurisdiction for concept map (if applicable)", formalDefinition="A legal or geographic region in which the concept map is intended to be used." ) 2543 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") 2544 protected List<CodeableConcept> jurisdiction; 2545 2546 /** 2547 * Explanation of why this concept map is needed and why it has been designed as it has. 2548 */ 2549 @Child(name = "purpose", type = {MarkdownType.class}, order=13, min=0, max=1, modifier=false, summary=false) 2550 @Description(shortDefinition="Why this concept map is defined", formalDefinition="Explanation of why this concept map is needed and why it has been designed as it has." ) 2551 protected MarkdownType purpose; 2552 2553 /** 2554 * A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map. 2555 */ 2556 @Child(name = "copyright", type = {MarkdownType.class}, order=14, min=0, max=1, modifier=false, summary=false) 2557 @Description(shortDefinition="Use and/or publishing restrictions", formalDefinition="A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map." ) 2558 protected MarkdownType copyright; 2559 2560 /** 2561 * Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. 2562 */ 2563 @Child(name = "source", type = {UriType.class, CanonicalType.class}, order=15, min=0, max=1, modifier=false, summary=true) 2564 @Description(shortDefinition="The source value set that contains the concepts that are being mapped", formalDefinition="Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings." ) 2565 protected DataType source; 2566 2567 /** 2568 * The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made. 2569 */ 2570 @Child(name = "target", type = {UriType.class, CanonicalType.class}, order=16, min=0, max=1, modifier=false, summary=true) 2571 @Description(shortDefinition="The target value set which provides context for the mappings", formalDefinition="The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made." ) 2572 protected DataType target; 2573 2574 /** 2575 * A group of mappings that all have the same source and target system. 2576 */ 2577 @Child(name = "group", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 2578 @Description(shortDefinition="Same source and target systems", formalDefinition="A group of mappings that all have the same source and target system." ) 2579 protected List<ConceptMapGroupComponent> group; 2580 2581 private static final long serialVersionUID = 1735271896L; 2582 2583 /** 2584 * Constructor 2585 */ 2586 public ConceptMap() { 2587 super(); 2588 } 2589 2590 /** 2591 * Constructor 2592 */ 2593 public ConceptMap(PublicationStatus status) { 2594 super(); 2595 this.setStatus(status); 2596 } 2597 2598 /** 2599 * @return {@link #url} (An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 2600 */ 2601 public UriType getUrlElement() { 2602 if (this.url == null) 2603 if (Configuration.errorOnAutoCreate()) 2604 throw new Error("Attempt to auto-create ConceptMap.url"); 2605 else if (Configuration.doAutoCreate()) 2606 this.url = new UriType(); // bb 2607 return this.url; 2608 } 2609 2610 public boolean hasUrlElement() { 2611 return this.url != null && !this.url.isEmpty(); 2612 } 2613 2614 public boolean hasUrl() { 2615 return this.url != null && !this.url.isEmpty(); 2616 } 2617 2618 /** 2619 * @param value {@link #url} (An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 2620 */ 2621 public ConceptMap setUrlElement(UriType value) { 2622 this.url = value; 2623 return this; 2624 } 2625 2626 /** 2627 * @return An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers. 2628 */ 2629 public String getUrl() { 2630 return this.url == null ? null : this.url.getValue(); 2631 } 2632 2633 /** 2634 * @param value An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers. 2635 */ 2636 public ConceptMap setUrl(String value) { 2637 if (Utilities.noString(value)) 2638 this.url = null; 2639 else { 2640 if (this.url == null) 2641 this.url = new UriType(); 2642 this.url.setValue(value); 2643 } 2644 return this; 2645 } 2646 2647 /** 2648 * only one on this implementation 2649 */ 2650 @Override 2651 public int getIdentifierMax() { 2652 return 1; 2653 } 2654 /** 2655 * @return {@link #identifier} (A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance.) 2656 */ 2657 public List<Identifier> getIdentifier() { 2658 List<Identifier> list = new ArrayList<Identifier>(); 2659 if (this.identifier == null) { 2660 list.add(identifier); 2661 } 2662 return list; 2663 } 2664 2665 /** 2666 * @return Returns a reference to <code>this</code> for easy method chaining 2667 */ 2668 public ConceptMap setIdentifier(List<Identifier> theIdentifier) { 2669 if (theIdentifier.size() == 0) { 2670 this.identifier = null; 2671 } else if (theIdentifier.size() == 1) { 2672 this.identifier = theIdentifier.get(0); 2673 } else { 2674 throw new Error("Cannot have more than one ConceptMap.identifier"); 2675 } 2676 return this; 2677 } 2678 2679 public boolean hasIdentifier() { 2680 return this.identifier != null && !this.identifier.isEmpty(); 2681 } 2682 2683 public Identifier addIdentifier() { //3 2684 if (this.identifier == null) { 2685 this.identifier = new Identifier(); 2686 } else { 2687 throw new Error("Cannot have more than one ConceptMap.identifier"); 2688 } 2689 return this.identifier; 2690 } 2691 2692 public ConceptMap addIdentifier(Identifier t) { //3 2693 if (this.identifier == null) { 2694 this.identifier = t; 2695 } else { 2696 throw new Error("Cannot have more than one ConceptMap.identifier"); 2697 } 2698 return this; 2699 } 2700 2701 /** 2702 * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} 2703 */ 2704 public Identifier getIdentifierFirstRep() { 2705 if (identifier == null) { 2706 addIdentifier(); 2707 } 2708 return identifier; 2709 } 2710 2711 /** 2712 * @return {@link #version} (The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 2713 */ 2714 public StringType getVersionElement() { 2715 if (this.version == null) 2716 if (Configuration.errorOnAutoCreate()) 2717 throw new Error("Attempt to auto-create ConceptMap.version"); 2718 else if (Configuration.doAutoCreate()) 2719 this.version = new StringType(); // bb 2720 return this.version; 2721 } 2722 2723 public boolean hasVersionElement() { 2724 return this.version != null && !this.version.isEmpty(); 2725 } 2726 2727 public boolean hasVersion() { 2728 return this.version != null && !this.version.isEmpty(); 2729 } 2730 2731 /** 2732 * @param value {@link #version} (The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 2733 */ 2734 public ConceptMap setVersionElement(StringType value) { 2735 this.version = value; 2736 return this; 2737 } 2738 2739 /** 2740 * @return The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. 2741 */ 2742 public String getVersion() { 2743 return this.version == null ? null : this.version.getValue(); 2744 } 2745 2746 /** 2747 * @param value The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. 2748 */ 2749 public ConceptMap setVersion(String value) { 2750 if (Utilities.noString(value)) 2751 this.version = null; 2752 else { 2753 if (this.version == null) 2754 this.version = new StringType(); 2755 this.version.setValue(value); 2756 } 2757 return this; 2758 } 2759 2760 /** 2761 * @return {@link #name} (A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 2762 */ 2763 public StringType getNameElement() { 2764 if (this.name == null) 2765 if (Configuration.errorOnAutoCreate()) 2766 throw new Error("Attempt to auto-create ConceptMap.name"); 2767 else if (Configuration.doAutoCreate()) 2768 this.name = new StringType(); // bb 2769 return this.name; 2770 } 2771 2772 public boolean hasNameElement() { 2773 return this.name != null && !this.name.isEmpty(); 2774 } 2775 2776 public boolean hasName() { 2777 return this.name != null && !this.name.isEmpty(); 2778 } 2779 2780 /** 2781 * @param value {@link #name} (A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 2782 */ 2783 public ConceptMap setNameElement(StringType value) { 2784 this.name = value; 2785 return this; 2786 } 2787 2788 /** 2789 * @return A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation. 2790 */ 2791 public String getName() { 2792 return this.name == null ? null : this.name.getValue(); 2793 } 2794 2795 /** 2796 * @param value A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation. 2797 */ 2798 public ConceptMap setName(String value) { 2799 if (Utilities.noString(value)) 2800 this.name = null; 2801 else { 2802 if (this.name == null) 2803 this.name = new StringType(); 2804 this.name.setValue(value); 2805 } 2806 return this; 2807 } 2808 2809 /** 2810 * @return {@link #title} (A short, descriptive, user-friendly title for the concept map.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 2811 */ 2812 public StringType getTitleElement() { 2813 if (this.title == null) 2814 if (Configuration.errorOnAutoCreate()) 2815 throw new Error("Attempt to auto-create ConceptMap.title"); 2816 else if (Configuration.doAutoCreate()) 2817 this.title = new StringType(); // bb 2818 return this.title; 2819 } 2820 2821 public boolean hasTitleElement() { 2822 return this.title != null && !this.title.isEmpty(); 2823 } 2824 2825 public boolean hasTitle() { 2826 return this.title != null && !this.title.isEmpty(); 2827 } 2828 2829 /** 2830 * @param value {@link #title} (A short, descriptive, user-friendly title for the concept map.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 2831 */ 2832 public ConceptMap setTitleElement(StringType value) { 2833 this.title = value; 2834 return this; 2835 } 2836 2837 /** 2838 * @return A short, descriptive, user-friendly title for the concept map. 2839 */ 2840 public String getTitle() { 2841 return this.title == null ? null : this.title.getValue(); 2842 } 2843 2844 /** 2845 * @param value A short, descriptive, user-friendly title for the concept map. 2846 */ 2847 public ConceptMap setTitle(String value) { 2848 if (Utilities.noString(value)) 2849 this.title = null; 2850 else { 2851 if (this.title == null) 2852 this.title = new StringType(); 2853 this.title.setValue(value); 2854 } 2855 return this; 2856 } 2857 2858 /** 2859 * @return {@link #status} (The status of this concept map. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 2860 */ 2861 public Enumeration<PublicationStatus> getStatusElement() { 2862 if (this.status == null) 2863 if (Configuration.errorOnAutoCreate()) 2864 throw new Error("Attempt to auto-create ConceptMap.status"); 2865 else if (Configuration.doAutoCreate()) 2866 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); // bb 2867 return this.status; 2868 } 2869 2870 public boolean hasStatusElement() { 2871 return this.status != null && !this.status.isEmpty(); 2872 } 2873 2874 public boolean hasStatus() { 2875 return this.status != null && !this.status.isEmpty(); 2876 } 2877 2878 /** 2879 * @param value {@link #status} (The status of this concept map. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 2880 */ 2881 public ConceptMap setStatusElement(Enumeration<PublicationStatus> value) { 2882 this.status = value; 2883 return this; 2884 } 2885 2886 /** 2887 * @return The status of this concept map. Enables tracking the life-cycle of the content. 2888 */ 2889 public PublicationStatus getStatus() { 2890 return this.status == null ? null : this.status.getValue(); 2891 } 2892 2893 /** 2894 * @param value The status of this concept map. Enables tracking the life-cycle of the content. 2895 */ 2896 public ConceptMap setStatus(PublicationStatus value) { 2897 if (this.status == null) 2898 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); 2899 this.status.setValue(value); 2900 return this; 2901 } 2902 2903 /** 2904 * @return {@link #experimental} (A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value 2905 */ 2906 public BooleanType getExperimentalElement() { 2907 if (this.experimental == null) 2908 if (Configuration.errorOnAutoCreate()) 2909 throw new Error("Attempt to auto-create ConceptMap.experimental"); 2910 else if (Configuration.doAutoCreate()) 2911 this.experimental = new BooleanType(); // bb 2912 return this.experimental; 2913 } 2914 2915 public boolean hasExperimentalElement() { 2916 return this.experimental != null && !this.experimental.isEmpty(); 2917 } 2918 2919 public boolean hasExperimental() { 2920 return this.experimental != null && !this.experimental.isEmpty(); 2921 } 2922 2923 /** 2924 * @param value {@link #experimental} (A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value 2925 */ 2926 public ConceptMap setExperimentalElement(BooleanType value) { 2927 this.experimental = value; 2928 return this; 2929 } 2930 2931 /** 2932 * @return A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 2933 */ 2934 public boolean getExperimental() { 2935 return this.experimental == null || this.experimental.isEmpty() ? false : this.experimental.getValue(); 2936 } 2937 2938 /** 2939 * @param value A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 2940 */ 2941 public ConceptMap setExperimental(boolean value) { 2942 if (this.experimental == null) 2943 this.experimental = new BooleanType(); 2944 this.experimental.setValue(value); 2945 return this; 2946 } 2947 2948 /** 2949 * @return {@link #date} (The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 2950 */ 2951 public DateTimeType getDateElement() { 2952 if (this.date == null) 2953 if (Configuration.errorOnAutoCreate()) 2954 throw new Error("Attempt to auto-create ConceptMap.date"); 2955 else if (Configuration.doAutoCreate()) 2956 this.date = new DateTimeType(); // bb 2957 return this.date; 2958 } 2959 2960 public boolean hasDateElement() { 2961 return this.date != null && !this.date.isEmpty(); 2962 } 2963 2964 public boolean hasDate() { 2965 return this.date != null && !this.date.isEmpty(); 2966 } 2967 2968 /** 2969 * @param value {@link #date} (The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 2970 */ 2971 public ConceptMap setDateElement(DateTimeType value) { 2972 this.date = value; 2973 return this; 2974 } 2975 2976 /** 2977 * @return The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes. 2978 */ 2979 public Date getDate() { 2980 return this.date == null ? null : this.date.getValue(); 2981 } 2982 2983 /** 2984 * @param value The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes. 2985 */ 2986 public ConceptMap setDate(Date value) { 2987 if (value == null) 2988 this.date = null; 2989 else { 2990 if (this.date == null) 2991 this.date = new DateTimeType(); 2992 this.date.setValue(value); 2993 } 2994 return this; 2995 } 2996 2997 /** 2998 * @return {@link #publisher} (The name of the organization or individual that published the concept map.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 2999 */ 3000 public StringType getPublisherElement() { 3001 if (this.publisher == null) 3002 if (Configuration.errorOnAutoCreate()) 3003 throw new Error("Attempt to auto-create ConceptMap.publisher"); 3004 else if (Configuration.doAutoCreate()) 3005 this.publisher = new StringType(); // bb 3006 return this.publisher; 3007 } 3008 3009 public boolean hasPublisherElement() { 3010 return this.publisher != null && !this.publisher.isEmpty(); 3011 } 3012 3013 public boolean hasPublisher() { 3014 return this.publisher != null && !this.publisher.isEmpty(); 3015 } 3016 3017 /** 3018 * @param value {@link #publisher} (The name of the organization or individual that published the concept map.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 3019 */ 3020 public ConceptMap setPublisherElement(StringType value) { 3021 this.publisher = value; 3022 return this; 3023 } 3024 3025 /** 3026 * @return The name of the organization or individual that published the concept map. 3027 */ 3028 public String getPublisher() { 3029 return this.publisher == null ? null : this.publisher.getValue(); 3030 } 3031 3032 /** 3033 * @param value The name of the organization or individual that published the concept map. 3034 */ 3035 public ConceptMap setPublisher(String value) { 3036 if (Utilities.noString(value)) 3037 this.publisher = null; 3038 else { 3039 if (this.publisher == null) 3040 this.publisher = new StringType(); 3041 this.publisher.setValue(value); 3042 } 3043 return this; 3044 } 3045 3046 /** 3047 * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.) 3048 */ 3049 public List<ContactDetail> getContact() { 3050 if (this.contact == null) 3051 this.contact = new ArrayList<ContactDetail>(); 3052 return this.contact; 3053 } 3054 3055 /** 3056 * @return Returns a reference to <code>this</code> for easy method chaining 3057 */ 3058 public ConceptMap setContact(List<ContactDetail> theContact) { 3059 this.contact = theContact; 3060 return this; 3061 } 3062 3063 public boolean hasContact() { 3064 if (this.contact == null) 3065 return false; 3066 for (ContactDetail item : this.contact) 3067 if (!item.isEmpty()) 3068 return true; 3069 return false; 3070 } 3071 3072 public ContactDetail addContact() { //3 3073 ContactDetail t = new ContactDetail(); 3074 if (this.contact == null) 3075 this.contact = new ArrayList<ContactDetail>(); 3076 this.contact.add(t); 3077 return t; 3078 } 3079 3080 public ConceptMap addContact(ContactDetail t) { //3 3081 if (t == null) 3082 return this; 3083 if (this.contact == null) 3084 this.contact = new ArrayList<ContactDetail>(); 3085 this.contact.add(t); 3086 return this; 3087 } 3088 3089 /** 3090 * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} 3091 */ 3092 public ContactDetail getContactFirstRep() { 3093 if (getContact().isEmpty()) { 3094 addContact(); 3095 } 3096 return getContact().get(0); 3097 } 3098 3099 /** 3100 * @return {@link #description} (A free text natural language description of the concept map from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 3101 */ 3102 public MarkdownType getDescriptionElement() { 3103 if (this.description == null) 3104 if (Configuration.errorOnAutoCreate()) 3105 throw new Error("Attempt to auto-create ConceptMap.description"); 3106 else if (Configuration.doAutoCreate()) 3107 this.description = new MarkdownType(); // bb 3108 return this.description; 3109 } 3110 3111 public boolean hasDescriptionElement() { 3112 return this.description != null && !this.description.isEmpty(); 3113 } 3114 3115 public boolean hasDescription() { 3116 return this.description != null && !this.description.isEmpty(); 3117 } 3118 3119 /** 3120 * @param value {@link #description} (A free text natural language description of the concept map from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 3121 */ 3122 public ConceptMap setDescriptionElement(MarkdownType value) { 3123 this.description = value; 3124 return this; 3125 } 3126 3127 /** 3128 * @return A free text natural language description of the concept map from a consumer's perspective. 3129 */ 3130 public String getDescription() { 3131 return this.description == null ? null : this.description.getValue(); 3132 } 3133 3134 /** 3135 * @param value A free text natural language description of the concept map from a consumer's perspective. 3136 */ 3137 public ConceptMap setDescription(String value) { 3138 if (value == null) 3139 this.description = null; 3140 else { 3141 if (this.description == null) 3142 this.description = new MarkdownType(); 3143 this.description.setValue(value); 3144 } 3145 return this; 3146 } 3147 3148 /** 3149 * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances.) 3150 */ 3151 public List<UsageContext> getUseContext() { 3152 if (this.useContext == null) 3153 this.useContext = new ArrayList<UsageContext>(); 3154 return this.useContext; 3155 } 3156 3157 /** 3158 * @return Returns a reference to <code>this</code> for easy method chaining 3159 */ 3160 public ConceptMap setUseContext(List<UsageContext> theUseContext) { 3161 this.useContext = theUseContext; 3162 return this; 3163 } 3164 3165 public boolean hasUseContext() { 3166 if (this.useContext == null) 3167 return false; 3168 for (UsageContext item : this.useContext) 3169 if (!item.isEmpty()) 3170 return true; 3171 return false; 3172 } 3173 3174 public UsageContext addUseContext() { //3 3175 UsageContext t = new UsageContext(); 3176 if (this.useContext == null) 3177 this.useContext = new ArrayList<UsageContext>(); 3178 this.useContext.add(t); 3179 return t; 3180 } 3181 3182 public ConceptMap addUseContext(UsageContext t) { //3 3183 if (t == null) 3184 return this; 3185 if (this.useContext == null) 3186 this.useContext = new ArrayList<UsageContext>(); 3187 this.useContext.add(t); 3188 return this; 3189 } 3190 3191 /** 3192 * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {3} 3193 */ 3194 public UsageContext getUseContextFirstRep() { 3195 if (getUseContext().isEmpty()) { 3196 addUseContext(); 3197 } 3198 return getUseContext().get(0); 3199 } 3200 3201 /** 3202 * @return {@link #jurisdiction} (A legal or geographic region in which the concept map is intended to be used.) 3203 */ 3204 public List<CodeableConcept> getJurisdiction() { 3205 if (this.jurisdiction == null) 3206 this.jurisdiction = new ArrayList<CodeableConcept>(); 3207 return this.jurisdiction; 3208 } 3209 3210 /** 3211 * @return Returns a reference to <code>this</code> for easy method chaining 3212 */ 3213 public ConceptMap setJurisdiction(List<CodeableConcept> theJurisdiction) { 3214 this.jurisdiction = theJurisdiction; 3215 return this; 3216 } 3217 3218 public boolean hasJurisdiction() { 3219 if (this.jurisdiction == null) 3220 return false; 3221 for (CodeableConcept item : this.jurisdiction) 3222 if (!item.isEmpty()) 3223 return true; 3224 return false; 3225 } 3226 3227 public CodeableConcept addJurisdiction() { //3 3228 CodeableConcept t = new CodeableConcept(); 3229 if (this.jurisdiction == null) 3230 this.jurisdiction = new ArrayList<CodeableConcept>(); 3231 this.jurisdiction.add(t); 3232 return t; 3233 } 3234 3235 public ConceptMap addJurisdiction(CodeableConcept t) { //3 3236 if (t == null) 3237 return this; 3238 if (this.jurisdiction == null) 3239 this.jurisdiction = new ArrayList<CodeableConcept>(); 3240 this.jurisdiction.add(t); 3241 return this; 3242 } 3243 3244 /** 3245 * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist {3} 3246 */ 3247 public CodeableConcept getJurisdictionFirstRep() { 3248 if (getJurisdiction().isEmpty()) { 3249 addJurisdiction(); 3250 } 3251 return getJurisdiction().get(0); 3252 } 3253 3254 /** 3255 * @return {@link #purpose} (Explanation of why this concept map is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value 3256 */ 3257 public MarkdownType getPurposeElement() { 3258 if (this.purpose == null) 3259 if (Configuration.errorOnAutoCreate()) 3260 throw new Error("Attempt to auto-create ConceptMap.purpose"); 3261 else if (Configuration.doAutoCreate()) 3262 this.purpose = new MarkdownType(); // bb 3263 return this.purpose; 3264 } 3265 3266 public boolean hasPurposeElement() { 3267 return this.purpose != null && !this.purpose.isEmpty(); 3268 } 3269 3270 public boolean hasPurpose() { 3271 return this.purpose != null && !this.purpose.isEmpty(); 3272 } 3273 3274 /** 3275 * @param value {@link #purpose} (Explanation of why this concept map is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value 3276 */ 3277 public ConceptMap setPurposeElement(MarkdownType value) { 3278 this.purpose = value; 3279 return this; 3280 } 3281 3282 /** 3283 * @return Explanation of why this concept map is needed and why it has been designed as it has. 3284 */ 3285 public String getPurpose() { 3286 return this.purpose == null ? null : this.purpose.getValue(); 3287 } 3288 3289 /** 3290 * @param value Explanation of why this concept map is needed and why it has been designed as it has. 3291 */ 3292 public ConceptMap setPurpose(String value) { 3293 if (value == null) 3294 this.purpose = null; 3295 else { 3296 if (this.purpose == null) 3297 this.purpose = new MarkdownType(); 3298 this.purpose.setValue(value); 3299 } 3300 return this; 3301 } 3302 3303 /** 3304 * @return {@link #copyright} (A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 3305 */ 3306 public MarkdownType getCopyrightElement() { 3307 if (this.copyright == null) 3308 if (Configuration.errorOnAutoCreate()) 3309 throw new Error("Attempt to auto-create ConceptMap.copyright"); 3310 else if (Configuration.doAutoCreate()) 3311 this.copyright = new MarkdownType(); // bb 3312 return this.copyright; 3313 } 3314 3315 public boolean hasCopyrightElement() { 3316 return this.copyright != null && !this.copyright.isEmpty(); 3317 } 3318 3319 public boolean hasCopyright() { 3320 return this.copyright != null && !this.copyright.isEmpty(); 3321 } 3322 3323 /** 3324 * @param value {@link #copyright} (A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 3325 */ 3326 public ConceptMap setCopyrightElement(MarkdownType value) { 3327 this.copyright = value; 3328 return this; 3329 } 3330 3331 /** 3332 * @return A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map. 3333 */ 3334 public String getCopyright() { 3335 return this.copyright == null ? null : this.copyright.getValue(); 3336 } 3337 3338 /** 3339 * @param value A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map. 3340 */ 3341 public ConceptMap setCopyright(String value) { 3342 if (value == null) 3343 this.copyright = null; 3344 else { 3345 if (this.copyright == null) 3346 this.copyright = new MarkdownType(); 3347 this.copyright.setValue(value); 3348 } 3349 return this; 3350 } 3351 3352 /** 3353 * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) 3354 */ 3355 public DataType getSource() { 3356 return this.source; 3357 } 3358 3359 /** 3360 * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) 3361 */ 3362 public UriType getSourceUriType() throws FHIRException { 3363 if (this.source == null) 3364 this.source = new UriType(); 3365 if (!(this.source instanceof UriType)) 3366 throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.source.getClass().getName()+" was encountered"); 3367 return (UriType) this.source; 3368 } 3369 3370 public boolean hasSourceUriType() { 3371 return this != null && this.source instanceof UriType; 3372 } 3373 3374 /** 3375 * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) 3376 */ 3377 public CanonicalType getSourceCanonicalType() throws FHIRException { 3378 if (this.source == null) 3379 this.source = new CanonicalType(); 3380 if (!(this.source instanceof CanonicalType)) 3381 throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.source.getClass().getName()+" was encountered"); 3382 return (CanonicalType) this.source; 3383 } 3384 3385 public boolean hasSourceCanonicalType() { 3386 return this != null && this.source instanceof CanonicalType; 3387 } 3388 3389 public boolean hasSource() { 3390 return this.source != null && !this.source.isEmpty(); 3391 } 3392 3393 /** 3394 * @param value {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) 3395 */ 3396 public ConceptMap setSource(DataType value) { 3397 if (value != null && !(value instanceof UriType || value instanceof CanonicalType)) 3398 throw new Error("Not the right type for ConceptMap.source[x]: "+value.fhirType()); 3399 this.source = value; 3400 return this; 3401 } 3402 3403 /** 3404 * @return {@link #target} (The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.) 3405 */ 3406 public DataType getTarget() { 3407 return this.target; 3408 } 3409 3410 /** 3411 * @return {@link #target} (The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.) 3412 */ 3413 public UriType getTargetUriType() throws FHIRException { 3414 if (this.target == null) 3415 this.target = new UriType(); 3416 if (!(this.target instanceof UriType)) 3417 throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.target.getClass().getName()+" was encountered"); 3418 return (UriType) this.target; 3419 } 3420 3421 public boolean hasTargetUriType() { 3422 return this != null && this.target instanceof UriType; 3423 } 3424 3425 /** 3426 * @return {@link #target} (The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.) 3427 */ 3428 public CanonicalType getTargetCanonicalType() throws FHIRException { 3429 if (this.target == null) 3430 this.target = new CanonicalType(); 3431 if (!(this.target instanceof CanonicalType)) 3432 throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.target.getClass().getName()+" was encountered"); 3433 return (CanonicalType) this.target; 3434 } 3435 3436 public boolean hasTargetCanonicalType() { 3437 return this != null && this.target instanceof CanonicalType; 3438 } 3439 3440 public boolean hasTarget() { 3441 return this.target != null && !this.target.isEmpty(); 3442 } 3443 3444 /** 3445 * @param value {@link #target} (The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.) 3446 */ 3447 public ConceptMap setTarget(DataType value) { 3448 if (value != null && !(value instanceof UriType || value instanceof CanonicalType)) 3449 throw new Error("Not the right type for ConceptMap.target[x]: "+value.fhirType()); 3450 this.target = value; 3451 return this; 3452 } 3453 3454 /** 3455 * @return {@link #group} (A group of mappings that all have the same source and target system.) 3456 */ 3457 public List<ConceptMapGroupComponent> getGroup() { 3458 if (this.group == null) 3459 this.group = new ArrayList<ConceptMapGroupComponent>(); 3460 return this.group; 3461 } 3462 3463 /** 3464 * @return Returns a reference to <code>this</code> for easy method chaining 3465 */ 3466 public ConceptMap setGroup(List<ConceptMapGroupComponent> theGroup) { 3467 this.group = theGroup; 3468 return this; 3469 } 3470 3471 public boolean hasGroup() { 3472 if (this.group == null) 3473 return false; 3474 for (ConceptMapGroupComponent item : this.group) 3475 if (!item.isEmpty()) 3476 return true; 3477 return false; 3478 } 3479 3480 public ConceptMapGroupComponent addGroup() { //3 3481 ConceptMapGroupComponent t = new ConceptMapGroupComponent(); 3482 if (this.group == null) 3483 this.group = new ArrayList<ConceptMapGroupComponent>(); 3484 this.group.add(t); 3485 return t; 3486 } 3487 3488 public ConceptMap addGroup(ConceptMapGroupComponent t) { //3 3489 if (t == null) 3490 return this; 3491 if (this.group == null) 3492 this.group = new ArrayList<ConceptMapGroupComponent>(); 3493 this.group.add(t); 3494 return this; 3495 } 3496 3497 /** 3498 * @return The first repetition of repeating field {@link #group}, creating it if it does not already exist {3} 3499 */ 3500 public ConceptMapGroupComponent getGroupFirstRep() { 3501 if (getGroup().isEmpty()) { 3502 addGroup(); 3503 } 3504 return getGroup().get(0); 3505 } 3506 3507 protected void listChildren(List<Property> children) { 3508 super.listChildren(children); 3509 children.add(new Property("url", "uri", "An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.", 0, 1, url)); 3510 children.add(new Property("identifier", "Identifier", "A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, 1, identifier)); 3511 children.add(new Property("version", "string", "The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version)); 3512 children.add(new Property("name", "string", "A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); 3513 children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the concept map.", 0, 1, title)); 3514 children.add(new Property("status", "code", "The status of this concept map. Enables tracking the life-cycle of the content.", 0, 1, status)); 3515 children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); 3516 children.add(new Property("date", "dateTime", "The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.", 0, 1, date)); 3517 children.add(new Property("publisher", "string", "The name of the organization or individual that published the concept map.", 0, 1, publisher)); 3518 children.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); 3519 children.add(new Property("description", "markdown", "A free text natural language description of the concept map from a consumer's perspective.", 0, 1, description)); 3520 children.add(new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); 3521 children.add(new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the concept map is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction)); 3522 children.add(new Property("purpose", "markdown", "Explanation of why this concept map is needed and why it has been designed as it has.", 0, 1, purpose)); 3523 children.add(new Property("copyright", "markdown", "A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.", 0, 1, copyright)); 3524 children.add(new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source)); 3525 children.add(new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.", 0, 1, target)); 3526 children.add(new Property("group", "", "A group of mappings that all have the same source and target system.", 0, java.lang.Integer.MAX_VALUE, group)); 3527 } 3528 3529 @Override 3530 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 3531 switch (_hash) { 3532 case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.", 0, 1, url); 3533 case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, 1, identifier); 3534 case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version); 3535 case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); 3536 case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the concept map.", 0, 1, title); 3537 case -892481550: /*status*/ return new Property("status", "code", "The status of this concept map. Enables tracking the life-cycle of the content.", 0, 1, status); 3538 case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); 3539 case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.", 0, 1, date); 3540 case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the concept map.", 0, 1, publisher); 3541 case 951526432: /*contact*/ return new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact); 3542 case -1724546052: /*description*/ return new Property("description", "markdown", "A free text natural language description of the concept map from a consumer's perspective.", 0, 1, description); 3543 case -669707736: /*useContext*/ return new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances.", 0, java.lang.Integer.MAX_VALUE, useContext); 3544 case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the concept map is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction); 3545 case -220463842: /*purpose*/ return new Property("purpose", "markdown", "Explanation of why this concept map is needed and why it has been designed as it has.", 0, 1, purpose); 3546 case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.", 0, 1, copyright); 3547 case -1698413947: /*source[x]*/ return new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); 3548 case -896505829: /*source*/ return new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); 3549 case -1698419887: /*sourceUri*/ return new Property("source[x]", "uri", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); 3550 case 1509247769: /*sourceCanonical*/ return new Property("source[x]", "canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); 3551 case -815579825: /*target[x]*/ return new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.", 0, 1, target); 3552 case -880905839: /*target*/ return new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.", 0, 1, target); 3553 case -815585765: /*targetUri*/ return new Property("target[x]", "uri", "The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.", 0, 1, target); 3554 case -1281653149: /*targetCanonical*/ return new Property("target[x]", "canonical(ValueSet)", "The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.", 0, 1, target); 3555 case 98629247: /*group*/ return new Property("group", "", "A group of mappings that all have the same source and target system.", 0, java.lang.Integer.MAX_VALUE, group); 3556 default: return super.getNamedProperty(_hash, _name, _checkValid); 3557 } 3558 3559 } 3560 3561 @Override 3562 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 3563 switch (hash) { 3564 case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType 3565 case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : new Base[] {this.identifier}; // Identifier 3566 case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType 3567 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType 3568 case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType 3569 case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<PublicationStatus> 3570 case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType 3571 case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType 3572 case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType 3573 case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail 3574 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType 3575 case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext 3576 case -507075711: /*jurisdiction*/ return this.jurisdiction == null ? new Base[0] : this.jurisdiction.toArray(new Base[this.jurisdiction.size()]); // CodeableConcept 3577 case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // MarkdownType 3578 case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType 3579 case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // DataType 3580 case -880905839: /*target*/ return this.target == null ? new Base[0] : new Base[] {this.target}; // DataType 3581 case 98629247: /*group*/ return this.group == null ? new Base[0] : this.group.toArray(new Base[this.group.size()]); // ConceptMapGroupComponent 3582 default: return super.getProperty(hash, name, checkValid); 3583 } 3584 3585 } 3586 3587 @Override 3588 public Base setProperty(int hash, String name, Base value) throws FHIRException { 3589 switch (hash) { 3590 case 116079: // url 3591 this.url = TypeConvertor.castToUri(value); // UriType 3592 return value; 3593 case -1618432855: // identifier 3594 this.identifier = TypeConvertor.castToIdentifier(value); // Identifier 3595 return value; 3596 case 351608024: // version 3597 this.version = TypeConvertor.castToString(value); // StringType 3598 return value; 3599 case 3373707: // name 3600 this.name = TypeConvertor.castToString(value); // StringType 3601 return value; 3602 case 110371416: // title 3603 this.title = TypeConvertor.castToString(value); // StringType 3604 return value; 3605 case -892481550: // status 3606 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 3607 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 3608 return value; 3609 case -404562712: // experimental 3610 this.experimental = TypeConvertor.castToBoolean(value); // BooleanType 3611 return value; 3612 case 3076014: // date 3613 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 3614 return value; 3615 case 1447404028: // publisher 3616 this.publisher = TypeConvertor.castToString(value); // StringType 3617 return value; 3618 case 951526432: // contact 3619 this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 3620 return value; 3621 case -1724546052: // description 3622 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 3623 return value; 3624 case -669707736: // useContext 3625 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext 3626 return value; 3627 case -507075711: // jurisdiction 3628 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept 3629 return value; 3630 case -220463842: // purpose 3631 this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType 3632 return value; 3633 case 1522889671: // copyright 3634 this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType 3635 return value; 3636 case -896505829: // source 3637 this.source = TypeConvertor.castToType(value); // DataType 3638 return value; 3639 case -880905839: // target 3640 this.target = TypeConvertor.castToType(value); // DataType 3641 return value; 3642 case 98629247: // group 3643 this.getGroup().add((ConceptMapGroupComponent) value); // ConceptMapGroupComponent 3644 return value; 3645 default: return super.setProperty(hash, name, value); 3646 } 3647 3648 } 3649 3650 @Override 3651 public Base setProperty(String name, Base value) throws FHIRException { 3652 if (name.equals("url")) { 3653 this.url = TypeConvertor.castToUri(value); // UriType 3654 } else if (name.equals("identifier")) { 3655 this.identifier = TypeConvertor.castToIdentifier(value); // Identifier 3656 } else if (name.equals("version")) { 3657 this.version = TypeConvertor.castToString(value); // StringType 3658 } else if (name.equals("name")) { 3659 this.name = TypeConvertor.castToString(value); // StringType 3660 } else if (name.equals("title")) { 3661 this.title = TypeConvertor.castToString(value); // StringType 3662 } else if (name.equals("status")) { 3663 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 3664 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 3665 } else if (name.equals("experimental")) { 3666 this.experimental = TypeConvertor.castToBoolean(value); // BooleanType 3667 } else if (name.equals("date")) { 3668 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 3669 } else if (name.equals("publisher")) { 3670 this.publisher = TypeConvertor.castToString(value); // StringType 3671 } else if (name.equals("contact")) { 3672 this.getContact().add(TypeConvertor.castToContactDetail(value)); 3673 } else if (name.equals("description")) { 3674 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 3675 } else if (name.equals("useContext")) { 3676 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); 3677 } else if (name.equals("jurisdiction")) { 3678 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); 3679 } else if (name.equals("purpose")) { 3680 this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType 3681 } else if (name.equals("copyright")) { 3682 this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType 3683 } else if (name.equals("source[x]")) { 3684 this.source = TypeConvertor.castToType(value); // DataType 3685 } else if (name.equals("target[x]")) { 3686 this.target = TypeConvertor.castToType(value); // DataType 3687 } else if (name.equals("group")) { 3688 this.getGroup().add((ConceptMapGroupComponent) value); 3689 } else 3690 return super.setProperty(name, value); 3691 return value; 3692 } 3693 3694 @Override 3695 public Base makeProperty(int hash, String name) throws FHIRException { 3696 switch (hash) { 3697 case 116079: return getUrlElement(); 3698 case -1618432855: return getIdentifierFirstRep(); 3699 case 351608024: return getVersionElement(); 3700 case 3373707: return getNameElement(); 3701 case 110371416: return getTitleElement(); 3702 case -892481550: return getStatusElement(); 3703 case -404562712: return getExperimentalElement(); 3704 case 3076014: return getDateElement(); 3705 case 1447404028: return getPublisherElement(); 3706 case 951526432: return addContact(); 3707 case -1724546052: return getDescriptionElement(); 3708 case -669707736: return addUseContext(); 3709 case -507075711: return addJurisdiction(); 3710 case -220463842: return getPurposeElement(); 3711 case 1522889671: return getCopyrightElement(); 3712 case -1698413947: return getSource(); 3713 case -896505829: return getSource(); 3714 case -815579825: return getTarget(); 3715 case -880905839: return getTarget(); 3716 case 98629247: return addGroup(); 3717 default: return super.makeProperty(hash, name); 3718 } 3719 3720 } 3721 3722 @Override 3723 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 3724 switch (hash) { 3725 case 116079: /*url*/ return new String[] {"uri"}; 3726 case -1618432855: /*identifier*/ return new String[] {"Identifier"}; 3727 case 351608024: /*version*/ return new String[] {"string"}; 3728 case 3373707: /*name*/ return new String[] {"string"}; 3729 case 110371416: /*title*/ return new String[] {"string"}; 3730 case -892481550: /*status*/ return new String[] {"code"}; 3731 case -404562712: /*experimental*/ return new String[] {"boolean"}; 3732 case 3076014: /*date*/ return new String[] {"dateTime"}; 3733 case 1447404028: /*publisher*/ return new String[] {"string"}; 3734 case 951526432: /*contact*/ return new String[] {"ContactDetail"}; 3735 case -1724546052: /*description*/ return new String[] {"markdown"}; 3736 case -669707736: /*useContext*/ return new String[] {"UsageContext"}; 3737 case -507075711: /*jurisdiction*/ return new String[] {"CodeableConcept"}; 3738 case -220463842: /*purpose*/ return new String[] {"markdown"}; 3739 case 1522889671: /*copyright*/ return new String[] {"markdown"}; 3740 case -896505829: /*source*/ return new String[] {"uri", "canonical"}; 3741 case -880905839: /*target*/ return new String[] {"uri", "canonical"}; 3742 case 98629247: /*group*/ return new String[] {}; 3743 default: return super.getTypesForProperty(hash, name); 3744 } 3745 3746 } 3747 3748 @Override 3749 public Base addChild(String name) throws FHIRException { 3750 if (name.equals("url")) { 3751 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.url"); 3752 } 3753 else if (name.equals("identifier")) { 3754 this.identifier = new Identifier(); 3755 return this.identifier; 3756 } 3757 else if (name.equals("version")) { 3758 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.version"); 3759 } 3760 else if (name.equals("name")) { 3761 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.name"); 3762 } 3763 else if (name.equals("title")) { 3764 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.title"); 3765 } 3766 else if (name.equals("status")) { 3767 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.status"); 3768 } 3769 else if (name.equals("experimental")) { 3770 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.experimental"); 3771 } 3772 else if (name.equals("date")) { 3773 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.date"); 3774 } 3775 else if (name.equals("publisher")) { 3776 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.publisher"); 3777 } 3778 else if (name.equals("contact")) { 3779 return addContact(); 3780 } 3781 else if (name.equals("description")) { 3782 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.description"); 3783 } 3784 else if (name.equals("useContext")) { 3785 return addUseContext(); 3786 } 3787 else if (name.equals("jurisdiction")) { 3788 return addJurisdiction(); 3789 } 3790 else if (name.equals("purpose")) { 3791 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.purpose"); 3792 } 3793 else if (name.equals("copyright")) { 3794 throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.copyright"); 3795 } 3796 else if (name.equals("sourceUri")) { 3797 this.source = new UriType(); 3798 return this.source; 3799 } 3800 else if (name.equals("sourceCanonical")) { 3801 this.source = new CanonicalType(); 3802 return this.source; 3803 } 3804 else if (name.equals("targetUri")) { 3805 this.target = new UriType(); 3806 return this.target; 3807 } 3808 else if (name.equals("targetCanonical")) { 3809 this.target = new CanonicalType(); 3810 return this.target; 3811 } 3812 else if (name.equals("group")) { 3813 return addGroup(); 3814 } 3815 else 3816 return super.addChild(name); 3817 } 3818 3819 public String fhirType() { 3820 return "ConceptMap"; 3821 3822 } 3823 3824 public ConceptMap copy() { 3825 ConceptMap dst = new ConceptMap(); 3826 copyValues(dst); 3827 return dst; 3828 } 3829 3830 public void copyValues(ConceptMap dst) { 3831 super.copyValues(dst); 3832 dst.url = url == null ? null : url.copy(); 3833 dst.identifier = identifier == null ? null : identifier.copy(); 3834 dst.version = version == null ? null : version.copy(); 3835 dst.name = name == null ? null : name.copy(); 3836 dst.title = title == null ? null : title.copy(); 3837 dst.status = status == null ? null : status.copy(); 3838 dst.experimental = experimental == null ? null : experimental.copy(); 3839 dst.date = date == null ? null : date.copy(); 3840 dst.publisher = publisher == null ? null : publisher.copy(); 3841 if (contact != null) { 3842 dst.contact = new ArrayList<ContactDetail>(); 3843 for (ContactDetail i : contact) 3844 dst.contact.add(i.copy()); 3845 }; 3846 dst.description = description == null ? null : description.copy(); 3847 if (useContext != null) { 3848 dst.useContext = new ArrayList<UsageContext>(); 3849 for (UsageContext i : useContext) 3850 dst.useContext.add(i.copy()); 3851 }; 3852 if (jurisdiction != null) { 3853 dst.jurisdiction = new ArrayList<CodeableConcept>(); 3854 for (CodeableConcept i : jurisdiction) 3855 dst.jurisdiction.add(i.copy()); 3856 }; 3857 dst.purpose = purpose == null ? null : purpose.copy(); 3858 dst.copyright = copyright == null ? null : copyright.copy(); 3859 dst.source = source == null ? null : source.copy(); 3860 dst.target = target == null ? null : target.copy(); 3861 if (group != null) { 3862 dst.group = new ArrayList<ConceptMapGroupComponent>(); 3863 for (ConceptMapGroupComponent i : group) 3864 dst.group.add(i.copy()); 3865 }; 3866 } 3867 3868 protected ConceptMap typedCopy() { 3869 return copy(); 3870 } 3871 3872 @Override 3873 public boolean equalsDeep(Base other_) { 3874 if (!super.equalsDeep(other_)) 3875 return false; 3876 if (!(other_ instanceof ConceptMap)) 3877 return false; 3878 ConceptMap o = (ConceptMap) other_; 3879 return compareDeep(url, o.url, true) && compareDeep(identifier, o.identifier, true) && compareDeep(version, o.version, true) 3880 && compareDeep(name, o.name, true) && compareDeep(title, o.title, true) && compareDeep(status, o.status, true) 3881 && compareDeep(experimental, o.experimental, true) && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) 3882 && compareDeep(contact, o.contact, true) && compareDeep(description, o.description, true) && compareDeep(useContext, o.useContext, true) 3883 && compareDeep(jurisdiction, o.jurisdiction, true) && compareDeep(purpose, o.purpose, true) && compareDeep(copyright, o.copyright, true) 3884 && compareDeep(source, o.source, true) && compareDeep(target, o.target, true) && compareDeep(group, o.group, true) 3885 ; 3886 } 3887 3888 @Override 3889 public boolean equalsShallow(Base other_) { 3890 if (!super.equalsShallow(other_)) 3891 return false; 3892 if (!(other_ instanceof ConceptMap)) 3893 return false; 3894 ConceptMap o = (ConceptMap) other_; 3895 return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) 3896 && compareValues(title, o.title, true) && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true) 3897 && compareValues(date, o.date, true) && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true) 3898 && compareValues(purpose, o.purpose, true) && compareValues(copyright, o.copyright, true); 3899 } 3900 3901 public boolean isEmpty() { 3902 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, identifier, version 3903 , name, title, status, experimental, date, publisher, contact, description, useContext 3904 , jurisdiction, purpose, copyright, source, target, group); 3905 } 3906 3907 @Override 3908 public ResourceType getResourceType() { 3909 return ResourceType.ConceptMap; 3910 } 3911 3912 /** 3913 * Search parameter: <b>dependson</b> 3914 * <p> 3915 * Description: <b>Reference to property mapping depends on</b><br> 3916 * Type: <b>uri</b><br> 3917 * Path: <b>ConceptMap.group.element.target.dependsOn.property</b><br> 3918 * </p> 3919 */ 3920 @SearchParamDefinition(name="dependson", path="ConceptMap.group.element.target.dependsOn.property", description="Reference to property mapping depends on", type="uri" ) 3921 public static final String SP_DEPENDSON = "dependson"; 3922 /** 3923 * <b>Fluent Client</b> search parameter constant for <b>dependson</b> 3924 * <p> 3925 * Description: <b>Reference to property mapping depends on</b><br> 3926 * Type: <b>uri</b><br> 3927 * Path: <b>ConceptMap.group.element.target.dependsOn.property</b><br> 3928 * </p> 3929 */ 3930 public static final ca.uhn.fhir.rest.gclient.UriClientParam DEPENDSON = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_DEPENDSON); 3931 3932 /** 3933 * Search parameter: <b>other</b> 3934 * <p> 3935 * Description: <b>canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped</b><br> 3936 * Type: <b>reference</b><br> 3937 * Path: <b>ConceptMap.group.unmapped.url</b><br> 3938 * </p> 3939 */ 3940 @SearchParamDefinition(name="other", path="ConceptMap.group.unmapped.url", description="canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped", type="reference", target={ConceptMap.class } ) 3941 public static final String SP_OTHER = "other"; 3942 /** 3943 * <b>Fluent Client</b> search parameter constant for <b>other</b> 3944 * <p> 3945 * Description: <b>canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped</b><br> 3946 * Type: <b>reference</b><br> 3947 * Path: <b>ConceptMap.group.unmapped.url</b><br> 3948 * </p> 3949 */ 3950 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OTHER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_OTHER); 3951 3952/** 3953 * Constant for fluent queries to be used to add include statements. Specifies 3954 * the path value of "<b>ConceptMap:other</b>". 3955 */ 3956 public static final ca.uhn.fhir.model.api.Include INCLUDE_OTHER = new ca.uhn.fhir.model.api.Include("ConceptMap:other").toLocked(); 3957 3958 /** 3959 * Search parameter: <b>product</b> 3960 * <p> 3961 * Description: <b>Reference to property mapping depends on</b><br> 3962 * Type: <b>uri</b><br> 3963 * Path: <b>ConceptMap.group.element.target.product.property</b><br> 3964 * </p> 3965 */ 3966 @SearchParamDefinition(name="product", path="ConceptMap.group.element.target.product.property", description="Reference to property mapping depends on", type="uri" ) 3967 public static final String SP_PRODUCT = "product"; 3968 /** 3969 * <b>Fluent Client</b> search parameter constant for <b>product</b> 3970 * <p> 3971 * Description: <b>Reference to property mapping depends on</b><br> 3972 * Type: <b>uri</b><br> 3973 * Path: <b>ConceptMap.group.element.target.product.property</b><br> 3974 * </p> 3975 */ 3976 public static final ca.uhn.fhir.rest.gclient.UriClientParam PRODUCT = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_PRODUCT); 3977 3978 /** 3979 * Search parameter: <b>source-code</b> 3980 * <p> 3981 * Description: <b>Identifies element being mapped</b><br> 3982 * Type: <b>token</b><br> 3983 * Path: <b>ConceptMap.group.element.code</b><br> 3984 * </p> 3985 */ 3986 @SearchParamDefinition(name="source-code", path="ConceptMap.group.element.code", description="Identifies element being mapped", type="token" ) 3987 public static final String SP_SOURCE_CODE = "source-code"; 3988 /** 3989 * <b>Fluent Client</b> search parameter constant for <b>source-code</b> 3990 * <p> 3991 * Description: <b>Identifies element being mapped</b><br> 3992 * Type: <b>token</b><br> 3993 * Path: <b>ConceptMap.group.element.code</b><br> 3994 * </p> 3995 */ 3996 public static final ca.uhn.fhir.rest.gclient.TokenClientParam SOURCE_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SOURCE_CODE); 3997 3998 /** 3999 * Search parameter: <b>source-system</b> 4000 * <p> 4001 * Description: <b>Source system where concepts to be mapped are defined</b><br> 4002 * Type: <b>uri</b><br> 4003 * Path: <b>ConceptMap.group.source</b><br> 4004 * </p> 4005 */ 4006 @SearchParamDefinition(name="source-system", path="ConceptMap.group.source", description="Source system where concepts to be mapped are defined", type="uri" ) 4007 public static final String SP_SOURCE_SYSTEM = "source-system"; 4008 /** 4009 * <b>Fluent Client</b> search parameter constant for <b>source-system</b> 4010 * <p> 4011 * Description: <b>Source system where concepts to be mapped are defined</b><br> 4012 * Type: <b>uri</b><br> 4013 * Path: <b>ConceptMap.group.source</b><br> 4014 * </p> 4015 */ 4016 public static final ca.uhn.fhir.rest.gclient.UriClientParam SOURCE_SYSTEM = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_SOURCE_SYSTEM); 4017 4018 /** 4019 * Search parameter: <b>source-uri</b> 4020 * <p> 4021 * Description: <b>The source value set that contains the concepts that are being mapped</b><br> 4022 * Type: <b>reference</b><br> 4023 * Path: <b>(ConceptMap.source as uri)</b><br> 4024 * </p> 4025 */ 4026 @SearchParamDefinition(name="source-uri", path="(ConceptMap.source as uri)", description="The source value set that contains the concepts that are being mapped", type="reference", target={ValueSet.class } ) 4027 public static final String SP_SOURCE_URI = "source-uri"; 4028 /** 4029 * <b>Fluent Client</b> search parameter constant for <b>source-uri</b> 4030 * <p> 4031 * Description: <b>The source value set that contains the concepts that are being mapped</b><br> 4032 * Type: <b>reference</b><br> 4033 * Path: <b>(ConceptMap.source as uri)</b><br> 4034 * </p> 4035 */ 4036 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE_URI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE_URI); 4037 4038/** 4039 * Constant for fluent queries to be used to add include statements. Specifies 4040 * the path value of "<b>ConceptMap:source-uri</b>". 4041 */ 4042 public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE_URI = new ca.uhn.fhir.model.api.Include("ConceptMap:source-uri").toLocked(); 4043 4044 /** 4045 * Search parameter: <b>source</b> 4046 * <p> 4047 * Description: <b>The source value set that contains the concepts that are being mapped</b><br> 4048 * Type: <b>reference</b><br> 4049 * Path: <b>(ConceptMap.source as canonical)</b><br> 4050 * </p> 4051 */ 4052 @SearchParamDefinition(name="source", path="(ConceptMap.source as canonical)", description="The source value set that contains the concepts that are being mapped", type="reference", target={ValueSet.class } ) 4053 public static final String SP_SOURCE = "source"; 4054 /** 4055 * <b>Fluent Client</b> search parameter constant for <b>source</b> 4056 * <p> 4057 * Description: <b>The source value set that contains the concepts that are being mapped</b><br> 4058 * Type: <b>reference</b><br> 4059 * Path: <b>(ConceptMap.source as canonical)</b><br> 4060 * </p> 4061 */ 4062 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); 4063 4064/** 4065 * Constant for fluent queries to be used to add include statements. Specifies 4066 * the path value of "<b>ConceptMap:source</b>". 4067 */ 4068 public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("ConceptMap:source").toLocked(); 4069 4070 /** 4071 * Search parameter: <b>target-code</b> 4072 * <p> 4073 * Description: <b>Code that identifies the target element</b><br> 4074 * Type: <b>token</b><br> 4075 * Path: <b>ConceptMap.group.element.target.code</b><br> 4076 * </p> 4077 */ 4078 @SearchParamDefinition(name="target-code", path="ConceptMap.group.element.target.code", description="Code that identifies the target element", type="token" ) 4079 public static final String SP_TARGET_CODE = "target-code"; 4080 /** 4081 * <b>Fluent Client</b> search parameter constant for <b>target-code</b> 4082 * <p> 4083 * Description: <b>Code that identifies the target element</b><br> 4084 * Type: <b>token</b><br> 4085 * Path: <b>ConceptMap.group.element.target.code</b><br> 4086 * </p> 4087 */ 4088 public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET_CODE); 4089 4090 /** 4091 * Search parameter: <b>target-system</b> 4092 * <p> 4093 * Description: <b>Target system that the concepts are to be mapped to</b><br> 4094 * Type: <b>uri</b><br> 4095 * Path: <b>ConceptMap.group.target</b><br> 4096 * </p> 4097 */ 4098 @SearchParamDefinition(name="target-system", path="ConceptMap.group.target", description="Target system that the concepts are to be mapped to", type="uri" ) 4099 public static final String SP_TARGET_SYSTEM = "target-system"; 4100 /** 4101 * <b>Fluent Client</b> search parameter constant for <b>target-system</b> 4102 * <p> 4103 * Description: <b>Target system that the concepts are to be mapped to</b><br> 4104 * Type: <b>uri</b><br> 4105 * Path: <b>ConceptMap.group.target</b><br> 4106 * </p> 4107 */ 4108 public static final ca.uhn.fhir.rest.gclient.UriClientParam TARGET_SYSTEM = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_TARGET_SYSTEM); 4109 4110 /** 4111 * Search parameter: <b>target-uri</b> 4112 * <p> 4113 * Description: <b>The target value set which provides context for the mappings</b><br> 4114 * Type: <b>reference</b><br> 4115 * Path: <b>(ConceptMap.target as uri)</b><br> 4116 * </p> 4117 */ 4118 @SearchParamDefinition(name="target-uri", path="(ConceptMap.target as uri)", description="The target value set which provides context for the mappings", type="reference", target={ValueSet.class } ) 4119 public static final String SP_TARGET_URI = "target-uri"; 4120 /** 4121 * <b>Fluent Client</b> search parameter constant for <b>target-uri</b> 4122 * <p> 4123 * Description: <b>The target value set which provides context for the mappings</b><br> 4124 * Type: <b>reference</b><br> 4125 * Path: <b>(ConceptMap.target as uri)</b><br> 4126 * </p> 4127 */ 4128 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET_URI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET_URI); 4129 4130/** 4131 * Constant for fluent queries to be used to add include statements. Specifies 4132 * the path value of "<b>ConceptMap:target-uri</b>". 4133 */ 4134 public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET_URI = new ca.uhn.fhir.model.api.Include("ConceptMap:target-uri").toLocked(); 4135 4136 /** 4137 * Search parameter: <b>target</b> 4138 * <p> 4139 * Description: <b>The target value set which provides context for the mappings</b><br> 4140 * Type: <b>reference</b><br> 4141 * Path: <b>(ConceptMap.target as canonical)</b><br> 4142 * </p> 4143 */ 4144 @SearchParamDefinition(name="target", path="(ConceptMap.target as canonical)", description="The target value set which provides context for the mappings", type="reference", target={ValueSet.class } ) 4145 public static final String SP_TARGET = "target"; 4146 /** 4147 * <b>Fluent Client</b> search parameter constant for <b>target</b> 4148 * <p> 4149 * Description: <b>The target value set which provides context for the mappings</b><br> 4150 * Type: <b>reference</b><br> 4151 * Path: <b>(ConceptMap.target as canonical)</b><br> 4152 * </p> 4153 */ 4154 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET); 4155 4156/** 4157 * Constant for fluent queries to be used to add include statements. Specifies 4158 * the path value of "<b>ConceptMap:target</b>". 4159 */ 4160 public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET = new ca.uhn.fhir.model.api.Include("ConceptMap:target").toLocked(); 4161 4162 /** 4163 * Search parameter: <b>context-quantity</b> 4164 * <p> 4165 * Description: <b>Multiple Resources: 4166 4167* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement 4168* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system 4169* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition 4170* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map 4171* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition 4172* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide 4173* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition 4174* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system 4175* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition 4176* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter 4177* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition 4178* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map 4179* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities 4180* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set 4181</b><br> 4182 * Type: <b>quantity</b><br> 4183 * Path: <b>(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)</b><br> 4184 * </p> 4185 */ 4186 @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) 4187 public static final String SP_CONTEXT_QUANTITY = "context-quantity"; 4188 /** 4189 * <b>Fluent Client</b> search parameter constant for <b>context-quantity</b> 4190 * <p> 4191 * Description: <b>Multiple Resources: 4192 4193* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement 4194* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system 4195* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition 4196* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map 4197* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition 4198* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide 4199* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition 4200* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system 4201* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition 4202* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter 4203* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition 4204* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map 4205* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities 4206* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set 4207</b><br> 4208 * Type: <b>quantity</b><br> 4209 * Path: <b>(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)</b><br> 4210 * </p> 4211 */ 4212 public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); 4213 4214 /** 4215 * Search parameter: <b>context-type-quantity</b> 4216 * <p> 4217 * Description: <b>Multiple Resources: 4218 4219* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement 4220* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system 4221* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition 4222* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map 4223* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition 4224* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide 4225* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition 4226* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system 4227* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition 4228* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter 4229* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition 4230* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map 4231* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities 4232* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set 4233</b><br> 4234 * Type: <b>composite</b><br> 4235 * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br> 4236 * </p> 4237 */ 4238 @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) 4239 public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; 4240 /** 4241 * <b>Fluent Client</b> search parameter constant for <b>context-type-quantity</b> 4242 * <p> 4243 * Description: <b>Multiple Resources: 4244 4245* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement 4246* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system 4247* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition 4248* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map 4249* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition 4250* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide 4251* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition 4252* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system 4253* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition 4254* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter 4255* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition 4256* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map 4257* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities 4258* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set 4259</b><br> 4260 * Type: <b>composite</b><br> 4261 * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br> 4262 * </p> 4263 */ 4264 public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.QuantityClientParam> CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.QuantityClientParam>(SP_CONTEXT_TYPE_QUANTITY); 4265 4266 /** 4267 * Search parameter: <b>context-type-value</b> 4268 * <p> 4269 * Description: <b>Multiple Resources: 4270 4271* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement 4272* [CodeSystem](codesystem.html): A use context type and value assigned to the code system 4273* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition 4274* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map 4275* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition 4276* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide 4277* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition 4278* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system 4279* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition 4280* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter 4281* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition 4282* [StructureMap](structuremap.html): A use context type and value assigned to the structure map 4283* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities 4284* [ValueSet](valueset.html): A use context type and value assigned to the value set 4285</b><br> 4286 * Type: <b>composite</b><br> 4287 * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br> 4288 * </p> 4289 */ 4290 @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) 4291 public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; 4292 /** 4293 * <b>Fluent Client</b> search parameter constant for <b>context-type-value</b> 4294 * <p> 4295 * Description: <b>Multiple Resources: 4296 4297* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement 4298* [CodeSystem](codesystem.html): A use context type and value assigned to the code system 4299* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition 4300* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map 4301* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition 4302* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide 4303* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition 4304* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system 4305* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition 4306* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter 4307* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition 4308* [StructureMap](structuremap.html): A use context type and value assigned to the structure map 4309* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities 4310* [ValueSet](valueset.html): A use context type and value assigned to the value set 4311</b><br> 4312 * Type: <b>composite</b><br> 4313 * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br> 4314 * </p> 4315 */ 4316 public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.TokenClientParam> CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.TokenClientParam>(SP_CONTEXT_TYPE_VALUE); 4317 4318 /** 4319 * Search parameter: <b>context-type</b> 4320 * <p> 4321 * Description: <b>Multiple Resources: 4322 4323* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement 4324* [CodeSystem](codesystem.html): A type of use context assigned to the code system 4325* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition 4326* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map 4327* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition 4328* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide 4329* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition 4330* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system 4331* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition 4332* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter 4333* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition 4334* [StructureMap](structuremap.html): A type of use context assigned to the structure map 4335* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities 4336* [ValueSet](valueset.html): A type of use context assigned to the value set 4337</b><br> 4338 * Type: <b>token</b><br> 4339 * Path: <b>CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code</b><br> 4340 * </p> 4341 */ 4342 @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) 4343 public static final String SP_CONTEXT_TYPE = "context-type"; 4344 /** 4345 * <b>Fluent Client</b> search parameter constant for <b>context-type</b> 4346 * <p> 4347 * Description: <b>Multiple Resources: 4348 4349* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement 4350* [CodeSystem](codesystem.html): A type of use context assigned to the code system 4351* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition 4352* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map 4353* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition 4354* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide 4355* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition 4356* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system 4357* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition 4358* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter 4359* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition 4360* [StructureMap](structuremap.html): A type of use context assigned to the structure map 4361* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities 4362* [ValueSet](valueset.html): A type of use context assigned to the value set 4363</b><br> 4364 * Type: <b>token</b><br> 4365 * Path: <b>CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code</b><br> 4366 * </p> 4367 */ 4368 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); 4369 4370 /** 4371 * Search parameter: <b>context</b> 4372 * <p> 4373 * Description: <b>Multiple Resources: 4374 4375* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement 4376* [CodeSystem](codesystem.html): A use context assigned to the code system 4377* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition 4378* [ConceptMap](conceptmap.html): A use context assigned to the concept map 4379* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition 4380* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide 4381* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition 4382* [NamingSystem](namingsystem.html): A use context assigned to the naming system 4383* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition 4384* [SearchParameter](searchparameter.html): A use context assigned to the search parameter 4385* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition 4386* [StructureMap](structuremap.html): A use context assigned to the structure map 4387* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities 4388* [ValueSet](valueset.html): A use context assigned to the value set 4389</b><br> 4390 * Type: <b>token</b><br> 4391 * Path: <b>(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)</b><br> 4392 * </p> 4393 */ 4394 @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) 4395 public static final String SP_CONTEXT = "context"; 4396 /** 4397 * <b>Fluent Client</b> search parameter constant for <b>context</b> 4398 * <p> 4399 * Description: <b>Multiple Resources: 4400 4401* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement 4402* [CodeSystem](codesystem.html): A use context assigned to the code system 4403* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition 4404* [ConceptMap](conceptmap.html): A use context assigned to the concept map 4405* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition 4406* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide 4407* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition 4408* [NamingSystem](namingsystem.html): A use context assigned to the naming system 4409* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition 4410* [SearchParameter](searchparameter.html): A use context assigned to the search parameter 4411* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition 4412* [StructureMap](structuremap.html): A use context assigned to the structure map 4413* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities 4414* [ValueSet](valueset.html): A use context assigned to the value set 4415</b><br> 4416 * Type: <b>token</b><br> 4417 * Path: <b>(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)</b><br> 4418 * </p> 4419 */ 4420 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); 4421 4422 /** 4423 * Search parameter: <b>date</b> 4424 * <p> 4425 * Description: <b>Multiple Resources: 4426 4427* [CapabilityStatement](capabilitystatement.html): The capability statement publication date 4428* [CodeSystem](codesystem.html): The code system publication date 4429* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date 4430* [ConceptMap](conceptmap.html): The concept map publication date 4431* [GraphDefinition](graphdefinition.html): The graph definition publication date 4432* [ImplementationGuide](implementationguide.html): The implementation guide publication date 4433* [MessageDefinition](messagedefinition.html): The message definition publication date 4434* [NamingSystem](namingsystem.html): The naming system publication date 4435* [OperationDefinition](operationdefinition.html): The operation definition publication date 4436* [SearchParameter](searchparameter.html): The search parameter publication date 4437* [StructureDefinition](structuredefinition.html): The structure definition publication date 4438* [StructureMap](structuremap.html): The structure map publication date 4439* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date 4440* [ValueSet](valueset.html): The value set publication date 4441</b><br> 4442 * Type: <b>date</b><br> 4443 * Path: <b>CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date</b><br> 4444 * </p> 4445 */ 4446 @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) 4447 public static final String SP_DATE = "date"; 4448 /** 4449 * <b>Fluent Client</b> search parameter constant for <b>date</b> 4450 * <p> 4451 * Description: <b>Multiple Resources: 4452 4453* [CapabilityStatement](capabilitystatement.html): The capability statement publication date 4454* [CodeSystem](codesystem.html): The code system publication date 4455* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date 4456* [ConceptMap](conceptmap.html): The concept map publication date 4457* [GraphDefinition](graphdefinition.html): The graph definition publication date 4458* [ImplementationGuide](implementationguide.html): The implementation guide publication date 4459* [MessageDefinition](messagedefinition.html): The message definition publication date 4460* [NamingSystem](namingsystem.html): The naming system publication date 4461* [OperationDefinition](operationdefinition.html): The operation definition publication date 4462* [SearchParameter](searchparameter.html): The search parameter publication date 4463* [StructureDefinition](structuredefinition.html): The structure definition publication date 4464* [StructureMap](structuremap.html): The structure map publication date 4465* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date 4466* [ValueSet](valueset.html): The value set publication date 4467</b><br> 4468 * Type: <b>date</b><br> 4469 * Path: <b>CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date</b><br> 4470 * </p> 4471 */ 4472 public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); 4473 4474 /** 4475 * Search parameter: <b>description</b> 4476 * <p> 4477 * Description: <b>Multiple Resources: 4478 4479* [CapabilityStatement](capabilitystatement.html): The description of the capability statement 4480* [CodeSystem](codesystem.html): The description of the code system 4481* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition 4482* [ConceptMap](conceptmap.html): The description of the concept map 4483* [GraphDefinition](graphdefinition.html): The description of the graph definition 4484* [ImplementationGuide](implementationguide.html): The description of the implementation guide 4485* [MessageDefinition](messagedefinition.html): The description of the message definition 4486* [NamingSystem](namingsystem.html): The description of the naming system 4487* [OperationDefinition](operationdefinition.html): The description of the operation definition 4488* [SearchParameter](searchparameter.html): The description of the search parameter 4489* [StructureDefinition](structuredefinition.html): The description of the structure definition 4490* [StructureMap](structuremap.html): The description of the structure map 4491* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities 4492* [ValueSet](valueset.html): The description of the value set 4493</b><br> 4494 * Type: <b>string</b><br> 4495 * Path: <b>CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description</b><br> 4496 * </p> 4497 */ 4498 @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) 4499 public static final String SP_DESCRIPTION = "description"; 4500 /** 4501 * <b>Fluent Client</b> search parameter constant for <b>description</b> 4502 * <p> 4503 * Description: <b>Multiple Resources: 4504 4505* [CapabilityStatement](capabilitystatement.html): The description of the capability statement 4506* [CodeSystem](codesystem.html): The description of the code system 4507* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition 4508* [ConceptMap](conceptmap.html): The description of the concept map 4509* [GraphDefinition](graphdefinition.html): The description of the graph definition 4510* [ImplementationGuide](implementationguide.html): The description of the implementation guide 4511* [MessageDefinition](messagedefinition.html): The description of the message definition 4512* [NamingSystem](namingsystem.html): The description of the naming system 4513* [OperationDefinition](operationdefinition.html): The description of the operation definition 4514* [SearchParameter](searchparameter.html): The description of the search parameter 4515* [StructureDefinition](structuredefinition.html): The description of the structure definition 4516* [StructureMap](structuremap.html): The description of the structure map 4517* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities 4518* [ValueSet](valueset.html): The description of the value set 4519</b><br> 4520 * Type: <b>string</b><br> 4521 * Path: <b>CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description</b><br> 4522 * </p> 4523 */ 4524 public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); 4525 4526 /** 4527 * Search parameter: <b>identifier</b> 4528 * <p> 4529 * Description: <b>Multiple Resources: 4530 4531* [CodeSystem](codesystem.html): External identifier for the code system 4532* [ConceptMap](conceptmap.html): External identifier for the concept map 4533* [MessageDefinition](messagedefinition.html): External identifier for the message definition 4534* [StructureDefinition](structuredefinition.html): External identifier for the structure definition 4535* [StructureMap](structuremap.html): External identifier for the structure map 4536* [ValueSet](valueset.html): External identifier for the value set 4537</b><br> 4538 * Type: <b>token</b><br> 4539 * Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier</b><br> 4540 * </p> 4541 */ 4542 @SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" ) 4543 public static final String SP_IDENTIFIER = "identifier"; 4544 /** 4545 * <b>Fluent Client</b> search parameter constant for <b>identifier</b> 4546 * <p> 4547 * Description: <b>Multiple Resources: 4548 4549* [CodeSystem](codesystem.html): External identifier for the code system 4550* [ConceptMap](conceptmap.html): External identifier for the concept map 4551* [MessageDefinition](messagedefinition.html): External identifier for the message definition 4552* [StructureDefinition](structuredefinition.html): External identifier for the structure definition 4553* [StructureMap](structuremap.html): External identifier for the structure map 4554* [ValueSet](valueset.html): External identifier for the value set 4555</b><br> 4556 * Type: <b>token</b><br> 4557 * Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier</b><br> 4558 * </p> 4559 */ 4560 public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); 4561 4562 /** 4563 * Search parameter: <b>jurisdiction</b> 4564 * <p> 4565 * Description: <b>Multiple Resources: 4566 4567* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement 4568* [CodeSystem](codesystem.html): Intended jurisdiction for the code system 4569* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map 4570* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition 4571* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide 4572* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition 4573* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system 4574* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition 4575* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter 4576* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition 4577* [StructureMap](structuremap.html): Intended jurisdiction for the structure map 4578* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities 4579* [ValueSet](valueset.html): Intended jurisdiction for the value set 4580</b><br> 4581 * Type: <b>token</b><br> 4582 * Path: <b>CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction</b><br> 4583 * </p> 4584 */ 4585 @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) 4586 public static final String SP_JURISDICTION = "jurisdiction"; 4587 /** 4588 * <b>Fluent Client</b> search parameter constant for <b>jurisdiction</b> 4589 * <p> 4590 * Description: <b>Multiple Resources: 4591 4592* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement 4593* [CodeSystem](codesystem.html): Intended jurisdiction for the code system 4594* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map 4595* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition 4596* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide 4597* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition 4598* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system 4599* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition 4600* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter 4601* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition 4602* [StructureMap](structuremap.html): Intended jurisdiction for the structure map 4603* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities 4604* [ValueSet](valueset.html): Intended jurisdiction for the value set 4605</b><br> 4606 * Type: <b>token</b><br> 4607 * Path: <b>CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction</b><br> 4608 * </p> 4609 */ 4610 public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); 4611 4612 /** 4613 * Search parameter: <b>name</b> 4614 * <p> 4615 * Description: <b>Multiple Resources: 4616 4617* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement 4618* [CodeSystem](codesystem.html): Computationally friendly name of the code system 4619* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition 4620* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map 4621* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition 4622* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide 4623* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition 4624* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system 4625* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition 4626* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter 4627* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition 4628* [StructureMap](structuremap.html): Computationally friendly name of the structure map 4629* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities 4630* [ValueSet](valueset.html): Computationally friendly name of the value set 4631</b><br> 4632 * Type: <b>string</b><br> 4633 * Path: <b>CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name</b><br> 4634 * </p> 4635 */ 4636 @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) 4637 public static final String SP_NAME = "name"; 4638 /** 4639 * <b>Fluent Client</b> search parameter constant for <b>name</b> 4640 * <p> 4641 * Description: <b>Multiple Resources: 4642 4643* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement 4644* [CodeSystem](codesystem.html): Computationally friendly name of the code system 4645* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition 4646* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map 4647* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition 4648* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide 4649* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition 4650* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system 4651* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition 4652* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter 4653* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition 4654* [StructureMap](structuremap.html): Computationally friendly name of the structure map 4655* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities 4656* [ValueSet](valueset.html): Computationally friendly name of the value set 4657</b><br> 4658 * Type: <b>string</b><br> 4659 * Path: <b>CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name</b><br> 4660 * </p> 4661 */ 4662 public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); 4663 4664 /** 4665 * Search parameter: <b>publisher</b> 4666 * <p> 4667 * Description: <b>Multiple Resources: 4668 4669* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement 4670* [CodeSystem](codesystem.html): Name of the publisher of the code system 4671* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition 4672* [ConceptMap](conceptmap.html): Name of the publisher of the concept map 4673* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition 4674* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide 4675* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition 4676* [NamingSystem](namingsystem.html): Name of the publisher of the naming system 4677* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition 4678* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter 4679* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition 4680* [StructureMap](structuremap.html): Name of the publisher of the structure map 4681* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities 4682* [ValueSet](valueset.html): Name of the publisher of the value set 4683</b><br> 4684 * Type: <b>string</b><br> 4685 * Path: <b>CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher</b><br> 4686 * </p> 4687 */ 4688 @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) 4689 public static final String SP_PUBLISHER = "publisher"; 4690 /** 4691 * <b>Fluent Client</b> search parameter constant for <b>publisher</b> 4692 * <p> 4693 * Description: <b>Multiple Resources: 4694 4695* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement 4696* [CodeSystem](codesystem.html): Name of the publisher of the code system 4697* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition 4698* [ConceptMap](conceptmap.html): Name of the publisher of the concept map 4699* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition 4700* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide 4701* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition 4702* [NamingSystem](namingsystem.html): Name of the publisher of the naming system 4703* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition 4704* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter 4705* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition 4706* [StructureMap](structuremap.html): Name of the publisher of the structure map 4707* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities 4708* [ValueSet](valueset.html): Name of the publisher of the value set 4709</b><br> 4710 * Type: <b>string</b><br> 4711 * Path: <b>CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher</b><br> 4712 * </p> 4713 */ 4714 public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); 4715 4716 /** 4717 * Search parameter: <b>status</b> 4718 * <p> 4719 * Description: <b>Multiple Resources: 4720 4721* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement 4722* [CodeSystem](codesystem.html): The current status of the code system 4723* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition 4724* [ConceptMap](conceptmap.html): The current status of the concept map 4725* [GraphDefinition](graphdefinition.html): The current status of the graph definition 4726* [ImplementationGuide](implementationguide.html): The current status of the implementation guide 4727* [MessageDefinition](messagedefinition.html): The current status of the message definition 4728* [NamingSystem](namingsystem.html): The current status of the naming system 4729* [OperationDefinition](operationdefinition.html): The current status of the operation definition 4730* [SearchParameter](searchparameter.html): The current status of the search parameter 4731* [StructureDefinition](structuredefinition.html): The current status of the structure definition 4732* [StructureMap](structuremap.html): The current status of the structure map 4733* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities 4734* [ValueSet](valueset.html): The current status of the value set 4735</b><br> 4736 * Type: <b>token</b><br> 4737 * Path: <b>CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status</b><br> 4738 * </p> 4739 */ 4740 @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) 4741 public static final String SP_STATUS = "status"; 4742 /** 4743 * <b>Fluent Client</b> search parameter constant for <b>status</b> 4744 * <p> 4745 * Description: <b>Multiple Resources: 4746 4747* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement 4748* [CodeSystem](codesystem.html): The current status of the code system 4749* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition 4750* [ConceptMap](conceptmap.html): The current status of the concept map 4751* [GraphDefinition](graphdefinition.html): The current status of the graph definition 4752* [ImplementationGuide](implementationguide.html): The current status of the implementation guide 4753* [MessageDefinition](messagedefinition.html): The current status of the message definition 4754* [NamingSystem](namingsystem.html): The current status of the naming system 4755* [OperationDefinition](operationdefinition.html): The current status of the operation definition 4756* [SearchParameter](searchparameter.html): The current status of the search parameter 4757* [StructureDefinition](structuredefinition.html): The current status of the structure definition 4758* [StructureMap](structuremap.html): The current status of the structure map 4759* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities 4760* [ValueSet](valueset.html): The current status of the value set 4761</b><br> 4762 * Type: <b>token</b><br> 4763 * Path: <b>CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status</b><br> 4764 * </p> 4765 */ 4766 public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); 4767 4768 /** 4769 * Search parameter: <b>title</b> 4770 * <p> 4771 * Description: <b>Multiple Resources: 4772 4773* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement 4774* [CodeSystem](codesystem.html): The human-friendly name of the code system 4775* [ConceptMap](conceptmap.html): The human-friendly name of the concept map 4776* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide 4777* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition 4778* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition 4779* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition 4780* [StructureMap](structuremap.html): The human-friendly name of the structure map 4781* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities 4782* [ValueSet](valueset.html): The human-friendly name of the value set 4783</b><br> 4784 * Type: <b>string</b><br> 4785 * Path: <b>CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title</b><br> 4786 * </p> 4787 */ 4788 @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) 4789 public static final String SP_TITLE = "title"; 4790 /** 4791 * <b>Fluent Client</b> search parameter constant for <b>title</b> 4792 * <p> 4793 * Description: <b>Multiple Resources: 4794 4795* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement 4796* [CodeSystem](codesystem.html): The human-friendly name of the code system 4797* [ConceptMap](conceptmap.html): The human-friendly name of the concept map 4798* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide 4799* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition 4800* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition 4801* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition 4802* [StructureMap](structuremap.html): The human-friendly name of the structure map 4803* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities 4804* [ValueSet](valueset.html): The human-friendly name of the value set 4805</b><br> 4806 * Type: <b>string</b><br> 4807 * Path: <b>CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title</b><br> 4808 * </p> 4809 */ 4810 public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); 4811 4812 /** 4813 * Search parameter: <b>url</b> 4814 * <p> 4815 * Description: <b>Multiple Resources: 4816 4817* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement 4818* [CodeSystem](codesystem.html): The uri that identifies the code system 4819* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition 4820* [ConceptMap](conceptmap.html): The uri that identifies the concept map 4821* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition 4822* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide 4823* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition 4824* [NamingSystem](namingsystem.html): The uri that identifies the naming system 4825* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition 4826* [SearchParameter](searchparameter.html): The uri that identifies the search parameter 4827* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition 4828* [StructureMap](structuremap.html): The uri that identifies the structure map 4829* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities 4830* [ValueSet](valueset.html): The uri that identifies the value set 4831</b><br> 4832 * Type: <b>uri</b><br> 4833 * Path: <b>CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url</b><br> 4834 * </p> 4835 */ 4836 @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) 4837 public static final String SP_URL = "url"; 4838 /** 4839 * <b>Fluent Client</b> search parameter constant for <b>url</b> 4840 * <p> 4841 * Description: <b>Multiple Resources: 4842 4843* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement 4844* [CodeSystem](codesystem.html): The uri that identifies the code system 4845* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition 4846* [ConceptMap](conceptmap.html): The uri that identifies the concept map 4847* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition 4848* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide 4849* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition 4850* [NamingSystem](namingsystem.html): The uri that identifies the naming system 4851* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition 4852* [SearchParameter](searchparameter.html): The uri that identifies the search parameter 4853* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition 4854* [StructureMap](structuremap.html): The uri that identifies the structure map 4855* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities 4856* [ValueSet](valueset.html): The uri that identifies the value set 4857</b><br> 4858 * Type: <b>uri</b><br> 4859 * Path: <b>CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url</b><br> 4860 * </p> 4861 */ 4862 public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); 4863 4864 /** 4865 * Search parameter: <b>version</b> 4866 * <p> 4867 * Description: <b>Multiple Resources: 4868 4869* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement 4870* [CodeSystem](codesystem.html): The business version of the code system 4871* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition 4872* [ConceptMap](conceptmap.html): The business version of the concept map 4873* [GraphDefinition](graphdefinition.html): The business version of the graph definition 4874* [ImplementationGuide](implementationguide.html): The business version of the implementation guide 4875* [MessageDefinition](messagedefinition.html): The business version of the message definition 4876* [NamingSystem](namingsystem.html): The business version of the naming system 4877* [OperationDefinition](operationdefinition.html): The business version of the operation definition 4878* [SearchParameter](searchparameter.html): The business version of the search parameter 4879* [StructureDefinition](structuredefinition.html): The business version of the structure definition 4880* [StructureMap](structuremap.html): The business version of the structure map 4881* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities 4882* [ValueSet](valueset.html): The business version of the value set 4883</b><br> 4884 * Type: <b>token</b><br> 4885 * Path: <b>CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version</b><br> 4886 * </p> 4887 */ 4888 @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) 4889 public static final String SP_VERSION = "version"; 4890 /** 4891 * <b>Fluent Client</b> search parameter constant for <b>version</b> 4892 * <p> 4893 * Description: <b>Multiple Resources: 4894 4895* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement 4896* [CodeSystem](codesystem.html): The business version of the code system 4897* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition 4898* [ConceptMap](conceptmap.html): The business version of the concept map 4899* [GraphDefinition](graphdefinition.html): The business version of the graph definition 4900* [ImplementationGuide](implementationguide.html): The business version of the implementation guide 4901* [MessageDefinition](messagedefinition.html): The business version of the message definition 4902* [NamingSystem](namingsystem.html): The business version of the naming system 4903* [OperationDefinition](operationdefinition.html): The business version of the operation definition 4904* [SearchParameter](searchparameter.html): The business version of the search parameter 4905* [StructureDefinition](structuredefinition.html): The business version of the structure definition 4906* [StructureMap](structuremap.html): The business version of the structure map 4907* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities 4908* [ValueSet](valueset.html): The business version of the value set 4909</b><br> 4910 * Type: <b>token</b><br> 4911 * Path: <b>CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version</b><br> 4912 * </p> 4913 */ 4914 public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); 4915 4916 4917} 4918