001package org.hl7.fhir.dstu2016may.model; 002 003/* 004 Copyright (c) 2011+, HL7, Inc. 005 All rights reserved. 006 007 Redistribution and use in source and binary forms, with or without modification, 008 are permitted provided that the following conditions are met: 009 010 * Redistributions of source code must retain the above copyright notice, this 011 list of conditions and the following disclaimer. 012 * Redistributions in binary form must reproduce the above copyright notice, 013 this list of conditions and the following disclaimer in the documentation 014 and/or other materials provided with the distribution. 015 * Neither the name of HL7 nor the names of its contributors may be used to 016 endorse or promote products derived from this software without specific 017 prior written permission. 018 019 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 020 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 021 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 022 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 023 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 024 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 025 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 026 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 027 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 028 POSSIBILITY OF SUCH DAMAGE. 029 030*/ 031 032// Generated on Sun, May 8, 2016 03:05+1000 for FHIR v1.4.0 033import java.util.ArrayList; 034import java.util.List; 035 036import org.hl7.fhir.exceptions.FHIRException; 037import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 038 039import ca.uhn.fhir.model.api.annotation.Block; 040import ca.uhn.fhir.model.api.annotation.Child; 041import ca.uhn.fhir.model.api.annotation.Description; 042import ca.uhn.fhir.model.api.annotation.ResourceDef; 043import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; 044/** 045 * Identifies two or more records (resource instances) that are referring to the same real-world "occurrence". 046 */ 047@ResourceDef(name="Linkage", profile="http://hl7.org/fhir/Profile/Linkage") 048public class Linkage extends DomainResource { 049 050 public enum LinkageType { 051 /** 052 * The record represents the "source of truth" (from the perspective of this Linkage resource) for the underlying event/condition/etc. 053 */ 054 SOURCE, 055 /** 056 * The record represents the alternative view of the underlying event/condition/etc. The record may still be actively maintained, even though it is not considered to be the source of truth. 057 */ 058 ALTERNATE, 059 /** 060 * The record represents an obsolete record of the underlyng event/condition/etc. It is not expected to be actively maintained. 061 */ 062 HISTORICAL, 063 /** 064 * added to help the parsers 065 */ 066 NULL; 067 public static LinkageType fromCode(String codeString) throws FHIRException { 068 if (codeString == null || "".equals(codeString)) 069 return null; 070 if ("source".equals(codeString)) 071 return SOURCE; 072 if ("alternate".equals(codeString)) 073 return ALTERNATE; 074 if ("historical".equals(codeString)) 075 return HISTORICAL; 076 throw new FHIRException("Unknown LinkageType code '"+codeString+"'"); 077 } 078 public String toCode() { 079 switch (this) { 080 case SOURCE: return "source"; 081 case ALTERNATE: return "alternate"; 082 case HISTORICAL: return "historical"; 083 default: return "?"; 084 } 085 } 086 public String getSystem() { 087 switch (this) { 088 case SOURCE: return "http://hl7.org/fhir/linkage-type"; 089 case ALTERNATE: return "http://hl7.org/fhir/linkage-type"; 090 case HISTORICAL: return "http://hl7.org/fhir/linkage-type"; 091 default: return "?"; 092 } 093 } 094 public String getDefinition() { 095 switch (this) { 096 case SOURCE: return "The record represents the \"source of truth\" (from the perspective of this Linkage resource) for the underlying event/condition/etc."; 097 case ALTERNATE: return "The record represents the alternative view of the underlying event/condition/etc. The record may still be actively maintained, even though it is not considered to be the source of truth."; 098 case HISTORICAL: return "The record represents an obsolete record of the underlyng event/condition/etc. It is not expected to be actively maintained."; 099 default: return "?"; 100 } 101 } 102 public String getDisplay() { 103 switch (this) { 104 case SOURCE: return "Source of truth"; 105 case ALTERNATE: return "Alternate record"; 106 case HISTORICAL: return "Historical/obsolete record"; 107 default: return "?"; 108 } 109 } 110 } 111 112 public static class LinkageTypeEnumFactory implements EnumFactory<LinkageType> { 113 public LinkageType fromCode(String codeString) throws IllegalArgumentException { 114 if (codeString == null || "".equals(codeString)) 115 if (codeString == null || "".equals(codeString)) 116 return null; 117 if ("source".equals(codeString)) 118 return LinkageType.SOURCE; 119 if ("alternate".equals(codeString)) 120 return LinkageType.ALTERNATE; 121 if ("historical".equals(codeString)) 122 return LinkageType.HISTORICAL; 123 throw new IllegalArgumentException("Unknown LinkageType code '"+codeString+"'"); 124 } 125 public Enumeration<LinkageType> fromType(Base code) throws FHIRException { 126 if (code == null || code.isEmpty()) 127 return null; 128 String codeString = ((PrimitiveType) code).asStringValue(); 129 if (codeString == null || "".equals(codeString)) 130 return null; 131 if ("source".equals(codeString)) 132 return new Enumeration<LinkageType>(this, LinkageType.SOURCE); 133 if ("alternate".equals(codeString)) 134 return new Enumeration<LinkageType>(this, LinkageType.ALTERNATE); 135 if ("historical".equals(codeString)) 136 return new Enumeration<LinkageType>(this, LinkageType.HISTORICAL); 137 throw new FHIRException("Unknown LinkageType code '"+codeString+"'"); 138 } 139 public String toCode(LinkageType code) { 140 if (code == LinkageType.SOURCE) 141 return "source"; 142 if (code == LinkageType.ALTERNATE) 143 return "alternate"; 144 if (code == LinkageType.HISTORICAL) 145 return "historical"; 146 return "?"; 147 } 148 public String toSystem(LinkageType code) { 149 return code.getSystem(); 150 } 151 } 152 153 @Block() 154 public static class LinkageItemComponent extends BackboneElement implements IBaseBackboneElement { 155 /** 156 * Distinguishes which item is "source of truth" (if any) and which items are no longer considered to be current representations. 157 */ 158 @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true) 159 @Description(shortDefinition="source | alternate | historical", formalDefinition="Distinguishes which item is \"source of truth\" (if any) and which items are no longer considered to be current representations." ) 160 protected Enumeration<LinkageType> type; 161 162 /** 163 * The resource instance being linked as part of the group. 164 */ 165 @Child(name = "resource", type = {Reference.class}, order=2, min=1, max=1, modifier=false, summary=true) 166 @Description(shortDefinition="Resource being linked", formalDefinition="The resource instance being linked as part of the group." ) 167 protected Reference resource; 168 169 private static final long serialVersionUID = 527428511L; 170 171 /** 172 * Constructor 173 */ 174 public LinkageItemComponent() { 175 super(); 176 } 177 178 /** 179 * Constructor 180 */ 181 public LinkageItemComponent(Enumeration<LinkageType> type, Reference resource) { 182 super(); 183 this.type = type; 184 this.resource = resource; 185 } 186 187 /** 188 * @return {@link #type} (Distinguishes which item is "source of truth" (if any) and which items are no longer considered to be current representations.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value 189 */ 190 public Enumeration<LinkageType> getTypeElement() { 191 if (this.type == null) 192 if (Configuration.errorOnAutoCreate()) 193 throw new Error("Attempt to auto-create LinkageItemComponent.type"); 194 else if (Configuration.doAutoCreate()) 195 this.type = new Enumeration<LinkageType>(new LinkageTypeEnumFactory()); // bb 196 return this.type; 197 } 198 199 public boolean hasTypeElement() { 200 return this.type != null && !this.type.isEmpty(); 201 } 202 203 public boolean hasType() { 204 return this.type != null && !this.type.isEmpty(); 205 } 206 207 /** 208 * @param value {@link #type} (Distinguishes which item is "source of truth" (if any) and which items are no longer considered to be current representations.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value 209 */ 210 public LinkageItemComponent setTypeElement(Enumeration<LinkageType> value) { 211 this.type = value; 212 return this; 213 } 214 215 /** 216 * @return Distinguishes which item is "source of truth" (if any) and which items are no longer considered to be current representations. 217 */ 218 public LinkageType getType() { 219 return this.type == null ? null : this.type.getValue(); 220 } 221 222 /** 223 * @param value Distinguishes which item is "source of truth" (if any) and which items are no longer considered to be current representations. 224 */ 225 public LinkageItemComponent setType(LinkageType value) { 226 if (this.type == null) 227 this.type = new Enumeration<LinkageType>(new LinkageTypeEnumFactory()); 228 this.type.setValue(value); 229 return this; 230 } 231 232 /** 233 * @return {@link #resource} (The resource instance being linked as part of the group.) 234 */ 235 public Reference getResource() { 236 if (this.resource == null) 237 if (Configuration.errorOnAutoCreate()) 238 throw new Error("Attempt to auto-create LinkageItemComponent.resource"); 239 else if (Configuration.doAutoCreate()) 240 this.resource = new Reference(); // cc 241 return this.resource; 242 } 243 244 public boolean hasResource() { 245 return this.resource != null && !this.resource.isEmpty(); 246 } 247 248 /** 249 * @param value {@link #resource} (The resource instance being linked as part of the group.) 250 */ 251 public LinkageItemComponent setResource(Reference value) { 252 this.resource = value; 253 return this; 254 } 255 256 protected void listChildren(List<Property> childrenList) { 257 super.listChildren(childrenList); 258 childrenList.add(new Property("type", "code", "Distinguishes which item is \"source of truth\" (if any) and which items are no longer considered to be current representations.", 0, java.lang.Integer.MAX_VALUE, type)); 259 childrenList.add(new Property("resource", "Reference", "The resource instance being linked as part of the group.", 0, java.lang.Integer.MAX_VALUE, resource)); 260 } 261 262 @Override 263 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 264 switch (hash) { 265 case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration<LinkageType> 266 case -341064690: /*resource*/ return this.resource == null ? new Base[0] : new Base[] {this.resource}; // Reference 267 default: return super.getProperty(hash, name, checkValid); 268 } 269 270 } 271 272 @Override 273 public void setProperty(int hash, String name, Base value) throws FHIRException { 274 switch (hash) { 275 case 3575610: // type 276 this.type = new LinkageTypeEnumFactory().fromType(value); // Enumeration<LinkageType> 277 break; 278 case -341064690: // resource 279 this.resource = castToReference(value); // Reference 280 break; 281 default: super.setProperty(hash, name, value); 282 } 283 284 } 285 286 @Override 287 public void setProperty(String name, Base value) throws FHIRException { 288 if (name.equals("type")) 289 this.type = new LinkageTypeEnumFactory().fromType(value); // Enumeration<LinkageType> 290 else if (name.equals("resource")) 291 this.resource = castToReference(value); // Reference 292 else 293 super.setProperty(name, value); 294 } 295 296 @Override 297 public Base makeProperty(int hash, String name) throws FHIRException { 298 switch (hash) { 299 case 3575610: throw new FHIRException("Cannot make property type as it is not a complex type"); // Enumeration<LinkageType> 300 case -341064690: return getResource(); // Reference 301 default: return super.makeProperty(hash, name); 302 } 303 304 } 305 306 @Override 307 public Base addChild(String name) throws FHIRException { 308 if (name.equals("type")) { 309 throw new FHIRException("Cannot call addChild on a primitive type Linkage.type"); 310 } 311 else if (name.equals("resource")) { 312 this.resource = new Reference(); 313 return this.resource; 314 } 315 else 316 return super.addChild(name); 317 } 318 319 public LinkageItemComponent copy() { 320 LinkageItemComponent dst = new LinkageItemComponent(); 321 copyValues(dst); 322 dst.type = type == null ? null : type.copy(); 323 dst.resource = resource == null ? null : resource.copy(); 324 return dst; 325 } 326 327 @Override 328 public boolean equalsDeep(Base other) { 329 if (!super.equalsDeep(other)) 330 return false; 331 if (!(other instanceof LinkageItemComponent)) 332 return false; 333 LinkageItemComponent o = (LinkageItemComponent) other; 334 return compareDeep(type, o.type, true) && compareDeep(resource, o.resource, true); 335 } 336 337 @Override 338 public boolean equalsShallow(Base other) { 339 if (!super.equalsShallow(other)) 340 return false; 341 if (!(other instanceof LinkageItemComponent)) 342 return false; 343 LinkageItemComponent o = (LinkageItemComponent) other; 344 return compareValues(type, o.type, true); 345 } 346 347 public boolean isEmpty() { 348 return super.isEmpty() && (type == null || type.isEmpty()) && (resource == null || resource.isEmpty()) 349 ; 350 } 351 352 public String fhirType() { 353 return "Linkage.item"; 354 355 } 356 357 } 358 359 /** 360 * Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage. 361 */ 362 @Child(name = "author", type = {Practitioner.class, Organization.class}, order=0, min=0, max=1, modifier=false, summary=true) 363 @Description(shortDefinition="Who is responsible for linkages", formalDefinition="Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage." ) 364 protected Reference author; 365 366 /** 367 * The actual object that is the target of the reference (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.) 368 */ 369 protected Resource authorTarget; 370 371 /** 372 * Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items. 373 */ 374 @Child(name = "item", type = {}, order=1, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 375 @Description(shortDefinition="Item to be linked", formalDefinition="Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items." ) 376 protected List<LinkageItemComponent> item; 377 378 private static final long serialVersionUID = 371266420L; 379 380 /** 381 * Constructor 382 */ 383 public Linkage() { 384 super(); 385 } 386 387 /** 388 * @return {@link #author} (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.) 389 */ 390 public Reference getAuthor() { 391 if (this.author == null) 392 if (Configuration.errorOnAutoCreate()) 393 throw new Error("Attempt to auto-create Linkage.author"); 394 else if (Configuration.doAutoCreate()) 395 this.author = new Reference(); // cc 396 return this.author; 397 } 398 399 public boolean hasAuthor() { 400 return this.author != null && !this.author.isEmpty(); 401 } 402 403 /** 404 * @param value {@link #author} (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.) 405 */ 406 public Linkage setAuthor(Reference value) { 407 this.author = value; 408 return this; 409 } 410 411 /** 412 * @return {@link #author} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.) 413 */ 414 public Resource getAuthorTarget() { 415 return this.authorTarget; 416 } 417 418 /** 419 * @param value {@link #author} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.) 420 */ 421 public Linkage setAuthorTarget(Resource value) { 422 this.authorTarget = value; 423 return this; 424 } 425 426 /** 427 * @return {@link #item} (Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items.) 428 */ 429 public List<LinkageItemComponent> getItem() { 430 if (this.item == null) 431 this.item = new ArrayList<LinkageItemComponent>(); 432 return this.item; 433 } 434 435 public boolean hasItem() { 436 if (this.item == null) 437 return false; 438 for (LinkageItemComponent item : this.item) 439 if (!item.isEmpty()) 440 return true; 441 return false; 442 } 443 444 /** 445 * @return {@link #item} (Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items.) 446 */ 447 // syntactic sugar 448 public LinkageItemComponent addItem() { //3 449 LinkageItemComponent t = new LinkageItemComponent(); 450 if (this.item == null) 451 this.item = new ArrayList<LinkageItemComponent>(); 452 this.item.add(t); 453 return t; 454 } 455 456 // syntactic sugar 457 public Linkage addItem(LinkageItemComponent t) { //3 458 if (t == null) 459 return this; 460 if (this.item == null) 461 this.item = new ArrayList<LinkageItemComponent>(); 462 this.item.add(t); 463 return this; 464 } 465 466 protected void listChildren(List<Property> childrenList) { 467 super.listChildren(childrenList); 468 childrenList.add(new Property("author", "Reference(Practitioner|Organization)", "Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.", 0, java.lang.Integer.MAX_VALUE, author)); 469 childrenList.add(new Property("item", "", "Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items.", 0, java.lang.Integer.MAX_VALUE, item)); 470 } 471 472 @Override 473 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 474 switch (hash) { 475 case -1406328437: /*author*/ return this.author == null ? new Base[0] : new Base[] {this.author}; // Reference 476 case 3242771: /*item*/ return this.item == null ? new Base[0] : this.item.toArray(new Base[this.item.size()]); // LinkageItemComponent 477 default: return super.getProperty(hash, name, checkValid); 478 } 479 480 } 481 482 @Override 483 public void setProperty(int hash, String name, Base value) throws FHIRException { 484 switch (hash) { 485 case -1406328437: // author 486 this.author = castToReference(value); // Reference 487 break; 488 case 3242771: // item 489 this.getItem().add((LinkageItemComponent) value); // LinkageItemComponent 490 break; 491 default: super.setProperty(hash, name, value); 492 } 493 494 } 495 496 @Override 497 public void setProperty(String name, Base value) throws FHIRException { 498 if (name.equals("author")) 499 this.author = castToReference(value); // Reference 500 else if (name.equals("item")) 501 this.getItem().add((LinkageItemComponent) value); 502 else 503 super.setProperty(name, value); 504 } 505 506 @Override 507 public Base makeProperty(int hash, String name) throws FHIRException { 508 switch (hash) { 509 case -1406328437: return getAuthor(); // Reference 510 case 3242771: return addItem(); // LinkageItemComponent 511 default: return super.makeProperty(hash, name); 512 } 513 514 } 515 516 @Override 517 public Base addChild(String name) throws FHIRException { 518 if (name.equals("author")) { 519 this.author = new Reference(); 520 return this.author; 521 } 522 else if (name.equals("item")) { 523 return addItem(); 524 } 525 else 526 return super.addChild(name); 527 } 528 529 public String fhirType() { 530 return "Linkage"; 531 532 } 533 534 public Linkage copy() { 535 Linkage dst = new Linkage(); 536 copyValues(dst); 537 dst.author = author == null ? null : author.copy(); 538 if (item != null) { 539 dst.item = new ArrayList<LinkageItemComponent>(); 540 for (LinkageItemComponent i : item) 541 dst.item.add(i.copy()); 542 }; 543 return dst; 544 } 545 546 protected Linkage typedCopy() { 547 return copy(); 548 } 549 550 @Override 551 public boolean equalsDeep(Base other) { 552 if (!super.equalsDeep(other)) 553 return false; 554 if (!(other instanceof Linkage)) 555 return false; 556 Linkage o = (Linkage) other; 557 return compareDeep(author, o.author, true) && compareDeep(item, o.item, true); 558 } 559 560 @Override 561 public boolean equalsShallow(Base other) { 562 if (!super.equalsShallow(other)) 563 return false; 564 if (!(other instanceof Linkage)) 565 return false; 566 Linkage o = (Linkage) other; 567 return true; 568 } 569 570 public boolean isEmpty() { 571 return super.isEmpty() && (author == null || author.isEmpty()) && (item == null || item.isEmpty()) 572 ; 573 } 574 575 @Override 576 public ResourceType getResourceType() { 577 return ResourceType.Linkage; 578 } 579 580 /** 581 * Search parameter: <b>author</b> 582 * <p> 583 * Description: <b>Author of the Linkage</b><br> 584 * Type: <b>reference</b><br> 585 * Path: <b>Linkage.author</b><br> 586 * </p> 587 */ 588 @SearchParamDefinition(name="author", path="Linkage.author", description="Author of the Linkage", type="reference" ) 589 public static final String SP_AUTHOR = "author"; 590 /** 591 * <b>Fluent Client</b> search parameter constant for <b>author</b> 592 * <p> 593 * Description: <b>Author of the Linkage</b><br> 594 * Type: <b>reference</b><br> 595 * Path: <b>Linkage.author</b><br> 596 * </p> 597 */ 598 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); 599 600/** 601 * Constant for fluent queries to be used to add include statements. Specifies 602 * the path value of "<b>Linkage:author</b>". 603 */ 604 public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("Linkage:author").toLocked(); 605 606 /** 607 * Search parameter: <b>source</b> 608 * <p> 609 * Description: <b>Matches on any item in the Linkage with a type of 'source'</b><br> 610 * Type: <b>reference</b><br> 611 * Path: <b>Linkage.item.resource</b><br> 612 * </p> 613 */ 614 @SearchParamDefinition(name="source", path="Linkage.item.resource", description="Matches on any item in the Linkage with a type of 'source'", type="reference" ) 615 public static final String SP_SOURCE = "source"; 616 /** 617 * <b>Fluent Client</b> search parameter constant for <b>source</b> 618 * <p> 619 * Description: <b>Matches on any item in the Linkage with a type of 'source'</b><br> 620 * Type: <b>reference</b><br> 621 * Path: <b>Linkage.item.resource</b><br> 622 * </p> 623 */ 624 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); 625 626/** 627 * Constant for fluent queries to be used to add include statements. Specifies 628 * the path value of "<b>Linkage:source</b>". 629 */ 630 public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("Linkage:source").toLocked(); 631 632 /** 633 * Search parameter: <b>item</b> 634 * <p> 635 * Description: <b>Matches on any item in the Linkage</b><br> 636 * Type: <b>reference</b><br> 637 * Path: <b>Linkage.item.resource</b><br> 638 * </p> 639 */ 640 @SearchParamDefinition(name="item", path="Linkage.item.resource", description="Matches on any item in the Linkage", type="reference" ) 641 public static final String SP_ITEM = "item"; 642 /** 643 * <b>Fluent Client</b> search parameter constant for <b>item</b> 644 * <p> 645 * Description: <b>Matches on any item in the Linkage</b><br> 646 * Type: <b>reference</b><br> 647 * Path: <b>Linkage.item.resource</b><br> 648 * </p> 649 */ 650 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ITEM); 651 652/** 653 * Constant for fluent queries to be used to add include statements. Specifies 654 * the path value of "<b>Linkage:item</b>". 655 */ 656 public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM = new ca.uhn.fhir.model.api.Include("Linkage:item").toLocked(); 657 658 659} 660