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 a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set. 072 */ 073@ResourceDef(name="GraphDefinition", profile="http://hl7.org/fhir/StructureDefinition/GraphDefinition") 074public class GraphDefinition extends CanonicalResource { 075 076 public enum GraphCompartmentRule { 077 /** 078 * The compartment must be identical (the same literal reference). 079 */ 080 IDENTICAL, 081 /** 082 * The compartment must be the same - the record must be about the same patient, but the reference may be different. 083 */ 084 MATCHING, 085 /** 086 * The compartment must be different. 087 */ 088 DIFFERENT, 089 /** 090 * The compartment rule is defined in the accompanying FHIRPath expression. 091 */ 092 CUSTOM, 093 /** 094 * added to help the parsers with the generic types 095 */ 096 NULL; 097 public static GraphCompartmentRule fromCode(String codeString) throws FHIRException { 098 if (codeString == null || "".equals(codeString)) 099 return null; 100 if ("identical".equals(codeString)) 101 return IDENTICAL; 102 if ("matching".equals(codeString)) 103 return MATCHING; 104 if ("different".equals(codeString)) 105 return DIFFERENT; 106 if ("custom".equals(codeString)) 107 return CUSTOM; 108 if (Configuration.isAcceptInvalidEnums()) 109 return null; 110 else 111 throw new FHIRException("Unknown GraphCompartmentRule code '"+codeString+"'"); 112 } 113 public String toCode() { 114 switch (this) { 115 case IDENTICAL: return "identical"; 116 case MATCHING: return "matching"; 117 case DIFFERENT: return "different"; 118 case CUSTOM: return "custom"; 119 default: return "?"; 120 } 121 } 122 public String getSystem() { 123 switch (this) { 124 case IDENTICAL: return "http://hl7.org/fhir/graph-compartment-rule"; 125 case MATCHING: return "http://hl7.org/fhir/graph-compartment-rule"; 126 case DIFFERENT: return "http://hl7.org/fhir/graph-compartment-rule"; 127 case CUSTOM: return "http://hl7.org/fhir/graph-compartment-rule"; 128 default: return "?"; 129 } 130 } 131 public String getDefinition() { 132 switch (this) { 133 case IDENTICAL: return "The compartment must be identical (the same literal reference)."; 134 case MATCHING: return "The compartment must be the same - the record must be about the same patient, but the reference may be different."; 135 case DIFFERENT: return "The compartment must be different."; 136 case CUSTOM: return "The compartment rule is defined in the accompanying FHIRPath expression."; 137 default: return "?"; 138 } 139 } 140 public String getDisplay() { 141 switch (this) { 142 case IDENTICAL: return "Identical"; 143 case MATCHING: return "Matching"; 144 case DIFFERENT: return "Different"; 145 case CUSTOM: return "Custom"; 146 default: return "?"; 147 } 148 } 149 } 150 151 public static class GraphCompartmentRuleEnumFactory implements EnumFactory<GraphCompartmentRule> { 152 public GraphCompartmentRule fromCode(String codeString) throws IllegalArgumentException { 153 if (codeString == null || "".equals(codeString)) 154 if (codeString == null || "".equals(codeString)) 155 return null; 156 if ("identical".equals(codeString)) 157 return GraphCompartmentRule.IDENTICAL; 158 if ("matching".equals(codeString)) 159 return GraphCompartmentRule.MATCHING; 160 if ("different".equals(codeString)) 161 return GraphCompartmentRule.DIFFERENT; 162 if ("custom".equals(codeString)) 163 return GraphCompartmentRule.CUSTOM; 164 throw new IllegalArgumentException("Unknown GraphCompartmentRule code '"+codeString+"'"); 165 } 166 public Enumeration<GraphCompartmentRule> fromType(Base code) throws FHIRException { 167 if (code == null) 168 return null; 169 if (code.isEmpty()) 170 return new Enumeration<GraphCompartmentRule>(this); 171 String codeString = ((PrimitiveType) code).asStringValue(); 172 if (codeString == null || "".equals(codeString)) 173 return null; 174 if ("identical".equals(codeString)) 175 return new Enumeration<GraphCompartmentRule>(this, GraphCompartmentRule.IDENTICAL); 176 if ("matching".equals(codeString)) 177 return new Enumeration<GraphCompartmentRule>(this, GraphCompartmentRule.MATCHING); 178 if ("different".equals(codeString)) 179 return new Enumeration<GraphCompartmentRule>(this, GraphCompartmentRule.DIFFERENT); 180 if ("custom".equals(codeString)) 181 return new Enumeration<GraphCompartmentRule>(this, GraphCompartmentRule.CUSTOM); 182 throw new FHIRException("Unknown GraphCompartmentRule code '"+codeString+"'"); 183 } 184 public String toCode(GraphCompartmentRule code) { 185 if (code == GraphCompartmentRule.IDENTICAL) 186 return "identical"; 187 if (code == GraphCompartmentRule.MATCHING) 188 return "matching"; 189 if (code == GraphCompartmentRule.DIFFERENT) 190 return "different"; 191 if (code == GraphCompartmentRule.CUSTOM) 192 return "custom"; 193 return "?"; 194 } 195 public String toSystem(GraphCompartmentRule code) { 196 return code.getSystem(); 197 } 198 } 199 200 public enum GraphCompartmentUse { 201 /** 202 * This compartment rule is a condition for whether the rule applies. 203 */ 204 CONDITION, 205 /** 206 * This compartment rule is enforced on any relationships that meet the conditions. 207 */ 208 REQUIREMENT, 209 /** 210 * added to help the parsers with the generic types 211 */ 212 NULL; 213 public static GraphCompartmentUse fromCode(String codeString) throws FHIRException { 214 if (codeString == null || "".equals(codeString)) 215 return null; 216 if ("condition".equals(codeString)) 217 return CONDITION; 218 if ("requirement".equals(codeString)) 219 return REQUIREMENT; 220 if (Configuration.isAcceptInvalidEnums()) 221 return null; 222 else 223 throw new FHIRException("Unknown GraphCompartmentUse code '"+codeString+"'"); 224 } 225 public String toCode() { 226 switch (this) { 227 case CONDITION: return "condition"; 228 case REQUIREMENT: return "requirement"; 229 default: return "?"; 230 } 231 } 232 public String getSystem() { 233 switch (this) { 234 case CONDITION: return "http://hl7.org/fhir/graph-compartment-use"; 235 case REQUIREMENT: return "http://hl7.org/fhir/graph-compartment-use"; 236 default: return "?"; 237 } 238 } 239 public String getDefinition() { 240 switch (this) { 241 case CONDITION: return "This compartment rule is a condition for whether the rule applies."; 242 case REQUIREMENT: return "This compartment rule is enforced on any relationships that meet the conditions."; 243 default: return "?"; 244 } 245 } 246 public String getDisplay() { 247 switch (this) { 248 case CONDITION: return "Condition"; 249 case REQUIREMENT: return "Requirement"; 250 default: return "?"; 251 } 252 } 253 } 254 255 public static class GraphCompartmentUseEnumFactory implements EnumFactory<GraphCompartmentUse> { 256 public GraphCompartmentUse fromCode(String codeString) throws IllegalArgumentException { 257 if (codeString == null || "".equals(codeString)) 258 if (codeString == null || "".equals(codeString)) 259 return null; 260 if ("condition".equals(codeString)) 261 return GraphCompartmentUse.CONDITION; 262 if ("requirement".equals(codeString)) 263 return GraphCompartmentUse.REQUIREMENT; 264 throw new IllegalArgumentException("Unknown GraphCompartmentUse code '"+codeString+"'"); 265 } 266 public Enumeration<GraphCompartmentUse> fromType(Base code) throws FHIRException { 267 if (code == null) 268 return null; 269 if (code.isEmpty()) 270 return new Enumeration<GraphCompartmentUse>(this); 271 String codeString = ((PrimitiveType) code).asStringValue(); 272 if (codeString == null || "".equals(codeString)) 273 return null; 274 if ("condition".equals(codeString)) 275 return new Enumeration<GraphCompartmentUse>(this, GraphCompartmentUse.CONDITION); 276 if ("requirement".equals(codeString)) 277 return new Enumeration<GraphCompartmentUse>(this, GraphCompartmentUse.REQUIREMENT); 278 throw new FHIRException("Unknown GraphCompartmentUse code '"+codeString+"'"); 279 } 280 public String toCode(GraphCompartmentUse code) { 281 if (code == GraphCompartmentUse.CONDITION) 282 return "condition"; 283 if (code == GraphCompartmentUse.REQUIREMENT) 284 return "requirement"; 285 return "?"; 286 } 287 public String toSystem(GraphCompartmentUse code) { 288 return code.getSystem(); 289 } 290 } 291 292 @Block() 293 public static class GraphDefinitionLinkComponent extends BackboneElement implements IBaseBackboneElement { 294 /** 295 * A FHIR expression that identifies one of FHIR References to other resources. 296 */ 297 @Child(name = "path", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=false) 298 @Description(shortDefinition="Path in the resource that contains the link", formalDefinition="A FHIR expression that identifies one of FHIR References to other resources." ) 299 protected StringType path; 300 301 /** 302 * Which slice (if profiled). 303 */ 304 @Child(name = "sliceName", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) 305 @Description(shortDefinition="Which slice (if profiled)", formalDefinition="Which slice (if profiled)." ) 306 protected StringType sliceName; 307 308 /** 309 * Minimum occurrences for this link. 310 */ 311 @Child(name = "min", type = {IntegerType.class}, order=3, min=0, max=1, modifier=false, summary=false) 312 @Description(shortDefinition="Minimum occurrences for this link", formalDefinition="Minimum occurrences for this link." ) 313 protected IntegerType min; 314 315 /** 316 * Maximum occurrences for this link. 317 */ 318 @Child(name = "max", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) 319 @Description(shortDefinition="Maximum occurrences for this link", formalDefinition="Maximum occurrences for this link." ) 320 protected StringType max; 321 322 /** 323 * Information about why this link is of interest in this graph definition. 324 */ 325 @Child(name = "description", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=false) 326 @Description(shortDefinition="Why this link is specified", formalDefinition="Information about why this link is of interest in this graph definition." ) 327 protected StringType description; 328 329 /** 330 * Potential target for the link. 331 */ 332 @Child(name = "target", type = {}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 333 @Description(shortDefinition="Potential target for the link", formalDefinition="Potential target for the link." ) 334 protected List<GraphDefinitionLinkTargetComponent> target; 335 336 private static final long serialVersionUID = -593733346L; 337 338 /** 339 * Constructor 340 */ 341 public GraphDefinitionLinkComponent() { 342 super(); 343 } 344 345 /** 346 * @return {@link #path} (A FHIR expression that identifies one of FHIR References to other resources.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value 347 */ 348 public StringType getPathElement() { 349 if (this.path == null) 350 if (Configuration.errorOnAutoCreate()) 351 throw new Error("Attempt to auto-create GraphDefinitionLinkComponent.path"); 352 else if (Configuration.doAutoCreate()) 353 this.path = new StringType(); // bb 354 return this.path; 355 } 356 357 public boolean hasPathElement() { 358 return this.path != null && !this.path.isEmpty(); 359 } 360 361 public boolean hasPath() { 362 return this.path != null && !this.path.isEmpty(); 363 } 364 365 /** 366 * @param value {@link #path} (A FHIR expression that identifies one of FHIR References to other resources.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value 367 */ 368 public GraphDefinitionLinkComponent setPathElement(StringType value) { 369 this.path = value; 370 return this; 371 } 372 373 /** 374 * @return A FHIR expression that identifies one of FHIR References to other resources. 375 */ 376 public String getPath() { 377 return this.path == null ? null : this.path.getValue(); 378 } 379 380 /** 381 * @param value A FHIR expression that identifies one of FHIR References to other resources. 382 */ 383 public GraphDefinitionLinkComponent setPath(String value) { 384 if (Utilities.noString(value)) 385 this.path = null; 386 else { 387 if (this.path == null) 388 this.path = new StringType(); 389 this.path.setValue(value); 390 } 391 return this; 392 } 393 394 /** 395 * @return {@link #sliceName} (Which slice (if profiled).). This is the underlying object with id, value and extensions. The accessor "getSliceName" gives direct access to the value 396 */ 397 public StringType getSliceNameElement() { 398 if (this.sliceName == null) 399 if (Configuration.errorOnAutoCreate()) 400 throw new Error("Attempt to auto-create GraphDefinitionLinkComponent.sliceName"); 401 else if (Configuration.doAutoCreate()) 402 this.sliceName = new StringType(); // bb 403 return this.sliceName; 404 } 405 406 public boolean hasSliceNameElement() { 407 return this.sliceName != null && !this.sliceName.isEmpty(); 408 } 409 410 public boolean hasSliceName() { 411 return this.sliceName != null && !this.sliceName.isEmpty(); 412 } 413 414 /** 415 * @param value {@link #sliceName} (Which slice (if profiled).). This is the underlying object with id, value and extensions. The accessor "getSliceName" gives direct access to the value 416 */ 417 public GraphDefinitionLinkComponent setSliceNameElement(StringType value) { 418 this.sliceName = value; 419 return this; 420 } 421 422 /** 423 * @return Which slice (if profiled). 424 */ 425 public String getSliceName() { 426 return this.sliceName == null ? null : this.sliceName.getValue(); 427 } 428 429 /** 430 * @param value Which slice (if profiled). 431 */ 432 public GraphDefinitionLinkComponent setSliceName(String value) { 433 if (Utilities.noString(value)) 434 this.sliceName = null; 435 else { 436 if (this.sliceName == null) 437 this.sliceName = new StringType(); 438 this.sliceName.setValue(value); 439 } 440 return this; 441 } 442 443 /** 444 * @return {@link #min} (Minimum occurrences for this link.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value 445 */ 446 public IntegerType getMinElement() { 447 if (this.min == null) 448 if (Configuration.errorOnAutoCreate()) 449 throw new Error("Attempt to auto-create GraphDefinitionLinkComponent.min"); 450 else if (Configuration.doAutoCreate()) 451 this.min = new IntegerType(); // bb 452 return this.min; 453 } 454 455 public boolean hasMinElement() { 456 return this.min != null && !this.min.isEmpty(); 457 } 458 459 public boolean hasMin() { 460 return this.min != null && !this.min.isEmpty(); 461 } 462 463 /** 464 * @param value {@link #min} (Minimum occurrences for this link.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value 465 */ 466 public GraphDefinitionLinkComponent setMinElement(IntegerType value) { 467 this.min = value; 468 return this; 469 } 470 471 /** 472 * @return Minimum occurrences for this link. 473 */ 474 public int getMin() { 475 return this.min == null || this.min.isEmpty() ? 0 : this.min.getValue(); 476 } 477 478 /** 479 * @param value Minimum occurrences for this link. 480 */ 481 public GraphDefinitionLinkComponent setMin(int value) { 482 if (this.min == null) 483 this.min = new IntegerType(); 484 this.min.setValue(value); 485 return this; 486 } 487 488 /** 489 * @return {@link #max} (Maximum occurrences for this link.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value 490 */ 491 public StringType getMaxElement() { 492 if (this.max == null) 493 if (Configuration.errorOnAutoCreate()) 494 throw new Error("Attempt to auto-create GraphDefinitionLinkComponent.max"); 495 else if (Configuration.doAutoCreate()) 496 this.max = new StringType(); // bb 497 return this.max; 498 } 499 500 public boolean hasMaxElement() { 501 return this.max != null && !this.max.isEmpty(); 502 } 503 504 public boolean hasMax() { 505 return this.max != null && !this.max.isEmpty(); 506 } 507 508 /** 509 * @param value {@link #max} (Maximum occurrences for this link.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value 510 */ 511 public GraphDefinitionLinkComponent setMaxElement(StringType value) { 512 this.max = value; 513 return this; 514 } 515 516 /** 517 * @return Maximum occurrences for this link. 518 */ 519 public String getMax() { 520 return this.max == null ? null : this.max.getValue(); 521 } 522 523 /** 524 * @param value Maximum occurrences for this link. 525 */ 526 public GraphDefinitionLinkComponent setMax(String value) { 527 if (Utilities.noString(value)) 528 this.max = null; 529 else { 530 if (this.max == null) 531 this.max = new StringType(); 532 this.max.setValue(value); 533 } 534 return this; 535 } 536 537 /** 538 * @return {@link #description} (Information about why this link is of interest in this graph definition.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 539 */ 540 public StringType getDescriptionElement() { 541 if (this.description == null) 542 if (Configuration.errorOnAutoCreate()) 543 throw new Error("Attempt to auto-create GraphDefinitionLinkComponent.description"); 544 else if (Configuration.doAutoCreate()) 545 this.description = new StringType(); // bb 546 return this.description; 547 } 548 549 public boolean hasDescriptionElement() { 550 return this.description != null && !this.description.isEmpty(); 551 } 552 553 public boolean hasDescription() { 554 return this.description != null && !this.description.isEmpty(); 555 } 556 557 /** 558 * @param value {@link #description} (Information about why this link is of interest in this graph definition.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 559 */ 560 public GraphDefinitionLinkComponent setDescriptionElement(StringType value) { 561 this.description = value; 562 return this; 563 } 564 565 /** 566 * @return Information about why this link is of interest in this graph definition. 567 */ 568 public String getDescription() { 569 return this.description == null ? null : this.description.getValue(); 570 } 571 572 /** 573 * @param value Information about why this link is of interest in this graph definition. 574 */ 575 public GraphDefinitionLinkComponent setDescription(String value) { 576 if (Utilities.noString(value)) 577 this.description = null; 578 else { 579 if (this.description == null) 580 this.description = new StringType(); 581 this.description.setValue(value); 582 } 583 return this; 584 } 585 586 /** 587 * @return {@link #target} (Potential target for the link.) 588 */ 589 public List<GraphDefinitionLinkTargetComponent> getTarget() { 590 if (this.target == null) 591 this.target = new ArrayList<GraphDefinitionLinkTargetComponent>(); 592 return this.target; 593 } 594 595 /** 596 * @return Returns a reference to <code>this</code> for easy method chaining 597 */ 598 public GraphDefinitionLinkComponent setTarget(List<GraphDefinitionLinkTargetComponent> theTarget) { 599 this.target = theTarget; 600 return this; 601 } 602 603 public boolean hasTarget() { 604 if (this.target == null) 605 return false; 606 for (GraphDefinitionLinkTargetComponent item : this.target) 607 if (!item.isEmpty()) 608 return true; 609 return false; 610 } 611 612 public GraphDefinitionLinkTargetComponent addTarget() { //3 613 GraphDefinitionLinkTargetComponent t = new GraphDefinitionLinkTargetComponent(); 614 if (this.target == null) 615 this.target = new ArrayList<GraphDefinitionLinkTargetComponent>(); 616 this.target.add(t); 617 return t; 618 } 619 620 public GraphDefinitionLinkComponent addTarget(GraphDefinitionLinkTargetComponent t) { //3 621 if (t == null) 622 return this; 623 if (this.target == null) 624 this.target = new ArrayList<GraphDefinitionLinkTargetComponent>(); 625 this.target.add(t); 626 return this; 627 } 628 629 /** 630 * @return The first repetition of repeating field {@link #target}, creating it if it does not already exist {3} 631 */ 632 public GraphDefinitionLinkTargetComponent getTargetFirstRep() { 633 if (getTarget().isEmpty()) { 634 addTarget(); 635 } 636 return getTarget().get(0); 637 } 638 639 protected void listChildren(List<Property> children) { 640 super.listChildren(children); 641 children.add(new Property("path", "string", "A FHIR expression that identifies one of FHIR References to other resources.", 0, 1, path)); 642 children.add(new Property("sliceName", "string", "Which slice (if profiled).", 0, 1, sliceName)); 643 children.add(new Property("min", "integer", "Minimum occurrences for this link.", 0, 1, min)); 644 children.add(new Property("max", "string", "Maximum occurrences for this link.", 0, 1, max)); 645 children.add(new Property("description", "string", "Information about why this link is of interest in this graph definition.", 0, 1, description)); 646 children.add(new Property("target", "", "Potential target for the link.", 0, java.lang.Integer.MAX_VALUE, target)); 647 } 648 649 @Override 650 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 651 switch (_hash) { 652 case 3433509: /*path*/ return new Property("path", "string", "A FHIR expression that identifies one of FHIR References to other resources.", 0, 1, path); 653 case -825289923: /*sliceName*/ return new Property("sliceName", "string", "Which slice (if profiled).", 0, 1, sliceName); 654 case 108114: /*min*/ return new Property("min", "integer", "Minimum occurrences for this link.", 0, 1, min); 655 case 107876: /*max*/ return new Property("max", "string", "Maximum occurrences for this link.", 0, 1, max); 656 case -1724546052: /*description*/ return new Property("description", "string", "Information about why this link is of interest in this graph definition.", 0, 1, description); 657 case -880905839: /*target*/ return new Property("target", "", "Potential target for the link.", 0, java.lang.Integer.MAX_VALUE, target); 658 default: return super.getNamedProperty(_hash, _name, _checkValid); 659 } 660 661 } 662 663 @Override 664 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 665 switch (hash) { 666 case 3433509: /*path*/ return this.path == null ? new Base[0] : new Base[] {this.path}; // StringType 667 case -825289923: /*sliceName*/ return this.sliceName == null ? new Base[0] : new Base[] {this.sliceName}; // StringType 668 case 108114: /*min*/ return this.min == null ? new Base[0] : new Base[] {this.min}; // IntegerType 669 case 107876: /*max*/ return this.max == null ? new Base[0] : new Base[] {this.max}; // StringType 670 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType 671 case -880905839: /*target*/ return this.target == null ? new Base[0] : this.target.toArray(new Base[this.target.size()]); // GraphDefinitionLinkTargetComponent 672 default: return super.getProperty(hash, name, checkValid); 673 } 674 675 } 676 677 @Override 678 public Base setProperty(int hash, String name, Base value) throws FHIRException { 679 switch (hash) { 680 case 3433509: // path 681 this.path = TypeConvertor.castToString(value); // StringType 682 return value; 683 case -825289923: // sliceName 684 this.sliceName = TypeConvertor.castToString(value); // StringType 685 return value; 686 case 108114: // min 687 this.min = TypeConvertor.castToInteger(value); // IntegerType 688 return value; 689 case 107876: // max 690 this.max = TypeConvertor.castToString(value); // StringType 691 return value; 692 case -1724546052: // description 693 this.description = TypeConvertor.castToString(value); // StringType 694 return value; 695 case -880905839: // target 696 this.getTarget().add((GraphDefinitionLinkTargetComponent) value); // GraphDefinitionLinkTargetComponent 697 return value; 698 default: return super.setProperty(hash, name, value); 699 } 700 701 } 702 703 @Override 704 public Base setProperty(String name, Base value) throws FHIRException { 705 if (name.equals("path")) { 706 this.path = TypeConvertor.castToString(value); // StringType 707 } else if (name.equals("sliceName")) { 708 this.sliceName = TypeConvertor.castToString(value); // StringType 709 } else if (name.equals("min")) { 710 this.min = TypeConvertor.castToInteger(value); // IntegerType 711 } else if (name.equals("max")) { 712 this.max = TypeConvertor.castToString(value); // StringType 713 } else if (name.equals("description")) { 714 this.description = TypeConvertor.castToString(value); // StringType 715 } else if (name.equals("target")) { 716 this.getTarget().add((GraphDefinitionLinkTargetComponent) value); 717 } else 718 return super.setProperty(name, value); 719 return value; 720 } 721 722 @Override 723 public Base makeProperty(int hash, String name) throws FHIRException { 724 switch (hash) { 725 case 3433509: return getPathElement(); 726 case -825289923: return getSliceNameElement(); 727 case 108114: return getMinElement(); 728 case 107876: return getMaxElement(); 729 case -1724546052: return getDescriptionElement(); 730 case -880905839: return addTarget(); 731 default: return super.makeProperty(hash, name); 732 } 733 734 } 735 736 @Override 737 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 738 switch (hash) { 739 case 3433509: /*path*/ return new String[] {"string"}; 740 case -825289923: /*sliceName*/ return new String[] {"string"}; 741 case 108114: /*min*/ return new String[] {"integer"}; 742 case 107876: /*max*/ return new String[] {"string"}; 743 case -1724546052: /*description*/ return new String[] {"string"}; 744 case -880905839: /*target*/ return new String[] {}; 745 default: return super.getTypesForProperty(hash, name); 746 } 747 748 } 749 750 @Override 751 public Base addChild(String name) throws FHIRException { 752 if (name.equals("path")) { 753 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.path"); 754 } 755 else if (name.equals("sliceName")) { 756 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.sliceName"); 757 } 758 else if (name.equals("min")) { 759 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.min"); 760 } 761 else if (name.equals("max")) { 762 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.max"); 763 } 764 else if (name.equals("description")) { 765 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.description"); 766 } 767 else if (name.equals("target")) { 768 return addTarget(); 769 } 770 else 771 return super.addChild(name); 772 } 773 774 public GraphDefinitionLinkComponent copy() { 775 GraphDefinitionLinkComponent dst = new GraphDefinitionLinkComponent(); 776 copyValues(dst); 777 return dst; 778 } 779 780 public void copyValues(GraphDefinitionLinkComponent dst) { 781 super.copyValues(dst); 782 dst.path = path == null ? null : path.copy(); 783 dst.sliceName = sliceName == null ? null : sliceName.copy(); 784 dst.min = min == null ? null : min.copy(); 785 dst.max = max == null ? null : max.copy(); 786 dst.description = description == null ? null : description.copy(); 787 if (target != null) { 788 dst.target = new ArrayList<GraphDefinitionLinkTargetComponent>(); 789 for (GraphDefinitionLinkTargetComponent i : target) 790 dst.target.add(i.copy()); 791 }; 792 } 793 794 @Override 795 public boolean equalsDeep(Base other_) { 796 if (!super.equalsDeep(other_)) 797 return false; 798 if (!(other_ instanceof GraphDefinitionLinkComponent)) 799 return false; 800 GraphDefinitionLinkComponent o = (GraphDefinitionLinkComponent) other_; 801 return compareDeep(path, o.path, true) && compareDeep(sliceName, o.sliceName, true) && compareDeep(min, o.min, true) 802 && compareDeep(max, o.max, true) && compareDeep(description, o.description, true) && compareDeep(target, o.target, true) 803 ; 804 } 805 806 @Override 807 public boolean equalsShallow(Base other_) { 808 if (!super.equalsShallow(other_)) 809 return false; 810 if (!(other_ instanceof GraphDefinitionLinkComponent)) 811 return false; 812 GraphDefinitionLinkComponent o = (GraphDefinitionLinkComponent) other_; 813 return compareValues(path, o.path, true) && compareValues(sliceName, o.sliceName, true) && compareValues(min, o.min, true) 814 && compareValues(max, o.max, true) && compareValues(description, o.description, true); 815 } 816 817 public boolean isEmpty() { 818 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(path, sliceName, min, max 819 , description, target); 820 } 821 822 public String fhirType() { 823 return "GraphDefinition.link"; 824 825 } 826 827 } 828 829 @Block() 830 public static class GraphDefinitionLinkTargetComponent extends BackboneElement implements IBaseBackboneElement { 831 /** 832 * Type of resource this link refers to. 833 */ 834 @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) 835 @Description(shortDefinition="Type of resource this link refers to", formalDefinition="Type of resource this link refers to." ) 836 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types") 837 protected CodeType type; 838 839 /** 840 * A set of parameters to look up. 841 */ 842 @Child(name = "params", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) 843 @Description(shortDefinition="Criteria for reverse lookup", formalDefinition="A set of parameters to look up." ) 844 protected StringType params; 845 846 /** 847 * Profile for the target resource. 848 */ 849 @Child(name = "profile", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=false) 850 @Description(shortDefinition="Profile for the target resource", formalDefinition="Profile for the target resource." ) 851 protected CanonicalType profile; 852 853 /** 854 * Compartment Consistency Rules. 855 */ 856 @Child(name = "compartment", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 857 @Description(shortDefinition="Compartment Consistency Rules", formalDefinition="Compartment Consistency Rules." ) 858 protected List<GraphDefinitionLinkTargetCompartmentComponent> compartment; 859 860 /** 861 * Additional links from target resource. 862 */ 863 @Child(name = "link", type = {GraphDefinitionLinkComponent.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 864 @Description(shortDefinition="Additional links from target resource", formalDefinition="Additional links from target resource." ) 865 protected List<GraphDefinitionLinkComponent> link; 866 867 private static final long serialVersionUID = -35248998L; 868 869 /** 870 * Constructor 871 */ 872 public GraphDefinitionLinkTargetComponent() { 873 super(); 874 } 875 876 /** 877 * Constructor 878 */ 879 public GraphDefinitionLinkTargetComponent(String type) { 880 super(); 881 this.setType(type); 882 } 883 884 /** 885 * @return {@link #type} (Type of resource this link refers to.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value 886 */ 887 public CodeType getTypeElement() { 888 if (this.type == null) 889 if (Configuration.errorOnAutoCreate()) 890 throw new Error("Attempt to auto-create GraphDefinitionLinkTargetComponent.type"); 891 else if (Configuration.doAutoCreate()) 892 this.type = new CodeType(); // bb 893 return this.type; 894 } 895 896 public boolean hasTypeElement() { 897 return this.type != null && !this.type.isEmpty(); 898 } 899 900 public boolean hasType() { 901 return this.type != null && !this.type.isEmpty(); 902 } 903 904 /** 905 * @param value {@link #type} (Type of resource this link refers to.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value 906 */ 907 public GraphDefinitionLinkTargetComponent setTypeElement(CodeType value) { 908 this.type = value; 909 return this; 910 } 911 912 /** 913 * @return Type of resource this link refers to. 914 */ 915 public String getType() { 916 return this.type == null ? null : this.type.getValue(); 917 } 918 919 /** 920 * @param value Type of resource this link refers to. 921 */ 922 public GraphDefinitionLinkTargetComponent setType(String value) { 923 if (this.type == null) 924 this.type = new CodeType(); 925 this.type.setValue(value); 926 return this; 927 } 928 929 /** 930 * @return {@link #params} (A set of parameters to look up.). This is the underlying object with id, value and extensions. The accessor "getParams" gives direct access to the value 931 */ 932 public StringType getParamsElement() { 933 if (this.params == null) 934 if (Configuration.errorOnAutoCreate()) 935 throw new Error("Attempt to auto-create GraphDefinitionLinkTargetComponent.params"); 936 else if (Configuration.doAutoCreate()) 937 this.params = new StringType(); // bb 938 return this.params; 939 } 940 941 public boolean hasParamsElement() { 942 return this.params != null && !this.params.isEmpty(); 943 } 944 945 public boolean hasParams() { 946 return this.params != null && !this.params.isEmpty(); 947 } 948 949 /** 950 * @param value {@link #params} (A set of parameters to look up.). This is the underlying object with id, value and extensions. The accessor "getParams" gives direct access to the value 951 */ 952 public GraphDefinitionLinkTargetComponent setParamsElement(StringType value) { 953 this.params = value; 954 return this; 955 } 956 957 /** 958 * @return A set of parameters to look up. 959 */ 960 public String getParams() { 961 return this.params == null ? null : this.params.getValue(); 962 } 963 964 /** 965 * @param value A set of parameters to look up. 966 */ 967 public GraphDefinitionLinkTargetComponent setParams(String value) { 968 if (Utilities.noString(value)) 969 this.params = null; 970 else { 971 if (this.params == null) 972 this.params = new StringType(); 973 this.params.setValue(value); 974 } 975 return this; 976 } 977 978 /** 979 * @return {@link #profile} (Profile for the target resource.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value 980 */ 981 public CanonicalType getProfileElement() { 982 if (this.profile == null) 983 if (Configuration.errorOnAutoCreate()) 984 throw new Error("Attempt to auto-create GraphDefinitionLinkTargetComponent.profile"); 985 else if (Configuration.doAutoCreate()) 986 this.profile = new CanonicalType(); // bb 987 return this.profile; 988 } 989 990 public boolean hasProfileElement() { 991 return this.profile != null && !this.profile.isEmpty(); 992 } 993 994 public boolean hasProfile() { 995 return this.profile != null && !this.profile.isEmpty(); 996 } 997 998 /** 999 * @param value {@link #profile} (Profile for the target resource.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value 1000 */ 1001 public GraphDefinitionLinkTargetComponent setProfileElement(CanonicalType value) { 1002 this.profile = value; 1003 return this; 1004 } 1005 1006 /** 1007 * @return Profile for the target resource. 1008 */ 1009 public String getProfile() { 1010 return this.profile == null ? null : this.profile.getValue(); 1011 } 1012 1013 /** 1014 * @param value Profile for the target resource. 1015 */ 1016 public GraphDefinitionLinkTargetComponent setProfile(String value) { 1017 if (Utilities.noString(value)) 1018 this.profile = null; 1019 else { 1020 if (this.profile == null) 1021 this.profile = new CanonicalType(); 1022 this.profile.setValue(value); 1023 } 1024 return this; 1025 } 1026 1027 /** 1028 * @return {@link #compartment} (Compartment Consistency Rules.) 1029 */ 1030 public List<GraphDefinitionLinkTargetCompartmentComponent> getCompartment() { 1031 if (this.compartment == null) 1032 this.compartment = new ArrayList<GraphDefinitionLinkTargetCompartmentComponent>(); 1033 return this.compartment; 1034 } 1035 1036 /** 1037 * @return Returns a reference to <code>this</code> for easy method chaining 1038 */ 1039 public GraphDefinitionLinkTargetComponent setCompartment(List<GraphDefinitionLinkTargetCompartmentComponent> theCompartment) { 1040 this.compartment = theCompartment; 1041 return this; 1042 } 1043 1044 public boolean hasCompartment() { 1045 if (this.compartment == null) 1046 return false; 1047 for (GraphDefinitionLinkTargetCompartmentComponent item : this.compartment) 1048 if (!item.isEmpty()) 1049 return true; 1050 return false; 1051 } 1052 1053 public GraphDefinitionLinkTargetCompartmentComponent addCompartment() { //3 1054 GraphDefinitionLinkTargetCompartmentComponent t = new GraphDefinitionLinkTargetCompartmentComponent(); 1055 if (this.compartment == null) 1056 this.compartment = new ArrayList<GraphDefinitionLinkTargetCompartmentComponent>(); 1057 this.compartment.add(t); 1058 return t; 1059 } 1060 1061 public GraphDefinitionLinkTargetComponent addCompartment(GraphDefinitionLinkTargetCompartmentComponent t) { //3 1062 if (t == null) 1063 return this; 1064 if (this.compartment == null) 1065 this.compartment = new ArrayList<GraphDefinitionLinkTargetCompartmentComponent>(); 1066 this.compartment.add(t); 1067 return this; 1068 } 1069 1070 /** 1071 * @return The first repetition of repeating field {@link #compartment}, creating it if it does not already exist {3} 1072 */ 1073 public GraphDefinitionLinkTargetCompartmentComponent getCompartmentFirstRep() { 1074 if (getCompartment().isEmpty()) { 1075 addCompartment(); 1076 } 1077 return getCompartment().get(0); 1078 } 1079 1080 /** 1081 * @return {@link #link} (Additional links from target resource.) 1082 */ 1083 public List<GraphDefinitionLinkComponent> getLink() { 1084 if (this.link == null) 1085 this.link = new ArrayList<GraphDefinitionLinkComponent>(); 1086 return this.link; 1087 } 1088 1089 /** 1090 * @return Returns a reference to <code>this</code> for easy method chaining 1091 */ 1092 public GraphDefinitionLinkTargetComponent setLink(List<GraphDefinitionLinkComponent> theLink) { 1093 this.link = theLink; 1094 return this; 1095 } 1096 1097 public boolean hasLink() { 1098 if (this.link == null) 1099 return false; 1100 for (GraphDefinitionLinkComponent item : this.link) 1101 if (!item.isEmpty()) 1102 return true; 1103 return false; 1104 } 1105 1106 public GraphDefinitionLinkComponent addLink() { //3 1107 GraphDefinitionLinkComponent t = new GraphDefinitionLinkComponent(); 1108 if (this.link == null) 1109 this.link = new ArrayList<GraphDefinitionLinkComponent>(); 1110 this.link.add(t); 1111 return t; 1112 } 1113 1114 public GraphDefinitionLinkTargetComponent addLink(GraphDefinitionLinkComponent t) { //3 1115 if (t == null) 1116 return this; 1117 if (this.link == null) 1118 this.link = new ArrayList<GraphDefinitionLinkComponent>(); 1119 this.link.add(t); 1120 return this; 1121 } 1122 1123 /** 1124 * @return The first repetition of repeating field {@link #link}, creating it if it does not already exist {3} 1125 */ 1126 public GraphDefinitionLinkComponent getLinkFirstRep() { 1127 if (getLink().isEmpty()) { 1128 addLink(); 1129 } 1130 return getLink().get(0); 1131 } 1132 1133 protected void listChildren(List<Property> children) { 1134 super.listChildren(children); 1135 children.add(new Property("type", "code", "Type of resource this link refers to.", 0, 1, type)); 1136 children.add(new Property("params", "string", "A set of parameters to look up.", 0, 1, params)); 1137 children.add(new Property("profile", "canonical(StructureDefinition)", "Profile for the target resource.", 0, 1, profile)); 1138 children.add(new Property("compartment", "", "Compartment Consistency Rules.", 0, java.lang.Integer.MAX_VALUE, compartment)); 1139 children.add(new Property("link", "@GraphDefinition.link", "Additional links from target resource.", 0, java.lang.Integer.MAX_VALUE, link)); 1140 } 1141 1142 @Override 1143 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 1144 switch (_hash) { 1145 case 3575610: /*type*/ return new Property("type", "code", "Type of resource this link refers to.", 0, 1, type); 1146 case -995427962: /*params*/ return new Property("params", "string", "A set of parameters to look up.", 0, 1, params); 1147 case -309425751: /*profile*/ return new Property("profile", "canonical(StructureDefinition)", "Profile for the target resource.", 0, 1, profile); 1148 case -397756334: /*compartment*/ return new Property("compartment", "", "Compartment Consistency Rules.", 0, java.lang.Integer.MAX_VALUE, compartment); 1149 case 3321850: /*link*/ return new Property("link", "@GraphDefinition.link", "Additional links from target resource.", 0, java.lang.Integer.MAX_VALUE, link); 1150 default: return super.getNamedProperty(_hash, _name, _checkValid); 1151 } 1152 1153 } 1154 1155 @Override 1156 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 1157 switch (hash) { 1158 case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeType 1159 case -995427962: /*params*/ return this.params == null ? new Base[0] : new Base[] {this.params}; // StringType 1160 case -309425751: /*profile*/ return this.profile == null ? new Base[0] : new Base[] {this.profile}; // CanonicalType 1161 case -397756334: /*compartment*/ return this.compartment == null ? new Base[0] : this.compartment.toArray(new Base[this.compartment.size()]); // GraphDefinitionLinkTargetCompartmentComponent 1162 case 3321850: /*link*/ return this.link == null ? new Base[0] : this.link.toArray(new Base[this.link.size()]); // GraphDefinitionLinkComponent 1163 default: return super.getProperty(hash, name, checkValid); 1164 } 1165 1166 } 1167 1168 @Override 1169 public Base setProperty(int hash, String name, Base value) throws FHIRException { 1170 switch (hash) { 1171 case 3575610: // type 1172 this.type = TypeConvertor.castToCode(value); // CodeType 1173 return value; 1174 case -995427962: // params 1175 this.params = TypeConvertor.castToString(value); // StringType 1176 return value; 1177 case -309425751: // profile 1178 this.profile = TypeConvertor.castToCanonical(value); // CanonicalType 1179 return value; 1180 case -397756334: // compartment 1181 this.getCompartment().add((GraphDefinitionLinkTargetCompartmentComponent) value); // GraphDefinitionLinkTargetCompartmentComponent 1182 return value; 1183 case 3321850: // link 1184 this.getLink().add((GraphDefinitionLinkComponent) value); // GraphDefinitionLinkComponent 1185 return value; 1186 default: return super.setProperty(hash, name, value); 1187 } 1188 1189 } 1190 1191 @Override 1192 public Base setProperty(String name, Base value) throws FHIRException { 1193 if (name.equals("type")) { 1194 this.type = TypeConvertor.castToCode(value); // CodeType 1195 } else if (name.equals("params")) { 1196 this.params = TypeConvertor.castToString(value); // StringType 1197 } else if (name.equals("profile")) { 1198 this.profile = TypeConvertor.castToCanonical(value); // CanonicalType 1199 } else if (name.equals("compartment")) { 1200 this.getCompartment().add((GraphDefinitionLinkTargetCompartmentComponent) value); 1201 } else if (name.equals("link")) { 1202 this.getLink().add((GraphDefinitionLinkComponent) value); 1203 } else 1204 return super.setProperty(name, value); 1205 return value; 1206 } 1207 1208 @Override 1209 public Base makeProperty(int hash, String name) throws FHIRException { 1210 switch (hash) { 1211 case 3575610: return getTypeElement(); 1212 case -995427962: return getParamsElement(); 1213 case -309425751: return getProfileElement(); 1214 case -397756334: return addCompartment(); 1215 case 3321850: return addLink(); 1216 default: return super.makeProperty(hash, name); 1217 } 1218 1219 } 1220 1221 @Override 1222 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 1223 switch (hash) { 1224 case 3575610: /*type*/ return new String[] {"code"}; 1225 case -995427962: /*params*/ return new String[] {"string"}; 1226 case -309425751: /*profile*/ return new String[] {"canonical"}; 1227 case -397756334: /*compartment*/ return new String[] {}; 1228 case 3321850: /*link*/ return new String[] {"@GraphDefinition.link"}; 1229 default: return super.getTypesForProperty(hash, name); 1230 } 1231 1232 } 1233 1234 @Override 1235 public Base addChild(String name) throws FHIRException { 1236 if (name.equals("type")) { 1237 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.target.type"); 1238 } 1239 else if (name.equals("params")) { 1240 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.target.params"); 1241 } 1242 else if (name.equals("profile")) { 1243 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.target.profile"); 1244 } 1245 else if (name.equals("compartment")) { 1246 return addCompartment(); 1247 } 1248 else if (name.equals("link")) { 1249 return addLink(); 1250 } 1251 else 1252 return super.addChild(name); 1253 } 1254 1255 public GraphDefinitionLinkTargetComponent copy() { 1256 GraphDefinitionLinkTargetComponent dst = new GraphDefinitionLinkTargetComponent(); 1257 copyValues(dst); 1258 return dst; 1259 } 1260 1261 public void copyValues(GraphDefinitionLinkTargetComponent dst) { 1262 super.copyValues(dst); 1263 dst.type = type == null ? null : type.copy(); 1264 dst.params = params == null ? null : params.copy(); 1265 dst.profile = profile == null ? null : profile.copy(); 1266 if (compartment != null) { 1267 dst.compartment = new ArrayList<GraphDefinitionLinkTargetCompartmentComponent>(); 1268 for (GraphDefinitionLinkTargetCompartmentComponent i : compartment) 1269 dst.compartment.add(i.copy()); 1270 }; 1271 if (link != null) { 1272 dst.link = new ArrayList<GraphDefinitionLinkComponent>(); 1273 for (GraphDefinitionLinkComponent i : link) 1274 dst.link.add(i.copy()); 1275 }; 1276 } 1277 1278 @Override 1279 public boolean equalsDeep(Base other_) { 1280 if (!super.equalsDeep(other_)) 1281 return false; 1282 if (!(other_ instanceof GraphDefinitionLinkTargetComponent)) 1283 return false; 1284 GraphDefinitionLinkTargetComponent o = (GraphDefinitionLinkTargetComponent) other_; 1285 return compareDeep(type, o.type, true) && compareDeep(params, o.params, true) && compareDeep(profile, o.profile, true) 1286 && compareDeep(compartment, o.compartment, true) && compareDeep(link, o.link, true); 1287 } 1288 1289 @Override 1290 public boolean equalsShallow(Base other_) { 1291 if (!super.equalsShallow(other_)) 1292 return false; 1293 if (!(other_ instanceof GraphDefinitionLinkTargetComponent)) 1294 return false; 1295 GraphDefinitionLinkTargetComponent o = (GraphDefinitionLinkTargetComponent) other_; 1296 return compareValues(type, o.type, true) && compareValues(params, o.params, true) && compareValues(profile, o.profile, true) 1297 ; 1298 } 1299 1300 public boolean isEmpty() { 1301 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, params, profile, compartment 1302 , link); 1303 } 1304 1305 public String fhirType() { 1306 return "GraphDefinition.link.target"; 1307 1308 } 1309 1310 } 1311 1312 @Block() 1313 public static class GraphDefinitionLinkTargetCompartmentComponent extends BackboneElement implements IBaseBackboneElement { 1314 /** 1315 * Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed. 1316 */ 1317 @Child(name = "use", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) 1318 @Description(shortDefinition="condition | requirement", formalDefinition="Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed." ) 1319 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/graph-compartment-use") 1320 protected Enumeration<GraphCompartmentUse> use; 1321 1322 /** 1323 * Identifies the compartment. 1324 */ 1325 @Child(name = "code", type = {CodeType.class}, order=2, min=1, max=1, modifier=false, summary=false) 1326 @Description(shortDefinition="Patient | Encounter | RelatedPerson | Practitioner | Device", formalDefinition="Identifies the compartment." ) 1327 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/compartment-type") 1328 protected Enumeration<CompartmentType> code; 1329 1330 /** 1331 * identical | matching | different | no-rule | custom. 1332 */ 1333 @Child(name = "rule", type = {CodeType.class}, order=3, min=1, max=1, modifier=false, summary=false) 1334 @Description(shortDefinition="identical | matching | different | custom", formalDefinition="identical | matching | different | no-rule | custom." ) 1335 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/graph-compartment-rule") 1336 protected Enumeration<GraphCompartmentRule> rule; 1337 1338 /** 1339 * Custom rule, as a FHIRPath expression. 1340 */ 1341 @Child(name = "expression", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) 1342 @Description(shortDefinition="Custom rule, as a FHIRPath expression", formalDefinition="Custom rule, as a FHIRPath expression." ) 1343 protected StringType expression; 1344 1345 /** 1346 * Documentation for FHIRPath expression. 1347 */ 1348 @Child(name = "description", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=false) 1349 @Description(shortDefinition="Documentation for FHIRPath expression", formalDefinition="Documentation for FHIRPath expression." ) 1350 protected StringType description; 1351 1352 private static final long serialVersionUID = -1757652062L; 1353 1354 /** 1355 * Constructor 1356 */ 1357 public GraphDefinitionLinkTargetCompartmentComponent() { 1358 super(); 1359 } 1360 1361 /** 1362 * Constructor 1363 */ 1364 public GraphDefinitionLinkTargetCompartmentComponent(GraphCompartmentUse use, CompartmentType code, GraphCompartmentRule rule) { 1365 super(); 1366 this.setUse(use); 1367 this.setCode(code); 1368 this.setRule(rule); 1369 } 1370 1371 /** 1372 * @return {@link #use} (Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value 1373 */ 1374 public Enumeration<GraphCompartmentUse> getUseElement() { 1375 if (this.use == null) 1376 if (Configuration.errorOnAutoCreate()) 1377 throw new Error("Attempt to auto-create GraphDefinitionLinkTargetCompartmentComponent.use"); 1378 else if (Configuration.doAutoCreate()) 1379 this.use = new Enumeration<GraphCompartmentUse>(new GraphCompartmentUseEnumFactory()); // bb 1380 return this.use; 1381 } 1382 1383 public boolean hasUseElement() { 1384 return this.use != null && !this.use.isEmpty(); 1385 } 1386 1387 public boolean hasUse() { 1388 return this.use != null && !this.use.isEmpty(); 1389 } 1390 1391 /** 1392 * @param value {@link #use} (Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value 1393 */ 1394 public GraphDefinitionLinkTargetCompartmentComponent setUseElement(Enumeration<GraphCompartmentUse> value) { 1395 this.use = value; 1396 return this; 1397 } 1398 1399 /** 1400 * @return Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed. 1401 */ 1402 public GraphCompartmentUse getUse() { 1403 return this.use == null ? null : this.use.getValue(); 1404 } 1405 1406 /** 1407 * @param value Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed. 1408 */ 1409 public GraphDefinitionLinkTargetCompartmentComponent setUse(GraphCompartmentUse value) { 1410 if (this.use == null) 1411 this.use = new Enumeration<GraphCompartmentUse>(new GraphCompartmentUseEnumFactory()); 1412 this.use.setValue(value); 1413 return this; 1414 } 1415 1416 /** 1417 * @return {@link #code} (Identifies the compartment.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 1418 */ 1419 public Enumeration<CompartmentType> getCodeElement() { 1420 if (this.code == null) 1421 if (Configuration.errorOnAutoCreate()) 1422 throw new Error("Attempt to auto-create GraphDefinitionLinkTargetCompartmentComponent.code"); 1423 else if (Configuration.doAutoCreate()) 1424 this.code = new Enumeration<CompartmentType>(new CompartmentTypeEnumFactory()); // bb 1425 return this.code; 1426 } 1427 1428 public boolean hasCodeElement() { 1429 return this.code != null && !this.code.isEmpty(); 1430 } 1431 1432 public boolean hasCode() { 1433 return this.code != null && !this.code.isEmpty(); 1434 } 1435 1436 /** 1437 * @param value {@link #code} (Identifies the compartment.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 1438 */ 1439 public GraphDefinitionLinkTargetCompartmentComponent setCodeElement(Enumeration<CompartmentType> value) { 1440 this.code = value; 1441 return this; 1442 } 1443 1444 /** 1445 * @return Identifies the compartment. 1446 */ 1447 public CompartmentType getCode() { 1448 return this.code == null ? null : this.code.getValue(); 1449 } 1450 1451 /** 1452 * @param value Identifies the compartment. 1453 */ 1454 public GraphDefinitionLinkTargetCompartmentComponent setCode(CompartmentType value) { 1455 if (this.code == null) 1456 this.code = new Enumeration<CompartmentType>(new CompartmentTypeEnumFactory()); 1457 this.code.setValue(value); 1458 return this; 1459 } 1460 1461 /** 1462 * @return {@link #rule} (identical | matching | different | no-rule | custom.). This is the underlying object with id, value and extensions. The accessor "getRule" gives direct access to the value 1463 */ 1464 public Enumeration<GraphCompartmentRule> getRuleElement() { 1465 if (this.rule == null) 1466 if (Configuration.errorOnAutoCreate()) 1467 throw new Error("Attempt to auto-create GraphDefinitionLinkTargetCompartmentComponent.rule"); 1468 else if (Configuration.doAutoCreate()) 1469 this.rule = new Enumeration<GraphCompartmentRule>(new GraphCompartmentRuleEnumFactory()); // bb 1470 return this.rule; 1471 } 1472 1473 public boolean hasRuleElement() { 1474 return this.rule != null && !this.rule.isEmpty(); 1475 } 1476 1477 public boolean hasRule() { 1478 return this.rule != null && !this.rule.isEmpty(); 1479 } 1480 1481 /** 1482 * @param value {@link #rule} (identical | matching | different | no-rule | custom.). This is the underlying object with id, value and extensions. The accessor "getRule" gives direct access to the value 1483 */ 1484 public GraphDefinitionLinkTargetCompartmentComponent setRuleElement(Enumeration<GraphCompartmentRule> value) { 1485 this.rule = value; 1486 return this; 1487 } 1488 1489 /** 1490 * @return identical | matching | different | no-rule | custom. 1491 */ 1492 public GraphCompartmentRule getRule() { 1493 return this.rule == null ? null : this.rule.getValue(); 1494 } 1495 1496 /** 1497 * @param value identical | matching | different | no-rule | custom. 1498 */ 1499 public GraphDefinitionLinkTargetCompartmentComponent setRule(GraphCompartmentRule value) { 1500 if (this.rule == null) 1501 this.rule = new Enumeration<GraphCompartmentRule>(new GraphCompartmentRuleEnumFactory()); 1502 this.rule.setValue(value); 1503 return this; 1504 } 1505 1506 /** 1507 * @return {@link #expression} (Custom rule, as a FHIRPath expression.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value 1508 */ 1509 public StringType getExpressionElement() { 1510 if (this.expression == null) 1511 if (Configuration.errorOnAutoCreate()) 1512 throw new Error("Attempt to auto-create GraphDefinitionLinkTargetCompartmentComponent.expression"); 1513 else if (Configuration.doAutoCreate()) 1514 this.expression = new StringType(); // bb 1515 return this.expression; 1516 } 1517 1518 public boolean hasExpressionElement() { 1519 return this.expression != null && !this.expression.isEmpty(); 1520 } 1521 1522 public boolean hasExpression() { 1523 return this.expression != null && !this.expression.isEmpty(); 1524 } 1525 1526 /** 1527 * @param value {@link #expression} (Custom rule, as a FHIRPath expression.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value 1528 */ 1529 public GraphDefinitionLinkTargetCompartmentComponent setExpressionElement(StringType value) { 1530 this.expression = value; 1531 return this; 1532 } 1533 1534 /** 1535 * @return Custom rule, as a FHIRPath expression. 1536 */ 1537 public String getExpression() { 1538 return this.expression == null ? null : this.expression.getValue(); 1539 } 1540 1541 /** 1542 * @param value Custom rule, as a FHIRPath expression. 1543 */ 1544 public GraphDefinitionLinkTargetCompartmentComponent setExpression(String value) { 1545 if (Utilities.noString(value)) 1546 this.expression = null; 1547 else { 1548 if (this.expression == null) 1549 this.expression = new StringType(); 1550 this.expression.setValue(value); 1551 } 1552 return this; 1553 } 1554 1555 /** 1556 * @return {@link #description} (Documentation for FHIRPath expression.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 1557 */ 1558 public StringType getDescriptionElement() { 1559 if (this.description == null) 1560 if (Configuration.errorOnAutoCreate()) 1561 throw new Error("Attempt to auto-create GraphDefinitionLinkTargetCompartmentComponent.description"); 1562 else if (Configuration.doAutoCreate()) 1563 this.description = new StringType(); // bb 1564 return this.description; 1565 } 1566 1567 public boolean hasDescriptionElement() { 1568 return this.description != null && !this.description.isEmpty(); 1569 } 1570 1571 public boolean hasDescription() { 1572 return this.description != null && !this.description.isEmpty(); 1573 } 1574 1575 /** 1576 * @param value {@link #description} (Documentation for FHIRPath expression.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 1577 */ 1578 public GraphDefinitionLinkTargetCompartmentComponent setDescriptionElement(StringType value) { 1579 this.description = value; 1580 return this; 1581 } 1582 1583 /** 1584 * @return Documentation for FHIRPath expression. 1585 */ 1586 public String getDescription() { 1587 return this.description == null ? null : this.description.getValue(); 1588 } 1589 1590 /** 1591 * @param value Documentation for FHIRPath expression. 1592 */ 1593 public GraphDefinitionLinkTargetCompartmentComponent setDescription(String value) { 1594 if (Utilities.noString(value)) 1595 this.description = null; 1596 else { 1597 if (this.description == null) 1598 this.description = new StringType(); 1599 this.description.setValue(value); 1600 } 1601 return this; 1602 } 1603 1604 protected void listChildren(List<Property> children) { 1605 super.listChildren(children); 1606 children.add(new Property("use", "code", "Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed.", 0, 1, use)); 1607 children.add(new Property("code", "code", "Identifies the compartment.", 0, 1, code)); 1608 children.add(new Property("rule", "code", "identical | matching | different | no-rule | custom.", 0, 1, rule)); 1609 children.add(new Property("expression", "string", "Custom rule, as a FHIRPath expression.", 0, 1, expression)); 1610 children.add(new Property("description", "string", "Documentation for FHIRPath expression.", 0, 1, description)); 1611 } 1612 1613 @Override 1614 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 1615 switch (_hash) { 1616 case 116103: /*use*/ return new Property("use", "code", "Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed.", 0, 1, use); 1617 case 3059181: /*code*/ return new Property("code", "code", "Identifies the compartment.", 0, 1, code); 1618 case 3512060: /*rule*/ return new Property("rule", "code", "identical | matching | different | no-rule | custom.", 0, 1, rule); 1619 case -1795452264: /*expression*/ return new Property("expression", "string", "Custom rule, as a FHIRPath expression.", 0, 1, expression); 1620 case -1724546052: /*description*/ return new Property("description", "string", "Documentation for FHIRPath expression.", 0, 1, description); 1621 default: return super.getNamedProperty(_hash, _name, _checkValid); 1622 } 1623 1624 } 1625 1626 @Override 1627 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 1628 switch (hash) { 1629 case 116103: /*use*/ return this.use == null ? new Base[0] : new Base[] {this.use}; // Enumeration<GraphCompartmentUse> 1630 case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // Enumeration<CompartmentType> 1631 case 3512060: /*rule*/ return this.rule == null ? new Base[0] : new Base[] {this.rule}; // Enumeration<GraphCompartmentRule> 1632 case -1795452264: /*expression*/ return this.expression == null ? new Base[0] : new Base[] {this.expression}; // StringType 1633 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType 1634 default: return super.getProperty(hash, name, checkValid); 1635 } 1636 1637 } 1638 1639 @Override 1640 public Base setProperty(int hash, String name, Base value) throws FHIRException { 1641 switch (hash) { 1642 case 116103: // use 1643 value = new GraphCompartmentUseEnumFactory().fromType(TypeConvertor.castToCode(value)); 1644 this.use = (Enumeration) value; // Enumeration<GraphCompartmentUse> 1645 return value; 1646 case 3059181: // code 1647 value = new CompartmentTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); 1648 this.code = (Enumeration) value; // Enumeration<CompartmentType> 1649 return value; 1650 case 3512060: // rule 1651 value = new GraphCompartmentRuleEnumFactory().fromType(TypeConvertor.castToCode(value)); 1652 this.rule = (Enumeration) value; // Enumeration<GraphCompartmentRule> 1653 return value; 1654 case -1795452264: // expression 1655 this.expression = TypeConvertor.castToString(value); // StringType 1656 return value; 1657 case -1724546052: // description 1658 this.description = TypeConvertor.castToString(value); // StringType 1659 return value; 1660 default: return super.setProperty(hash, name, value); 1661 } 1662 1663 } 1664 1665 @Override 1666 public Base setProperty(String name, Base value) throws FHIRException { 1667 if (name.equals("use")) { 1668 value = new GraphCompartmentUseEnumFactory().fromType(TypeConvertor.castToCode(value)); 1669 this.use = (Enumeration) value; // Enumeration<GraphCompartmentUse> 1670 } else if (name.equals("code")) { 1671 value = new CompartmentTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); 1672 this.code = (Enumeration) value; // Enumeration<CompartmentType> 1673 } else if (name.equals("rule")) { 1674 value = new GraphCompartmentRuleEnumFactory().fromType(TypeConvertor.castToCode(value)); 1675 this.rule = (Enumeration) value; // Enumeration<GraphCompartmentRule> 1676 } else if (name.equals("expression")) { 1677 this.expression = TypeConvertor.castToString(value); // StringType 1678 } else if (name.equals("description")) { 1679 this.description = TypeConvertor.castToString(value); // StringType 1680 } else 1681 return super.setProperty(name, value); 1682 return value; 1683 } 1684 1685 @Override 1686 public Base makeProperty(int hash, String name) throws FHIRException { 1687 switch (hash) { 1688 case 116103: return getUseElement(); 1689 case 3059181: return getCodeElement(); 1690 case 3512060: return getRuleElement(); 1691 case -1795452264: return getExpressionElement(); 1692 case -1724546052: return getDescriptionElement(); 1693 default: return super.makeProperty(hash, name); 1694 } 1695 1696 } 1697 1698 @Override 1699 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 1700 switch (hash) { 1701 case 116103: /*use*/ return new String[] {"code"}; 1702 case 3059181: /*code*/ return new String[] {"code"}; 1703 case 3512060: /*rule*/ return new String[] {"code"}; 1704 case -1795452264: /*expression*/ return new String[] {"string"}; 1705 case -1724546052: /*description*/ return new String[] {"string"}; 1706 default: return super.getTypesForProperty(hash, name); 1707 } 1708 1709 } 1710 1711 @Override 1712 public Base addChild(String name) throws FHIRException { 1713 if (name.equals("use")) { 1714 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.target.compartment.use"); 1715 } 1716 else if (name.equals("code")) { 1717 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.target.compartment.code"); 1718 } 1719 else if (name.equals("rule")) { 1720 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.target.compartment.rule"); 1721 } 1722 else if (name.equals("expression")) { 1723 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.target.compartment.expression"); 1724 } 1725 else if (name.equals("description")) { 1726 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.link.target.compartment.description"); 1727 } 1728 else 1729 return super.addChild(name); 1730 } 1731 1732 public GraphDefinitionLinkTargetCompartmentComponent copy() { 1733 GraphDefinitionLinkTargetCompartmentComponent dst = new GraphDefinitionLinkTargetCompartmentComponent(); 1734 copyValues(dst); 1735 return dst; 1736 } 1737 1738 public void copyValues(GraphDefinitionLinkTargetCompartmentComponent dst) { 1739 super.copyValues(dst); 1740 dst.use = use == null ? null : use.copy(); 1741 dst.code = code == null ? null : code.copy(); 1742 dst.rule = rule == null ? null : rule.copy(); 1743 dst.expression = expression == null ? null : expression.copy(); 1744 dst.description = description == null ? null : description.copy(); 1745 } 1746 1747 @Override 1748 public boolean equalsDeep(Base other_) { 1749 if (!super.equalsDeep(other_)) 1750 return false; 1751 if (!(other_ instanceof GraphDefinitionLinkTargetCompartmentComponent)) 1752 return false; 1753 GraphDefinitionLinkTargetCompartmentComponent o = (GraphDefinitionLinkTargetCompartmentComponent) other_; 1754 return compareDeep(use, o.use, true) && compareDeep(code, o.code, true) && compareDeep(rule, o.rule, true) 1755 && compareDeep(expression, o.expression, true) && compareDeep(description, o.description, true) 1756 ; 1757 } 1758 1759 @Override 1760 public boolean equalsShallow(Base other_) { 1761 if (!super.equalsShallow(other_)) 1762 return false; 1763 if (!(other_ instanceof GraphDefinitionLinkTargetCompartmentComponent)) 1764 return false; 1765 GraphDefinitionLinkTargetCompartmentComponent o = (GraphDefinitionLinkTargetCompartmentComponent) other_; 1766 return compareValues(use, o.use, true) && compareValues(code, o.code, true) && compareValues(rule, o.rule, true) 1767 && compareValues(expression, o.expression, true) && compareValues(description, o.description, true) 1768 ; 1769 } 1770 1771 public boolean isEmpty() { 1772 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(use, code, rule, expression 1773 , description); 1774 } 1775 1776 public String fhirType() { 1777 return "GraphDefinition.link.target.compartment"; 1778 1779 } 1780 1781 } 1782 1783 /** 1784 * An absolute URI that is used to identify this graph 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph definition is stored on different servers. 1785 */ 1786 @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1, modifier=false, summary=true) 1787 @Description(shortDefinition="Canonical identifier for this graph definition, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this graph 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph definition is stored on different servers." ) 1788 protected UriType url; 1789 1790 /** 1791 * The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph 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. 1792 */ 1793 @Child(name = "version", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true) 1794 @Description(shortDefinition="Business version of the graph definition", formalDefinition="The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph 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." ) 1795 protected StringType version; 1796 1797 /** 1798 * A natural language name identifying the graph definition. This name should be usable as an identifier for the module by machine processing applications such as code generation. 1799 */ 1800 @Child(name = "name", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=true) 1801 @Description(shortDefinition="Name for this graph definition (computer friendly)", formalDefinition="A natural language name identifying the graph definition. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) 1802 protected StringType name; 1803 1804 /** 1805 * The status of this graph definition. Enables tracking the life-cycle of the content. 1806 */ 1807 @Child(name = "status", type = {CodeType.class}, order=3, min=1, max=1, modifier=true, summary=true) 1808 @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this graph definition. Enables tracking the life-cycle of the content." ) 1809 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") 1810 protected Enumeration<PublicationStatus> status; 1811 1812 /** 1813 * A Boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 1814 */ 1815 @Child(name = "experimental", type = {BooleanType.class}, order=4, min=0, max=1, modifier=false, summary=true) 1816 @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ) 1817 protected BooleanType experimental; 1818 1819 /** 1820 * The date (and optionally time) when the graph 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 graph definition changes. 1821 */ 1822 @Child(name = "date", type = {DateTimeType.class}, order=5, min=0, max=1, modifier=false, summary=true) 1823 @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the graph 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 graph definition changes." ) 1824 protected DateTimeType date; 1825 1826 /** 1827 * The name of the organization or individual that published the graph definition. 1828 */ 1829 @Child(name = "publisher", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=true) 1830 @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the graph definition." ) 1831 protected StringType publisher; 1832 1833 /** 1834 * Contact details to assist a user in finding and communicating with the publisher. 1835 */ 1836 @Child(name = "contact", type = {ContactDetail.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 1837 @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) 1838 protected List<ContactDetail> contact; 1839 1840 /** 1841 * A free text natural language description of the graph definition from a consumer's perspective. 1842 */ 1843 @Child(name = "description", type = {MarkdownType.class}, order=8, min=0, max=1, modifier=false, summary=false) 1844 @Description(shortDefinition="Natural language description of the graph definition", formalDefinition="A free text natural language description of the graph definition from a consumer's perspective." ) 1845 protected MarkdownType description; 1846 1847 /** 1848 * 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 graph definition instances. 1849 */ 1850 @Child(name = "useContext", type = {UsageContext.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 1851 @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 graph definition instances." ) 1852 protected List<UsageContext> useContext; 1853 1854 /** 1855 * A legal or geographic region in which the graph definition is intended to be used. 1856 */ 1857 @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 1858 @Description(shortDefinition="Intended jurisdiction for graph definition (if applicable)", formalDefinition="A legal or geographic region in which the graph definition is intended to be used." ) 1859 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") 1860 protected List<CodeableConcept> jurisdiction; 1861 1862 /** 1863 * Explanation of why this graph definition is needed and why it has been designed as it has. 1864 */ 1865 @Child(name = "purpose", type = {MarkdownType.class}, order=11, min=0, max=1, modifier=false, summary=false) 1866 @Description(shortDefinition="Why this graph definition is defined", formalDefinition="Explanation of why this graph definition is needed and why it has been designed as it has." ) 1867 protected MarkdownType purpose; 1868 1869 /** 1870 * The type of FHIR resource at which instances of this graph start. 1871 */ 1872 @Child(name = "start", type = {CodeType.class}, order=12, min=1, max=1, modifier=false, summary=true) 1873 @Description(shortDefinition="Type of resource at which the graph starts", formalDefinition="The type of FHIR resource at which instances of this graph start." ) 1874 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types") 1875 protected CodeType start; 1876 1877 /** 1878 * The profile that describes the use of the base resource. 1879 */ 1880 @Child(name = "profile", type = {CanonicalType.class}, order=13, min=0, max=1, modifier=false, summary=false) 1881 @Description(shortDefinition="Profile on base resource", formalDefinition="The profile that describes the use of the base resource." ) 1882 protected CanonicalType profile; 1883 1884 /** 1885 * Links this graph makes rules about. 1886 */ 1887 @Child(name = "link", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1888 @Description(shortDefinition="Links this graph makes rules about", formalDefinition="Links this graph makes rules about." ) 1889 protected List<GraphDefinitionLinkComponent> link; 1890 1891 private static final long serialVersionUID = -1567569412L; 1892 1893 /** 1894 * Constructor 1895 */ 1896 public GraphDefinition() { 1897 super(); 1898 } 1899 1900 /** 1901 * Constructor 1902 */ 1903 public GraphDefinition(String name, PublicationStatus status, String start) { 1904 super(); 1905 this.setName(name); 1906 this.setStatus(status); 1907 this.setStart(start); 1908 } 1909 1910 /** 1911 * @return {@link #url} (An absolute URI that is used to identify this graph 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph 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 1912 */ 1913 public UriType getUrlElement() { 1914 if (this.url == null) 1915 if (Configuration.errorOnAutoCreate()) 1916 throw new Error("Attempt to auto-create GraphDefinition.url"); 1917 else if (Configuration.doAutoCreate()) 1918 this.url = new UriType(); // bb 1919 return this.url; 1920 } 1921 1922 public boolean hasUrlElement() { 1923 return this.url != null && !this.url.isEmpty(); 1924 } 1925 1926 public boolean hasUrl() { 1927 return this.url != null && !this.url.isEmpty(); 1928 } 1929 1930 /** 1931 * @param value {@link #url} (An absolute URI that is used to identify this graph 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph 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 1932 */ 1933 public GraphDefinition setUrlElement(UriType value) { 1934 this.url = value; 1935 return this; 1936 } 1937 1938 /** 1939 * @return An absolute URI that is used to identify this graph 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph definition is stored on different servers. 1940 */ 1941 public String getUrl() { 1942 return this.url == null ? null : this.url.getValue(); 1943 } 1944 1945 /** 1946 * @param value An absolute URI that is used to identify this graph 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph definition is stored on different servers. 1947 */ 1948 public GraphDefinition setUrl(String value) { 1949 if (Utilities.noString(value)) 1950 this.url = null; 1951 else { 1952 if (this.url == null) 1953 this.url = new UriType(); 1954 this.url.setValue(value); 1955 } 1956 return this; 1957 } 1958 1959 /** 1960 * @return {@link #version} (The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph 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 1961 */ 1962 public StringType getVersionElement() { 1963 if (this.version == null) 1964 if (Configuration.errorOnAutoCreate()) 1965 throw new Error("Attempt to auto-create GraphDefinition.version"); 1966 else if (Configuration.doAutoCreate()) 1967 this.version = new StringType(); // bb 1968 return this.version; 1969 } 1970 1971 public boolean hasVersionElement() { 1972 return this.version != null && !this.version.isEmpty(); 1973 } 1974 1975 public boolean hasVersion() { 1976 return this.version != null && !this.version.isEmpty(); 1977 } 1978 1979 /** 1980 * @param value {@link #version} (The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph 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 1981 */ 1982 public GraphDefinition setVersionElement(StringType value) { 1983 this.version = value; 1984 return this; 1985 } 1986 1987 /** 1988 * @return The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph 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. 1989 */ 1990 public String getVersion() { 1991 return this.version == null ? null : this.version.getValue(); 1992 } 1993 1994 /** 1995 * @param value The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph 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. 1996 */ 1997 public GraphDefinition setVersion(String value) { 1998 if (Utilities.noString(value)) 1999 this.version = null; 2000 else { 2001 if (this.version == null) 2002 this.version = new StringType(); 2003 this.version.setValue(value); 2004 } 2005 return this; 2006 } 2007 2008 /** 2009 * @return {@link #name} (A natural language name identifying the graph 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 2010 */ 2011 public StringType getNameElement() { 2012 if (this.name == null) 2013 if (Configuration.errorOnAutoCreate()) 2014 throw new Error("Attempt to auto-create GraphDefinition.name"); 2015 else if (Configuration.doAutoCreate()) 2016 this.name = new StringType(); // bb 2017 return this.name; 2018 } 2019 2020 public boolean hasNameElement() { 2021 return this.name != null && !this.name.isEmpty(); 2022 } 2023 2024 public boolean hasName() { 2025 return this.name != null && !this.name.isEmpty(); 2026 } 2027 2028 /** 2029 * @param value {@link #name} (A natural language name identifying the graph 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 2030 */ 2031 public GraphDefinition setNameElement(StringType value) { 2032 this.name = value; 2033 return this; 2034 } 2035 2036 /** 2037 * @return A natural language name identifying the graph definition. This name should be usable as an identifier for the module by machine processing applications such as code generation. 2038 */ 2039 public String getName() { 2040 return this.name == null ? null : this.name.getValue(); 2041 } 2042 2043 /** 2044 * @param value A natural language name identifying the graph definition. This name should be usable as an identifier for the module by machine processing applications such as code generation. 2045 */ 2046 public GraphDefinition setName(String value) { 2047 if (this.name == null) 2048 this.name = new StringType(); 2049 this.name.setValue(value); 2050 return this; 2051 } 2052 2053 /** 2054 * @return {@link #status} (The status of this graph 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 2055 */ 2056 public Enumeration<PublicationStatus> getStatusElement() { 2057 if (this.status == null) 2058 if (Configuration.errorOnAutoCreate()) 2059 throw new Error("Attempt to auto-create GraphDefinition.status"); 2060 else if (Configuration.doAutoCreate()) 2061 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); // bb 2062 return this.status; 2063 } 2064 2065 public boolean hasStatusElement() { 2066 return this.status != null && !this.status.isEmpty(); 2067 } 2068 2069 public boolean hasStatus() { 2070 return this.status != null && !this.status.isEmpty(); 2071 } 2072 2073 /** 2074 * @param value {@link #status} (The status of this graph 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 2075 */ 2076 public GraphDefinition setStatusElement(Enumeration<PublicationStatus> value) { 2077 this.status = value; 2078 return this; 2079 } 2080 2081 /** 2082 * @return The status of this graph definition. Enables tracking the life-cycle of the content. 2083 */ 2084 public PublicationStatus getStatus() { 2085 return this.status == null ? null : this.status.getValue(); 2086 } 2087 2088 /** 2089 * @param value The status of this graph definition. Enables tracking the life-cycle of the content. 2090 */ 2091 public GraphDefinition setStatus(PublicationStatus value) { 2092 if (this.status == null) 2093 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); 2094 this.status.setValue(value); 2095 return this; 2096 } 2097 2098 /** 2099 * @return {@link #experimental} (A Boolean value to indicate that this graph 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 2100 */ 2101 public BooleanType getExperimentalElement() { 2102 if (this.experimental == null) 2103 if (Configuration.errorOnAutoCreate()) 2104 throw new Error("Attempt to auto-create GraphDefinition.experimental"); 2105 else if (Configuration.doAutoCreate()) 2106 this.experimental = new BooleanType(); // bb 2107 return this.experimental; 2108 } 2109 2110 public boolean hasExperimentalElement() { 2111 return this.experimental != null && !this.experimental.isEmpty(); 2112 } 2113 2114 public boolean hasExperimental() { 2115 return this.experimental != null && !this.experimental.isEmpty(); 2116 } 2117 2118 /** 2119 * @param value {@link #experimental} (A Boolean value to indicate that this graph 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 2120 */ 2121 public GraphDefinition setExperimentalElement(BooleanType value) { 2122 this.experimental = value; 2123 return this; 2124 } 2125 2126 /** 2127 * @return A Boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 2128 */ 2129 public boolean getExperimental() { 2130 return this.experimental == null || this.experimental.isEmpty() ? false : this.experimental.getValue(); 2131 } 2132 2133 /** 2134 * @param value A Boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 2135 */ 2136 public GraphDefinition setExperimental(boolean value) { 2137 if (this.experimental == null) 2138 this.experimental = new BooleanType(); 2139 this.experimental.setValue(value); 2140 return this; 2141 } 2142 2143 /** 2144 * @return {@link #date} (The date (and optionally time) when the graph 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 graph definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 2145 */ 2146 public DateTimeType getDateElement() { 2147 if (this.date == null) 2148 if (Configuration.errorOnAutoCreate()) 2149 throw new Error("Attempt to auto-create GraphDefinition.date"); 2150 else if (Configuration.doAutoCreate()) 2151 this.date = new DateTimeType(); // bb 2152 return this.date; 2153 } 2154 2155 public boolean hasDateElement() { 2156 return this.date != null && !this.date.isEmpty(); 2157 } 2158 2159 public boolean hasDate() { 2160 return this.date != null && !this.date.isEmpty(); 2161 } 2162 2163 /** 2164 * @param value {@link #date} (The date (and optionally time) when the graph 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 graph definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 2165 */ 2166 public GraphDefinition setDateElement(DateTimeType value) { 2167 this.date = value; 2168 return this; 2169 } 2170 2171 /** 2172 * @return The date (and optionally time) when the graph 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 graph definition changes. 2173 */ 2174 public Date getDate() { 2175 return this.date == null ? null : this.date.getValue(); 2176 } 2177 2178 /** 2179 * @param value The date (and optionally time) when the graph 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 graph definition changes. 2180 */ 2181 public GraphDefinition setDate(Date value) { 2182 if (value == null) 2183 this.date = null; 2184 else { 2185 if (this.date == null) 2186 this.date = new DateTimeType(); 2187 this.date.setValue(value); 2188 } 2189 return this; 2190 } 2191 2192 /** 2193 * @return {@link #publisher} (The name of the organization or individual that published the graph definition.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 2194 */ 2195 public StringType getPublisherElement() { 2196 if (this.publisher == null) 2197 if (Configuration.errorOnAutoCreate()) 2198 throw new Error("Attempt to auto-create GraphDefinition.publisher"); 2199 else if (Configuration.doAutoCreate()) 2200 this.publisher = new StringType(); // bb 2201 return this.publisher; 2202 } 2203 2204 public boolean hasPublisherElement() { 2205 return this.publisher != null && !this.publisher.isEmpty(); 2206 } 2207 2208 public boolean hasPublisher() { 2209 return this.publisher != null && !this.publisher.isEmpty(); 2210 } 2211 2212 /** 2213 * @param value {@link #publisher} (The name of the organization or individual that published the graph definition.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 2214 */ 2215 public GraphDefinition setPublisherElement(StringType value) { 2216 this.publisher = value; 2217 return this; 2218 } 2219 2220 /** 2221 * @return The name of the organization or individual that published the graph definition. 2222 */ 2223 public String getPublisher() { 2224 return this.publisher == null ? null : this.publisher.getValue(); 2225 } 2226 2227 /** 2228 * @param value The name of the organization or individual that published the graph definition. 2229 */ 2230 public GraphDefinition setPublisher(String value) { 2231 if (Utilities.noString(value)) 2232 this.publisher = null; 2233 else { 2234 if (this.publisher == null) 2235 this.publisher = new StringType(); 2236 this.publisher.setValue(value); 2237 } 2238 return this; 2239 } 2240 2241 /** 2242 * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.) 2243 */ 2244 public List<ContactDetail> getContact() { 2245 if (this.contact == null) 2246 this.contact = new ArrayList<ContactDetail>(); 2247 return this.contact; 2248 } 2249 2250 /** 2251 * @return Returns a reference to <code>this</code> for easy method chaining 2252 */ 2253 public GraphDefinition setContact(List<ContactDetail> theContact) { 2254 this.contact = theContact; 2255 return this; 2256 } 2257 2258 public boolean hasContact() { 2259 if (this.contact == null) 2260 return false; 2261 for (ContactDetail item : this.contact) 2262 if (!item.isEmpty()) 2263 return true; 2264 return false; 2265 } 2266 2267 public ContactDetail addContact() { //3 2268 ContactDetail t = new ContactDetail(); 2269 if (this.contact == null) 2270 this.contact = new ArrayList<ContactDetail>(); 2271 this.contact.add(t); 2272 return t; 2273 } 2274 2275 public GraphDefinition addContact(ContactDetail t) { //3 2276 if (t == null) 2277 return this; 2278 if (this.contact == null) 2279 this.contact = new ArrayList<ContactDetail>(); 2280 this.contact.add(t); 2281 return this; 2282 } 2283 2284 /** 2285 * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} 2286 */ 2287 public ContactDetail getContactFirstRep() { 2288 if (getContact().isEmpty()) { 2289 addContact(); 2290 } 2291 return getContact().get(0); 2292 } 2293 2294 /** 2295 * @return {@link #description} (A free text natural language description of the graph 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 2296 */ 2297 public MarkdownType getDescriptionElement() { 2298 if (this.description == null) 2299 if (Configuration.errorOnAutoCreate()) 2300 throw new Error("Attempt to auto-create GraphDefinition.description"); 2301 else if (Configuration.doAutoCreate()) 2302 this.description = new MarkdownType(); // bb 2303 return this.description; 2304 } 2305 2306 public boolean hasDescriptionElement() { 2307 return this.description != null && !this.description.isEmpty(); 2308 } 2309 2310 public boolean hasDescription() { 2311 return this.description != null && !this.description.isEmpty(); 2312 } 2313 2314 /** 2315 * @param value {@link #description} (A free text natural language description of the graph 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 2316 */ 2317 public GraphDefinition setDescriptionElement(MarkdownType value) { 2318 this.description = value; 2319 return this; 2320 } 2321 2322 /** 2323 * @return A free text natural language description of the graph definition from a consumer's perspective. 2324 */ 2325 public String getDescription() { 2326 return this.description == null ? null : this.description.getValue(); 2327 } 2328 2329 /** 2330 * @param value A free text natural language description of the graph definition from a consumer's perspective. 2331 */ 2332 public GraphDefinition setDescription(String value) { 2333 if (value == null) 2334 this.description = null; 2335 else { 2336 if (this.description == null) 2337 this.description = new MarkdownType(); 2338 this.description.setValue(value); 2339 } 2340 return this; 2341 } 2342 2343 /** 2344 * @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 graph definition instances.) 2345 */ 2346 public List<UsageContext> getUseContext() { 2347 if (this.useContext == null) 2348 this.useContext = new ArrayList<UsageContext>(); 2349 return this.useContext; 2350 } 2351 2352 /** 2353 * @return Returns a reference to <code>this</code> for easy method chaining 2354 */ 2355 public GraphDefinition setUseContext(List<UsageContext> theUseContext) { 2356 this.useContext = theUseContext; 2357 return this; 2358 } 2359 2360 public boolean hasUseContext() { 2361 if (this.useContext == null) 2362 return false; 2363 for (UsageContext item : this.useContext) 2364 if (!item.isEmpty()) 2365 return true; 2366 return false; 2367 } 2368 2369 public UsageContext addUseContext() { //3 2370 UsageContext t = new UsageContext(); 2371 if (this.useContext == null) 2372 this.useContext = new ArrayList<UsageContext>(); 2373 this.useContext.add(t); 2374 return t; 2375 } 2376 2377 public GraphDefinition addUseContext(UsageContext t) { //3 2378 if (t == null) 2379 return this; 2380 if (this.useContext == null) 2381 this.useContext = new ArrayList<UsageContext>(); 2382 this.useContext.add(t); 2383 return this; 2384 } 2385 2386 /** 2387 * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {3} 2388 */ 2389 public UsageContext getUseContextFirstRep() { 2390 if (getUseContext().isEmpty()) { 2391 addUseContext(); 2392 } 2393 return getUseContext().get(0); 2394 } 2395 2396 /** 2397 * @return {@link #jurisdiction} (A legal or geographic region in which the graph definition is intended to be used.) 2398 */ 2399 public List<CodeableConcept> getJurisdiction() { 2400 if (this.jurisdiction == null) 2401 this.jurisdiction = new ArrayList<CodeableConcept>(); 2402 return this.jurisdiction; 2403 } 2404 2405 /** 2406 * @return Returns a reference to <code>this</code> for easy method chaining 2407 */ 2408 public GraphDefinition setJurisdiction(List<CodeableConcept> theJurisdiction) { 2409 this.jurisdiction = theJurisdiction; 2410 return this; 2411 } 2412 2413 public boolean hasJurisdiction() { 2414 if (this.jurisdiction == null) 2415 return false; 2416 for (CodeableConcept item : this.jurisdiction) 2417 if (!item.isEmpty()) 2418 return true; 2419 return false; 2420 } 2421 2422 public CodeableConcept addJurisdiction() { //3 2423 CodeableConcept t = new CodeableConcept(); 2424 if (this.jurisdiction == null) 2425 this.jurisdiction = new ArrayList<CodeableConcept>(); 2426 this.jurisdiction.add(t); 2427 return t; 2428 } 2429 2430 public GraphDefinition addJurisdiction(CodeableConcept t) { //3 2431 if (t == null) 2432 return this; 2433 if (this.jurisdiction == null) 2434 this.jurisdiction = new ArrayList<CodeableConcept>(); 2435 this.jurisdiction.add(t); 2436 return this; 2437 } 2438 2439 /** 2440 * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist {3} 2441 */ 2442 public CodeableConcept getJurisdictionFirstRep() { 2443 if (getJurisdiction().isEmpty()) { 2444 addJurisdiction(); 2445 } 2446 return getJurisdiction().get(0); 2447 } 2448 2449 /** 2450 * @return {@link #purpose} (Explanation of why this graph 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 2451 */ 2452 public MarkdownType getPurposeElement() { 2453 if (this.purpose == null) 2454 if (Configuration.errorOnAutoCreate()) 2455 throw new Error("Attempt to auto-create GraphDefinition.purpose"); 2456 else if (Configuration.doAutoCreate()) 2457 this.purpose = new MarkdownType(); // bb 2458 return this.purpose; 2459 } 2460 2461 public boolean hasPurposeElement() { 2462 return this.purpose != null && !this.purpose.isEmpty(); 2463 } 2464 2465 public boolean hasPurpose() { 2466 return this.purpose != null && !this.purpose.isEmpty(); 2467 } 2468 2469 /** 2470 * @param value {@link #purpose} (Explanation of why this graph 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 2471 */ 2472 public GraphDefinition setPurposeElement(MarkdownType value) { 2473 this.purpose = value; 2474 return this; 2475 } 2476 2477 /** 2478 * @return Explanation of why this graph definition is needed and why it has been designed as it has. 2479 */ 2480 public String getPurpose() { 2481 return this.purpose == null ? null : this.purpose.getValue(); 2482 } 2483 2484 /** 2485 * @param value Explanation of why this graph definition is needed and why it has been designed as it has. 2486 */ 2487 public GraphDefinition setPurpose(String value) { 2488 if (value == null) 2489 this.purpose = null; 2490 else { 2491 if (this.purpose == null) 2492 this.purpose = new MarkdownType(); 2493 this.purpose.setValue(value); 2494 } 2495 return this; 2496 } 2497 2498 /** 2499 * @return {@link #start} (The type of FHIR resource at which instances of this graph start.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value 2500 */ 2501 public CodeType getStartElement() { 2502 if (this.start == null) 2503 if (Configuration.errorOnAutoCreate()) 2504 throw new Error("Attempt to auto-create GraphDefinition.start"); 2505 else if (Configuration.doAutoCreate()) 2506 this.start = new CodeType(); // bb 2507 return this.start; 2508 } 2509 2510 public boolean hasStartElement() { 2511 return this.start != null && !this.start.isEmpty(); 2512 } 2513 2514 public boolean hasStart() { 2515 return this.start != null && !this.start.isEmpty(); 2516 } 2517 2518 /** 2519 * @param value {@link #start} (The type of FHIR resource at which instances of this graph start.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value 2520 */ 2521 public GraphDefinition setStartElement(CodeType value) { 2522 this.start = value; 2523 return this; 2524 } 2525 2526 /** 2527 * @return The type of FHIR resource at which instances of this graph start. 2528 */ 2529 public String getStart() { 2530 return this.start == null ? null : this.start.getValue(); 2531 } 2532 2533 /** 2534 * @param value The type of FHIR resource at which instances of this graph start. 2535 */ 2536 public GraphDefinition setStart(String value) { 2537 if (this.start == null) 2538 this.start = new CodeType(); 2539 this.start.setValue(value); 2540 return this; 2541 } 2542 2543 /** 2544 * @return {@link #profile} (The profile that describes the use of the base resource.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value 2545 */ 2546 public CanonicalType getProfileElement() { 2547 if (this.profile == null) 2548 if (Configuration.errorOnAutoCreate()) 2549 throw new Error("Attempt to auto-create GraphDefinition.profile"); 2550 else if (Configuration.doAutoCreate()) 2551 this.profile = new CanonicalType(); // bb 2552 return this.profile; 2553 } 2554 2555 public boolean hasProfileElement() { 2556 return this.profile != null && !this.profile.isEmpty(); 2557 } 2558 2559 public boolean hasProfile() { 2560 return this.profile != null && !this.profile.isEmpty(); 2561 } 2562 2563 /** 2564 * @param value {@link #profile} (The profile that describes the use of the base resource.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value 2565 */ 2566 public GraphDefinition setProfileElement(CanonicalType value) { 2567 this.profile = value; 2568 return this; 2569 } 2570 2571 /** 2572 * @return The profile that describes the use of the base resource. 2573 */ 2574 public String getProfile() { 2575 return this.profile == null ? null : this.profile.getValue(); 2576 } 2577 2578 /** 2579 * @param value The profile that describes the use of the base resource. 2580 */ 2581 public GraphDefinition setProfile(String value) { 2582 if (Utilities.noString(value)) 2583 this.profile = null; 2584 else { 2585 if (this.profile == null) 2586 this.profile = new CanonicalType(); 2587 this.profile.setValue(value); 2588 } 2589 return this; 2590 } 2591 2592 /** 2593 * @return {@link #link} (Links this graph makes rules about.) 2594 */ 2595 public List<GraphDefinitionLinkComponent> getLink() { 2596 if (this.link == null) 2597 this.link = new ArrayList<GraphDefinitionLinkComponent>(); 2598 return this.link; 2599 } 2600 2601 /** 2602 * @return Returns a reference to <code>this</code> for easy method chaining 2603 */ 2604 public GraphDefinition setLink(List<GraphDefinitionLinkComponent> theLink) { 2605 this.link = theLink; 2606 return this; 2607 } 2608 2609 public boolean hasLink() { 2610 if (this.link == null) 2611 return false; 2612 for (GraphDefinitionLinkComponent item : this.link) 2613 if (!item.isEmpty()) 2614 return true; 2615 return false; 2616 } 2617 2618 public GraphDefinitionLinkComponent addLink() { //3 2619 GraphDefinitionLinkComponent t = new GraphDefinitionLinkComponent(); 2620 if (this.link == null) 2621 this.link = new ArrayList<GraphDefinitionLinkComponent>(); 2622 this.link.add(t); 2623 return t; 2624 } 2625 2626 public GraphDefinition addLink(GraphDefinitionLinkComponent t) { //3 2627 if (t == null) 2628 return this; 2629 if (this.link == null) 2630 this.link = new ArrayList<GraphDefinitionLinkComponent>(); 2631 this.link.add(t); 2632 return this; 2633 } 2634 2635 /** 2636 * @return The first repetition of repeating field {@link #link}, creating it if it does not already exist {3} 2637 */ 2638 public GraphDefinitionLinkComponent getLinkFirstRep() { 2639 if (getLink().isEmpty()) { 2640 addLink(); 2641 } 2642 return getLink().get(0); 2643 } 2644 2645 /** 2646 * not supported on this implementation 2647 */ 2648 @Override 2649 public int getIdentifierMax() { 2650 return 0; 2651 } 2652 /** 2653 * @return {@link #identifier} (A formal identifier that is used to identify this graph definition when it is represented in other formats, or referenced in a specification, model, design or an instance.) 2654 */ 2655 public List<Identifier> getIdentifier() { 2656 return new ArrayList<>(); 2657 } 2658 /** 2659 * @return Returns a reference to <code>this</code> for easy method chaining 2660 */ 2661 public GraphDefinition setIdentifier(List<Identifier> theIdentifier) { 2662 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"identifier\""); 2663 } 2664 public boolean hasIdentifier() { 2665 return false; 2666 } 2667 2668 public Identifier addIdentifier() { //3 2669 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"identifier\""); 2670 } 2671 public GraphDefinition addIdentifier(Identifier t) { //3 2672 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"identifier\""); 2673 } 2674 /** 2675 * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {2} 2676 */ 2677 public Identifier getIdentifierFirstRep() { 2678 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"identifier\""); 2679 } 2680 /** 2681 * not supported on this implementation 2682 */ 2683 @Override 2684 public int getTitleMax() { 2685 return 0; 2686 } 2687 /** 2688 * @return {@link #title} (A short, descriptive, user-friendly title for the graph definition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 2689 */ 2690 public StringType getTitleElement() { 2691 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"title\""); 2692 } 2693 2694 public boolean hasTitleElement() { 2695 return false; 2696 } 2697 public boolean hasTitle() { 2698 return false; 2699 } 2700 2701 /** 2702 * @param value {@link #title} (A short, descriptive, user-friendly title for the graph definition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 2703 */ 2704 public GraphDefinition setTitleElement(StringType value) { 2705 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"title\""); 2706 } 2707 public String getTitle() { 2708 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"title\""); 2709 } 2710 /** 2711 * @param value A short, descriptive, user-friendly title for the graph definition. 2712 */ 2713 public GraphDefinition setTitle(String value) { 2714 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"title\""); 2715 } 2716 /** 2717 * not supported on this implementation 2718 */ 2719 @Override 2720 public int getCopyrightMax() { 2721 return 0; 2722 } 2723 /** 2724 * @return {@link #copyright} (A copyright statement relating to the graph definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the graph definition.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 2725 */ 2726 public MarkdownType getCopyrightElement() { 2727 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"copyright\""); 2728 } 2729 2730 public boolean hasCopyrightElement() { 2731 return false; 2732 } 2733 public boolean hasCopyright() { 2734 return false; 2735 } 2736 2737 /** 2738 * @param value {@link #copyright} (A copyright statement relating to the graph definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the graph definition.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 2739 */ 2740 public GraphDefinition setCopyrightElement(MarkdownType value) { 2741 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"copyright\""); 2742 } 2743 public String getCopyright() { 2744 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"copyright\""); 2745 } 2746 /** 2747 * @param value A copyright statement relating to the graph definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the graph definition. 2748 */ 2749 public GraphDefinition setCopyright(String value) { 2750 throw new Error("The resource type \"GraphDefinition\" does not implement the property \"copyright\""); 2751 } 2752 protected void listChildren(List<Property> children) { 2753 super.listChildren(children); 2754 children.add(new Property("url", "uri", "An absolute URI that is used to identify this graph 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph definition is stored on different servers.", 0, 1, url)); 2755 children.add(new Property("version", "string", "The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph 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)); 2756 children.add(new Property("name", "string", "A natural language name identifying the graph definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); 2757 children.add(new Property("status", "code", "The status of this graph definition. Enables tracking the life-cycle of the content.", 0, 1, status)); 2758 children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); 2759 children.add(new Property("date", "dateTime", "The date (and optionally time) when the graph 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 graph definition changes.", 0, 1, date)); 2760 children.add(new Property("publisher", "string", "The name of the organization or individual that published the graph definition.", 0, 1, publisher)); 2761 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)); 2762 children.add(new Property("description", "markdown", "A free text natural language description of the graph definition from a consumer's perspective.", 0, 1, description)); 2763 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 graph definition instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); 2764 children.add(new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the graph definition is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction)); 2765 children.add(new Property("purpose", "markdown", "Explanation of why this graph definition is needed and why it has been designed as it has.", 0, 1, purpose)); 2766 children.add(new Property("start", "code", "The type of FHIR resource at which instances of this graph start.", 0, 1, start)); 2767 children.add(new Property("profile", "canonical(StructureDefinition)", "The profile that describes the use of the base resource.", 0, 1, profile)); 2768 children.add(new Property("link", "", "Links this graph makes rules about.", 0, java.lang.Integer.MAX_VALUE, link)); 2769 } 2770 2771 @Override 2772 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 2773 switch (_hash) { 2774 case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this graph 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph definition is stored on different servers.", 0, 1, url); 2775 case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph 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); 2776 case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the graph definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); 2777 case -892481550: /*status*/ return new Property("status", "code", "The status of this graph definition. Enables tracking the life-cycle of the content.", 0, 1, status); 2778 case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); 2779 case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the graph 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 graph definition changes.", 0, 1, date); 2780 case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the graph definition.", 0, 1, publisher); 2781 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); 2782 case -1724546052: /*description*/ return new Property("description", "markdown", "A free text natural language description of the graph definition from a consumer's perspective.", 0, 1, description); 2783 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 graph definition instances.", 0, java.lang.Integer.MAX_VALUE, useContext); 2784 case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the graph definition is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction); 2785 case -220463842: /*purpose*/ return new Property("purpose", "markdown", "Explanation of why this graph definition is needed and why it has been designed as it has.", 0, 1, purpose); 2786 case 109757538: /*start*/ return new Property("start", "code", "The type of FHIR resource at which instances of this graph start.", 0, 1, start); 2787 case -309425751: /*profile*/ return new Property("profile", "canonical(StructureDefinition)", "The profile that describes the use of the base resource.", 0, 1, profile); 2788 case 3321850: /*link*/ return new Property("link", "", "Links this graph makes rules about.", 0, java.lang.Integer.MAX_VALUE, link); 2789 default: return super.getNamedProperty(_hash, _name, _checkValid); 2790 } 2791 2792 } 2793 2794 @Override 2795 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 2796 switch (hash) { 2797 case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType 2798 case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType 2799 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType 2800 case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<PublicationStatus> 2801 case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType 2802 case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType 2803 case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType 2804 case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail 2805 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType 2806 case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext 2807 case -507075711: /*jurisdiction*/ return this.jurisdiction == null ? new Base[0] : this.jurisdiction.toArray(new Base[this.jurisdiction.size()]); // CodeableConcept 2808 case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // MarkdownType 2809 case 109757538: /*start*/ return this.start == null ? new Base[0] : new Base[] {this.start}; // CodeType 2810 case -309425751: /*profile*/ return this.profile == null ? new Base[0] : new Base[] {this.profile}; // CanonicalType 2811 case 3321850: /*link*/ return this.link == null ? new Base[0] : this.link.toArray(new Base[this.link.size()]); // GraphDefinitionLinkComponent 2812 default: return super.getProperty(hash, name, checkValid); 2813 } 2814 2815 } 2816 2817 @Override 2818 public Base setProperty(int hash, String name, Base value) throws FHIRException { 2819 switch (hash) { 2820 case 116079: // url 2821 this.url = TypeConvertor.castToUri(value); // UriType 2822 return value; 2823 case 351608024: // version 2824 this.version = TypeConvertor.castToString(value); // StringType 2825 return value; 2826 case 3373707: // name 2827 this.name = TypeConvertor.castToString(value); // StringType 2828 return value; 2829 case -892481550: // status 2830 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 2831 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 2832 return value; 2833 case -404562712: // experimental 2834 this.experimental = TypeConvertor.castToBoolean(value); // BooleanType 2835 return value; 2836 case 3076014: // date 2837 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 2838 return value; 2839 case 1447404028: // publisher 2840 this.publisher = TypeConvertor.castToString(value); // StringType 2841 return value; 2842 case 951526432: // contact 2843 this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 2844 return value; 2845 case -1724546052: // description 2846 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 2847 return value; 2848 case -669707736: // useContext 2849 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext 2850 return value; 2851 case -507075711: // jurisdiction 2852 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept 2853 return value; 2854 case -220463842: // purpose 2855 this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType 2856 return value; 2857 case 109757538: // start 2858 this.start = TypeConvertor.castToCode(value); // CodeType 2859 return value; 2860 case -309425751: // profile 2861 this.profile = TypeConvertor.castToCanonical(value); // CanonicalType 2862 return value; 2863 case 3321850: // link 2864 this.getLink().add((GraphDefinitionLinkComponent) value); // GraphDefinitionLinkComponent 2865 return value; 2866 default: return super.setProperty(hash, name, value); 2867 } 2868 2869 } 2870 2871 @Override 2872 public Base setProperty(String name, Base value) throws FHIRException { 2873 if (name.equals("url")) { 2874 this.url = TypeConvertor.castToUri(value); // UriType 2875 } else if (name.equals("version")) { 2876 this.version = TypeConvertor.castToString(value); // StringType 2877 } else if (name.equals("name")) { 2878 this.name = TypeConvertor.castToString(value); // StringType 2879 } else if (name.equals("status")) { 2880 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 2881 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 2882 } else if (name.equals("experimental")) { 2883 this.experimental = TypeConvertor.castToBoolean(value); // BooleanType 2884 } else if (name.equals("date")) { 2885 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 2886 } else if (name.equals("publisher")) { 2887 this.publisher = TypeConvertor.castToString(value); // StringType 2888 } else if (name.equals("contact")) { 2889 this.getContact().add(TypeConvertor.castToContactDetail(value)); 2890 } else if (name.equals("description")) { 2891 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 2892 } else if (name.equals("useContext")) { 2893 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); 2894 } else if (name.equals("jurisdiction")) { 2895 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); 2896 } else if (name.equals("purpose")) { 2897 this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType 2898 } else if (name.equals("start")) { 2899 this.start = TypeConvertor.castToCode(value); // CodeType 2900 } else if (name.equals("profile")) { 2901 this.profile = TypeConvertor.castToCanonical(value); // CanonicalType 2902 } else if (name.equals("link")) { 2903 this.getLink().add((GraphDefinitionLinkComponent) value); 2904 } else 2905 return super.setProperty(name, value); 2906 return value; 2907 } 2908 2909 @Override 2910 public Base makeProperty(int hash, String name) throws FHIRException { 2911 switch (hash) { 2912 case 116079: return getUrlElement(); 2913 case 351608024: return getVersionElement(); 2914 case 3373707: return getNameElement(); 2915 case -892481550: return getStatusElement(); 2916 case -404562712: return getExperimentalElement(); 2917 case 3076014: return getDateElement(); 2918 case 1447404028: return getPublisherElement(); 2919 case 951526432: return addContact(); 2920 case -1724546052: return getDescriptionElement(); 2921 case -669707736: return addUseContext(); 2922 case -507075711: return addJurisdiction(); 2923 case -220463842: return getPurposeElement(); 2924 case 109757538: return getStartElement(); 2925 case -309425751: return getProfileElement(); 2926 case 3321850: return addLink(); 2927 default: return super.makeProperty(hash, name); 2928 } 2929 2930 } 2931 2932 @Override 2933 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 2934 switch (hash) { 2935 case 116079: /*url*/ return new String[] {"uri"}; 2936 case 351608024: /*version*/ return new String[] {"string"}; 2937 case 3373707: /*name*/ return new String[] {"string"}; 2938 case -892481550: /*status*/ return new String[] {"code"}; 2939 case -404562712: /*experimental*/ return new String[] {"boolean"}; 2940 case 3076014: /*date*/ return new String[] {"dateTime"}; 2941 case 1447404028: /*publisher*/ return new String[] {"string"}; 2942 case 951526432: /*contact*/ return new String[] {"ContactDetail"}; 2943 case -1724546052: /*description*/ return new String[] {"markdown"}; 2944 case -669707736: /*useContext*/ return new String[] {"UsageContext"}; 2945 case -507075711: /*jurisdiction*/ return new String[] {"CodeableConcept"}; 2946 case -220463842: /*purpose*/ return new String[] {"markdown"}; 2947 case 109757538: /*start*/ return new String[] {"code"}; 2948 case -309425751: /*profile*/ return new String[] {"canonical"}; 2949 case 3321850: /*link*/ return new String[] {}; 2950 default: return super.getTypesForProperty(hash, name); 2951 } 2952 2953 } 2954 2955 @Override 2956 public Base addChild(String name) throws FHIRException { 2957 if (name.equals("url")) { 2958 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.url"); 2959 } 2960 else if (name.equals("version")) { 2961 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.version"); 2962 } 2963 else if (name.equals("name")) { 2964 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.name"); 2965 } 2966 else if (name.equals("status")) { 2967 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.status"); 2968 } 2969 else if (name.equals("experimental")) { 2970 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.experimental"); 2971 } 2972 else if (name.equals("date")) { 2973 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.date"); 2974 } 2975 else if (name.equals("publisher")) { 2976 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.publisher"); 2977 } 2978 else if (name.equals("contact")) { 2979 return addContact(); 2980 } 2981 else if (name.equals("description")) { 2982 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.description"); 2983 } 2984 else if (name.equals("useContext")) { 2985 return addUseContext(); 2986 } 2987 else if (name.equals("jurisdiction")) { 2988 return addJurisdiction(); 2989 } 2990 else if (name.equals("purpose")) { 2991 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.purpose"); 2992 } 2993 else if (name.equals("start")) { 2994 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.start"); 2995 } 2996 else if (name.equals("profile")) { 2997 throw new FHIRException("Cannot call addChild on a primitive type GraphDefinition.profile"); 2998 } 2999 else if (name.equals("link")) { 3000 return addLink(); 3001 } 3002 else 3003 return super.addChild(name); 3004 } 3005 3006 public String fhirType() { 3007 return "GraphDefinition"; 3008 3009 } 3010 3011 public GraphDefinition copy() { 3012 GraphDefinition dst = new GraphDefinition(); 3013 copyValues(dst); 3014 return dst; 3015 } 3016 3017 public void copyValues(GraphDefinition dst) { 3018 super.copyValues(dst); 3019 dst.url = url == null ? null : url.copy(); 3020 dst.version = version == null ? null : version.copy(); 3021 dst.name = name == null ? null : name.copy(); 3022 dst.status = status == null ? null : status.copy(); 3023 dst.experimental = experimental == null ? null : experimental.copy(); 3024 dst.date = date == null ? null : date.copy(); 3025 dst.publisher = publisher == null ? null : publisher.copy(); 3026 if (contact != null) { 3027 dst.contact = new ArrayList<ContactDetail>(); 3028 for (ContactDetail i : contact) 3029 dst.contact.add(i.copy()); 3030 }; 3031 dst.description = description == null ? null : description.copy(); 3032 if (useContext != null) { 3033 dst.useContext = new ArrayList<UsageContext>(); 3034 for (UsageContext i : useContext) 3035 dst.useContext.add(i.copy()); 3036 }; 3037 if (jurisdiction != null) { 3038 dst.jurisdiction = new ArrayList<CodeableConcept>(); 3039 for (CodeableConcept i : jurisdiction) 3040 dst.jurisdiction.add(i.copy()); 3041 }; 3042 dst.purpose = purpose == null ? null : purpose.copy(); 3043 dst.start = start == null ? null : start.copy(); 3044 dst.profile = profile == null ? null : profile.copy(); 3045 if (link != null) { 3046 dst.link = new ArrayList<GraphDefinitionLinkComponent>(); 3047 for (GraphDefinitionLinkComponent i : link) 3048 dst.link.add(i.copy()); 3049 }; 3050 } 3051 3052 protected GraphDefinition typedCopy() { 3053 return copy(); 3054 } 3055 3056 @Override 3057 public boolean equalsDeep(Base other_) { 3058 if (!super.equalsDeep(other_)) 3059 return false; 3060 if (!(other_ instanceof GraphDefinition)) 3061 return false; 3062 GraphDefinition o = (GraphDefinition) other_; 3063 return compareDeep(url, o.url, true) && compareDeep(version, o.version, true) && compareDeep(name, o.name, true) 3064 && compareDeep(status, o.status, true) && compareDeep(experimental, o.experimental, true) && compareDeep(date, o.date, true) 3065 && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) && compareDeep(description, o.description, true) 3066 && compareDeep(useContext, o.useContext, true) && compareDeep(jurisdiction, o.jurisdiction, true) 3067 && compareDeep(purpose, o.purpose, true) && compareDeep(start, o.start, true) && compareDeep(profile, o.profile, true) 3068 && compareDeep(link, o.link, true); 3069 } 3070 3071 @Override 3072 public boolean equalsShallow(Base other_) { 3073 if (!super.equalsShallow(other_)) 3074 return false; 3075 if (!(other_ instanceof GraphDefinition)) 3076 return false; 3077 GraphDefinition o = (GraphDefinition) other_; 3078 return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) 3079 && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true) && compareValues(date, o.date, true) 3080 && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true) && compareValues(purpose, o.purpose, true) 3081 && compareValues(start, o.start, true) && compareValues(profile, o.profile, true); 3082 } 3083 3084 public boolean isEmpty() { 3085 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, version, name, status 3086 , experimental, date, publisher, contact, description, useContext, jurisdiction 3087 , purpose, start, profile, link); 3088 } 3089 3090 @Override 3091 public ResourceType getResourceType() { 3092 return ResourceType.GraphDefinition; 3093 } 3094 3095 /** 3096 * Search parameter: <b>start</b> 3097 * <p> 3098 * Description: <b>Type of resource at which the graph starts</b><br> 3099 * Type: <b>token</b><br> 3100 * Path: <b>GraphDefinition.start</b><br> 3101 * </p> 3102 */ 3103 @SearchParamDefinition(name="start", path="GraphDefinition.start", description="Type of resource at which the graph starts", type="token" ) 3104 public static final String SP_START = "start"; 3105 /** 3106 * <b>Fluent Client</b> search parameter constant for <b>start</b> 3107 * <p> 3108 * Description: <b>Type of resource at which the graph starts</b><br> 3109 * Type: <b>token</b><br> 3110 * Path: <b>GraphDefinition.start</b><br> 3111 * </p> 3112 */ 3113 public static final ca.uhn.fhir.rest.gclient.TokenClientParam START = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_START); 3114 3115 /** 3116 * Search parameter: <b>context-quantity</b> 3117 * <p> 3118 * Description: <b>Multiple Resources: 3119 3120* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement 3121* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system 3122* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition 3123* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map 3124* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition 3125* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide 3126* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition 3127* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system 3128* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition 3129* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter 3130* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition 3131* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map 3132* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities 3133* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set 3134</b><br> 3135 * Type: <b>quantity</b><br> 3136 * 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> 3137 * </p> 3138 */ 3139 @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" ) 3140 public static final String SP_CONTEXT_QUANTITY = "context-quantity"; 3141 /** 3142 * <b>Fluent Client</b> search parameter constant for <b>context-quantity</b> 3143 * <p> 3144 * Description: <b>Multiple Resources: 3145 3146* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement 3147* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system 3148* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition 3149* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map 3150* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition 3151* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide 3152* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition 3153* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system 3154* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition 3155* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter 3156* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition 3157* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map 3158* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities 3159* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set 3160</b><br> 3161 * Type: <b>quantity</b><br> 3162 * 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> 3163 * </p> 3164 */ 3165 public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); 3166 3167 /** 3168 * Search parameter: <b>context-type-quantity</b> 3169 * <p> 3170 * Description: <b>Multiple Resources: 3171 3172* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement 3173* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system 3174* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition 3175* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map 3176* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition 3177* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide 3178* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition 3179* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system 3180* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition 3181* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter 3182* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition 3183* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map 3184* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities 3185* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set 3186</b><br> 3187 * Type: <b>composite</b><br> 3188 * 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> 3189 * </p> 3190 */ 3191 @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"} ) 3192 public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; 3193 /** 3194 * <b>Fluent Client</b> search parameter constant for <b>context-type-quantity</b> 3195 * <p> 3196 * Description: <b>Multiple Resources: 3197 3198* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement 3199* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system 3200* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition 3201* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map 3202* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition 3203* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide 3204* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition 3205* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system 3206* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition 3207* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter 3208* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition 3209* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map 3210* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities 3211* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set 3212</b><br> 3213 * Type: <b>composite</b><br> 3214 * 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> 3215 * </p> 3216 */ 3217 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); 3218 3219 /** 3220 * Search parameter: <b>context-type-value</b> 3221 * <p> 3222 * Description: <b>Multiple Resources: 3223 3224* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement 3225* [CodeSystem](codesystem.html): A use context type and value assigned to the code system 3226* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition 3227* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map 3228* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition 3229* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide 3230* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition 3231* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system 3232* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition 3233* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter 3234* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition 3235* [StructureMap](structuremap.html): A use context type and value assigned to the structure map 3236* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities 3237* [ValueSet](valueset.html): A use context type and value assigned to the value set 3238</b><br> 3239 * Type: <b>composite</b><br> 3240 * 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> 3241 * </p> 3242 */ 3243 @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"} ) 3244 public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; 3245 /** 3246 * <b>Fluent Client</b> search parameter constant for <b>context-type-value</b> 3247 * <p> 3248 * Description: <b>Multiple Resources: 3249 3250* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement 3251* [CodeSystem](codesystem.html): A use context type and value assigned to the code system 3252* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition 3253* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map 3254* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition 3255* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide 3256* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition 3257* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system 3258* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition 3259* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter 3260* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition 3261* [StructureMap](structuremap.html): A use context type and value assigned to the structure map 3262* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities 3263* [ValueSet](valueset.html): A use context type and value assigned to the value set 3264</b><br> 3265 * Type: <b>composite</b><br> 3266 * 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> 3267 * </p> 3268 */ 3269 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); 3270 3271 /** 3272 * Search parameter: <b>context-type</b> 3273 * <p> 3274 * Description: <b>Multiple Resources: 3275 3276* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement 3277* [CodeSystem](codesystem.html): A type of use context assigned to the code system 3278* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition 3279* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map 3280* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition 3281* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide 3282* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition 3283* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system 3284* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition 3285* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter 3286* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition 3287* [StructureMap](structuremap.html): A type of use context assigned to the structure map 3288* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities 3289* [ValueSet](valueset.html): A type of use context assigned to the value set 3290</b><br> 3291 * Type: <b>token</b><br> 3292 * 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> 3293 * </p> 3294 */ 3295 @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" ) 3296 public static final String SP_CONTEXT_TYPE = "context-type"; 3297 /** 3298 * <b>Fluent Client</b> search parameter constant for <b>context-type</b> 3299 * <p> 3300 * Description: <b>Multiple Resources: 3301 3302* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement 3303* [CodeSystem](codesystem.html): A type of use context assigned to the code system 3304* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition 3305* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map 3306* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition 3307* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide 3308* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition 3309* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system 3310* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition 3311* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter 3312* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition 3313* [StructureMap](structuremap.html): A type of use context assigned to the structure map 3314* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities 3315* [ValueSet](valueset.html): A type of use context assigned to the value set 3316</b><br> 3317 * Type: <b>token</b><br> 3318 * 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> 3319 * </p> 3320 */ 3321 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); 3322 3323 /** 3324 * Search parameter: <b>context</b> 3325 * <p> 3326 * Description: <b>Multiple Resources: 3327 3328* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement 3329* [CodeSystem](codesystem.html): A use context assigned to the code system 3330* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition 3331* [ConceptMap](conceptmap.html): A use context assigned to the concept map 3332* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition 3333* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide 3334* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition 3335* [NamingSystem](namingsystem.html): A use context assigned to the naming system 3336* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition 3337* [SearchParameter](searchparameter.html): A use context assigned to the search parameter 3338* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition 3339* [StructureMap](structuremap.html): A use context assigned to the structure map 3340* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities 3341* [ValueSet](valueset.html): A use context assigned to the value set 3342</b><br> 3343 * Type: <b>token</b><br> 3344 * 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> 3345 * </p> 3346 */ 3347 @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" ) 3348 public static final String SP_CONTEXT = "context"; 3349 /** 3350 * <b>Fluent Client</b> search parameter constant for <b>context</b> 3351 * <p> 3352 * Description: <b>Multiple Resources: 3353 3354* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement 3355* [CodeSystem](codesystem.html): A use context assigned to the code system 3356* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition 3357* [ConceptMap](conceptmap.html): A use context assigned to the concept map 3358* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition 3359* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide 3360* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition 3361* [NamingSystem](namingsystem.html): A use context assigned to the naming system 3362* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition 3363* [SearchParameter](searchparameter.html): A use context assigned to the search parameter 3364* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition 3365* [StructureMap](structuremap.html): A use context assigned to the structure map 3366* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities 3367* [ValueSet](valueset.html): A use context assigned to the value set 3368</b><br> 3369 * Type: <b>token</b><br> 3370 * 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> 3371 * </p> 3372 */ 3373 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); 3374 3375 /** 3376 * Search parameter: <b>date</b> 3377 * <p> 3378 * Description: <b>Multiple Resources: 3379 3380* [CapabilityStatement](capabilitystatement.html): The capability statement publication date 3381* [CodeSystem](codesystem.html): The code system publication date 3382* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date 3383* [ConceptMap](conceptmap.html): The concept map publication date 3384* [GraphDefinition](graphdefinition.html): The graph definition publication date 3385* [ImplementationGuide](implementationguide.html): The implementation guide publication date 3386* [MessageDefinition](messagedefinition.html): The message definition publication date 3387* [NamingSystem](namingsystem.html): The naming system publication date 3388* [OperationDefinition](operationdefinition.html): The operation definition publication date 3389* [SearchParameter](searchparameter.html): The search parameter publication date 3390* [StructureDefinition](structuredefinition.html): The structure definition publication date 3391* [StructureMap](structuremap.html): The structure map publication date 3392* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date 3393* [ValueSet](valueset.html): The value set publication date 3394</b><br> 3395 * Type: <b>date</b><br> 3396 * 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> 3397 * </p> 3398 */ 3399 @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" ) 3400 public static final String SP_DATE = "date"; 3401 /** 3402 * <b>Fluent Client</b> search parameter constant for <b>date</b> 3403 * <p> 3404 * Description: <b>Multiple Resources: 3405 3406* [CapabilityStatement](capabilitystatement.html): The capability statement publication date 3407* [CodeSystem](codesystem.html): The code system publication date 3408* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date 3409* [ConceptMap](conceptmap.html): The concept map publication date 3410* [GraphDefinition](graphdefinition.html): The graph definition publication date 3411* [ImplementationGuide](implementationguide.html): The implementation guide publication date 3412* [MessageDefinition](messagedefinition.html): The message definition publication date 3413* [NamingSystem](namingsystem.html): The naming system publication date 3414* [OperationDefinition](operationdefinition.html): The operation definition publication date 3415* [SearchParameter](searchparameter.html): The search parameter publication date 3416* [StructureDefinition](structuredefinition.html): The structure definition publication date 3417* [StructureMap](structuremap.html): The structure map publication date 3418* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date 3419* [ValueSet](valueset.html): The value set publication date 3420</b><br> 3421 * Type: <b>date</b><br> 3422 * 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> 3423 * </p> 3424 */ 3425 public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); 3426 3427 /** 3428 * Search parameter: <b>description</b> 3429 * <p> 3430 * Description: <b>Multiple Resources: 3431 3432* [CapabilityStatement](capabilitystatement.html): The description of the capability statement 3433* [CodeSystem](codesystem.html): The description of the code system 3434* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition 3435* [ConceptMap](conceptmap.html): The description of the concept map 3436* [GraphDefinition](graphdefinition.html): The description of the graph definition 3437* [ImplementationGuide](implementationguide.html): The description of the implementation guide 3438* [MessageDefinition](messagedefinition.html): The description of the message definition 3439* [NamingSystem](namingsystem.html): The description of the naming system 3440* [OperationDefinition](operationdefinition.html): The description of the operation definition 3441* [SearchParameter](searchparameter.html): The description of the search parameter 3442* [StructureDefinition](structuredefinition.html): The description of the structure definition 3443* [StructureMap](structuremap.html): The description of the structure map 3444* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities 3445* [ValueSet](valueset.html): The description of the value set 3446</b><br> 3447 * Type: <b>string</b><br> 3448 * 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> 3449 * </p> 3450 */ 3451 @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" ) 3452 public static final String SP_DESCRIPTION = "description"; 3453 /** 3454 * <b>Fluent Client</b> search parameter constant for <b>description</b> 3455 * <p> 3456 * Description: <b>Multiple Resources: 3457 3458* [CapabilityStatement](capabilitystatement.html): The description of the capability statement 3459* [CodeSystem](codesystem.html): The description of the code system 3460* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition 3461* [ConceptMap](conceptmap.html): The description of the concept map 3462* [GraphDefinition](graphdefinition.html): The description of the graph definition 3463* [ImplementationGuide](implementationguide.html): The description of the implementation guide 3464* [MessageDefinition](messagedefinition.html): The description of the message definition 3465* [NamingSystem](namingsystem.html): The description of the naming system 3466* [OperationDefinition](operationdefinition.html): The description of the operation definition 3467* [SearchParameter](searchparameter.html): The description of the search parameter 3468* [StructureDefinition](structuredefinition.html): The description of the structure definition 3469* [StructureMap](structuremap.html): The description of the structure map 3470* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities 3471* [ValueSet](valueset.html): The description of the value set 3472</b><br> 3473 * Type: <b>string</b><br> 3474 * 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> 3475 * </p> 3476 */ 3477 public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); 3478 3479 /** 3480 * Search parameter: <b>jurisdiction</b> 3481 * <p> 3482 * Description: <b>Multiple Resources: 3483 3484* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement 3485* [CodeSystem](codesystem.html): Intended jurisdiction for the code system 3486* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map 3487* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition 3488* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide 3489* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition 3490* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system 3491* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition 3492* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter 3493* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition 3494* [StructureMap](structuremap.html): Intended jurisdiction for the structure map 3495* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities 3496* [ValueSet](valueset.html): Intended jurisdiction for the value set 3497</b><br> 3498 * Type: <b>token</b><br> 3499 * 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> 3500 * </p> 3501 */ 3502 @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" ) 3503 public static final String SP_JURISDICTION = "jurisdiction"; 3504 /** 3505 * <b>Fluent Client</b> search parameter constant for <b>jurisdiction</b> 3506 * <p> 3507 * Description: <b>Multiple Resources: 3508 3509* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement 3510* [CodeSystem](codesystem.html): Intended jurisdiction for the code system 3511* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map 3512* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition 3513* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide 3514* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition 3515* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system 3516* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition 3517* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter 3518* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition 3519* [StructureMap](structuremap.html): Intended jurisdiction for the structure map 3520* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities 3521* [ValueSet](valueset.html): Intended jurisdiction for the value set 3522</b><br> 3523 * Type: <b>token</b><br> 3524 * 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> 3525 * </p> 3526 */ 3527 public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); 3528 3529 /** 3530 * Search parameter: <b>name</b> 3531 * <p> 3532 * Description: <b>Multiple Resources: 3533 3534* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement 3535* [CodeSystem](codesystem.html): Computationally friendly name of the code system 3536* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition 3537* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map 3538* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition 3539* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide 3540* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition 3541* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system 3542* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition 3543* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter 3544* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition 3545* [StructureMap](structuremap.html): Computationally friendly name of the structure map 3546* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities 3547* [ValueSet](valueset.html): Computationally friendly name of the value set 3548</b><br> 3549 * Type: <b>string</b><br> 3550 * 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> 3551 * </p> 3552 */ 3553 @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" ) 3554 public static final String SP_NAME = "name"; 3555 /** 3556 * <b>Fluent Client</b> search parameter constant for <b>name</b> 3557 * <p> 3558 * Description: <b>Multiple Resources: 3559 3560* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement 3561* [CodeSystem](codesystem.html): Computationally friendly name of the code system 3562* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition 3563* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map 3564* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition 3565* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide 3566* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition 3567* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system 3568* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition 3569* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter 3570* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition 3571* [StructureMap](structuremap.html): Computationally friendly name of the structure map 3572* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities 3573* [ValueSet](valueset.html): Computationally friendly name of the value set 3574</b><br> 3575 * Type: <b>string</b><br> 3576 * 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> 3577 * </p> 3578 */ 3579 public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); 3580 3581 /** 3582 * Search parameter: <b>publisher</b> 3583 * <p> 3584 * Description: <b>Multiple Resources: 3585 3586* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement 3587* [CodeSystem](codesystem.html): Name of the publisher of the code system 3588* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition 3589* [ConceptMap](conceptmap.html): Name of the publisher of the concept map 3590* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition 3591* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide 3592* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition 3593* [NamingSystem](namingsystem.html): Name of the publisher of the naming system 3594* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition 3595* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter 3596* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition 3597* [StructureMap](structuremap.html): Name of the publisher of the structure map 3598* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities 3599* [ValueSet](valueset.html): Name of the publisher of the value set 3600</b><br> 3601 * Type: <b>string</b><br> 3602 * 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> 3603 * </p> 3604 */ 3605 @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" ) 3606 public static final String SP_PUBLISHER = "publisher"; 3607 /** 3608 * <b>Fluent Client</b> search parameter constant for <b>publisher</b> 3609 * <p> 3610 * Description: <b>Multiple Resources: 3611 3612* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement 3613* [CodeSystem](codesystem.html): Name of the publisher of the code system 3614* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition 3615* [ConceptMap](conceptmap.html): Name of the publisher of the concept map 3616* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition 3617* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide 3618* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition 3619* [NamingSystem](namingsystem.html): Name of the publisher of the naming system 3620* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition 3621* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter 3622* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition 3623* [StructureMap](structuremap.html): Name of the publisher of the structure map 3624* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities 3625* [ValueSet](valueset.html): Name of the publisher of the value set 3626</b><br> 3627 * Type: <b>string</b><br> 3628 * 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> 3629 * </p> 3630 */ 3631 public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); 3632 3633 /** 3634 * Search parameter: <b>status</b> 3635 * <p> 3636 * Description: <b>Multiple Resources: 3637 3638* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement 3639* [CodeSystem](codesystem.html): The current status of the code system 3640* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition 3641* [ConceptMap](conceptmap.html): The current status of the concept map 3642* [GraphDefinition](graphdefinition.html): The current status of the graph definition 3643* [ImplementationGuide](implementationguide.html): The current status of the implementation guide 3644* [MessageDefinition](messagedefinition.html): The current status of the message definition 3645* [NamingSystem](namingsystem.html): The current status of the naming system 3646* [OperationDefinition](operationdefinition.html): The current status of the operation definition 3647* [SearchParameter](searchparameter.html): The current status of the search parameter 3648* [StructureDefinition](structuredefinition.html): The current status of the structure definition 3649* [StructureMap](structuremap.html): The current status of the structure map 3650* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities 3651* [ValueSet](valueset.html): The current status of the value set 3652</b><br> 3653 * Type: <b>token</b><br> 3654 * 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> 3655 * </p> 3656 */ 3657 @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" ) 3658 public static final String SP_STATUS = "status"; 3659 /** 3660 * <b>Fluent Client</b> search parameter constant for <b>status</b> 3661 * <p> 3662 * Description: <b>Multiple Resources: 3663 3664* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement 3665* [CodeSystem](codesystem.html): The current status of the code system 3666* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition 3667* [ConceptMap](conceptmap.html): The current status of the concept map 3668* [GraphDefinition](graphdefinition.html): The current status of the graph definition 3669* [ImplementationGuide](implementationguide.html): The current status of the implementation guide 3670* [MessageDefinition](messagedefinition.html): The current status of the message definition 3671* [NamingSystem](namingsystem.html): The current status of the naming system 3672* [OperationDefinition](operationdefinition.html): The current status of the operation definition 3673* [SearchParameter](searchparameter.html): The current status of the search parameter 3674* [StructureDefinition](structuredefinition.html): The current status of the structure definition 3675* [StructureMap](structuremap.html): The current status of the structure map 3676* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities 3677* [ValueSet](valueset.html): The current status of the value set 3678</b><br> 3679 * Type: <b>token</b><br> 3680 * 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> 3681 * </p> 3682 */ 3683 public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); 3684 3685 /** 3686 * Search parameter: <b>url</b> 3687 * <p> 3688 * Description: <b>Multiple Resources: 3689 3690* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement 3691* [CodeSystem](codesystem.html): The uri that identifies the code system 3692* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition 3693* [ConceptMap](conceptmap.html): The uri that identifies the concept map 3694* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition 3695* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide 3696* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition 3697* [NamingSystem](namingsystem.html): The uri that identifies the naming system 3698* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition 3699* [SearchParameter](searchparameter.html): The uri that identifies the search parameter 3700* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition 3701* [StructureMap](structuremap.html): The uri that identifies the structure map 3702* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities 3703* [ValueSet](valueset.html): The uri that identifies the value set 3704</b><br> 3705 * Type: <b>uri</b><br> 3706 * 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> 3707 * </p> 3708 */ 3709 @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" ) 3710 public static final String SP_URL = "url"; 3711 /** 3712 * <b>Fluent Client</b> search parameter constant for <b>url</b> 3713 * <p> 3714 * Description: <b>Multiple Resources: 3715 3716* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement 3717* [CodeSystem](codesystem.html): The uri that identifies the code system 3718* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition 3719* [ConceptMap](conceptmap.html): The uri that identifies the concept map 3720* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition 3721* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide 3722* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition 3723* [NamingSystem](namingsystem.html): The uri that identifies the naming system 3724* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition 3725* [SearchParameter](searchparameter.html): The uri that identifies the search parameter 3726* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition 3727* [StructureMap](structuremap.html): The uri that identifies the structure map 3728* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities 3729* [ValueSet](valueset.html): The uri that identifies the value set 3730</b><br> 3731 * Type: <b>uri</b><br> 3732 * 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> 3733 * </p> 3734 */ 3735 public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); 3736 3737 /** 3738 * Search parameter: <b>version</b> 3739 * <p> 3740 * Description: <b>Multiple Resources: 3741 3742* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement 3743* [CodeSystem](codesystem.html): The business version of the code system 3744* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition 3745* [ConceptMap](conceptmap.html): The business version of the concept map 3746* [GraphDefinition](graphdefinition.html): The business version of the graph definition 3747* [ImplementationGuide](implementationguide.html): The business version of the implementation guide 3748* [MessageDefinition](messagedefinition.html): The business version of the message definition 3749* [NamingSystem](namingsystem.html): The business version of the naming system 3750* [OperationDefinition](operationdefinition.html): The business version of the operation definition 3751* [SearchParameter](searchparameter.html): The business version of the search parameter 3752* [StructureDefinition](structuredefinition.html): The business version of the structure definition 3753* [StructureMap](structuremap.html): The business version of the structure map 3754* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities 3755* [ValueSet](valueset.html): The business version of the value set 3756</b><br> 3757 * Type: <b>token</b><br> 3758 * 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> 3759 * </p> 3760 */ 3761 @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" ) 3762 public static final String SP_VERSION = "version"; 3763 /** 3764 * <b>Fluent Client</b> search parameter constant for <b>version</b> 3765 * <p> 3766 * Description: <b>Multiple Resources: 3767 3768* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement 3769* [CodeSystem](codesystem.html): The business version of the code system 3770* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition 3771* [ConceptMap](conceptmap.html): The business version of the concept map 3772* [GraphDefinition](graphdefinition.html): The business version of the graph definition 3773* [ImplementationGuide](implementationguide.html): The business version of the implementation guide 3774* [MessageDefinition](messagedefinition.html): The business version of the message definition 3775* [NamingSystem](namingsystem.html): The business version of the naming system 3776* [OperationDefinition](operationdefinition.html): The business version of the operation definition 3777* [SearchParameter](searchparameter.html): The business version of the search parameter 3778* [StructureDefinition](structuredefinition.html): The business version of the structure definition 3779* [StructureMap](structuremap.html): The business version of the structure map 3780* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities 3781* [ValueSet](valueset.html): The business version of the value set 3782</b><br> 3783 * Type: <b>token</b><br> 3784 * 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> 3785 * </p> 3786 */ 3787 public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); 3788 3789 3790} 3791