001package org.hl7.fhir.r5.model; 002 003 004/* 005 Copyright (c) 2011+, HL7, Inc. 006 All rights reserved. 007 008 Redistribution and use in source and binary forms, with or without modification, \ 009 are permitted provided that the following conditions are met: 010 011 * Redistributions of source code must retain the above copyright notice, this \ 012 list of conditions and the following disclaimer. 013 * Redistributions in binary form must reproduce the above copyright notice, \ 014 this list of conditions and the following disclaimer in the documentation \ 015 and/or other materials provided with the distribution. 016 * Neither the name of HL7 nor the names of its contributors may be used to 017 endorse or promote products derived from this software without specific 018 prior written permission. 019 020 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND \ 021 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \ 022 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. \ 023 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, \ 024 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT \ 025 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR \ 026 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \ 027 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \ 028 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \ 029 POSSIBILITY OF SUCH DAMAGE. 030 */ 031 032// Generated on Thu, Mar 23, 2023 19:59+1100 for FHIR v5.0.0 033 034import java.util.ArrayList; 035import java.util.Date; 036import java.util.List; 037import org.hl7.fhir.utilities.Utilities; 038import org.hl7.fhir.r5.model.Enumerations.*; 039import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 040import org.hl7.fhir.exceptions.FHIRException; 041import org.hl7.fhir.instance.model.api.ICompositeType; 042import ca.uhn.fhir.model.api.annotation.ResourceDef; 043import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; 044import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 045import ca.uhn.fhir.model.api.annotation.Child; 046import ca.uhn.fhir.model.api.annotation.ChildOrder; 047import ca.uhn.fhir.model.api.annotation.Description; 048import ca.uhn.fhir.model.api.annotation.Block; 049 050/** 051 * A List is a curated collection of resources, for things such as problem lists, allergy lists, facility list, organization list, etc. 052 */ 053@ResourceDef(name="List", profile="http://hl7.org/fhir/StructureDefinition/List") 054public class ListResource extends DomainResource { 055 056 public enum ListStatus { 057 /** 058 * The list is considered to be an active part of the patient's record. 059 */ 060 CURRENT, 061 /** 062 * The list is \"old\" and should no longer be considered accurate or relevant. 063 */ 064 RETIRED, 065 /** 066 * The list was never accurate. It is retained for medico-legal purposes only. 067 */ 068 ENTEREDINERROR, 069 /** 070 * added to help the parsers with the generic types 071 */ 072 NULL; 073 public static ListStatus fromCode(String codeString) throws FHIRException { 074 if (codeString == null || "".equals(codeString)) 075 return null; 076 if ("current".equals(codeString)) 077 return CURRENT; 078 if ("retired".equals(codeString)) 079 return RETIRED; 080 if ("entered-in-error".equals(codeString)) 081 return ENTEREDINERROR; 082 if (Configuration.isAcceptInvalidEnums()) 083 return null; 084 else 085 throw new FHIRException("Unknown ListStatus code '"+codeString+"'"); 086 } 087 public String toCode() { 088 switch (this) { 089 case CURRENT: return "current"; 090 case RETIRED: return "retired"; 091 case ENTEREDINERROR: return "entered-in-error"; 092 case NULL: return null; 093 default: return "?"; 094 } 095 } 096 public String getSystem() { 097 switch (this) { 098 case CURRENT: return "http://hl7.org/fhir/list-status"; 099 case RETIRED: return "http://hl7.org/fhir/list-status"; 100 case ENTEREDINERROR: return "http://hl7.org/fhir/list-status"; 101 case NULL: return null; 102 default: return "?"; 103 } 104 } 105 public String getDefinition() { 106 switch (this) { 107 case CURRENT: return "The list is considered to be an active part of the patient's record."; 108 case RETIRED: return "The list is \"old\" and should no longer be considered accurate or relevant."; 109 case ENTEREDINERROR: return "The list was never accurate. It is retained for medico-legal purposes only."; 110 case NULL: return null; 111 default: return "?"; 112 } 113 } 114 public String getDisplay() { 115 switch (this) { 116 case CURRENT: return "Current"; 117 case RETIRED: return "Retired"; 118 case ENTEREDINERROR: return "Entered In Error"; 119 case NULL: return null; 120 default: return "?"; 121 } 122 } 123 } 124 125 public static class ListStatusEnumFactory implements EnumFactory<ListStatus> { 126 public ListStatus fromCode(String codeString) throws IllegalArgumentException { 127 if (codeString == null || "".equals(codeString)) 128 if (codeString == null || "".equals(codeString)) 129 return null; 130 if ("current".equals(codeString)) 131 return ListStatus.CURRENT; 132 if ("retired".equals(codeString)) 133 return ListStatus.RETIRED; 134 if ("entered-in-error".equals(codeString)) 135 return ListStatus.ENTEREDINERROR; 136 throw new IllegalArgumentException("Unknown ListStatus code '"+codeString+"'"); 137 } 138 public Enumeration<ListStatus> fromType(PrimitiveType<?> code) throws FHIRException { 139 if (code == null) 140 return null; 141 if (code.isEmpty()) 142 return new Enumeration<ListStatus>(this, ListStatus.NULL, code); 143 String codeString = ((PrimitiveType) code).asStringValue(); 144 if (codeString == null || "".equals(codeString)) 145 return new Enumeration<ListStatus>(this, ListStatus.NULL, code); 146 if ("current".equals(codeString)) 147 return new Enumeration<ListStatus>(this, ListStatus.CURRENT, code); 148 if ("retired".equals(codeString)) 149 return new Enumeration<ListStatus>(this, ListStatus.RETIRED, code); 150 if ("entered-in-error".equals(codeString)) 151 return new Enumeration<ListStatus>(this, ListStatus.ENTEREDINERROR, code); 152 throw new FHIRException("Unknown ListStatus code '"+codeString+"'"); 153 } 154 public String toCode(ListStatus code) { 155 if (code == ListStatus.CURRENT) 156 return "current"; 157 if (code == ListStatus.RETIRED) 158 return "retired"; 159 if (code == ListStatus.ENTEREDINERROR) 160 return "entered-in-error"; 161 return "?"; 162 } 163 public String toSystem(ListStatus code) { 164 return code.getSystem(); 165 } 166 } 167 168 @Block() 169 public static class ListResourceEntryComponent extends BackboneElement implements IBaseBackboneElement { 170 /** 171 * The flag allows the system constructing the list to indicate the role and significance of the item in the list. 172 */ 173 @Child(name = "flag", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=false) 174 @Description(shortDefinition="Status/Workflow information about this item", formalDefinition="The flag allows the system constructing the list to indicate the role and significance of the item in the list." ) 175 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-item-flag") 176 protected CodeableConcept flag; 177 178 /** 179 * True if this item is marked as deleted in the list. 180 */ 181 @Child(name = "deleted", type = {BooleanType.class}, order=2, min=0, max=1, modifier=true, summary=false) 182 @Description(shortDefinition="If this item is actually marked as deleted", formalDefinition="True if this item is marked as deleted in the list." ) 183 protected BooleanType deleted; 184 185 /** 186 * When this item was added to the list. 187 */ 188 @Child(name = "date", type = {DateTimeType.class}, order=3, min=0, max=1, modifier=false, summary=false) 189 @Description(shortDefinition="When item added to list", formalDefinition="When this item was added to the list." ) 190 protected DateTimeType date; 191 192 /** 193 * A reference to the actual resource from which data was derived. 194 */ 195 @Child(name = "item", type = {Reference.class}, order=4, min=1, max=1, modifier=false, summary=false) 196 @Description(shortDefinition="Actual entry", formalDefinition="A reference to the actual resource from which data was derived." ) 197 protected Reference item; 198 199 private static final long serialVersionUID = -872672029L; 200 201 /** 202 * Constructor 203 */ 204 public ListResourceEntryComponent() { 205 super(); 206 } 207 208 /** 209 * Constructor 210 */ 211 public ListResourceEntryComponent(Reference item) { 212 super(); 213 this.setItem(item); 214 } 215 216 /** 217 * @return {@link #flag} (The flag allows the system constructing the list to indicate the role and significance of the item in the list.) 218 */ 219 public CodeableConcept getFlag() { 220 if (this.flag == null) 221 if (Configuration.errorOnAutoCreate()) 222 throw new Error("Attempt to auto-create ListResourceEntryComponent.flag"); 223 else if (Configuration.doAutoCreate()) 224 this.flag = new CodeableConcept(); // cc 225 return this.flag; 226 } 227 228 public boolean hasFlag() { 229 return this.flag != null && !this.flag.isEmpty(); 230 } 231 232 /** 233 * @param value {@link #flag} (The flag allows the system constructing the list to indicate the role and significance of the item in the list.) 234 */ 235 public ListResourceEntryComponent setFlag(CodeableConcept value) { 236 this.flag = value; 237 return this; 238 } 239 240 /** 241 * @return {@link #deleted} (True if this item is marked as deleted in the list.). This is the underlying object with id, value and extensions. The accessor "getDeleted" gives direct access to the value 242 */ 243 public BooleanType getDeletedElement() { 244 if (this.deleted == null) 245 if (Configuration.errorOnAutoCreate()) 246 throw new Error("Attempt to auto-create ListResourceEntryComponent.deleted"); 247 else if (Configuration.doAutoCreate()) 248 this.deleted = new BooleanType(); // bb 249 return this.deleted; 250 } 251 252 public boolean hasDeletedElement() { 253 return this.deleted != null && !this.deleted.isEmpty(); 254 } 255 256 public boolean hasDeleted() { 257 return this.deleted != null && !this.deleted.isEmpty(); 258 } 259 260 /** 261 * @param value {@link #deleted} (True if this item is marked as deleted in the list.). This is the underlying object with id, value and extensions. The accessor "getDeleted" gives direct access to the value 262 */ 263 public ListResourceEntryComponent setDeletedElement(BooleanType value) { 264 this.deleted = value; 265 return this; 266 } 267 268 /** 269 * @return True if this item is marked as deleted in the list. 270 */ 271 public boolean getDeleted() { 272 return this.deleted == null || this.deleted.isEmpty() ? false : this.deleted.getValue(); 273 } 274 275 /** 276 * @param value True if this item is marked as deleted in the list. 277 */ 278 public ListResourceEntryComponent setDeleted(boolean value) { 279 if (this.deleted == null) 280 this.deleted = new BooleanType(); 281 this.deleted.setValue(value); 282 return this; 283 } 284 285 /** 286 * @return {@link #date} (When this item was added to the list.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 287 */ 288 public DateTimeType getDateElement() { 289 if (this.date == null) 290 if (Configuration.errorOnAutoCreate()) 291 throw new Error("Attempt to auto-create ListResourceEntryComponent.date"); 292 else if (Configuration.doAutoCreate()) 293 this.date = new DateTimeType(); // bb 294 return this.date; 295 } 296 297 public boolean hasDateElement() { 298 return this.date != null && !this.date.isEmpty(); 299 } 300 301 public boolean hasDate() { 302 return this.date != null && !this.date.isEmpty(); 303 } 304 305 /** 306 * @param value {@link #date} (When this item was added to the list.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 307 */ 308 public ListResourceEntryComponent setDateElement(DateTimeType value) { 309 this.date = value; 310 return this; 311 } 312 313 /** 314 * @return When this item was added to the list. 315 */ 316 public Date getDate() { 317 return this.date == null ? null : this.date.getValue(); 318 } 319 320 /** 321 * @param value When this item was added to the list. 322 */ 323 public ListResourceEntryComponent setDate(Date value) { 324 if (value == null) 325 this.date = null; 326 else { 327 if (this.date == null) 328 this.date = new DateTimeType(); 329 this.date.setValue(value); 330 } 331 return this; 332 } 333 334 /** 335 * @return {@link #item} (A reference to the actual resource from which data was derived.) 336 */ 337 public Reference getItem() { 338 if (this.item == null) 339 if (Configuration.errorOnAutoCreate()) 340 throw new Error("Attempt to auto-create ListResourceEntryComponent.item"); 341 else if (Configuration.doAutoCreate()) 342 this.item = new Reference(); // cc 343 return this.item; 344 } 345 346 public boolean hasItem() { 347 return this.item != null && !this.item.isEmpty(); 348 } 349 350 /** 351 * @param value {@link #item} (A reference to the actual resource from which data was derived.) 352 */ 353 public ListResourceEntryComponent setItem(Reference value) { 354 this.item = value; 355 return this; 356 } 357 358 protected void listChildren(List<Property> children) { 359 super.listChildren(children); 360 children.add(new Property("flag", "CodeableConcept", "The flag allows the system constructing the list to indicate the role and significance of the item in the list.", 0, 1, flag)); 361 children.add(new Property("deleted", "boolean", "True if this item is marked as deleted in the list.", 0, 1, deleted)); 362 children.add(new Property("date", "dateTime", "When this item was added to the list.", 0, 1, date)); 363 children.add(new Property("item", "Reference(Any)", "A reference to the actual resource from which data was derived.", 0, 1, item)); 364 } 365 366 @Override 367 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 368 switch (_hash) { 369 case 3145580: /*flag*/ return new Property("flag", "CodeableConcept", "The flag allows the system constructing the list to indicate the role and significance of the item in the list.", 0, 1, flag); 370 case 1550463001: /*deleted*/ return new Property("deleted", "boolean", "True if this item is marked as deleted in the list.", 0, 1, deleted); 371 case 3076014: /*date*/ return new Property("date", "dateTime", "When this item was added to the list.", 0, 1, date); 372 case 3242771: /*item*/ return new Property("item", "Reference(Any)", "A reference to the actual resource from which data was derived.", 0, 1, item); 373 default: return super.getNamedProperty(_hash, _name, _checkValid); 374 } 375 376 } 377 378 @Override 379 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 380 switch (hash) { 381 case 3145580: /*flag*/ return this.flag == null ? new Base[0] : new Base[] {this.flag}; // CodeableConcept 382 case 1550463001: /*deleted*/ return this.deleted == null ? new Base[0] : new Base[] {this.deleted}; // BooleanType 383 case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType 384 case 3242771: /*item*/ return this.item == null ? new Base[0] : new Base[] {this.item}; // Reference 385 default: return super.getProperty(hash, name, checkValid); 386 } 387 388 } 389 390 @Override 391 public Base setProperty(int hash, String name, Base value) throws FHIRException { 392 switch (hash) { 393 case 3145580: // flag 394 this.flag = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 395 return value; 396 case 1550463001: // deleted 397 this.deleted = TypeConvertor.castToBoolean(value); // BooleanType 398 return value; 399 case 3076014: // date 400 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 401 return value; 402 case 3242771: // item 403 this.item = TypeConvertor.castToReference(value); // Reference 404 return value; 405 default: return super.setProperty(hash, name, value); 406 } 407 408 } 409 410 @Override 411 public Base setProperty(String name, Base value) throws FHIRException { 412 if (name.equals("flag")) { 413 this.flag = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 414 } else if (name.equals("deleted")) { 415 this.deleted = TypeConvertor.castToBoolean(value); // BooleanType 416 } else if (name.equals("date")) { 417 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 418 } else if (name.equals("item")) { 419 this.item = TypeConvertor.castToReference(value); // Reference 420 } else 421 return super.setProperty(name, value); 422 return value; 423 } 424 425 @Override 426 public Base makeProperty(int hash, String name) throws FHIRException { 427 switch (hash) { 428 case 3145580: return getFlag(); 429 case 1550463001: return getDeletedElement(); 430 case 3076014: return getDateElement(); 431 case 3242771: return getItem(); 432 default: return super.makeProperty(hash, name); 433 } 434 435 } 436 437 @Override 438 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 439 switch (hash) { 440 case 3145580: /*flag*/ return new String[] {"CodeableConcept"}; 441 case 1550463001: /*deleted*/ return new String[] {"boolean"}; 442 case 3076014: /*date*/ return new String[] {"dateTime"}; 443 case 3242771: /*item*/ return new String[] {"Reference"}; 444 default: return super.getTypesForProperty(hash, name); 445 } 446 447 } 448 449 @Override 450 public Base addChild(String name) throws FHIRException { 451 if (name.equals("flag")) { 452 this.flag = new CodeableConcept(); 453 return this.flag; 454 } 455 else if (name.equals("deleted")) { 456 throw new FHIRException("Cannot call addChild on a singleton property List.entry.deleted"); 457 } 458 else if (name.equals("date")) { 459 throw new FHIRException("Cannot call addChild on a singleton property List.entry.date"); 460 } 461 else if (name.equals("item")) { 462 this.item = new Reference(); 463 return this.item; 464 } 465 else 466 return super.addChild(name); 467 } 468 469 public ListResourceEntryComponent copy() { 470 ListResourceEntryComponent dst = new ListResourceEntryComponent(); 471 copyValues(dst); 472 return dst; 473 } 474 475 public void copyValues(ListResourceEntryComponent dst) { 476 super.copyValues(dst); 477 dst.flag = flag == null ? null : flag.copy(); 478 dst.deleted = deleted == null ? null : deleted.copy(); 479 dst.date = date == null ? null : date.copy(); 480 dst.item = item == null ? null : item.copy(); 481 } 482 483 @Override 484 public boolean equalsDeep(Base other_) { 485 if (!super.equalsDeep(other_)) 486 return false; 487 if (!(other_ instanceof ListResourceEntryComponent)) 488 return false; 489 ListResourceEntryComponent o = (ListResourceEntryComponent) other_; 490 return compareDeep(flag, o.flag, true) && compareDeep(deleted, o.deleted, true) && compareDeep(date, o.date, true) 491 && compareDeep(item, o.item, true); 492 } 493 494 @Override 495 public boolean equalsShallow(Base other_) { 496 if (!super.equalsShallow(other_)) 497 return false; 498 if (!(other_ instanceof ListResourceEntryComponent)) 499 return false; 500 ListResourceEntryComponent o = (ListResourceEntryComponent) other_; 501 return compareValues(deleted, o.deleted, true) && compareValues(date, o.date, true); 502 } 503 504 public boolean isEmpty() { 505 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(flag, deleted, date, item 506 ); 507 } 508 509 public String fhirType() { 510 return "List.entry"; 511 512 } 513 514 } 515 516 /** 517 * Identifier for the List assigned for business purposes outside the context of FHIR. 518 */ 519 @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 520 @Description(shortDefinition="Business identifier", formalDefinition="Identifier for the List assigned for business purposes outside the context of FHIR." ) 521 protected List<Identifier> identifier; 522 523 /** 524 * Indicates the current state of this list. 525 */ 526 @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true) 527 @Description(shortDefinition="current | retired | entered-in-error", formalDefinition="Indicates the current state of this list." ) 528 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-status") 529 protected Enumeration<ListStatus> status; 530 531 /** 532 * How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. 533 */ 534 @Child(name = "mode", type = {CodeType.class}, order=2, min=1, max=1, modifier=true, summary=true) 535 @Description(shortDefinition="working | snapshot | changes", formalDefinition="How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted." ) 536 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-mode") 537 protected Enumeration<ListMode> mode; 538 539 /** 540 * A label for the list assigned by the author. 541 */ 542 @Child(name = "title", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) 543 @Description(shortDefinition="Descriptive name for the list", formalDefinition="A label for the list assigned by the author." ) 544 protected StringType title; 545 546 /** 547 * This code defines the purpose of the list - why it was created. 548 */ 549 @Child(name = "code", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) 550 @Description(shortDefinition="What the purpose of this list is", formalDefinition="This code defines the purpose of the list - why it was created." ) 551 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-example-codes") 552 protected CodeableConcept code; 553 554 /** 555 * The common subject(s) (or patient(s)) of the resources that are in the list if there is one (or a set of subjects). 556 */ 557 @Child(name = "subject", type = {Reference.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 558 @Description(shortDefinition="If all resources have the same subject(s)", formalDefinition="The common subject(s) (or patient(s)) of the resources that are in the list if there is one (or a set of subjects)." ) 559 protected List<Reference> subject; 560 561 /** 562 * The encounter that is the context in which this list was created. 563 */ 564 @Child(name = "encounter", type = {Encounter.class}, order=6, min=0, max=1, modifier=false, summary=false) 565 @Description(shortDefinition="Context in which list created", formalDefinition="The encounter that is the context in which this list was created." ) 566 protected Reference encounter; 567 568 /** 569 * Date list was last reviewed/revised and determined to be 'current'. 570 */ 571 @Child(name = "date", type = {DateTimeType.class}, order=7, min=0, max=1, modifier=false, summary=true) 572 @Description(shortDefinition="When the list was prepared", formalDefinition="Date list was last reviewed/revised and determined to be 'current'." ) 573 protected DateTimeType date; 574 575 /** 576 * The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list. 577 */ 578 @Child(name = "source", type = {Practitioner.class, PractitionerRole.class, Patient.class, Device.class, Organization.class, RelatedPerson.class, CareTeam.class}, order=8, min=0, max=1, modifier=false, summary=true) 579 @Description(shortDefinition="Who and/or what defined the list contents (aka Author)", formalDefinition="The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list." ) 580 protected Reference source; 581 582 /** 583 * What order applies to the items in the list. 584 */ 585 @Child(name = "orderedBy", type = {CodeableConcept.class}, order=9, min=0, max=1, modifier=false, summary=false) 586 @Description(shortDefinition="What order the list has", formalDefinition="What order applies to the items in the list." ) 587 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-order") 588 protected CodeableConcept orderedBy; 589 590 /** 591 * Comments that apply to the overall list. 592 */ 593 @Child(name = "note", type = {Annotation.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 594 @Description(shortDefinition="Comments about the list", formalDefinition="Comments that apply to the overall list." ) 595 protected List<Annotation> note; 596 597 /** 598 * Entries in this list. 599 */ 600 @Child(name = "entry", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 601 @Description(shortDefinition="Entries in the list", formalDefinition="Entries in this list." ) 602 protected List<ListResourceEntryComponent> entry; 603 604 /** 605 * If the list is empty, why the list is empty. 606 */ 607 @Child(name = "emptyReason", type = {CodeableConcept.class}, order=12, min=0, max=1, modifier=false, summary=false) 608 @Description(shortDefinition="Why list is empty", formalDefinition="If the list is empty, why the list is empty." ) 609 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-empty-reason") 610 protected CodeableConcept emptyReason; 611 612 private static final long serialVersionUID = -2099967050L; 613 614 /** 615 * Constructor 616 */ 617 public ListResource() { 618 super(); 619 } 620 621 /** 622 * Constructor 623 */ 624 public ListResource(ListStatus status, ListMode mode) { 625 super(); 626 this.setStatus(status); 627 this.setMode(mode); 628 } 629 630 /** 631 * @return {@link #identifier} (Identifier for the List assigned for business purposes outside the context of FHIR.) 632 */ 633 public List<Identifier> getIdentifier() { 634 if (this.identifier == null) 635 this.identifier = new ArrayList<Identifier>(); 636 return this.identifier; 637 } 638 639 /** 640 * @return Returns a reference to <code>this</code> for easy method chaining 641 */ 642 public ListResource setIdentifier(List<Identifier> theIdentifier) { 643 this.identifier = theIdentifier; 644 return this; 645 } 646 647 public boolean hasIdentifier() { 648 if (this.identifier == null) 649 return false; 650 for (Identifier item : this.identifier) 651 if (!item.isEmpty()) 652 return true; 653 return false; 654 } 655 656 public Identifier addIdentifier() { //3 657 Identifier t = new Identifier(); 658 if (this.identifier == null) 659 this.identifier = new ArrayList<Identifier>(); 660 this.identifier.add(t); 661 return t; 662 } 663 664 public ListResource addIdentifier(Identifier t) { //3 665 if (t == null) 666 return this; 667 if (this.identifier == null) 668 this.identifier = new ArrayList<Identifier>(); 669 this.identifier.add(t); 670 return this; 671 } 672 673 /** 674 * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} 675 */ 676 public Identifier getIdentifierFirstRep() { 677 if (getIdentifier().isEmpty()) { 678 addIdentifier(); 679 } 680 return getIdentifier().get(0); 681 } 682 683 /** 684 * @return {@link #status} (Indicates the current state of this list.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 685 */ 686 public Enumeration<ListStatus> getStatusElement() { 687 if (this.status == null) 688 if (Configuration.errorOnAutoCreate()) 689 throw new Error("Attempt to auto-create ListResource.status"); 690 else if (Configuration.doAutoCreate()) 691 this.status = new Enumeration<ListStatus>(new ListStatusEnumFactory()); // bb 692 return this.status; 693 } 694 695 public boolean hasStatusElement() { 696 return this.status != null && !this.status.isEmpty(); 697 } 698 699 public boolean hasStatus() { 700 return this.status != null && !this.status.isEmpty(); 701 } 702 703 /** 704 * @param value {@link #status} (Indicates the current state of this list.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 705 */ 706 public ListResource setStatusElement(Enumeration<ListStatus> value) { 707 this.status = value; 708 return this; 709 } 710 711 /** 712 * @return Indicates the current state of this list. 713 */ 714 public ListStatus getStatus() { 715 return this.status == null ? null : this.status.getValue(); 716 } 717 718 /** 719 * @param value Indicates the current state of this list. 720 */ 721 public ListResource setStatus(ListStatus value) { 722 if (this.status == null) 723 this.status = new Enumeration<ListStatus>(new ListStatusEnumFactory()); 724 this.status.setValue(value); 725 return this; 726 } 727 728 /** 729 * @return {@link #mode} (How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value 730 */ 731 public Enumeration<ListMode> getModeElement() { 732 if (this.mode == null) 733 if (Configuration.errorOnAutoCreate()) 734 throw new Error("Attempt to auto-create ListResource.mode"); 735 else if (Configuration.doAutoCreate()) 736 this.mode = new Enumeration<ListMode>(new ListModeEnumFactory()); // bb 737 return this.mode; 738 } 739 740 public boolean hasModeElement() { 741 return this.mode != null && !this.mode.isEmpty(); 742 } 743 744 public boolean hasMode() { 745 return this.mode != null && !this.mode.isEmpty(); 746 } 747 748 /** 749 * @param value {@link #mode} (How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value 750 */ 751 public ListResource setModeElement(Enumeration<ListMode> value) { 752 this.mode = value; 753 return this; 754 } 755 756 /** 757 * @return How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. 758 */ 759 public ListMode getMode() { 760 return this.mode == null ? null : this.mode.getValue(); 761 } 762 763 /** 764 * @param value How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. 765 */ 766 public ListResource setMode(ListMode value) { 767 if (this.mode == null) 768 this.mode = new Enumeration<ListMode>(new ListModeEnumFactory()); 769 this.mode.setValue(value); 770 return this; 771 } 772 773 /** 774 * @return {@link #title} (A label for the list assigned by the author.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 775 */ 776 public StringType getTitleElement() { 777 if (this.title == null) 778 if (Configuration.errorOnAutoCreate()) 779 throw new Error("Attempt to auto-create ListResource.title"); 780 else if (Configuration.doAutoCreate()) 781 this.title = new StringType(); // bb 782 return this.title; 783 } 784 785 public boolean hasTitleElement() { 786 return this.title != null && !this.title.isEmpty(); 787 } 788 789 public boolean hasTitle() { 790 return this.title != null && !this.title.isEmpty(); 791 } 792 793 /** 794 * @param value {@link #title} (A label for the list assigned by the author.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 795 */ 796 public ListResource setTitleElement(StringType value) { 797 this.title = value; 798 return this; 799 } 800 801 /** 802 * @return A label for the list assigned by the author. 803 */ 804 public String getTitle() { 805 return this.title == null ? null : this.title.getValue(); 806 } 807 808 /** 809 * @param value A label for the list assigned by the author. 810 */ 811 public ListResource setTitle(String value) { 812 if (Utilities.noString(value)) 813 this.title = null; 814 else { 815 if (this.title == null) 816 this.title = new StringType(); 817 this.title.setValue(value); 818 } 819 return this; 820 } 821 822 /** 823 * @return {@link #code} (This code defines the purpose of the list - why it was created.) 824 */ 825 public CodeableConcept getCode() { 826 if (this.code == null) 827 if (Configuration.errorOnAutoCreate()) 828 throw new Error("Attempt to auto-create ListResource.code"); 829 else if (Configuration.doAutoCreate()) 830 this.code = new CodeableConcept(); // cc 831 return this.code; 832 } 833 834 public boolean hasCode() { 835 return this.code != null && !this.code.isEmpty(); 836 } 837 838 /** 839 * @param value {@link #code} (This code defines the purpose of the list - why it was created.) 840 */ 841 public ListResource setCode(CodeableConcept value) { 842 this.code = value; 843 return this; 844 } 845 846 /** 847 * @return {@link #subject} (The common subject(s) (or patient(s)) of the resources that are in the list if there is one (or a set of subjects).) 848 */ 849 public List<Reference> getSubject() { 850 if (this.subject == null) 851 this.subject = new ArrayList<Reference>(); 852 return this.subject; 853 } 854 855 /** 856 * @return Returns a reference to <code>this</code> for easy method chaining 857 */ 858 public ListResource setSubject(List<Reference> theSubject) { 859 this.subject = theSubject; 860 return this; 861 } 862 863 public boolean hasSubject() { 864 if (this.subject == null) 865 return false; 866 for (Reference item : this.subject) 867 if (!item.isEmpty()) 868 return true; 869 return false; 870 } 871 872 public Reference addSubject() { //3 873 Reference t = new Reference(); 874 if (this.subject == null) 875 this.subject = new ArrayList<Reference>(); 876 this.subject.add(t); 877 return t; 878 } 879 880 public ListResource addSubject(Reference t) { //3 881 if (t == null) 882 return this; 883 if (this.subject == null) 884 this.subject = new ArrayList<Reference>(); 885 this.subject.add(t); 886 return this; 887 } 888 889 /** 890 * @return The first repetition of repeating field {@link #subject}, creating it if it does not already exist {3} 891 */ 892 public Reference getSubjectFirstRep() { 893 if (getSubject().isEmpty()) { 894 addSubject(); 895 } 896 return getSubject().get(0); 897 } 898 899 /** 900 * @return {@link #encounter} (The encounter that is the context in which this list was created.) 901 */ 902 public Reference getEncounter() { 903 if (this.encounter == null) 904 if (Configuration.errorOnAutoCreate()) 905 throw new Error("Attempt to auto-create ListResource.encounter"); 906 else if (Configuration.doAutoCreate()) 907 this.encounter = new Reference(); // cc 908 return this.encounter; 909 } 910 911 public boolean hasEncounter() { 912 return this.encounter != null && !this.encounter.isEmpty(); 913 } 914 915 /** 916 * @param value {@link #encounter} (The encounter that is the context in which this list was created.) 917 */ 918 public ListResource setEncounter(Reference value) { 919 this.encounter = value; 920 return this; 921 } 922 923 /** 924 * @return {@link #date} (Date list was last reviewed/revised and determined to be 'current'.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 925 */ 926 public DateTimeType getDateElement() { 927 if (this.date == null) 928 if (Configuration.errorOnAutoCreate()) 929 throw new Error("Attempt to auto-create ListResource.date"); 930 else if (Configuration.doAutoCreate()) 931 this.date = new DateTimeType(); // bb 932 return this.date; 933 } 934 935 public boolean hasDateElement() { 936 return this.date != null && !this.date.isEmpty(); 937 } 938 939 public boolean hasDate() { 940 return this.date != null && !this.date.isEmpty(); 941 } 942 943 /** 944 * @param value {@link #date} (Date list was last reviewed/revised and determined to be 'current'.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 945 */ 946 public ListResource setDateElement(DateTimeType value) { 947 this.date = value; 948 return this; 949 } 950 951 /** 952 * @return Date list was last reviewed/revised and determined to be 'current'. 953 */ 954 public Date getDate() { 955 return this.date == null ? null : this.date.getValue(); 956 } 957 958 /** 959 * @param value Date list was last reviewed/revised and determined to be 'current'. 960 */ 961 public ListResource setDate(Date value) { 962 if (value == null) 963 this.date = null; 964 else { 965 if (this.date == null) 966 this.date = new DateTimeType(); 967 this.date.setValue(value); 968 } 969 return this; 970 } 971 972 /** 973 * @return {@link #source} (The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.) 974 */ 975 public Reference getSource() { 976 if (this.source == null) 977 if (Configuration.errorOnAutoCreate()) 978 throw new Error("Attempt to auto-create ListResource.source"); 979 else if (Configuration.doAutoCreate()) 980 this.source = new Reference(); // cc 981 return this.source; 982 } 983 984 public boolean hasSource() { 985 return this.source != null && !this.source.isEmpty(); 986 } 987 988 /** 989 * @param value {@link #source} (The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.) 990 */ 991 public ListResource setSource(Reference value) { 992 this.source = value; 993 return this; 994 } 995 996 /** 997 * @return {@link #orderedBy} (What order applies to the items in the list.) 998 */ 999 public CodeableConcept getOrderedBy() { 1000 if (this.orderedBy == null) 1001 if (Configuration.errorOnAutoCreate()) 1002 throw new Error("Attempt to auto-create ListResource.orderedBy"); 1003 else if (Configuration.doAutoCreate()) 1004 this.orderedBy = new CodeableConcept(); // cc 1005 return this.orderedBy; 1006 } 1007 1008 public boolean hasOrderedBy() { 1009 return this.orderedBy != null && !this.orderedBy.isEmpty(); 1010 } 1011 1012 /** 1013 * @param value {@link #orderedBy} (What order applies to the items in the list.) 1014 */ 1015 public ListResource setOrderedBy(CodeableConcept value) { 1016 this.orderedBy = value; 1017 return this; 1018 } 1019 1020 /** 1021 * @return {@link #note} (Comments that apply to the overall list.) 1022 */ 1023 public List<Annotation> getNote() { 1024 if (this.note == null) 1025 this.note = new ArrayList<Annotation>(); 1026 return this.note; 1027 } 1028 1029 /** 1030 * @return Returns a reference to <code>this</code> for easy method chaining 1031 */ 1032 public ListResource setNote(List<Annotation> theNote) { 1033 this.note = theNote; 1034 return this; 1035 } 1036 1037 public boolean hasNote() { 1038 if (this.note == null) 1039 return false; 1040 for (Annotation item : this.note) 1041 if (!item.isEmpty()) 1042 return true; 1043 return false; 1044 } 1045 1046 public Annotation addNote() { //3 1047 Annotation t = new Annotation(); 1048 if (this.note == null) 1049 this.note = new ArrayList<Annotation>(); 1050 this.note.add(t); 1051 return t; 1052 } 1053 1054 public ListResource addNote(Annotation t) { //3 1055 if (t == null) 1056 return this; 1057 if (this.note == null) 1058 this.note = new ArrayList<Annotation>(); 1059 this.note.add(t); 1060 return this; 1061 } 1062 1063 /** 1064 * @return The first repetition of repeating field {@link #note}, creating it if it does not already exist {3} 1065 */ 1066 public Annotation getNoteFirstRep() { 1067 if (getNote().isEmpty()) { 1068 addNote(); 1069 } 1070 return getNote().get(0); 1071 } 1072 1073 /** 1074 * @return {@link #entry} (Entries in this list.) 1075 */ 1076 public List<ListResourceEntryComponent> getEntry() { 1077 if (this.entry == null) 1078 this.entry = new ArrayList<ListResourceEntryComponent>(); 1079 return this.entry; 1080 } 1081 1082 /** 1083 * @return Returns a reference to <code>this</code> for easy method chaining 1084 */ 1085 public ListResource setEntry(List<ListResourceEntryComponent> theEntry) { 1086 this.entry = theEntry; 1087 return this; 1088 } 1089 1090 public boolean hasEntry() { 1091 if (this.entry == null) 1092 return false; 1093 for (ListResourceEntryComponent item : this.entry) 1094 if (!item.isEmpty()) 1095 return true; 1096 return false; 1097 } 1098 1099 public ListResourceEntryComponent addEntry() { //3 1100 ListResourceEntryComponent t = new ListResourceEntryComponent(); 1101 if (this.entry == null) 1102 this.entry = new ArrayList<ListResourceEntryComponent>(); 1103 this.entry.add(t); 1104 return t; 1105 } 1106 1107 public ListResource addEntry(ListResourceEntryComponent t) { //3 1108 if (t == null) 1109 return this; 1110 if (this.entry == null) 1111 this.entry = new ArrayList<ListResourceEntryComponent>(); 1112 this.entry.add(t); 1113 return this; 1114 } 1115 1116 /** 1117 * @return The first repetition of repeating field {@link #entry}, creating it if it does not already exist {3} 1118 */ 1119 public ListResourceEntryComponent getEntryFirstRep() { 1120 if (getEntry().isEmpty()) { 1121 addEntry(); 1122 } 1123 return getEntry().get(0); 1124 } 1125 1126 /** 1127 * @return {@link #emptyReason} (If the list is empty, why the list is empty.) 1128 */ 1129 public CodeableConcept getEmptyReason() { 1130 if (this.emptyReason == null) 1131 if (Configuration.errorOnAutoCreate()) 1132 throw new Error("Attempt to auto-create ListResource.emptyReason"); 1133 else if (Configuration.doAutoCreate()) 1134 this.emptyReason = new CodeableConcept(); // cc 1135 return this.emptyReason; 1136 } 1137 1138 public boolean hasEmptyReason() { 1139 return this.emptyReason != null && !this.emptyReason.isEmpty(); 1140 } 1141 1142 /** 1143 * @param value {@link #emptyReason} (If the list is empty, why the list is empty.) 1144 */ 1145 public ListResource setEmptyReason(CodeableConcept value) { 1146 this.emptyReason = value; 1147 return this; 1148 } 1149 1150 protected void listChildren(List<Property> children) { 1151 super.listChildren(children); 1152 children.add(new Property("identifier", "Identifier", "Identifier for the List assigned for business purposes outside the context of FHIR.", 0, java.lang.Integer.MAX_VALUE, identifier)); 1153 children.add(new Property("status", "code", "Indicates the current state of this list.", 0, 1, status)); 1154 children.add(new Property("mode", "code", "How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.", 0, 1, mode)); 1155 children.add(new Property("title", "string", "A label for the list assigned by the author.", 0, 1, title)); 1156 children.add(new Property("code", "CodeableConcept", "This code defines the purpose of the list - why it was created.", 0, 1, code)); 1157 children.add(new Property("subject", "Reference(Any)", "The common subject(s) (or patient(s)) of the resources that are in the list if there is one (or a set of subjects).", 0, java.lang.Integer.MAX_VALUE, subject)); 1158 children.add(new Property("encounter", "Reference(Encounter)", "The encounter that is the context in which this list was created.", 0, 1, encounter)); 1159 children.add(new Property("date", "dateTime", "Date list was last reviewed/revised and determined to be 'current'.", 0, 1, date)); 1160 children.add(new Property("source", "Reference(Practitioner|PractitionerRole|Patient|Device|Organization|RelatedPerson|CareTeam)", "The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.", 0, 1, source)); 1161 children.add(new Property("orderedBy", "CodeableConcept", "What order applies to the items in the list.", 0, 1, orderedBy)); 1162 children.add(new Property("note", "Annotation", "Comments that apply to the overall list.", 0, java.lang.Integer.MAX_VALUE, note)); 1163 children.add(new Property("entry", "", "Entries in this list.", 0, java.lang.Integer.MAX_VALUE, entry)); 1164 children.add(new Property("emptyReason", "CodeableConcept", "If the list is empty, why the list is empty.", 0, 1, emptyReason)); 1165 } 1166 1167 @Override 1168 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 1169 switch (_hash) { 1170 case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier for the List assigned for business purposes outside the context of FHIR.", 0, java.lang.Integer.MAX_VALUE, identifier); 1171 case -892481550: /*status*/ return new Property("status", "code", "Indicates the current state of this list.", 0, 1, status); 1172 case 3357091: /*mode*/ return new Property("mode", "code", "How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.", 0, 1, mode); 1173 case 110371416: /*title*/ return new Property("title", "string", "A label for the list assigned by the author.", 0, 1, title); 1174 case 3059181: /*code*/ return new Property("code", "CodeableConcept", "This code defines the purpose of the list - why it was created.", 0, 1, code); 1175 case -1867885268: /*subject*/ return new Property("subject", "Reference(Any)", "The common subject(s) (or patient(s)) of the resources that are in the list if there is one (or a set of subjects).", 0, java.lang.Integer.MAX_VALUE, subject); 1176 case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The encounter that is the context in which this list was created.", 0, 1, encounter); 1177 case 3076014: /*date*/ return new Property("date", "dateTime", "Date list was last reviewed/revised and determined to be 'current'.", 0, 1, date); 1178 case -896505829: /*source*/ return new Property("source", "Reference(Practitioner|PractitionerRole|Patient|Device|Organization|RelatedPerson|CareTeam)", "The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.", 0, 1, source); 1179 case -391079516: /*orderedBy*/ return new Property("orderedBy", "CodeableConcept", "What order applies to the items in the list.", 0, 1, orderedBy); 1180 case 3387378: /*note*/ return new Property("note", "Annotation", "Comments that apply to the overall list.", 0, java.lang.Integer.MAX_VALUE, note); 1181 case 96667762: /*entry*/ return new Property("entry", "", "Entries in this list.", 0, java.lang.Integer.MAX_VALUE, entry); 1182 case 1140135409: /*emptyReason*/ return new Property("emptyReason", "CodeableConcept", "If the list is empty, why the list is empty.", 0, 1, emptyReason); 1183 default: return super.getNamedProperty(_hash, _name, _checkValid); 1184 } 1185 1186 } 1187 1188 @Override 1189 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 1190 switch (hash) { 1191 case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier 1192 case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<ListStatus> 1193 case 3357091: /*mode*/ return this.mode == null ? new Base[0] : new Base[] {this.mode}; // Enumeration<ListMode> 1194 case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType 1195 case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept 1196 case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : this.subject.toArray(new Base[this.subject.size()]); // Reference 1197 case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference 1198 case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType 1199 case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // Reference 1200 case -391079516: /*orderedBy*/ return this.orderedBy == null ? new Base[0] : new Base[] {this.orderedBy}; // CodeableConcept 1201 case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation 1202 case 96667762: /*entry*/ return this.entry == null ? new Base[0] : this.entry.toArray(new Base[this.entry.size()]); // ListResourceEntryComponent 1203 case 1140135409: /*emptyReason*/ return this.emptyReason == null ? new Base[0] : new Base[] {this.emptyReason}; // CodeableConcept 1204 default: return super.getProperty(hash, name, checkValid); 1205 } 1206 1207 } 1208 1209 @Override 1210 public Base setProperty(int hash, String name, Base value) throws FHIRException { 1211 switch (hash) { 1212 case -1618432855: // identifier 1213 this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier 1214 return value; 1215 case -892481550: // status 1216 value = new ListStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 1217 this.status = (Enumeration) value; // Enumeration<ListStatus> 1218 return value; 1219 case 3357091: // mode 1220 value = new ListModeEnumFactory().fromType(TypeConvertor.castToCode(value)); 1221 this.mode = (Enumeration) value; // Enumeration<ListMode> 1222 return value; 1223 case 110371416: // title 1224 this.title = TypeConvertor.castToString(value); // StringType 1225 return value; 1226 case 3059181: // code 1227 this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 1228 return value; 1229 case -1867885268: // subject 1230 this.getSubject().add(TypeConvertor.castToReference(value)); // Reference 1231 return value; 1232 case 1524132147: // encounter 1233 this.encounter = TypeConvertor.castToReference(value); // Reference 1234 return value; 1235 case 3076014: // date 1236 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 1237 return value; 1238 case -896505829: // source 1239 this.source = TypeConvertor.castToReference(value); // Reference 1240 return value; 1241 case -391079516: // orderedBy 1242 this.orderedBy = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 1243 return value; 1244 case 3387378: // note 1245 this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation 1246 return value; 1247 case 96667762: // entry 1248 this.getEntry().add((ListResourceEntryComponent) value); // ListResourceEntryComponent 1249 return value; 1250 case 1140135409: // emptyReason 1251 this.emptyReason = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 1252 return value; 1253 default: return super.setProperty(hash, name, value); 1254 } 1255 1256 } 1257 1258 @Override 1259 public Base setProperty(String name, Base value) throws FHIRException { 1260 if (name.equals("identifier")) { 1261 this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); 1262 } else if (name.equals("status")) { 1263 value = new ListStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 1264 this.status = (Enumeration) value; // Enumeration<ListStatus> 1265 } else if (name.equals("mode")) { 1266 value = new ListModeEnumFactory().fromType(TypeConvertor.castToCode(value)); 1267 this.mode = (Enumeration) value; // Enumeration<ListMode> 1268 } else if (name.equals("title")) { 1269 this.title = TypeConvertor.castToString(value); // StringType 1270 } else if (name.equals("code")) { 1271 this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 1272 } else if (name.equals("subject")) { 1273 this.getSubject().add(TypeConvertor.castToReference(value)); 1274 } else if (name.equals("encounter")) { 1275 this.encounter = TypeConvertor.castToReference(value); // Reference 1276 } else if (name.equals("date")) { 1277 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 1278 } else if (name.equals("source")) { 1279 this.source = TypeConvertor.castToReference(value); // Reference 1280 } else if (name.equals("orderedBy")) { 1281 this.orderedBy = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 1282 } else if (name.equals("note")) { 1283 this.getNote().add(TypeConvertor.castToAnnotation(value)); 1284 } else if (name.equals("entry")) { 1285 this.getEntry().add((ListResourceEntryComponent) value); 1286 } else if (name.equals("emptyReason")) { 1287 this.emptyReason = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 1288 } else 1289 return super.setProperty(name, value); 1290 return value; 1291 } 1292 1293 @Override 1294 public Base makeProperty(int hash, String name) throws FHIRException { 1295 switch (hash) { 1296 case -1618432855: return addIdentifier(); 1297 case -892481550: return getStatusElement(); 1298 case 3357091: return getModeElement(); 1299 case 110371416: return getTitleElement(); 1300 case 3059181: return getCode(); 1301 case -1867885268: return addSubject(); 1302 case 1524132147: return getEncounter(); 1303 case 3076014: return getDateElement(); 1304 case -896505829: return getSource(); 1305 case -391079516: return getOrderedBy(); 1306 case 3387378: return addNote(); 1307 case 96667762: return addEntry(); 1308 case 1140135409: return getEmptyReason(); 1309 default: return super.makeProperty(hash, name); 1310 } 1311 1312 } 1313 1314 @Override 1315 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 1316 switch (hash) { 1317 case -1618432855: /*identifier*/ return new String[] {"Identifier"}; 1318 case -892481550: /*status*/ return new String[] {"code"}; 1319 case 3357091: /*mode*/ return new String[] {"code"}; 1320 case 110371416: /*title*/ return new String[] {"string"}; 1321 case 3059181: /*code*/ return new String[] {"CodeableConcept"}; 1322 case -1867885268: /*subject*/ return new String[] {"Reference"}; 1323 case 1524132147: /*encounter*/ return new String[] {"Reference"}; 1324 case 3076014: /*date*/ return new String[] {"dateTime"}; 1325 case -896505829: /*source*/ return new String[] {"Reference"}; 1326 case -391079516: /*orderedBy*/ return new String[] {"CodeableConcept"}; 1327 case 3387378: /*note*/ return new String[] {"Annotation"}; 1328 case 96667762: /*entry*/ return new String[] {}; 1329 case 1140135409: /*emptyReason*/ return new String[] {"CodeableConcept"}; 1330 default: return super.getTypesForProperty(hash, name); 1331 } 1332 1333 } 1334 1335 @Override 1336 public Base addChild(String name) throws FHIRException { 1337 if (name.equals("identifier")) { 1338 return addIdentifier(); 1339 } 1340 else if (name.equals("status")) { 1341 throw new FHIRException("Cannot call addChild on a singleton property List.status"); 1342 } 1343 else if (name.equals("mode")) { 1344 throw new FHIRException("Cannot call addChild on a singleton property List.mode"); 1345 } 1346 else if (name.equals("title")) { 1347 throw new FHIRException("Cannot call addChild on a singleton property List.title"); 1348 } 1349 else if (name.equals("code")) { 1350 this.code = new CodeableConcept(); 1351 return this.code; 1352 } 1353 else if (name.equals("subject")) { 1354 return addSubject(); 1355 } 1356 else if (name.equals("encounter")) { 1357 this.encounter = new Reference(); 1358 return this.encounter; 1359 } 1360 else if (name.equals("date")) { 1361 throw new FHIRException("Cannot call addChild on a singleton property List.date"); 1362 } 1363 else if (name.equals("source")) { 1364 this.source = new Reference(); 1365 return this.source; 1366 } 1367 else if (name.equals("orderedBy")) { 1368 this.orderedBy = new CodeableConcept(); 1369 return this.orderedBy; 1370 } 1371 else if (name.equals("note")) { 1372 return addNote(); 1373 } 1374 else if (name.equals("entry")) { 1375 return addEntry(); 1376 } 1377 else if (name.equals("emptyReason")) { 1378 this.emptyReason = new CodeableConcept(); 1379 return this.emptyReason; 1380 } 1381 else 1382 return super.addChild(name); 1383 } 1384 1385 public String fhirType() { 1386 return "List"; 1387 1388 } 1389 1390 public ListResource copy() { 1391 ListResource dst = new ListResource(); 1392 copyValues(dst); 1393 return dst; 1394 } 1395 1396 public void copyValues(ListResource dst) { 1397 super.copyValues(dst); 1398 if (identifier != null) { 1399 dst.identifier = new ArrayList<Identifier>(); 1400 for (Identifier i : identifier) 1401 dst.identifier.add(i.copy()); 1402 }; 1403 dst.status = status == null ? null : status.copy(); 1404 dst.mode = mode == null ? null : mode.copy(); 1405 dst.title = title == null ? null : title.copy(); 1406 dst.code = code == null ? null : code.copy(); 1407 if (subject != null) { 1408 dst.subject = new ArrayList<Reference>(); 1409 for (Reference i : subject) 1410 dst.subject.add(i.copy()); 1411 }; 1412 dst.encounter = encounter == null ? null : encounter.copy(); 1413 dst.date = date == null ? null : date.copy(); 1414 dst.source = source == null ? null : source.copy(); 1415 dst.orderedBy = orderedBy == null ? null : orderedBy.copy(); 1416 if (note != null) { 1417 dst.note = new ArrayList<Annotation>(); 1418 for (Annotation i : note) 1419 dst.note.add(i.copy()); 1420 }; 1421 if (entry != null) { 1422 dst.entry = new ArrayList<ListResourceEntryComponent>(); 1423 for (ListResourceEntryComponent i : entry) 1424 dst.entry.add(i.copy()); 1425 }; 1426 dst.emptyReason = emptyReason == null ? null : emptyReason.copy(); 1427 } 1428 1429 protected ListResource typedCopy() { 1430 return copy(); 1431 } 1432 1433 @Override 1434 public boolean equalsDeep(Base other_) { 1435 if (!super.equalsDeep(other_)) 1436 return false; 1437 if (!(other_ instanceof ListResource)) 1438 return false; 1439 ListResource o = (ListResource) other_; 1440 return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(mode, o.mode, true) 1441 && compareDeep(title, o.title, true) && compareDeep(code, o.code, true) && compareDeep(subject, o.subject, true) 1442 && compareDeep(encounter, o.encounter, true) && compareDeep(date, o.date, true) && compareDeep(source, o.source, true) 1443 && compareDeep(orderedBy, o.orderedBy, true) && compareDeep(note, o.note, true) && compareDeep(entry, o.entry, true) 1444 && compareDeep(emptyReason, o.emptyReason, true); 1445 } 1446 1447 @Override 1448 public boolean equalsShallow(Base other_) { 1449 if (!super.equalsShallow(other_)) 1450 return false; 1451 if (!(other_ instanceof ListResource)) 1452 return false; 1453 ListResource o = (ListResource) other_; 1454 return compareValues(status, o.status, true) && compareValues(mode, o.mode, true) && compareValues(title, o.title, true) 1455 && compareValues(date, o.date, true); 1456 } 1457 1458 public boolean isEmpty() { 1459 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, mode 1460 , title, code, subject, encounter, date, source, orderedBy, note, entry, emptyReason 1461 ); 1462 } 1463 1464 @Override 1465 public ResourceType getResourceType() { 1466 return ResourceType.List; 1467 } 1468 1469 /** 1470 * Search parameter: <b>empty-reason</b> 1471 * <p> 1472 * Description: <b>Why list is empty</b><br> 1473 * Type: <b>token</b><br> 1474 * Path: <b>List.emptyReason</b><br> 1475 * </p> 1476 */ 1477 @SearchParamDefinition(name="empty-reason", path="List.emptyReason", description="Why list is empty", type="token" ) 1478 public static final String SP_EMPTY_REASON = "empty-reason"; 1479 /** 1480 * <b>Fluent Client</b> search parameter constant for <b>empty-reason</b> 1481 * <p> 1482 * Description: <b>Why list is empty</b><br> 1483 * Type: <b>token</b><br> 1484 * Path: <b>List.emptyReason</b><br> 1485 * </p> 1486 */ 1487 public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMPTY_REASON = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EMPTY_REASON); 1488 1489 /** 1490 * Search parameter: <b>item</b> 1491 * <p> 1492 * Description: <b>Actual entry</b><br> 1493 * Type: <b>reference</b><br> 1494 * Path: <b>List.entry.item</b><br> 1495 * </p> 1496 */ 1497 @SearchParamDefinition(name="item", path="List.entry.item", description="Actual entry", type="reference", target={Account.class, ActivityDefinition.class, ActorDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BiologicallyDerivedProductDispense.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceAssociation.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentReference.class, Encounter.class, EncounterHistory.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, FormularyItem.class, GenomicStudy.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryItem.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationStatement.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Parameters.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestOrchestration.class, Requirements.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestPlan.class, TestReport.class, TestScript.class, Transport.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) 1498 public static final String SP_ITEM = "item"; 1499 /** 1500 * <b>Fluent Client</b> search parameter constant for <b>item</b> 1501 * <p> 1502 * Description: <b>Actual entry</b><br> 1503 * Type: <b>reference</b><br> 1504 * Path: <b>List.entry.item</b><br> 1505 * </p> 1506 */ 1507 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ITEM); 1508 1509/** 1510 * Constant for fluent queries to be used to add include statements. Specifies 1511 * the path value of "<b>List:item</b>". 1512 */ 1513 public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM = new ca.uhn.fhir.model.api.Include("List:item").toLocked(); 1514 1515 /** 1516 * Search parameter: <b>notes</b> 1517 * <p> 1518 * Description: <b>The annotation - text content (as markdown)</b><br> 1519 * Type: <b>string</b><br> 1520 * Path: <b>List.note.text</b><br> 1521 * </p> 1522 */ 1523 @SearchParamDefinition(name="notes", path="List.note.text", description="The annotation - text content (as markdown)", type="string" ) 1524 public static final String SP_NOTES = "notes"; 1525 /** 1526 * <b>Fluent Client</b> search parameter constant for <b>notes</b> 1527 * <p> 1528 * Description: <b>The annotation - text content (as markdown)</b><br> 1529 * Type: <b>string</b><br> 1530 * Path: <b>List.note.text</b><br> 1531 * </p> 1532 */ 1533 public static final ca.uhn.fhir.rest.gclient.StringClientParam NOTES = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NOTES); 1534 1535 /** 1536 * Search parameter: <b>source</b> 1537 * <p> 1538 * Description: <b>Who and/or what defined the list contents (aka Author)</b><br> 1539 * Type: <b>reference</b><br> 1540 * Path: <b>List.source</b><br> 1541 * </p> 1542 */ 1543 @SearchParamDefinition(name="source", path="List.source", description="Who and/or what defined the list contents (aka Author)", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={CareTeam.class, Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) 1544 public static final String SP_SOURCE = "source"; 1545 /** 1546 * <b>Fluent Client</b> search parameter constant for <b>source</b> 1547 * <p> 1548 * Description: <b>Who and/or what defined the list contents (aka Author)</b><br> 1549 * Type: <b>reference</b><br> 1550 * Path: <b>List.source</b><br> 1551 * </p> 1552 */ 1553 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); 1554 1555/** 1556 * Constant for fluent queries to be used to add include statements. Specifies 1557 * the path value of "<b>List:source</b>". 1558 */ 1559 public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("List:source").toLocked(); 1560 1561 /** 1562 * Search parameter: <b>status</b> 1563 * <p> 1564 * Description: <b>current | retired | entered-in-error</b><br> 1565 * Type: <b>token</b><br> 1566 * Path: <b>List.status</b><br> 1567 * </p> 1568 */ 1569 @SearchParamDefinition(name="status", path="List.status", description="current | retired | entered-in-error", type="token" ) 1570 public static final String SP_STATUS = "status"; 1571 /** 1572 * <b>Fluent Client</b> search parameter constant for <b>status</b> 1573 * <p> 1574 * Description: <b>current | retired | entered-in-error</b><br> 1575 * Type: <b>token</b><br> 1576 * Path: <b>List.status</b><br> 1577 * </p> 1578 */ 1579 public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); 1580 1581 /** 1582 * Search parameter: <b>subject</b> 1583 * <p> 1584 * Description: <b>If all resources have the same subject</b><br> 1585 * Type: <b>reference</b><br> 1586 * Path: <b>List.subject</b><br> 1587 * </p> 1588 */ 1589 @SearchParamDefinition(name="subject", path="List.subject", description="If all resources have the same subject", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, ActorDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BiologicallyDerivedProductDispense.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceAssociation.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentReference.class, Encounter.class, EncounterHistory.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, FormularyItem.class, GenomicStudy.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryItem.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationStatement.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Parameters.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestOrchestration.class, Requirements.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestPlan.class, TestReport.class, TestScript.class, Transport.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) 1590 public static final String SP_SUBJECT = "subject"; 1591 /** 1592 * <b>Fluent Client</b> search parameter constant for <b>subject</b> 1593 * <p> 1594 * Description: <b>If all resources have the same subject</b><br> 1595 * Type: <b>reference</b><br> 1596 * Path: <b>List.subject</b><br> 1597 * </p> 1598 */ 1599 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); 1600 1601/** 1602 * Constant for fluent queries to be used to add include statements. Specifies 1603 * the path value of "<b>List:subject</b>". 1604 */ 1605 public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("List:subject").toLocked(); 1606 1607 /** 1608 * Search parameter: <b>title</b> 1609 * <p> 1610 * Description: <b>Descriptive name for the list</b><br> 1611 * Type: <b>string</b><br> 1612 * Path: <b>List.title</b><br> 1613 * </p> 1614 */ 1615 @SearchParamDefinition(name="title", path="List.title", description="Descriptive name for the list", type="string" ) 1616 public static final String SP_TITLE = "title"; 1617 /** 1618 * <b>Fluent Client</b> search parameter constant for <b>title</b> 1619 * <p> 1620 * Description: <b>Descriptive name for the list</b><br> 1621 * Type: <b>string</b><br> 1622 * Path: <b>List.title</b><br> 1623 * </p> 1624 */ 1625 public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); 1626 1627 /** 1628 * Search parameter: <b>code</b> 1629 * <p> 1630 * Description: <b>Multiple Resources: 1631 1632* [AdverseEvent](adverseevent.html): Event or incident that occurred or was averted 1633* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance 1634* [AuditEvent](auditevent.html): More specific code for the event 1635* [Basic](basic.html): Kind of Resource 1636* [ChargeItem](chargeitem.html): A code that identifies the charge, like a billing code 1637* [Condition](condition.html): Code for the condition 1638* [DetectedIssue](detectedissue.html): Issue Type, e.g. drug-drug, duplicate therapy, etc. 1639* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered 1640* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result 1641* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code 1642* [ImagingSelection](imagingselection.html): The imaging selection status 1643* [List](list.html): What the purpose of this list is 1644* [Medication](medication.html): Returns medications for a specific code 1645* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code 1646* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code 1647* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code 1648* [MedicationStatement](medicationstatement.html): Return statements of this medication code 1649* [NutritionIntake](nutritionintake.html): Returns statements of this code of NutritionIntake 1650* [Observation](observation.html): The code of the observation type 1651* [Procedure](procedure.html): A code to identify a procedure 1652* [RequestOrchestration](requestorchestration.html): The code of the request orchestration 1653* [Task](task.html): Search by task code 1654</b><br> 1655 * Type: <b>token</b><br> 1656 * Path: <b>AdverseEvent.code | AllergyIntolerance.code | AllergyIntolerance.reaction.substance | AuditEvent.code | Basic.code | ChargeItem.code | Condition.code | DetectedIssue.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | ImagingSelection.status | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationStatement.medication.concept | NutritionIntake.code | Observation.code | Procedure.code | RequestOrchestration.code | Task.code</b><br> 1657 * </p> 1658 */ 1659 @SearchParamDefinition(name="code", path="AdverseEvent.code | AllergyIntolerance.code | AllergyIntolerance.reaction.substance | AuditEvent.code | Basic.code | ChargeItem.code | Condition.code | DetectedIssue.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | ImagingSelection.status | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationStatement.medication.concept | NutritionIntake.code | Observation.code | Procedure.code | RequestOrchestration.code | Task.code", description="Multiple Resources: \r\n\r\n* [AdverseEvent](adverseevent.html): Event or incident that occurred or was averted\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [AuditEvent](auditevent.html): More specific code for the event\r\n* [Basic](basic.html): Kind of Resource\r\n* [ChargeItem](chargeitem.html): A code that identifies the charge, like a billing code\r\n* [Condition](condition.html): Code for the condition\r\n* [DetectedIssue](detectedissue.html): Issue Type, e.g. drug-drug, duplicate therapy, etc.\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [ImagingSelection](imagingselection.html): The imaging selection status\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html): Return statements of this medication code\r\n* [NutritionIntake](nutritionintake.html): Returns statements of this code of NutritionIntake\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [RequestOrchestration](requestorchestration.html): The code of the request orchestration\r\n* [Task](task.html): Search by task code\r\n", type="token" ) 1660 public static final String SP_CODE = "code"; 1661 /** 1662 * <b>Fluent Client</b> search parameter constant for <b>code</b> 1663 * <p> 1664 * Description: <b>Multiple Resources: 1665 1666* [AdverseEvent](adverseevent.html): Event or incident that occurred or was averted 1667* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance 1668* [AuditEvent](auditevent.html): More specific code for the event 1669* [Basic](basic.html): Kind of Resource 1670* [ChargeItem](chargeitem.html): A code that identifies the charge, like a billing code 1671* [Condition](condition.html): Code for the condition 1672* [DetectedIssue](detectedissue.html): Issue Type, e.g. drug-drug, duplicate therapy, etc. 1673* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered 1674* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result 1675* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code 1676* [ImagingSelection](imagingselection.html): The imaging selection status 1677* [List](list.html): What the purpose of this list is 1678* [Medication](medication.html): Returns medications for a specific code 1679* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code 1680* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code 1681* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code 1682* [MedicationStatement](medicationstatement.html): Return statements of this medication code 1683* [NutritionIntake](nutritionintake.html): Returns statements of this code of NutritionIntake 1684* [Observation](observation.html): The code of the observation type 1685* [Procedure](procedure.html): A code to identify a procedure 1686* [RequestOrchestration](requestorchestration.html): The code of the request orchestration 1687* [Task](task.html): Search by task code 1688</b><br> 1689 * Type: <b>token</b><br> 1690 * Path: <b>AdverseEvent.code | AllergyIntolerance.code | AllergyIntolerance.reaction.substance | AuditEvent.code | Basic.code | ChargeItem.code | Condition.code | DetectedIssue.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | ImagingSelection.status | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationStatement.medication.concept | NutritionIntake.code | Observation.code | Procedure.code | RequestOrchestration.code | Task.code</b><br> 1691 * </p> 1692 */ 1693 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); 1694 1695 /** 1696 * Search parameter: <b>date</b> 1697 * <p> 1698 * Description: <b>Multiple Resources: 1699 1700* [AdverseEvent](adverseevent.html): When the event occurred 1701* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded 1702* [Appointment](appointment.html): Appointment date/time. 1703* [AuditEvent](auditevent.html): Time when the event was recorded 1704* [CarePlan](careplan.html): Time period plan covers 1705* [CareTeam](careteam.html): A date within the coverage time period. 1706* [ClinicalImpression](clinicalimpression.html): When the assessment was documented 1707* [Composition](composition.html): Composition editing time 1708* [Consent](consent.html): When consent was agreed to 1709* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report 1710* [DocumentReference](documentreference.html): When this document reference was created 1711* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted 1712* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period 1713* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated 1714* [Flag](flag.html): Time period when flag is active 1715* [Immunization](immunization.html): Vaccination (non)-Administration Date 1716* [ImmunizationEvaluation](immunizationevaluation.html): Date the evaluation was generated 1717* [ImmunizationRecommendation](immunizationrecommendation.html): Date recommendation(s) created 1718* [Invoice](invoice.html): Invoice date / posting date 1719* [List](list.html): When the list was prepared 1720* [MeasureReport](measurereport.html): The date of the measure report 1721* [NutritionIntake](nutritionintake.html): Date when patient was taking (or not taking) the medication 1722* [Observation](observation.html): Clinically relevant time/time-period for observation 1723* [Procedure](procedure.html): When the procedure occurred or is occurring 1724* [ResearchSubject](researchsubject.html): Start and end of participation 1725* [RiskAssessment](riskassessment.html): When was assessment made? 1726* [SupplyRequest](supplyrequest.html): When the request was made 1727</b><br> 1728 * Type: <b>date</b><br> 1729 * Path: <b>AdverseEvent.occurrence.ofType(dateTime) | AdverseEvent.occurrence.ofType(Period) | AdverseEvent.occurrence.ofType(Timing) | AllergyIntolerance.recordedDate | (start | requestedPeriod.start).first() | AuditEvent.recorded | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.date | DiagnosticReport.effective.ofType(dateTime) | DiagnosticReport.effective.ofType(Period) | DocumentReference.date | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence.ofType(dateTime)) | ImmunizationEvaluation.date | ImmunizationRecommendation.date | Invoice.date | List.date | MeasureReport.date | NutritionIntake.occurrence.ofType(dateTime) | NutritionIntake.occurrence.ofType(Period) | Observation.effective.ofType(dateTime) | Observation.effective.ofType(Period) | Observation.effective.ofType(Timing) | Observation.effective.ofType(instant) | Procedure.occurrence.ofType(dateTime) | Procedure.occurrence.ofType(Period) | Procedure.occurrence.ofType(Timing) | ResearchSubject.period | (RiskAssessment.occurrence.ofType(dateTime)) | SupplyRequest.authoredOn</b><br> 1730 * </p> 1731 */ 1732 @SearchParamDefinition(name="date", path="AdverseEvent.occurrence.ofType(dateTime) | AdverseEvent.occurrence.ofType(Period) | AdverseEvent.occurrence.ofType(Timing) | AllergyIntolerance.recordedDate | (start | requestedPeriod.start).first() | AuditEvent.recorded | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.date | DiagnosticReport.effective.ofType(dateTime) | DiagnosticReport.effective.ofType(Period) | DocumentReference.date | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence.ofType(dateTime)) | ImmunizationEvaluation.date | ImmunizationRecommendation.date | Invoice.date | List.date | MeasureReport.date | NutritionIntake.occurrence.ofType(dateTime) | NutritionIntake.occurrence.ofType(Period) | Observation.effective.ofType(dateTime) | Observation.effective.ofType(Period) | Observation.effective.ofType(Timing) | Observation.effective.ofType(instant) | Procedure.occurrence.ofType(dateTime) | Procedure.occurrence.ofType(Period) | Procedure.occurrence.ofType(Timing) | ResearchSubject.period | (RiskAssessment.occurrence.ofType(dateTime)) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AdverseEvent](adverseevent.html): When the event occurred\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [Appointment](appointment.html): Appointment date/time.\r\n* [AuditEvent](auditevent.html): Time when the event was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [DocumentReference](documentreference.html): When this document reference was created\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [ImmunizationEvaluation](immunizationevaluation.html): Date the evaluation was generated\r\n* [ImmunizationRecommendation](immunizationrecommendation.html): Date recommendation(s) created\r\n* [Invoice](invoice.html): Invoice date / posting date\r\n* [List](list.html): When the list was prepared\r\n* [MeasureReport](measurereport.html): The date of the measure report\r\n* [NutritionIntake](nutritionintake.html): Date when patient was taking (or not taking) the medication\r\n* [Observation](observation.html): Clinically relevant time/time-period for observation\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [ResearchSubject](researchsubject.html): Start and end of participation\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) 1733 public static final String SP_DATE = "date"; 1734 /** 1735 * <b>Fluent Client</b> search parameter constant for <b>date</b> 1736 * <p> 1737 * Description: <b>Multiple Resources: 1738 1739* [AdverseEvent](adverseevent.html): When the event occurred 1740* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded 1741* [Appointment](appointment.html): Appointment date/time. 1742* [AuditEvent](auditevent.html): Time when the event was recorded 1743* [CarePlan](careplan.html): Time period plan covers 1744* [CareTeam](careteam.html): A date within the coverage time period. 1745* [ClinicalImpression](clinicalimpression.html): When the assessment was documented 1746* [Composition](composition.html): Composition editing time 1747* [Consent](consent.html): When consent was agreed to 1748* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report 1749* [DocumentReference](documentreference.html): When this document reference was created 1750* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted 1751* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period 1752* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated 1753* [Flag](flag.html): Time period when flag is active 1754* [Immunization](immunization.html): Vaccination (non)-Administration Date 1755* [ImmunizationEvaluation](immunizationevaluation.html): Date the evaluation was generated 1756* [ImmunizationRecommendation](immunizationrecommendation.html): Date recommendation(s) created 1757* [Invoice](invoice.html): Invoice date / posting date 1758* [List](list.html): When the list was prepared 1759* [MeasureReport](measurereport.html): The date of the measure report 1760* [NutritionIntake](nutritionintake.html): Date when patient was taking (or not taking) the medication 1761* [Observation](observation.html): Clinically relevant time/time-period for observation 1762* [Procedure](procedure.html): When the procedure occurred or is occurring 1763* [ResearchSubject](researchsubject.html): Start and end of participation 1764* [RiskAssessment](riskassessment.html): When was assessment made? 1765* [SupplyRequest](supplyrequest.html): When the request was made 1766</b><br> 1767 * Type: <b>date</b><br> 1768 * Path: <b>AdverseEvent.occurrence.ofType(dateTime) | AdverseEvent.occurrence.ofType(Period) | AdverseEvent.occurrence.ofType(Timing) | AllergyIntolerance.recordedDate | (start | requestedPeriod.start).first() | AuditEvent.recorded | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.date | DiagnosticReport.effective.ofType(dateTime) | DiagnosticReport.effective.ofType(Period) | DocumentReference.date | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence.ofType(dateTime)) | ImmunizationEvaluation.date | ImmunizationRecommendation.date | Invoice.date | List.date | MeasureReport.date | NutritionIntake.occurrence.ofType(dateTime) | NutritionIntake.occurrence.ofType(Period) | Observation.effective.ofType(dateTime) | Observation.effective.ofType(Period) | Observation.effective.ofType(Timing) | Observation.effective.ofType(instant) | Procedure.occurrence.ofType(dateTime) | Procedure.occurrence.ofType(Period) | Procedure.occurrence.ofType(Timing) | ResearchSubject.period | (RiskAssessment.occurrence.ofType(dateTime)) | SupplyRequest.authoredOn</b><br> 1769 * </p> 1770 */ 1771 public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); 1772 1773 /** 1774 * Search parameter: <b>encounter</b> 1775 * <p> 1776 * Description: <b>Multiple Resources: 1777 1778* [AuditEvent](auditevent.html): Encounter related to the activity recorded in the AuditEvent 1779* [CarePlan](careplan.html): The Encounter during which this CarePlan was created 1780* [ChargeItem](chargeitem.html): Encounter associated with event 1781* [Claim](claim.html): Encounters associated with a billed line item 1782* [ClinicalImpression](clinicalimpression.html): The Encounter during which this ClinicalImpression was created 1783* [Communication](communication.html): The Encounter during which this Communication was created 1784* [CommunicationRequest](communicationrequest.html): The Encounter during which this CommunicationRequest was created 1785* [Composition](composition.html): Context of the Composition 1786* [Condition](condition.html): The Encounter during which this Condition was created 1787* [DeviceRequest](devicerequest.html): Encounter during which request was created 1788* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made 1789* [EncounterHistory](encounterhistory.html): The Encounter associated with this set of history values 1790* [ExplanationOfBenefit](explanationofbenefit.html): Encounters associated with a billed line item 1791* [Flag](flag.html): Alert relevant during encounter 1792* [ImagingStudy](imagingstudy.html): The context of the study 1793* [List](list.html): Context in which list created 1794* [MedicationDispense](medicationdispense.html): Returns dispenses with a specific encounter 1795* [MedicationStatement](medicationstatement.html): Returns statements for a specific encounter 1796* [NutritionIntake](nutritionintake.html): Returns statements for a specific encounter 1797* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier 1798* [Observation](observation.html): Encounter related to the observation 1799* [Procedure](procedure.html): The Encounter during which this Procedure was created 1800* [Provenance](provenance.html): Encounter related to the Provenance 1801* [QuestionnaireResponse](questionnaireresponse.html): Encounter associated with the questionnaire response 1802* [RequestOrchestration](requestorchestration.html): The encounter the request orchestration applies to 1803* [RiskAssessment](riskassessment.html): Where was assessment performed? 1804* [ServiceRequest](servicerequest.html): An encounter in which this request is made 1805* [Task](task.html): Search by encounter 1806* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier 1807</b><br> 1808 * Type: <b>reference</b><br> 1809 * Path: <b>AuditEvent.encounter | CarePlan.encounter | ChargeItem.encounter | Claim.item.encounter | ClinicalImpression.encounter | Communication.encounter | CommunicationRequest.encounter | Composition.encounter | Condition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | EncounterHistory.encounter | ExplanationOfBenefit.item.encounter | Flag.encounter | ImagingStudy.encounter | List.encounter | MedicationDispense.encounter | MedicationStatement.encounter | NutritionIntake.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | Provenance.encounter | QuestionnaireResponse.encounter | RequestOrchestration.encounter | RiskAssessment.encounter | ServiceRequest.encounter | Task.encounter | VisionPrescription.encounter</b><br> 1810 * </p> 1811 */ 1812 @SearchParamDefinition(name="encounter", path="AuditEvent.encounter | CarePlan.encounter | ChargeItem.encounter | Claim.item.encounter | ClinicalImpression.encounter | Communication.encounter | CommunicationRequest.encounter | Composition.encounter | Condition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | EncounterHistory.encounter | ExplanationOfBenefit.item.encounter | Flag.encounter | ImagingStudy.encounter | List.encounter | MedicationDispense.encounter | MedicationStatement.encounter | NutritionIntake.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | Provenance.encounter | QuestionnaireResponse.encounter | RequestOrchestration.encounter | RiskAssessment.encounter | ServiceRequest.encounter | Task.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [AuditEvent](auditevent.html): Encounter related to the activity recorded in the AuditEvent\r\n* [CarePlan](careplan.html): The Encounter during which this CarePlan was created\r\n* [ChargeItem](chargeitem.html): Encounter associated with event\r\n* [Claim](claim.html): Encounters associated with a billed line item\r\n* [ClinicalImpression](clinicalimpression.html): The Encounter during which this ClinicalImpression was created\r\n* [Communication](communication.html): The Encounter during which this Communication was created\r\n* [CommunicationRequest](communicationrequest.html): The Encounter during which this CommunicationRequest was created\r\n* [Composition](composition.html): Context of the Composition\r\n* [Condition](condition.html): The Encounter during which this Condition was created\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [EncounterHistory](encounterhistory.html): The Encounter associated with this set of history values\r\n* [ExplanationOfBenefit](explanationofbenefit.html): Encounters associated with a billed line item\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [ImagingStudy](imagingstudy.html): The context of the study\r\n* [List](list.html): Context in which list created\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with a specific encounter\r\n* [MedicationStatement](medicationstatement.html): Returns statements for a specific encounter\r\n* [NutritionIntake](nutritionintake.html): Returns statements for a specific encounter\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [Provenance](provenance.html): Encounter related to the Provenance\r\n* [QuestionnaireResponse](questionnaireresponse.html): Encounter associated with the questionnaire response\r\n* [RequestOrchestration](requestorchestration.html): The encounter the request orchestration applies to\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [Task](task.html): Search by encounter\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", target={Encounter.class } ) 1813 public static final String SP_ENCOUNTER = "encounter"; 1814 /** 1815 * <b>Fluent Client</b> search parameter constant for <b>encounter</b> 1816 * <p> 1817 * Description: <b>Multiple Resources: 1818 1819* [AuditEvent](auditevent.html): Encounter related to the activity recorded in the AuditEvent 1820* [CarePlan](careplan.html): The Encounter during which this CarePlan was created 1821* [ChargeItem](chargeitem.html): Encounter associated with event 1822* [Claim](claim.html): Encounters associated with a billed line item 1823* [ClinicalImpression](clinicalimpression.html): The Encounter during which this ClinicalImpression was created 1824* [Communication](communication.html): The Encounter during which this Communication was created 1825* [CommunicationRequest](communicationrequest.html): The Encounter during which this CommunicationRequest was created 1826* [Composition](composition.html): Context of the Composition 1827* [Condition](condition.html): The Encounter during which this Condition was created 1828* [DeviceRequest](devicerequest.html): Encounter during which request was created 1829* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made 1830* [EncounterHistory](encounterhistory.html): The Encounter associated with this set of history values 1831* [ExplanationOfBenefit](explanationofbenefit.html): Encounters associated with a billed line item 1832* [Flag](flag.html): Alert relevant during encounter 1833* [ImagingStudy](imagingstudy.html): The context of the study 1834* [List](list.html): Context in which list created 1835* [MedicationDispense](medicationdispense.html): Returns dispenses with a specific encounter 1836* [MedicationStatement](medicationstatement.html): Returns statements for a specific encounter 1837* [NutritionIntake](nutritionintake.html): Returns statements for a specific encounter 1838* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier 1839* [Observation](observation.html): Encounter related to the observation 1840* [Procedure](procedure.html): The Encounter during which this Procedure was created 1841* [Provenance](provenance.html): Encounter related to the Provenance 1842* [QuestionnaireResponse](questionnaireresponse.html): Encounter associated with the questionnaire response 1843* [RequestOrchestration](requestorchestration.html): The encounter the request orchestration applies to 1844* [RiskAssessment](riskassessment.html): Where was assessment performed? 1845* [ServiceRequest](servicerequest.html): An encounter in which this request is made 1846* [Task](task.html): Search by encounter 1847* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier 1848</b><br> 1849 * Type: <b>reference</b><br> 1850 * Path: <b>AuditEvent.encounter | CarePlan.encounter | ChargeItem.encounter | Claim.item.encounter | ClinicalImpression.encounter | Communication.encounter | CommunicationRequest.encounter | Composition.encounter | Condition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | EncounterHistory.encounter | ExplanationOfBenefit.item.encounter | Flag.encounter | ImagingStudy.encounter | List.encounter | MedicationDispense.encounter | MedicationStatement.encounter | NutritionIntake.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | Provenance.encounter | QuestionnaireResponse.encounter | RequestOrchestration.encounter | RiskAssessment.encounter | ServiceRequest.encounter | Task.encounter | VisionPrescription.encounter</b><br> 1851 * </p> 1852 */ 1853 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); 1854 1855/** 1856 * Constant for fluent queries to be used to add include statements. Specifies 1857 * the path value of "<b>List:encounter</b>". 1858 */ 1859 public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("List:encounter").toLocked(); 1860 1861 /** 1862 * Search parameter: <b>identifier</b> 1863 * <p> 1864 * Description: <b>Multiple Resources: 1865 1866* [Account](account.html): Account number 1867* [AdverseEvent](adverseevent.html): Business identifier for the event 1868* [AllergyIntolerance](allergyintolerance.html): External ids for this item 1869* [Appointment](appointment.html): An Identifier of the Appointment 1870* [AppointmentResponse](appointmentresponse.html): An Identifier in this appointment response 1871* [Basic](basic.html): Business identifier 1872* [BodyStructure](bodystructure.html): Bodystructure identifier 1873* [CarePlan](careplan.html): External Ids for this plan 1874* [CareTeam](careteam.html): External Ids for this team 1875* [ChargeItem](chargeitem.html): Business Identifier for item 1876* [Claim](claim.html): The primary identifier of the financial resource 1877* [ClaimResponse](claimresponse.html): The identity of the ClaimResponse 1878* [ClinicalImpression](clinicalimpression.html): Business identifier 1879* [Communication](communication.html): Unique identifier 1880* [CommunicationRequest](communicationrequest.html): Unique identifier 1881* [Composition](composition.html): Version-independent identifier for the Composition 1882* [Condition](condition.html): A unique identifier of the condition record 1883* [Consent](consent.html): Identifier for this record (external references) 1884* [Contract](contract.html): The identity of the contract 1885* [Coverage](coverage.html): The primary identifier of the insured and the coverage 1886* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The business identifier of the Eligibility 1887* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The business identifier 1888* [DetectedIssue](detectedissue.html): Unique id for the detected issue 1889* [DeviceRequest](devicerequest.html): Business identifier for request/order 1890* [DeviceUsage](deviceusage.html): Search by identifier 1891* [DiagnosticReport](diagnosticreport.html): An identifier for the report 1892* [DocumentReference](documentreference.html): Identifier of the attachment binary 1893* [Encounter](encounter.html): Identifier(s) by which this encounter is known 1894* [EnrollmentRequest](enrollmentrequest.html): The business identifier of the Enrollment 1895* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare 1896* [ExplanationOfBenefit](explanationofbenefit.html): The business identifier of the Explanation of Benefit 1897* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier 1898* [Flag](flag.html): Business identifier 1899* [Goal](goal.html): External Ids for this goal 1900* [GuidanceResponse](guidanceresponse.html): The identifier of the guidance response 1901* [ImagingSelection](imagingselection.html): Identifiers for the imaging selection 1902* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID 1903* [Immunization](immunization.html): Business identifier 1904* [ImmunizationEvaluation](immunizationevaluation.html): ID of the evaluation 1905* [ImmunizationRecommendation](immunizationrecommendation.html): Business identifier 1906* [Invoice](invoice.html): Business Identifier for item 1907* [List](list.html): Business identifier 1908* [MeasureReport](measurereport.html): External identifier of the measure report to be returned 1909* [Medication](medication.html): Returns medications with this external identifier 1910* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier 1911* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier 1912* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier 1913* [MedicationStatement](medicationstatement.html): Return statements with this external identifier 1914* [MolecularSequence](molecularsequence.html): The unique identity for a particular sequence 1915* [NutritionIntake](nutritionintake.html): Return statements with this external identifier 1916* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier 1917* [Observation](observation.html): The unique id for a particular observation 1918* [Person](person.html): A person Identifier 1919* [Procedure](procedure.html): A unique identifier for a procedure 1920* [QuestionnaireResponse](questionnaireresponse.html): The unique identifier for the questionnaire response 1921* [RelatedPerson](relatedperson.html): An Identifier of the RelatedPerson 1922* [RequestOrchestration](requestorchestration.html): External identifiers for the request orchestration 1923* [ResearchSubject](researchsubject.html): Business Identifier for research subject in a study 1924* [RiskAssessment](riskassessment.html): Unique identifier for the assessment 1925* [ServiceRequest](servicerequest.html): Identifiers assigned to this order 1926* [Specimen](specimen.html): The unique identifier associated with the specimen 1927* [SupplyDelivery](supplydelivery.html): External identifier 1928* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest 1929* [Task](task.html): Search for a task instance by its business identifier 1930* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier 1931</b><br> 1932 * Type: <b>token</b><br> 1933 * Path: <b>Account.identifier | AdverseEvent.identifier | AllergyIntolerance.identifier | Appointment.identifier | AppointmentResponse.identifier | Basic.identifier | BodyStructure.identifier | CarePlan.identifier | CareTeam.identifier | ChargeItem.identifier | Claim.identifier | ClaimResponse.identifier | ClinicalImpression.identifier | Communication.identifier | CommunicationRequest.identifier | Composition.identifier | Condition.identifier | Consent.identifier | Contract.identifier | Coverage.identifier | CoverageEligibilityRequest.identifier | CoverageEligibilityResponse.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DeviceUsage.identifier | DiagnosticReport.identifier | DocumentReference.identifier | Encounter.identifier | EnrollmentRequest.identifier | EpisodeOfCare.identifier | ExplanationOfBenefit.identifier | FamilyMemberHistory.identifier | Flag.identifier | Goal.identifier | GuidanceResponse.identifier | ImagingSelection.identifier | ImagingStudy.identifier | Immunization.identifier | ImmunizationEvaluation.identifier | ImmunizationRecommendation.identifier | Invoice.identifier | List.identifier | MeasureReport.identifier | Medication.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationStatement.identifier | MolecularSequence.identifier | NutritionIntake.identifier | NutritionOrder.identifier | Observation.identifier | Person.identifier | Procedure.identifier | QuestionnaireResponse.identifier | RelatedPerson.identifier | RequestOrchestration.identifier | ResearchSubject.identifier | RiskAssessment.identifier | ServiceRequest.identifier | Specimen.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | Task.identifier | VisionPrescription.identifier</b><br> 1934 * </p> 1935 */ 1936 @SearchParamDefinition(name="identifier", path="Account.identifier | AdverseEvent.identifier | AllergyIntolerance.identifier | Appointment.identifier | AppointmentResponse.identifier | Basic.identifier | BodyStructure.identifier | CarePlan.identifier | CareTeam.identifier | ChargeItem.identifier | Claim.identifier | ClaimResponse.identifier | ClinicalImpression.identifier | Communication.identifier | CommunicationRequest.identifier | Composition.identifier | Condition.identifier | Consent.identifier | Contract.identifier | Coverage.identifier | CoverageEligibilityRequest.identifier | CoverageEligibilityResponse.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DeviceUsage.identifier | DiagnosticReport.identifier | DocumentReference.identifier | Encounter.identifier | EnrollmentRequest.identifier | EpisodeOfCare.identifier | ExplanationOfBenefit.identifier | FamilyMemberHistory.identifier | Flag.identifier | Goal.identifier | GuidanceResponse.identifier | ImagingSelection.identifier | ImagingStudy.identifier | Immunization.identifier | ImmunizationEvaluation.identifier | ImmunizationRecommendation.identifier | Invoice.identifier | List.identifier | MeasureReport.identifier | Medication.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationStatement.identifier | MolecularSequence.identifier | NutritionIntake.identifier | NutritionOrder.identifier | Observation.identifier | Person.identifier | Procedure.identifier | QuestionnaireResponse.identifier | RelatedPerson.identifier | RequestOrchestration.identifier | ResearchSubject.identifier | RiskAssessment.identifier | ServiceRequest.identifier | Specimen.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | Task.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [Account](account.html): Account number\r\n* [AdverseEvent](adverseevent.html): Business identifier for the event\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [Appointment](appointment.html): An Identifier of the Appointment\r\n* [AppointmentResponse](appointmentresponse.html): An Identifier in this appointment response\r\n* [Basic](basic.html): Business identifier\r\n* [BodyStructure](bodystructure.html): Bodystructure identifier\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [ChargeItem](chargeitem.html): Business Identifier for item\r\n* [Claim](claim.html): The primary identifier of the financial resource\r\n* [ClaimResponse](claimresponse.html): The identity of the ClaimResponse\r\n* [ClinicalImpression](clinicalimpression.html): Business identifier\r\n* [Communication](communication.html): Unique identifier\r\n* [CommunicationRequest](communicationrequest.html): Unique identifier\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [Contract](contract.html): The identity of the contract\r\n* [Coverage](coverage.html): The primary identifier of the insured and the coverage\r\n* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The business identifier of the Eligibility\r\n* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The business identifier\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DeviceUsage](deviceusage.html): Search by identifier\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EnrollmentRequest](enrollmentrequest.html): The business identifier of the Enrollment\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [ExplanationOfBenefit](explanationofbenefit.html): The business identifier of the Explanation of Benefit\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Flag](flag.html): Business identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [GuidanceResponse](guidanceresponse.html): The identifier of the guidance response\r\n* [ImagingSelection](imagingselection.html): Identifiers for the imaging selection\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [ImmunizationEvaluation](immunizationevaluation.html): ID of the evaluation\r\n* [ImmunizationRecommendation](immunizationrecommendation.html): Business identifier\r\n* [Invoice](invoice.html): Business Identifier for item\r\n* [List](list.html): Business identifier\r\n* [MeasureReport](measurereport.html): External identifier of the measure report to be returned\r\n* [Medication](medication.html): Returns medications with this external identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html): Return statements with this external identifier\r\n* [MolecularSequence](molecularsequence.html): The unique identity for a particular sequence\r\n* [NutritionIntake](nutritionintake.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Person](person.html): A person Identifier\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [QuestionnaireResponse](questionnaireresponse.html): The unique identifier for the questionnaire response\r\n* [RelatedPerson](relatedperson.html): An Identifier of the RelatedPerson\r\n* [RequestOrchestration](requestorchestration.html): External identifiers for the request orchestration\r\n* [ResearchSubject](researchsubject.html): Business Identifier for research subject in a study\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [Specimen](specimen.html): The unique identifier associated with the specimen\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [Task](task.html): Search for a task instance by its business identifier\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) 1937 public static final String SP_IDENTIFIER = "identifier"; 1938 /** 1939 * <b>Fluent Client</b> search parameter constant for <b>identifier</b> 1940 * <p> 1941 * Description: <b>Multiple Resources: 1942 1943* [Account](account.html): Account number 1944* [AdverseEvent](adverseevent.html): Business identifier for the event 1945* [AllergyIntolerance](allergyintolerance.html): External ids for this item 1946* [Appointment](appointment.html): An Identifier of the Appointment 1947* [AppointmentResponse](appointmentresponse.html): An Identifier in this appointment response 1948* [Basic](basic.html): Business identifier 1949* [BodyStructure](bodystructure.html): Bodystructure identifier 1950* [CarePlan](careplan.html): External Ids for this plan 1951* [CareTeam](careteam.html): External Ids for this team 1952* [ChargeItem](chargeitem.html): Business Identifier for item 1953* [Claim](claim.html): The primary identifier of the financial resource 1954* [ClaimResponse](claimresponse.html): The identity of the ClaimResponse 1955* [ClinicalImpression](clinicalimpression.html): Business identifier 1956* [Communication](communication.html): Unique identifier 1957* [CommunicationRequest](communicationrequest.html): Unique identifier 1958* [Composition](composition.html): Version-independent identifier for the Composition 1959* [Condition](condition.html): A unique identifier of the condition record 1960* [Consent](consent.html): Identifier for this record (external references) 1961* [Contract](contract.html): The identity of the contract 1962* [Coverage](coverage.html): The primary identifier of the insured and the coverage 1963* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The business identifier of the Eligibility 1964* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The business identifier 1965* [DetectedIssue](detectedissue.html): Unique id for the detected issue 1966* [DeviceRequest](devicerequest.html): Business identifier for request/order 1967* [DeviceUsage](deviceusage.html): Search by identifier 1968* [DiagnosticReport](diagnosticreport.html): An identifier for the report 1969* [DocumentReference](documentreference.html): Identifier of the attachment binary 1970* [Encounter](encounter.html): Identifier(s) by which this encounter is known 1971* [EnrollmentRequest](enrollmentrequest.html): The business identifier of the Enrollment 1972* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare 1973* [ExplanationOfBenefit](explanationofbenefit.html): The business identifier of the Explanation of Benefit 1974* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier 1975* [Flag](flag.html): Business identifier 1976* [Goal](goal.html): External Ids for this goal 1977* [GuidanceResponse](guidanceresponse.html): The identifier of the guidance response 1978* [ImagingSelection](imagingselection.html): Identifiers for the imaging selection 1979* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID 1980* [Immunization](immunization.html): Business identifier 1981* [ImmunizationEvaluation](immunizationevaluation.html): ID of the evaluation 1982* [ImmunizationRecommendation](immunizationrecommendation.html): Business identifier 1983* [Invoice](invoice.html): Business Identifier for item 1984* [List](list.html): Business identifier 1985* [MeasureReport](measurereport.html): External identifier of the measure report to be returned 1986* [Medication](medication.html): Returns medications with this external identifier 1987* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier 1988* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier 1989* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier 1990* [MedicationStatement](medicationstatement.html): Return statements with this external identifier 1991* [MolecularSequence](molecularsequence.html): The unique identity for a particular sequence 1992* [NutritionIntake](nutritionintake.html): Return statements with this external identifier 1993* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier 1994* [Observation](observation.html): The unique id for a particular observation 1995* [Person](person.html): A person Identifier 1996* [Procedure](procedure.html): A unique identifier for a procedure 1997* [QuestionnaireResponse](questionnaireresponse.html): The unique identifier for the questionnaire response 1998* [RelatedPerson](relatedperson.html): An Identifier of the RelatedPerson 1999* [RequestOrchestration](requestorchestration.html): External identifiers for the request orchestration 2000* [ResearchSubject](researchsubject.html): Business Identifier for research subject in a study 2001* [RiskAssessment](riskassessment.html): Unique identifier for the assessment 2002* [ServiceRequest](servicerequest.html): Identifiers assigned to this order 2003* [Specimen](specimen.html): The unique identifier associated with the specimen 2004* [SupplyDelivery](supplydelivery.html): External identifier 2005* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest 2006* [Task](task.html): Search for a task instance by its business identifier 2007* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier 2008</b><br> 2009 * Type: <b>token</b><br> 2010 * Path: <b>Account.identifier | AdverseEvent.identifier | AllergyIntolerance.identifier | Appointment.identifier | AppointmentResponse.identifier | Basic.identifier | BodyStructure.identifier | CarePlan.identifier | CareTeam.identifier | ChargeItem.identifier | Claim.identifier | ClaimResponse.identifier | ClinicalImpression.identifier | Communication.identifier | CommunicationRequest.identifier | Composition.identifier | Condition.identifier | Consent.identifier | Contract.identifier | Coverage.identifier | CoverageEligibilityRequest.identifier | CoverageEligibilityResponse.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DeviceUsage.identifier | DiagnosticReport.identifier | DocumentReference.identifier | Encounter.identifier | EnrollmentRequest.identifier | EpisodeOfCare.identifier | ExplanationOfBenefit.identifier | FamilyMemberHistory.identifier | Flag.identifier | Goal.identifier | GuidanceResponse.identifier | ImagingSelection.identifier | ImagingStudy.identifier | Immunization.identifier | ImmunizationEvaluation.identifier | ImmunizationRecommendation.identifier | Invoice.identifier | List.identifier | MeasureReport.identifier | Medication.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationStatement.identifier | MolecularSequence.identifier | NutritionIntake.identifier | NutritionOrder.identifier | Observation.identifier | Person.identifier | Procedure.identifier | QuestionnaireResponse.identifier | RelatedPerson.identifier | RequestOrchestration.identifier | ResearchSubject.identifier | RiskAssessment.identifier | ServiceRequest.identifier | Specimen.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | Task.identifier | VisionPrescription.identifier</b><br> 2011 * </p> 2012 */ 2013 public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); 2014 2015 /** 2016 * Search parameter: <b>patient</b> 2017 * <p> 2018 * Description: <b>Multiple Resources: 2019 2020* [Account](account.html): The entity that caused the expenses 2021* [AdverseEvent](adverseevent.html): Subject impacted by event 2022* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for 2023* [Appointment](appointment.html): One of the individuals of the appointment is this patient 2024* [AppointmentResponse](appointmentresponse.html): This Response is for this Patient 2025* [AuditEvent](auditevent.html): Where the activity involved patient data 2026* [Basic](basic.html): Identifies the focus of this resource 2027* [BodyStructure](bodystructure.html): Who this is about 2028* [CarePlan](careplan.html): Who the care plan is for 2029* [CareTeam](careteam.html): Who care team is for 2030* [ChargeItem](chargeitem.html): Individual service was done for/to 2031* [Claim](claim.html): Patient receiving the products or services 2032* [ClaimResponse](claimresponse.html): The subject of care 2033* [ClinicalImpression](clinicalimpression.html): Patient assessed 2034* [Communication](communication.html): Focus of message 2035* [CommunicationRequest](communicationrequest.html): Focus of message 2036* [Composition](composition.html): Who and/or what the composition is about 2037* [Condition](condition.html): Who has the condition? 2038* [Consent](consent.html): Who the consent applies to 2039* [Contract](contract.html): The identity of the subject of the contract (if a patient) 2040* [Coverage](coverage.html): Retrieve coverages for a patient 2041* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The reference to the patient 2042* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The reference to the patient 2043* [DetectedIssue](detectedissue.html): Associated patient 2044* [DeviceRequest](devicerequest.html): Individual the service is ordered for 2045* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device 2046* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient 2047* [DocumentReference](documentreference.html): Who/what is the subject of the document 2048* [Encounter](encounter.html): The patient present at the encounter 2049* [EnrollmentRequest](enrollmentrequest.html): The party to be enrolled 2050* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care 2051* [ExplanationOfBenefit](explanationofbenefit.html): The reference to the patient 2052* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for 2053* [Flag](flag.html): The identity of a subject to list flags for 2054* [Goal](goal.html): Who this goal is intended for 2055* [GuidanceResponse](guidanceresponse.html): The identity of a patient to search for guidance response results 2056* [ImagingSelection](imagingselection.html): Who the study is about 2057* [ImagingStudy](imagingstudy.html): Who the study is about 2058* [Immunization](immunization.html): The patient for the vaccination record 2059* [ImmunizationEvaluation](immunizationevaluation.html): The patient being evaluated 2060* [ImmunizationRecommendation](immunizationrecommendation.html): Who this profile is for 2061* [Invoice](invoice.html): Recipient(s) of goods and services 2062* [List](list.html): If all resources have the same subject 2063* [MeasureReport](measurereport.html): The identity of a patient to search for individual measure report results for 2064* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for 2065* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for 2066* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient 2067* [MedicationStatement](medicationstatement.html): Returns statements for a specific patient. 2068* [MolecularSequence](molecularsequence.html): The subject that the sequence is about 2069* [NutritionIntake](nutritionintake.html): Returns statements for a specific patient. 2070* [NutritionOrder](nutritionorder.html): The identity of the individual or set of individuals who requires the diet, formula or nutritional supplement 2071* [Observation](observation.html): The subject that the observation is about (if patient) 2072* [Person](person.html): The Person links to this Patient 2073* [Procedure](procedure.html): Search by subject - a patient 2074* [Provenance](provenance.html): Where the activity involved patient data 2075* [QuestionnaireResponse](questionnaireresponse.html): The patient that is the subject of the questionnaire response 2076* [RelatedPerson](relatedperson.html): The patient this related person is related to 2077* [RequestOrchestration](requestorchestration.html): The identity of a patient to search for request orchestrations 2078* [ResearchSubject](researchsubject.html): Who or what is part of study 2079* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? 2080* [ServiceRequest](servicerequest.html): Search by subject - a patient 2081* [Specimen](specimen.html): The patient the specimen comes from 2082* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied 2083* [SupplyRequest](supplyrequest.html): The patient or subject for whom the supply is destined 2084* [Task](task.html): Search by patient 2085* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for 2086</b><br> 2087 * Type: <b>reference</b><br> 2088 * Path: <b>Account.subject.where(resolve() is Patient) | AdverseEvent.subject.where(resolve() is Patient) | AllergyIntolerance.patient | Appointment.participant.actor.where(resolve() is Patient) | Appointment.subject.where(resolve() is Patient) | AppointmentResponse.actor.where(resolve() is Patient) | AuditEvent.patient | Basic.subject.where(resolve() is Patient) | BodyStructure.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ChargeItem.subject.where(resolve() is Patient) | Claim.patient | ClaimResponse.patient | ClinicalImpression.subject.where(resolve() is Patient) | Communication.subject.where(resolve() is Patient) | CommunicationRequest.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | Contract.subject.where(resolve() is Patient) | Coverage.beneficiary | CoverageEligibilityRequest.patient | CoverageEligibilityResponse.patient | DetectedIssue.subject.where(resolve() is Patient) | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EnrollmentRequest.candidate | EpisodeOfCare.patient | ExplanationOfBenefit.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | GuidanceResponse.subject.where(resolve() is Patient) | ImagingSelection.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | ImmunizationEvaluation.patient | ImmunizationRecommendation.patient | Invoice.subject.where(resolve() is Patient) | List.subject.where(resolve() is Patient) | MeasureReport.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationStatement.subject.where(resolve() is Patient) | MolecularSequence.subject.where(resolve() is Patient) | NutritionIntake.subject.where(resolve() is Patient) | NutritionOrder.subject.where(resolve() is Patient) | Observation.subject.where(resolve() is Patient) | Person.link.target.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | Provenance.patient | QuestionnaireResponse.subject.where(resolve() is Patient) | RelatedPerson.patient | RequestOrchestration.subject.where(resolve() is Patient) | ResearchSubject.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | Specimen.subject.where(resolve() is Patient) | SupplyDelivery.patient | SupplyRequest.deliverFor | Task.for.where(resolve() is Patient) | VisionPrescription.patient</b><br> 2089 * </p> 2090 */ 2091 @SearchParamDefinition(name="patient", path="Account.subject.where(resolve() is Patient) | AdverseEvent.subject.where(resolve() is Patient) | AllergyIntolerance.patient | Appointment.participant.actor.where(resolve() is Patient) | Appointment.subject.where(resolve() is Patient) | AppointmentResponse.actor.where(resolve() is Patient) | AuditEvent.patient | Basic.subject.where(resolve() is Patient) | BodyStructure.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ChargeItem.subject.where(resolve() is Patient) | Claim.patient | ClaimResponse.patient | ClinicalImpression.subject.where(resolve() is Patient) | Communication.subject.where(resolve() is Patient) | CommunicationRequest.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | Contract.subject.where(resolve() is Patient) | Coverage.beneficiary | CoverageEligibilityRequest.patient | CoverageEligibilityResponse.patient | DetectedIssue.subject.where(resolve() is Patient) | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EnrollmentRequest.candidate | EpisodeOfCare.patient | ExplanationOfBenefit.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | GuidanceResponse.subject.where(resolve() is Patient) | ImagingSelection.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | ImmunizationEvaluation.patient | ImmunizationRecommendation.patient | Invoice.subject.where(resolve() is Patient) | List.subject.where(resolve() is Patient) | MeasureReport.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationStatement.subject.where(resolve() is Patient) | MolecularSequence.subject.where(resolve() is Patient) | NutritionIntake.subject.where(resolve() is Patient) | NutritionOrder.subject.where(resolve() is Patient) | Observation.subject.where(resolve() is Patient) | Person.link.target.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | Provenance.patient | QuestionnaireResponse.subject.where(resolve() is Patient) | RelatedPerson.patient | RequestOrchestration.subject.where(resolve() is Patient) | ResearchSubject.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | Specimen.subject.where(resolve() is Patient) | SupplyDelivery.patient | SupplyRequest.deliverFor | Task.for.where(resolve() is Patient) | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [Account](account.html): The entity that caused the expenses\r\n* [AdverseEvent](adverseevent.html): Subject impacted by event\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [Appointment](appointment.html): One of the individuals of the appointment is this patient\r\n* [AppointmentResponse](appointmentresponse.html): This Response is for this Patient\r\n* [AuditEvent](auditevent.html): Where the activity involved patient data\r\n* [Basic](basic.html): Identifies the focus of this resource\r\n* [BodyStructure](bodystructure.html): Who this is about\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ChargeItem](chargeitem.html): Individual service was done for/to\r\n* [Claim](claim.html): Patient receiving the products or services\r\n* [ClaimResponse](claimresponse.html): The subject of care\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Communication](communication.html): Focus of message\r\n* [CommunicationRequest](communicationrequest.html): Focus of message\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [Contract](contract.html): The identity of the subject of the contract (if a patient)\r\n* [Coverage](coverage.html): Retrieve coverages for a patient\r\n* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The reference to the patient\r\n* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The reference to the patient\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EnrollmentRequest](enrollmentrequest.html): The party to be enrolled\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [ExplanationOfBenefit](explanationofbenefit.html): The reference to the patient\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [GuidanceResponse](guidanceresponse.html): The identity of a patient to search for guidance response results\r\n* [ImagingSelection](imagingselection.html): Who the study is about\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [ImmunizationEvaluation](immunizationevaluation.html): The patient being evaluated\r\n* [ImmunizationRecommendation](immunizationrecommendation.html): Who this profile is for\r\n* [Invoice](invoice.html): Recipient(s) of goods and services\r\n* [List](list.html): If all resources have the same subject\r\n* [MeasureReport](measurereport.html): The identity of a patient to search for individual measure report results for\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationStatement](medicationstatement.html): Returns statements for a specific patient.\r\n* [MolecularSequence](molecularsequence.html): The subject that the sequence is about\r\n* [NutritionIntake](nutritionintake.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the individual or set of individuals who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Person](person.html): The Person links to this Patient\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [Provenance](provenance.html): Where the activity involved patient data\r\n* [QuestionnaireResponse](questionnaireresponse.html): The patient that is the subject of the questionnaire response\r\n* [RelatedPerson](relatedperson.html): The patient this related person is related to\r\n* [RequestOrchestration](requestorchestration.html): The identity of a patient to search for request orchestrations\r\n* [ResearchSubject](researchsubject.html): Who or what is part of study\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [Specimen](specimen.html): The patient the specimen comes from\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [SupplyRequest](supplyrequest.html): The patient or subject for whom the supply is destined\r\n* [Task](task.html): Search by patient\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Patient.class } ) 2092 public static final String SP_PATIENT = "patient"; 2093 /** 2094 * <b>Fluent Client</b> search parameter constant for <b>patient</b> 2095 * <p> 2096 * Description: <b>Multiple Resources: 2097 2098* [Account](account.html): The entity that caused the expenses 2099* [AdverseEvent](adverseevent.html): Subject impacted by event 2100* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for 2101* [Appointment](appointment.html): One of the individuals of the appointment is this patient 2102* [AppointmentResponse](appointmentresponse.html): This Response is for this Patient 2103* [AuditEvent](auditevent.html): Where the activity involved patient data 2104* [Basic](basic.html): Identifies the focus of this resource 2105* [BodyStructure](bodystructure.html): Who this is about 2106* [CarePlan](careplan.html): Who the care plan is for 2107* [CareTeam](careteam.html): Who care team is for 2108* [ChargeItem](chargeitem.html): Individual service was done for/to 2109* [Claim](claim.html): Patient receiving the products or services 2110* [ClaimResponse](claimresponse.html): The subject of care 2111* [ClinicalImpression](clinicalimpression.html): Patient assessed 2112* [Communication](communication.html): Focus of message 2113* [CommunicationRequest](communicationrequest.html): Focus of message 2114* [Composition](composition.html): Who and/or what the composition is about 2115* [Condition](condition.html): Who has the condition? 2116* [Consent](consent.html): Who the consent applies to 2117* [Contract](contract.html): The identity of the subject of the contract (if a patient) 2118* [Coverage](coverage.html): Retrieve coverages for a patient 2119* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The reference to the patient 2120* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The reference to the patient 2121* [DetectedIssue](detectedissue.html): Associated patient 2122* [DeviceRequest](devicerequest.html): Individual the service is ordered for 2123* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device 2124* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient 2125* [DocumentReference](documentreference.html): Who/what is the subject of the document 2126* [Encounter](encounter.html): The patient present at the encounter 2127* [EnrollmentRequest](enrollmentrequest.html): The party to be enrolled 2128* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care 2129* [ExplanationOfBenefit](explanationofbenefit.html): The reference to the patient 2130* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for 2131* [Flag](flag.html): The identity of a subject to list flags for 2132* [Goal](goal.html): Who this goal is intended for 2133* [GuidanceResponse](guidanceresponse.html): The identity of a patient to search for guidance response results 2134* [ImagingSelection](imagingselection.html): Who the study is about 2135* [ImagingStudy](imagingstudy.html): Who the study is about 2136* [Immunization](immunization.html): The patient for the vaccination record 2137* [ImmunizationEvaluation](immunizationevaluation.html): The patient being evaluated 2138* [ImmunizationRecommendation](immunizationrecommendation.html): Who this profile is for 2139* [Invoice](invoice.html): Recipient(s) of goods and services 2140* [List](list.html): If all resources have the same subject 2141* [MeasureReport](measurereport.html): The identity of a patient to search for individual measure report results for 2142* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for 2143* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for 2144* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient 2145* [MedicationStatement](medicationstatement.html): Returns statements for a specific patient. 2146* [MolecularSequence](molecularsequence.html): The subject that the sequence is about 2147* [NutritionIntake](nutritionintake.html): Returns statements for a specific patient. 2148* [NutritionOrder](nutritionorder.html): The identity of the individual or set of individuals who requires the diet, formula or nutritional supplement 2149* [Observation](observation.html): The subject that the observation is about (if patient) 2150* [Person](person.html): The Person links to this Patient 2151* [Procedure](procedure.html): Search by subject - a patient 2152* [Provenance](provenance.html): Where the activity involved patient data 2153* [QuestionnaireResponse](questionnaireresponse.html): The patient that is the subject of the questionnaire response 2154* [RelatedPerson](relatedperson.html): The patient this related person is related to 2155* [RequestOrchestration](requestorchestration.html): The identity of a patient to search for request orchestrations 2156* [ResearchSubject](researchsubject.html): Who or what is part of study 2157* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? 2158* [ServiceRequest](servicerequest.html): Search by subject - a patient 2159* [Specimen](specimen.html): The patient the specimen comes from 2160* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied 2161* [SupplyRequest](supplyrequest.html): The patient or subject for whom the supply is destined 2162* [Task](task.html): Search by patient 2163* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for 2164</b><br> 2165 * Type: <b>reference</b><br> 2166 * Path: <b>Account.subject.where(resolve() is Patient) | AdverseEvent.subject.where(resolve() is Patient) | AllergyIntolerance.patient | Appointment.participant.actor.where(resolve() is Patient) | Appointment.subject.where(resolve() is Patient) | AppointmentResponse.actor.where(resolve() is Patient) | AuditEvent.patient | Basic.subject.where(resolve() is Patient) | BodyStructure.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ChargeItem.subject.where(resolve() is Patient) | Claim.patient | ClaimResponse.patient | ClinicalImpression.subject.where(resolve() is Patient) | Communication.subject.where(resolve() is Patient) | CommunicationRequest.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | Contract.subject.where(resolve() is Patient) | Coverage.beneficiary | CoverageEligibilityRequest.patient | CoverageEligibilityResponse.patient | DetectedIssue.subject.where(resolve() is Patient) | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EnrollmentRequest.candidate | EpisodeOfCare.patient | ExplanationOfBenefit.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | GuidanceResponse.subject.where(resolve() is Patient) | ImagingSelection.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | ImmunizationEvaluation.patient | ImmunizationRecommendation.patient | Invoice.subject.where(resolve() is Patient) | List.subject.where(resolve() is Patient) | MeasureReport.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationStatement.subject.where(resolve() is Patient) | MolecularSequence.subject.where(resolve() is Patient) | NutritionIntake.subject.where(resolve() is Patient) | NutritionOrder.subject.where(resolve() is Patient) | Observation.subject.where(resolve() is Patient) | Person.link.target.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | Provenance.patient | QuestionnaireResponse.subject.where(resolve() is Patient) | RelatedPerson.patient | RequestOrchestration.subject.where(resolve() is Patient) | ResearchSubject.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | Specimen.subject.where(resolve() is Patient) | SupplyDelivery.patient | SupplyRequest.deliverFor | Task.for.where(resolve() is Patient) | VisionPrescription.patient</b><br> 2167 * </p> 2168 */ 2169 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); 2170 2171/** 2172 * Constant for fluent queries to be used to add include statements. Specifies 2173 * the path value of "<b>List:patient</b>". 2174 */ 2175 public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("List:patient").toLocked(); 2176 2177 2178} 2179