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