![](/hapi-fhir/images/logos/raccoon-forwards.png)
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 * Prospective warnings of potential issues when providing care to the patient. 052 */ 053@ResourceDef(name="Flag", profile="http://hl7.org/fhir/StructureDefinition/Flag") 054public class Flag extends DomainResource { 055 056 public enum FlagStatus { 057 /** 058 * A current flag that should be displayed to a user. A system may use the category to determine which user roles should view the flag. 059 */ 060 ACTIVE, 061 /** 062 * The flag no longer needs to be displayed. 063 */ 064 INACTIVE, 065 /** 066 * The flag was added in error and should no longer be displayed. 067 */ 068 ENTEREDINERROR, 069 /** 070 * added to help the parsers with the generic types 071 */ 072 NULL; 073 public static FlagStatus fromCode(String codeString) throws FHIRException { 074 if (codeString == null || "".equals(codeString)) 075 return null; 076 if ("active".equals(codeString)) 077 return ACTIVE; 078 if ("inactive".equals(codeString)) 079 return INACTIVE; 080 if ("entered-in-error".equals(codeString)) 081 return ENTEREDINERROR; 082 if (Configuration.isAcceptInvalidEnums()) 083 return null; 084 else 085 throw new FHIRException("Unknown FlagStatus code '"+codeString+"'"); 086 } 087 public String toCode() { 088 switch (this) { 089 case ACTIVE: return "active"; 090 case INACTIVE: return "inactive"; 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 ACTIVE: return "http://hl7.org/fhir/flag-status"; 099 case INACTIVE: return "http://hl7.org/fhir/flag-status"; 100 case ENTEREDINERROR: return "http://hl7.org/fhir/flag-status"; 101 case NULL: return null; 102 default: return "?"; 103 } 104 } 105 public String getDefinition() { 106 switch (this) { 107 case ACTIVE: return "A current flag that should be displayed to a user. A system may use the category to determine which user roles should view the flag."; 108 case INACTIVE: return "The flag no longer needs to be displayed."; 109 case ENTEREDINERROR: return "The flag was added in error and should no longer be displayed."; 110 case NULL: return null; 111 default: return "?"; 112 } 113 } 114 public String getDisplay() { 115 switch (this) { 116 case ACTIVE: return "Active"; 117 case INACTIVE: return "Inactive"; 118 case ENTEREDINERROR: return "Entered in Error"; 119 case NULL: return null; 120 default: return "?"; 121 } 122 } 123 } 124 125 public static class FlagStatusEnumFactory implements EnumFactory<FlagStatus> { 126 public FlagStatus fromCode(String codeString) throws IllegalArgumentException { 127 if (codeString == null || "".equals(codeString)) 128 if (codeString == null || "".equals(codeString)) 129 return null; 130 if ("active".equals(codeString)) 131 return FlagStatus.ACTIVE; 132 if ("inactive".equals(codeString)) 133 return FlagStatus.INACTIVE; 134 if ("entered-in-error".equals(codeString)) 135 return FlagStatus.ENTEREDINERROR; 136 throw new IllegalArgumentException("Unknown FlagStatus code '"+codeString+"'"); 137 } 138 public Enumeration<FlagStatus> fromType(PrimitiveType<?> code) throws FHIRException { 139 if (code == null) 140 return null; 141 if (code.isEmpty()) 142 return new Enumeration<FlagStatus>(this, FlagStatus.NULL, code); 143 String codeString = ((PrimitiveType) code).asStringValue(); 144 if (codeString == null || "".equals(codeString)) 145 return new Enumeration<FlagStatus>(this, FlagStatus.NULL, code); 146 if ("active".equals(codeString)) 147 return new Enumeration<FlagStatus>(this, FlagStatus.ACTIVE, code); 148 if ("inactive".equals(codeString)) 149 return new Enumeration<FlagStatus>(this, FlagStatus.INACTIVE, code); 150 if ("entered-in-error".equals(codeString)) 151 return new Enumeration<FlagStatus>(this, FlagStatus.ENTEREDINERROR, code); 152 throw new FHIRException("Unknown FlagStatus code '"+codeString+"'"); 153 } 154 public String toCode(FlagStatus code) { 155 if (code == FlagStatus.ACTIVE) 156 return "active"; 157 if (code == FlagStatus.INACTIVE) 158 return "inactive"; 159 if (code == FlagStatus.ENTEREDINERROR) 160 return "entered-in-error"; 161 return "?"; 162 } 163 public String toSystem(FlagStatus code) { 164 return code.getSystem(); 165 } 166 } 167 168 /** 169 * Business identifiers assigned to this flag by the performer or other systems which remain constant as the resource is updated and propagates from server to server. 170 */ 171 @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 172 @Description(shortDefinition="Business identifier", formalDefinition="Business identifiers assigned to this flag by the performer or other systems which remain constant as the resource is updated and propagates from server to server." ) 173 protected List<Identifier> identifier; 174 175 /** 176 * Supports basic workflow. 177 */ 178 @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true) 179 @Description(shortDefinition="active | inactive | entered-in-error", formalDefinition="Supports basic workflow." ) 180 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/flag-status") 181 protected Enumeration<FlagStatus> status; 182 183 /** 184 * Allows a flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context. 185 */ 186 @Child(name = "category", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 187 @Description(shortDefinition="Clinical, administrative, etc", formalDefinition="Allows a flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context." ) 188 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/flag-category") 189 protected List<CodeableConcept> category; 190 191 /** 192 * The coded value or textual component of the flag to display to the user. 193 */ 194 @Child(name = "code", type = {CodeableConcept.class}, order=3, min=1, max=1, modifier=false, summary=true) 195 @Description(shortDefinition="Coded or textual message to display to user", formalDefinition="The coded value or textual component of the flag to display to the user." ) 196 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/flag-code") 197 protected CodeableConcept code; 198 199 /** 200 * The patient, related person, location, group, organization, or practitioner etc. this is about record this flag is associated with. 201 */ 202 @Child(name = "subject", type = {Patient.class, RelatedPerson.class, Location.class, Group.class, Organization.class, Practitioner.class, PractitionerRole.class, PlanDefinition.class, Medication.class, Procedure.class}, order=4, min=1, max=1, modifier=false, summary=true) 203 @Description(shortDefinition="Who/What is flag about?", formalDefinition="The patient, related person, location, group, organization, or practitioner etc. this is about record this flag is associated with." ) 204 protected Reference subject; 205 206 /** 207 * The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified. 208 */ 209 @Child(name = "period", type = {Period.class}, order=5, min=0, max=1, modifier=false, summary=true) 210 @Description(shortDefinition="Time period when flag is active", formalDefinition="The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified." ) 211 protected Period period; 212 213 /** 214 * This alert is only relevant during the encounter. 215 */ 216 @Child(name = "encounter", type = {Encounter.class}, order=6, min=0, max=1, modifier=false, summary=true) 217 @Description(shortDefinition="Alert relevant during encounter", formalDefinition="This alert is only relevant during the encounter." ) 218 protected Reference encounter; 219 220 /** 221 * The person, organization or device that created the flag. 222 */ 223 @Child(name = "author", type = {Device.class, Organization.class, Patient.class, RelatedPerson.class, Practitioner.class, PractitionerRole.class}, order=7, min=0, max=1, modifier=false, summary=true) 224 @Description(shortDefinition="Flag creator", formalDefinition="The person, organization or device that created the flag." ) 225 protected Reference author; 226 227 private static final long serialVersionUID = -901823137L; 228 229 /** 230 * Constructor 231 */ 232 public Flag() { 233 super(); 234 } 235 236 /** 237 * Constructor 238 */ 239 public Flag(FlagStatus status, CodeableConcept code, Reference subject) { 240 super(); 241 this.setStatus(status); 242 this.setCode(code); 243 this.setSubject(subject); 244 } 245 246 /** 247 * @return {@link #identifier} (Business identifiers assigned to this flag by the performer or other systems which remain constant as the resource is updated and propagates from server to server.) 248 */ 249 public List<Identifier> getIdentifier() { 250 if (this.identifier == null) 251 this.identifier = new ArrayList<Identifier>(); 252 return this.identifier; 253 } 254 255 /** 256 * @return Returns a reference to <code>this</code> for easy method chaining 257 */ 258 public Flag setIdentifier(List<Identifier> theIdentifier) { 259 this.identifier = theIdentifier; 260 return this; 261 } 262 263 public boolean hasIdentifier() { 264 if (this.identifier == null) 265 return false; 266 for (Identifier item : this.identifier) 267 if (!item.isEmpty()) 268 return true; 269 return false; 270 } 271 272 public Identifier addIdentifier() { //3 273 Identifier t = new Identifier(); 274 if (this.identifier == null) 275 this.identifier = new ArrayList<Identifier>(); 276 this.identifier.add(t); 277 return t; 278 } 279 280 public Flag addIdentifier(Identifier t) { //3 281 if (t == null) 282 return this; 283 if (this.identifier == null) 284 this.identifier = new ArrayList<Identifier>(); 285 this.identifier.add(t); 286 return this; 287 } 288 289 /** 290 * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} 291 */ 292 public Identifier getIdentifierFirstRep() { 293 if (getIdentifier().isEmpty()) { 294 addIdentifier(); 295 } 296 return getIdentifier().get(0); 297 } 298 299 /** 300 * @return {@link #status} (Supports basic workflow.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 301 */ 302 public Enumeration<FlagStatus> getStatusElement() { 303 if (this.status == null) 304 if (Configuration.errorOnAutoCreate()) 305 throw new Error("Attempt to auto-create Flag.status"); 306 else if (Configuration.doAutoCreate()) 307 this.status = new Enumeration<FlagStatus>(new FlagStatusEnumFactory()); // bb 308 return this.status; 309 } 310 311 public boolean hasStatusElement() { 312 return this.status != null && !this.status.isEmpty(); 313 } 314 315 public boolean hasStatus() { 316 return this.status != null && !this.status.isEmpty(); 317 } 318 319 /** 320 * @param value {@link #status} (Supports basic workflow.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 321 */ 322 public Flag setStatusElement(Enumeration<FlagStatus> value) { 323 this.status = value; 324 return this; 325 } 326 327 /** 328 * @return Supports basic workflow. 329 */ 330 public FlagStatus getStatus() { 331 return this.status == null ? null : this.status.getValue(); 332 } 333 334 /** 335 * @param value Supports basic workflow. 336 */ 337 public Flag setStatus(FlagStatus value) { 338 if (this.status == null) 339 this.status = new Enumeration<FlagStatus>(new FlagStatusEnumFactory()); 340 this.status.setValue(value); 341 return this; 342 } 343 344 /** 345 * @return {@link #category} (Allows a flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.) 346 */ 347 public List<CodeableConcept> getCategory() { 348 if (this.category == null) 349 this.category = new ArrayList<CodeableConcept>(); 350 return this.category; 351 } 352 353 /** 354 * @return Returns a reference to <code>this</code> for easy method chaining 355 */ 356 public Flag setCategory(List<CodeableConcept> theCategory) { 357 this.category = theCategory; 358 return this; 359 } 360 361 public boolean hasCategory() { 362 if (this.category == null) 363 return false; 364 for (CodeableConcept item : this.category) 365 if (!item.isEmpty()) 366 return true; 367 return false; 368 } 369 370 public CodeableConcept addCategory() { //3 371 CodeableConcept t = new CodeableConcept(); 372 if (this.category == null) 373 this.category = new ArrayList<CodeableConcept>(); 374 this.category.add(t); 375 return t; 376 } 377 378 public Flag addCategory(CodeableConcept t) { //3 379 if (t == null) 380 return this; 381 if (this.category == null) 382 this.category = new ArrayList<CodeableConcept>(); 383 this.category.add(t); 384 return this; 385 } 386 387 /** 388 * @return The first repetition of repeating field {@link #category}, creating it if it does not already exist {3} 389 */ 390 public CodeableConcept getCategoryFirstRep() { 391 if (getCategory().isEmpty()) { 392 addCategory(); 393 } 394 return getCategory().get(0); 395 } 396 397 /** 398 * @return {@link #code} (The coded value or textual component of the flag to display to the user.) 399 */ 400 public CodeableConcept getCode() { 401 if (this.code == null) 402 if (Configuration.errorOnAutoCreate()) 403 throw new Error("Attempt to auto-create Flag.code"); 404 else if (Configuration.doAutoCreate()) 405 this.code = new CodeableConcept(); // cc 406 return this.code; 407 } 408 409 public boolean hasCode() { 410 return this.code != null && !this.code.isEmpty(); 411 } 412 413 /** 414 * @param value {@link #code} (The coded value or textual component of the flag to display to the user.) 415 */ 416 public Flag setCode(CodeableConcept value) { 417 this.code = value; 418 return this; 419 } 420 421 /** 422 * @return {@link #subject} (The patient, related person, location, group, organization, or practitioner etc. this is about record this flag is associated with.) 423 */ 424 public Reference getSubject() { 425 if (this.subject == null) 426 if (Configuration.errorOnAutoCreate()) 427 throw new Error("Attempt to auto-create Flag.subject"); 428 else if (Configuration.doAutoCreate()) 429 this.subject = new Reference(); // cc 430 return this.subject; 431 } 432 433 public boolean hasSubject() { 434 return this.subject != null && !this.subject.isEmpty(); 435 } 436 437 /** 438 * @param value {@link #subject} (The patient, related person, location, group, organization, or practitioner etc. this is about record this flag is associated with.) 439 */ 440 public Flag setSubject(Reference value) { 441 this.subject = value; 442 return this; 443 } 444 445 /** 446 * @return {@link #period} (The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.) 447 */ 448 public Period getPeriod() { 449 if (this.period == null) 450 if (Configuration.errorOnAutoCreate()) 451 throw new Error("Attempt to auto-create Flag.period"); 452 else if (Configuration.doAutoCreate()) 453 this.period = new Period(); // cc 454 return this.period; 455 } 456 457 public boolean hasPeriod() { 458 return this.period != null && !this.period.isEmpty(); 459 } 460 461 /** 462 * @param value {@link #period} (The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.) 463 */ 464 public Flag setPeriod(Period value) { 465 this.period = value; 466 return this; 467 } 468 469 /** 470 * @return {@link #encounter} (This alert is only relevant during the encounter.) 471 */ 472 public Reference getEncounter() { 473 if (this.encounter == null) 474 if (Configuration.errorOnAutoCreate()) 475 throw new Error("Attempt to auto-create Flag.encounter"); 476 else if (Configuration.doAutoCreate()) 477 this.encounter = new Reference(); // cc 478 return this.encounter; 479 } 480 481 public boolean hasEncounter() { 482 return this.encounter != null && !this.encounter.isEmpty(); 483 } 484 485 /** 486 * @param value {@link #encounter} (This alert is only relevant during the encounter.) 487 */ 488 public Flag setEncounter(Reference value) { 489 this.encounter = value; 490 return this; 491 } 492 493 /** 494 * @return {@link #author} (The person, organization or device that created the flag.) 495 */ 496 public Reference getAuthor() { 497 if (this.author == null) 498 if (Configuration.errorOnAutoCreate()) 499 throw new Error("Attempt to auto-create Flag.author"); 500 else if (Configuration.doAutoCreate()) 501 this.author = new Reference(); // cc 502 return this.author; 503 } 504 505 public boolean hasAuthor() { 506 return this.author != null && !this.author.isEmpty(); 507 } 508 509 /** 510 * @param value {@link #author} (The person, organization or device that created the flag.) 511 */ 512 public Flag setAuthor(Reference value) { 513 this.author = value; 514 return this; 515 } 516 517 protected void listChildren(List<Property> children) { 518 super.listChildren(children); 519 children.add(new Property("identifier", "Identifier", "Business identifiers assigned to this flag by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier)); 520 children.add(new Property("status", "code", "Supports basic workflow.", 0, 1, status)); 521 children.add(new Property("category", "CodeableConcept", "Allows a flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.", 0, java.lang.Integer.MAX_VALUE, category)); 522 children.add(new Property("code", "CodeableConcept", "The coded value or textual component of the flag to display to the user.", 0, 1, code)); 523 children.add(new Property("subject", "Reference(Patient|RelatedPerson|Location|Group|Organization|Practitioner|PractitionerRole|PlanDefinition|Medication|Procedure)", "The patient, related person, location, group, organization, or practitioner etc. this is about record this flag is associated with.", 0, 1, subject)); 524 children.add(new Property("period", "Period", "The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.", 0, 1, period)); 525 children.add(new Property("encounter", "Reference(Encounter)", "This alert is only relevant during the encounter.", 0, 1, encounter)); 526 children.add(new Property("author", "Reference(Device|Organization|Patient|RelatedPerson|Practitioner|PractitionerRole)", "The person, organization or device that created the flag.", 0, 1, author)); 527 } 528 529 @Override 530 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 531 switch (_hash) { 532 case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifiers assigned to this flag by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier); 533 case -892481550: /*status*/ return new Property("status", "code", "Supports basic workflow.", 0, 1, status); 534 case 50511102: /*category*/ return new Property("category", "CodeableConcept", "Allows a flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.", 0, java.lang.Integer.MAX_VALUE, category); 535 case 3059181: /*code*/ return new Property("code", "CodeableConcept", "The coded value or textual component of the flag to display to the user.", 0, 1, code); 536 case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|RelatedPerson|Location|Group|Organization|Practitioner|PractitionerRole|PlanDefinition|Medication|Procedure)", "The patient, related person, location, group, organization, or practitioner etc. this is about record this flag is associated with.", 0, 1, subject); 537 case -991726143: /*period*/ return new Property("period", "Period", "The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.", 0, 1, period); 538 case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "This alert is only relevant during the encounter.", 0, 1, encounter); 539 case -1406328437: /*author*/ return new Property("author", "Reference(Device|Organization|Patient|RelatedPerson|Practitioner|PractitionerRole)", "The person, organization or device that created the flag.", 0, 1, author); 540 default: return super.getNamedProperty(_hash, _name, _checkValid); 541 } 542 543 } 544 545 @Override 546 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 547 switch (hash) { 548 case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier 549 case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<FlagStatus> 550 case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept 551 case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept 552 case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference 553 case -991726143: /*period*/ return this.period == null ? new Base[0] : new Base[] {this.period}; // Period 554 case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference 555 case -1406328437: /*author*/ return this.author == null ? new Base[0] : new Base[] {this.author}; // Reference 556 default: return super.getProperty(hash, name, checkValid); 557 } 558 559 } 560 561 @Override 562 public Base setProperty(int hash, String name, Base value) throws FHIRException { 563 switch (hash) { 564 case -1618432855: // identifier 565 this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier 566 return value; 567 case -892481550: // status 568 value = new FlagStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 569 this.status = (Enumeration) value; // Enumeration<FlagStatus> 570 return value; 571 case 50511102: // category 572 this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept 573 return value; 574 case 3059181: // code 575 this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 576 return value; 577 case -1867885268: // subject 578 this.subject = TypeConvertor.castToReference(value); // Reference 579 return value; 580 case -991726143: // period 581 this.period = TypeConvertor.castToPeriod(value); // Period 582 return value; 583 case 1524132147: // encounter 584 this.encounter = TypeConvertor.castToReference(value); // Reference 585 return value; 586 case -1406328437: // author 587 this.author = TypeConvertor.castToReference(value); // Reference 588 return value; 589 default: return super.setProperty(hash, name, value); 590 } 591 592 } 593 594 @Override 595 public Base setProperty(String name, Base value) throws FHIRException { 596 if (name.equals("identifier")) { 597 this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); 598 } else if (name.equals("status")) { 599 value = new FlagStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 600 this.status = (Enumeration) value; // Enumeration<FlagStatus> 601 } else if (name.equals("category")) { 602 this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); 603 } else if (name.equals("code")) { 604 this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 605 } else if (name.equals("subject")) { 606 this.subject = TypeConvertor.castToReference(value); // Reference 607 } else if (name.equals("period")) { 608 this.period = TypeConvertor.castToPeriod(value); // Period 609 } else if (name.equals("encounter")) { 610 this.encounter = TypeConvertor.castToReference(value); // Reference 611 } else if (name.equals("author")) { 612 this.author = TypeConvertor.castToReference(value); // Reference 613 } else 614 return super.setProperty(name, value); 615 return value; 616 } 617 618 @Override 619 public void removeChild(String name, Base value) throws FHIRException { 620 if (name.equals("identifier")) { 621 this.getIdentifier().remove(value); 622 } else if (name.equals("status")) { 623 value = new FlagStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 624 this.status = (Enumeration) value; // Enumeration<FlagStatus> 625 } else if (name.equals("category")) { 626 this.getCategory().remove(value); 627 } else if (name.equals("code")) { 628 this.code = null; 629 } else if (name.equals("subject")) { 630 this.subject = null; 631 } else if (name.equals("period")) { 632 this.period = null; 633 } else if (name.equals("encounter")) { 634 this.encounter = null; 635 } else if (name.equals("author")) { 636 this.author = null; 637 } else 638 super.removeChild(name, value); 639 640 } 641 642 @Override 643 public Base makeProperty(int hash, String name) throws FHIRException { 644 switch (hash) { 645 case -1618432855: return addIdentifier(); 646 case -892481550: return getStatusElement(); 647 case 50511102: return addCategory(); 648 case 3059181: return getCode(); 649 case -1867885268: return getSubject(); 650 case -991726143: return getPeriod(); 651 case 1524132147: return getEncounter(); 652 case -1406328437: return getAuthor(); 653 default: return super.makeProperty(hash, name); 654 } 655 656 } 657 658 @Override 659 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 660 switch (hash) { 661 case -1618432855: /*identifier*/ return new String[] {"Identifier"}; 662 case -892481550: /*status*/ return new String[] {"code"}; 663 case 50511102: /*category*/ return new String[] {"CodeableConcept"}; 664 case 3059181: /*code*/ return new String[] {"CodeableConcept"}; 665 case -1867885268: /*subject*/ return new String[] {"Reference"}; 666 case -991726143: /*period*/ return new String[] {"Period"}; 667 case 1524132147: /*encounter*/ return new String[] {"Reference"}; 668 case -1406328437: /*author*/ return new String[] {"Reference"}; 669 default: return super.getTypesForProperty(hash, name); 670 } 671 672 } 673 674 @Override 675 public Base addChild(String name) throws FHIRException { 676 if (name.equals("identifier")) { 677 return addIdentifier(); 678 } 679 else if (name.equals("status")) { 680 throw new FHIRException("Cannot call addChild on a singleton property Flag.status"); 681 } 682 else if (name.equals("category")) { 683 return addCategory(); 684 } 685 else if (name.equals("code")) { 686 this.code = new CodeableConcept(); 687 return this.code; 688 } 689 else if (name.equals("subject")) { 690 this.subject = new Reference(); 691 return this.subject; 692 } 693 else if (name.equals("period")) { 694 this.period = new Period(); 695 return this.period; 696 } 697 else if (name.equals("encounter")) { 698 this.encounter = new Reference(); 699 return this.encounter; 700 } 701 else if (name.equals("author")) { 702 this.author = new Reference(); 703 return this.author; 704 } 705 else 706 return super.addChild(name); 707 } 708 709 public String fhirType() { 710 return "Flag"; 711 712 } 713 714 public Flag copy() { 715 Flag dst = new Flag(); 716 copyValues(dst); 717 return dst; 718 } 719 720 public void copyValues(Flag dst) { 721 super.copyValues(dst); 722 if (identifier != null) { 723 dst.identifier = new ArrayList<Identifier>(); 724 for (Identifier i : identifier) 725 dst.identifier.add(i.copy()); 726 }; 727 dst.status = status == null ? null : status.copy(); 728 if (category != null) { 729 dst.category = new ArrayList<CodeableConcept>(); 730 for (CodeableConcept i : category) 731 dst.category.add(i.copy()); 732 }; 733 dst.code = code == null ? null : code.copy(); 734 dst.subject = subject == null ? null : subject.copy(); 735 dst.period = period == null ? null : period.copy(); 736 dst.encounter = encounter == null ? null : encounter.copy(); 737 dst.author = author == null ? null : author.copy(); 738 } 739 740 protected Flag typedCopy() { 741 return copy(); 742 } 743 744 @Override 745 public boolean equalsDeep(Base other_) { 746 if (!super.equalsDeep(other_)) 747 return false; 748 if (!(other_ instanceof Flag)) 749 return false; 750 Flag o = (Flag) other_; 751 return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(category, o.category, true) 752 && compareDeep(code, o.code, true) && compareDeep(subject, o.subject, true) && compareDeep(period, o.period, true) 753 && compareDeep(encounter, o.encounter, true) && compareDeep(author, o.author, true); 754 } 755 756 @Override 757 public boolean equalsShallow(Base other_) { 758 if (!super.equalsShallow(other_)) 759 return false; 760 if (!(other_ instanceof Flag)) 761 return false; 762 Flag o = (Flag) other_; 763 return compareValues(status, o.status, true); 764 } 765 766 public boolean isEmpty() { 767 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, category 768 , code, subject, period, encounter, author); 769 } 770 771 @Override 772 public ResourceType getResourceType() { 773 return ResourceType.Flag; 774 } 775 776 /** 777 * Search parameter: <b>author</b> 778 * <p> 779 * Description: <b>Flag creator</b><br> 780 * Type: <b>reference</b><br> 781 * Path: <b>Flag.author</b><br> 782 * </p> 783 */ 784 @SearchParamDefinition(name="author", path="Flag.author", description="Flag creator", 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 Practitioner") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) 785 public static final String SP_AUTHOR = "author"; 786 /** 787 * <b>Fluent Client</b> search parameter constant for <b>author</b> 788 * <p> 789 * Description: <b>Flag creator</b><br> 790 * Type: <b>reference</b><br> 791 * Path: <b>Flag.author</b><br> 792 * </p> 793 */ 794 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); 795 796/** 797 * Constant for fluent queries to be used to add include statements. Specifies 798 * the path value of "<b>Flag:author</b>". 799 */ 800 public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("Flag:author").toLocked(); 801 802 /** 803 * Search parameter: <b>category</b> 804 * <p> 805 * Description: <b>The category of the flag, such as clinical, administrative, etc.</b><br> 806 * Type: <b>token</b><br> 807 * Path: <b>Flag.category</b><br> 808 * </p> 809 */ 810 @SearchParamDefinition(name="category", path="Flag.category", description="The category of the flag, such as clinical, administrative, etc.", type="token" ) 811 public static final String SP_CATEGORY = "category"; 812 /** 813 * <b>Fluent Client</b> search parameter constant for <b>category</b> 814 * <p> 815 * Description: <b>The category of the flag, such as clinical, administrative, etc.</b><br> 816 * Type: <b>token</b><br> 817 * Path: <b>Flag.category</b><br> 818 * </p> 819 */ 820 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); 821 822 /** 823 * Search parameter: <b>status</b> 824 * <p> 825 * Description: <b>active | inactive | entered-in-error</b><br> 826 * Type: <b>token</b><br> 827 * Path: <b>Flag.status</b><br> 828 * </p> 829 */ 830 @SearchParamDefinition(name="status", path="Flag.status", description="active | inactive | entered-in-error", type="token" ) 831 public static final String SP_STATUS = "status"; 832 /** 833 * <b>Fluent Client</b> search parameter constant for <b>status</b> 834 * <p> 835 * Description: <b>active | inactive | entered-in-error</b><br> 836 * Type: <b>token</b><br> 837 * Path: <b>Flag.status</b><br> 838 * </p> 839 */ 840 public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); 841 842 /** 843 * Search parameter: <b>subject</b> 844 * <p> 845 * Description: <b>The identity of a subject to list flags for</b><br> 846 * Type: <b>reference</b><br> 847 * Path: <b>Flag.subject</b><br> 848 * </p> 849 */ 850 @SearchParamDefinition(name="subject", path="Flag.subject", description="The identity of a subject to list flags for", type="reference", target={Group.class, Location.class, Medication.class, Organization.class, Patient.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, RelatedPerson.class } ) 851 public static final String SP_SUBJECT = "subject"; 852 /** 853 * <b>Fluent Client</b> search parameter constant for <b>subject</b> 854 * <p> 855 * Description: <b>The identity of a subject to list flags for</b><br> 856 * Type: <b>reference</b><br> 857 * Path: <b>Flag.subject</b><br> 858 * </p> 859 */ 860 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); 861 862/** 863 * Constant for fluent queries to be used to add include statements. Specifies 864 * the path value of "<b>Flag:subject</b>". 865 */ 866 public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Flag:subject").toLocked(); 867 868 /** 869 * Search parameter: <b>date</b> 870 * <p> 871 * Description: <b>Multiple Resources: 872 873* [AdverseEvent](adverseevent.html): When the event occurred 874* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded 875* [Appointment](appointment.html): Appointment date/time. 876* [AuditEvent](auditevent.html): Time when the event was recorded 877* [CarePlan](careplan.html): Time period plan covers 878* [CareTeam](careteam.html): A date within the coverage time period. 879* [ClinicalImpression](clinicalimpression.html): When the assessment was documented 880* [Composition](composition.html): Composition editing time 881* [Consent](consent.html): When consent was agreed to 882* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report 883* [DocumentReference](documentreference.html): When this document reference was created 884* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted 885* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period 886* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated 887* [Flag](flag.html): Time period when flag is active 888* [Immunization](immunization.html): Vaccination (non)-Administration Date 889* [ImmunizationEvaluation](immunizationevaluation.html): Date the evaluation was generated 890* [ImmunizationRecommendation](immunizationrecommendation.html): Date recommendation(s) created 891* [Invoice](invoice.html): Invoice date / posting date 892* [List](list.html): When the list was prepared 893* [MeasureReport](measurereport.html): The date of the measure report 894* [NutritionIntake](nutritionintake.html): Date when patient was taking (or not taking) the medication 895* [Observation](observation.html): Clinically relevant time/time-period for observation 896* [Procedure](procedure.html): When the procedure occurred or is occurring 897* [ResearchSubject](researchsubject.html): Start and end of participation 898* [RiskAssessment](riskassessment.html): When was assessment made? 899* [SupplyRequest](supplyrequest.html): When the request was made 900</b><br> 901 * Type: <b>date</b><br> 902 * 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> 903 * </p> 904 */ 905 @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" ) 906 public static final String SP_DATE = "date"; 907 /** 908 * <b>Fluent Client</b> search parameter constant for <b>date</b> 909 * <p> 910 * Description: <b>Multiple Resources: 911 912* [AdverseEvent](adverseevent.html): When the event occurred 913* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded 914* [Appointment](appointment.html): Appointment date/time. 915* [AuditEvent](auditevent.html): Time when the event was recorded 916* [CarePlan](careplan.html): Time period plan covers 917* [CareTeam](careteam.html): A date within the coverage time period. 918* [ClinicalImpression](clinicalimpression.html): When the assessment was documented 919* [Composition](composition.html): Composition editing time 920* [Consent](consent.html): When consent was agreed to 921* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report 922* [DocumentReference](documentreference.html): When this document reference was created 923* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted 924* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period 925* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated 926* [Flag](flag.html): Time period when flag is active 927* [Immunization](immunization.html): Vaccination (non)-Administration Date 928* [ImmunizationEvaluation](immunizationevaluation.html): Date the evaluation was generated 929* [ImmunizationRecommendation](immunizationrecommendation.html): Date recommendation(s) created 930* [Invoice](invoice.html): Invoice date / posting date 931* [List](list.html): When the list was prepared 932* [MeasureReport](measurereport.html): The date of the measure report 933* [NutritionIntake](nutritionintake.html): Date when patient was taking (or not taking) the medication 934* [Observation](observation.html): Clinically relevant time/time-period for observation 935* [Procedure](procedure.html): When the procedure occurred or is occurring 936* [ResearchSubject](researchsubject.html): Start and end of participation 937* [RiskAssessment](riskassessment.html): When was assessment made? 938* [SupplyRequest](supplyrequest.html): When the request was made 939</b><br> 940 * Type: <b>date</b><br> 941 * 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> 942 * </p> 943 */ 944 public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); 945 946 /** 947 * Search parameter: <b>encounter</b> 948 * <p> 949 * Description: <b>Multiple Resources: 950 951* [AuditEvent](auditevent.html): Encounter related to the activity recorded in the AuditEvent 952* [CarePlan](careplan.html): The Encounter during which this CarePlan was created 953* [ChargeItem](chargeitem.html): Encounter associated with event 954* [Claim](claim.html): Encounters associated with a billed line item 955* [ClinicalImpression](clinicalimpression.html): The Encounter during which this ClinicalImpression was created 956* [Communication](communication.html): The Encounter during which this Communication was created 957* [CommunicationRequest](communicationrequest.html): The Encounter during which this CommunicationRequest was created 958* [Composition](composition.html): Context of the Composition 959* [Condition](condition.html): The Encounter during which this Condition was created 960* [DeviceRequest](devicerequest.html): Encounter during which request was created 961* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made 962* [EncounterHistory](encounterhistory.html): The Encounter associated with this set of history values 963* [ExplanationOfBenefit](explanationofbenefit.html): Encounters associated with a billed line item 964* [Flag](flag.html): Alert relevant during encounter 965* [ImagingStudy](imagingstudy.html): The context of the study 966* [List](list.html): Context in which list created 967* [MedicationDispense](medicationdispense.html): Returns dispenses with a specific encounter 968* [MedicationStatement](medicationstatement.html): Returns statements for a specific encounter 969* [NutritionIntake](nutritionintake.html): Returns statements for a specific encounter 970* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier 971* [Observation](observation.html): Encounter related to the observation 972* [Procedure](procedure.html): The Encounter during which this Procedure was created 973* [Provenance](provenance.html): Encounter related to the Provenance 974* [QuestionnaireResponse](questionnaireresponse.html): Encounter associated with the questionnaire response 975* [RequestOrchestration](requestorchestration.html): The encounter the request orchestration applies to 976* [RiskAssessment](riskassessment.html): Where was assessment performed? 977* [ServiceRequest](servicerequest.html): An encounter in which this request is made 978* [Task](task.html): Search by encounter 979* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier 980</b><br> 981 * Type: <b>reference</b><br> 982 * 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> 983 * </p> 984 */ 985 @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 } ) 986 public static final String SP_ENCOUNTER = "encounter"; 987 /** 988 * <b>Fluent Client</b> search parameter constant for <b>encounter</b> 989 * <p> 990 * Description: <b>Multiple Resources: 991 992* [AuditEvent](auditevent.html): Encounter related to the activity recorded in the AuditEvent 993* [CarePlan](careplan.html): The Encounter during which this CarePlan was created 994* [ChargeItem](chargeitem.html): Encounter associated with event 995* [Claim](claim.html): Encounters associated with a billed line item 996* [ClinicalImpression](clinicalimpression.html): The Encounter during which this ClinicalImpression was created 997* [Communication](communication.html): The Encounter during which this Communication was created 998* [CommunicationRequest](communicationrequest.html): The Encounter during which this CommunicationRequest was created 999* [Composition](composition.html): Context of the Composition 1000* [Condition](condition.html): The Encounter during which this Condition was created 1001* [DeviceRequest](devicerequest.html): Encounter during which request was created 1002* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made 1003* [EncounterHistory](encounterhistory.html): The Encounter associated with this set of history values 1004* [ExplanationOfBenefit](explanationofbenefit.html): Encounters associated with a billed line item 1005* [Flag](flag.html): Alert relevant during encounter 1006* [ImagingStudy](imagingstudy.html): The context of the study 1007* [List](list.html): Context in which list created 1008* [MedicationDispense](medicationdispense.html): Returns dispenses with a specific encounter 1009* [MedicationStatement](medicationstatement.html): Returns statements for a specific encounter 1010* [NutritionIntake](nutritionintake.html): Returns statements for a specific encounter 1011* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier 1012* [Observation](observation.html): Encounter related to the observation 1013* [Procedure](procedure.html): The Encounter during which this Procedure was created 1014* [Provenance](provenance.html): Encounter related to the Provenance 1015* [QuestionnaireResponse](questionnaireresponse.html): Encounter associated with the questionnaire response 1016* [RequestOrchestration](requestorchestration.html): The encounter the request orchestration applies to 1017* [RiskAssessment](riskassessment.html): Where was assessment performed? 1018* [ServiceRequest](servicerequest.html): An encounter in which this request is made 1019* [Task](task.html): Search by encounter 1020* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier 1021</b><br> 1022 * Type: <b>reference</b><br> 1023 * 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> 1024 * </p> 1025 */ 1026 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); 1027 1028/** 1029 * Constant for fluent queries to be used to add include statements. Specifies 1030 * the path value of "<b>Flag:encounter</b>". 1031 */ 1032 public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Flag:encounter").toLocked(); 1033 1034 /** 1035 * Search parameter: <b>identifier</b> 1036 * <p> 1037 * Description: <b>Multiple Resources: 1038 1039* [Account](account.html): Account number 1040* [AdverseEvent](adverseevent.html): Business identifier for the event 1041* [AllergyIntolerance](allergyintolerance.html): External ids for this item 1042* [Appointment](appointment.html): An Identifier of the Appointment 1043* [AppointmentResponse](appointmentresponse.html): An Identifier in this appointment response 1044* [Basic](basic.html): Business identifier 1045* [BodyStructure](bodystructure.html): Bodystructure identifier 1046* [CarePlan](careplan.html): External Ids for this plan 1047* [CareTeam](careteam.html): External Ids for this team 1048* [ChargeItem](chargeitem.html): Business Identifier for item 1049* [Claim](claim.html): The primary identifier of the financial resource 1050* [ClaimResponse](claimresponse.html): The identity of the ClaimResponse 1051* [ClinicalImpression](clinicalimpression.html): Business identifier 1052* [Communication](communication.html): Unique identifier 1053* [CommunicationRequest](communicationrequest.html): Unique identifier 1054* [Composition](composition.html): Version-independent identifier for the Composition 1055* [Condition](condition.html): A unique identifier of the condition record 1056* [Consent](consent.html): Identifier for this record (external references) 1057* [Contract](contract.html): The identity of the contract 1058* [Coverage](coverage.html): The primary identifier of the insured and the coverage 1059* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The business identifier of the Eligibility 1060* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The business identifier 1061* [DetectedIssue](detectedissue.html): Unique id for the detected issue 1062* [DeviceRequest](devicerequest.html): Business identifier for request/order 1063* [DeviceUsage](deviceusage.html): Search by identifier 1064* [DiagnosticReport](diagnosticreport.html): An identifier for the report 1065* [DocumentReference](documentreference.html): Identifier of the attachment binary 1066* [Encounter](encounter.html): Identifier(s) by which this encounter is known 1067* [EnrollmentRequest](enrollmentrequest.html): The business identifier of the Enrollment 1068* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare 1069* [ExplanationOfBenefit](explanationofbenefit.html): The business identifier of the Explanation of Benefit 1070* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier 1071* [Flag](flag.html): Business identifier 1072* [Goal](goal.html): External Ids for this goal 1073* [GuidanceResponse](guidanceresponse.html): The identifier of the guidance response 1074* [ImagingSelection](imagingselection.html): Identifiers for the imaging selection 1075* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID 1076* [Immunization](immunization.html): Business identifier 1077* [ImmunizationEvaluation](immunizationevaluation.html): ID of the evaluation 1078* [ImmunizationRecommendation](immunizationrecommendation.html): Business identifier 1079* [Invoice](invoice.html): Business Identifier for item 1080* [List](list.html): Business identifier 1081* [MeasureReport](measurereport.html): External identifier of the measure report to be returned 1082* [Medication](medication.html): Returns medications with this external identifier 1083* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier 1084* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier 1085* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier 1086* [MedicationStatement](medicationstatement.html): Return statements with this external identifier 1087* [MolecularSequence](molecularsequence.html): The unique identity for a particular sequence 1088* [NutritionIntake](nutritionintake.html): Return statements with this external identifier 1089* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier 1090* [Observation](observation.html): The unique id for a particular observation 1091* [Person](person.html): A person Identifier 1092* [Procedure](procedure.html): A unique identifier for a procedure 1093* [QuestionnaireResponse](questionnaireresponse.html): The unique identifier for the questionnaire response 1094* [RelatedPerson](relatedperson.html): An Identifier of the RelatedPerson 1095* [RequestOrchestration](requestorchestration.html): External identifiers for the request orchestration 1096* [ResearchSubject](researchsubject.html): Business Identifier for research subject in a study 1097* [RiskAssessment](riskassessment.html): Unique identifier for the assessment 1098* [ServiceRequest](servicerequest.html): Identifiers assigned to this order 1099* [Specimen](specimen.html): The unique identifier associated with the specimen 1100* [SupplyDelivery](supplydelivery.html): External identifier 1101* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest 1102* [Task](task.html): Search for a task instance by its business identifier 1103* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier 1104</b><br> 1105 * Type: <b>token</b><br> 1106 * 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> 1107 * </p> 1108 */ 1109 @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" ) 1110 public static final String SP_IDENTIFIER = "identifier"; 1111 /** 1112 * <b>Fluent Client</b> search parameter constant for <b>identifier</b> 1113 * <p> 1114 * Description: <b>Multiple Resources: 1115 1116* [Account](account.html): Account number 1117* [AdverseEvent](adverseevent.html): Business identifier for the event 1118* [AllergyIntolerance](allergyintolerance.html): External ids for this item 1119* [Appointment](appointment.html): An Identifier of the Appointment 1120* [AppointmentResponse](appointmentresponse.html): An Identifier in this appointment response 1121* [Basic](basic.html): Business identifier 1122* [BodyStructure](bodystructure.html): Bodystructure identifier 1123* [CarePlan](careplan.html): External Ids for this plan 1124* [CareTeam](careteam.html): External Ids for this team 1125* [ChargeItem](chargeitem.html): Business Identifier for item 1126* [Claim](claim.html): The primary identifier of the financial resource 1127* [ClaimResponse](claimresponse.html): The identity of the ClaimResponse 1128* [ClinicalImpression](clinicalimpression.html): Business identifier 1129* [Communication](communication.html): Unique identifier 1130* [CommunicationRequest](communicationrequest.html): Unique identifier 1131* [Composition](composition.html): Version-independent identifier for the Composition 1132* [Condition](condition.html): A unique identifier of the condition record 1133* [Consent](consent.html): Identifier for this record (external references) 1134* [Contract](contract.html): The identity of the contract 1135* [Coverage](coverage.html): The primary identifier of the insured and the coverage 1136* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The business identifier of the Eligibility 1137* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The business identifier 1138* [DetectedIssue](detectedissue.html): Unique id for the detected issue 1139* [DeviceRequest](devicerequest.html): Business identifier for request/order 1140* [DeviceUsage](deviceusage.html): Search by identifier 1141* [DiagnosticReport](diagnosticreport.html): An identifier for the report 1142* [DocumentReference](documentreference.html): Identifier of the attachment binary 1143* [Encounter](encounter.html): Identifier(s) by which this encounter is known 1144* [EnrollmentRequest](enrollmentrequest.html): The business identifier of the Enrollment 1145* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare 1146* [ExplanationOfBenefit](explanationofbenefit.html): The business identifier of the Explanation of Benefit 1147* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier 1148* [Flag](flag.html): Business identifier 1149* [Goal](goal.html): External Ids for this goal 1150* [GuidanceResponse](guidanceresponse.html): The identifier of the guidance response 1151* [ImagingSelection](imagingselection.html): Identifiers for the imaging selection 1152* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID 1153* [Immunization](immunization.html): Business identifier 1154* [ImmunizationEvaluation](immunizationevaluation.html): ID of the evaluation 1155* [ImmunizationRecommendation](immunizationrecommendation.html): Business identifier 1156* [Invoice](invoice.html): Business Identifier for item 1157* [List](list.html): Business identifier 1158* [MeasureReport](measurereport.html): External identifier of the measure report to be returned 1159* [Medication](medication.html): Returns medications with this external identifier 1160* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier 1161* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier 1162* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier 1163* [MedicationStatement](medicationstatement.html): Return statements with this external identifier 1164* [MolecularSequence](molecularsequence.html): The unique identity for a particular sequence 1165* [NutritionIntake](nutritionintake.html): Return statements with this external identifier 1166* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier 1167* [Observation](observation.html): The unique id for a particular observation 1168* [Person](person.html): A person Identifier 1169* [Procedure](procedure.html): A unique identifier for a procedure 1170* [QuestionnaireResponse](questionnaireresponse.html): The unique identifier for the questionnaire response 1171* [RelatedPerson](relatedperson.html): An Identifier of the RelatedPerson 1172* [RequestOrchestration](requestorchestration.html): External identifiers for the request orchestration 1173* [ResearchSubject](researchsubject.html): Business Identifier for research subject in a study 1174* [RiskAssessment](riskassessment.html): Unique identifier for the assessment 1175* [ServiceRequest](servicerequest.html): Identifiers assigned to this order 1176* [Specimen](specimen.html): The unique identifier associated with the specimen 1177* [SupplyDelivery](supplydelivery.html): External identifier 1178* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest 1179* [Task](task.html): Search for a task instance by its business identifier 1180* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier 1181</b><br> 1182 * Type: <b>token</b><br> 1183 * 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> 1184 * </p> 1185 */ 1186 public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); 1187 1188 /** 1189 * Search parameter: <b>patient</b> 1190 * <p> 1191 * Description: <b>Multiple Resources: 1192 1193* [Account](account.html): The entity that caused the expenses 1194* [AdverseEvent](adverseevent.html): Subject impacted by event 1195* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for 1196* [Appointment](appointment.html): One of the individuals of the appointment is this patient 1197* [AppointmentResponse](appointmentresponse.html): This Response is for this Patient 1198* [AuditEvent](auditevent.html): Where the activity involved patient data 1199* [Basic](basic.html): Identifies the focus of this resource 1200* [BodyStructure](bodystructure.html): Who this is about 1201* [CarePlan](careplan.html): Who the care plan is for 1202* [CareTeam](careteam.html): Who care team is for 1203* [ChargeItem](chargeitem.html): Individual service was done for/to 1204* [Claim](claim.html): Patient receiving the products or services 1205* [ClaimResponse](claimresponse.html): The subject of care 1206* [ClinicalImpression](clinicalimpression.html): Patient assessed 1207* [Communication](communication.html): Focus of message 1208* [CommunicationRequest](communicationrequest.html): Focus of message 1209* [Composition](composition.html): Who and/or what the composition is about 1210* [Condition](condition.html): Who has the condition? 1211* [Consent](consent.html): Who the consent applies to 1212* [Contract](contract.html): The identity of the subject of the contract (if a patient) 1213* [Coverage](coverage.html): Retrieve coverages for a patient 1214* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The reference to the patient 1215* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The reference to the patient 1216* [DetectedIssue](detectedissue.html): Associated patient 1217* [DeviceRequest](devicerequest.html): Individual the service is ordered for 1218* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device 1219* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient 1220* [DocumentReference](documentreference.html): Who/what is the subject of the document 1221* [Encounter](encounter.html): The patient present at the encounter 1222* [EnrollmentRequest](enrollmentrequest.html): The party to be enrolled 1223* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care 1224* [ExplanationOfBenefit](explanationofbenefit.html): The reference to the patient 1225* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for 1226* [Flag](flag.html): The identity of a subject to list flags for 1227* [Goal](goal.html): Who this goal is intended for 1228* [GuidanceResponse](guidanceresponse.html): The identity of a patient to search for guidance response results 1229* [ImagingSelection](imagingselection.html): Who the study is about 1230* [ImagingStudy](imagingstudy.html): Who the study is about 1231* [Immunization](immunization.html): The patient for the vaccination record 1232* [ImmunizationEvaluation](immunizationevaluation.html): The patient being evaluated 1233* [ImmunizationRecommendation](immunizationrecommendation.html): Who this profile is for 1234* [Invoice](invoice.html): Recipient(s) of goods and services 1235* [List](list.html): If all resources have the same subject 1236* [MeasureReport](measurereport.html): The identity of a patient to search for individual measure report results for 1237* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for 1238* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for 1239* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient 1240* [MedicationStatement](medicationstatement.html): Returns statements for a specific patient. 1241* [MolecularSequence](molecularsequence.html): The subject that the sequence is about 1242* [NutritionIntake](nutritionintake.html): Returns statements for a specific patient. 1243* [NutritionOrder](nutritionorder.html): The identity of the individual or set of individuals who requires the diet, formula or nutritional supplement 1244* [Observation](observation.html): The subject that the observation is about (if patient) 1245* [Person](person.html): The Person links to this Patient 1246* [Procedure](procedure.html): Search by subject - a patient 1247* [Provenance](provenance.html): Where the activity involved patient data 1248* [QuestionnaireResponse](questionnaireresponse.html): The patient that is the subject of the questionnaire response 1249* [RelatedPerson](relatedperson.html): The patient this related person is related to 1250* [RequestOrchestration](requestorchestration.html): The identity of a patient to search for request orchestrations 1251* [ResearchSubject](researchsubject.html): Who or what is part of study 1252* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? 1253* [ServiceRequest](servicerequest.html): Search by subject - a patient 1254* [Specimen](specimen.html): The patient the specimen comes from 1255* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied 1256* [SupplyRequest](supplyrequest.html): The patient or subject for whom the supply is destined 1257* [Task](task.html): Search by patient 1258* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for 1259</b><br> 1260 * Type: <b>reference</b><br> 1261 * 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> 1262 * </p> 1263 */ 1264 @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", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) 1265 public static final String SP_PATIENT = "patient"; 1266 /** 1267 * <b>Fluent Client</b> search parameter constant for <b>patient</b> 1268 * <p> 1269 * Description: <b>Multiple Resources: 1270 1271* [Account](account.html): The entity that caused the expenses 1272* [AdverseEvent](adverseevent.html): Subject impacted by event 1273* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for 1274* [Appointment](appointment.html): One of the individuals of the appointment is this patient 1275* [AppointmentResponse](appointmentresponse.html): This Response is for this Patient 1276* [AuditEvent](auditevent.html): Where the activity involved patient data 1277* [Basic](basic.html): Identifies the focus of this resource 1278* [BodyStructure](bodystructure.html): Who this is about 1279* [CarePlan](careplan.html): Who the care plan is for 1280* [CareTeam](careteam.html): Who care team is for 1281* [ChargeItem](chargeitem.html): Individual service was done for/to 1282* [Claim](claim.html): Patient receiving the products or services 1283* [ClaimResponse](claimresponse.html): The subject of care 1284* [ClinicalImpression](clinicalimpression.html): Patient assessed 1285* [Communication](communication.html): Focus of message 1286* [CommunicationRequest](communicationrequest.html): Focus of message 1287* [Composition](composition.html): Who and/or what the composition is about 1288* [Condition](condition.html): Who has the condition? 1289* [Consent](consent.html): Who the consent applies to 1290* [Contract](contract.html): The identity of the subject of the contract (if a patient) 1291* [Coverage](coverage.html): Retrieve coverages for a patient 1292* [CoverageEligibilityRequest](coverageeligibilityrequest.html): The reference to the patient 1293* [CoverageEligibilityResponse](coverageeligibilityresponse.html): The reference to the patient 1294* [DetectedIssue](detectedissue.html): Associated patient 1295* [DeviceRequest](devicerequest.html): Individual the service is ordered for 1296* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device 1297* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient 1298* [DocumentReference](documentreference.html): Who/what is the subject of the document 1299* [Encounter](encounter.html): The patient present at the encounter 1300* [EnrollmentRequest](enrollmentrequest.html): The party to be enrolled 1301* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care 1302* [ExplanationOfBenefit](explanationofbenefit.html): The reference to the patient 1303* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for 1304* [Flag](flag.html): The identity of a subject to list flags for 1305* [Goal](goal.html): Who this goal is intended for 1306* [GuidanceResponse](guidanceresponse.html): The identity of a patient to search for guidance response results 1307* [ImagingSelection](imagingselection.html): Who the study is about 1308* [ImagingStudy](imagingstudy.html): Who the study is about 1309* [Immunization](immunization.html): The patient for the vaccination record 1310* [ImmunizationEvaluation](immunizationevaluation.html): The patient being evaluated 1311* [ImmunizationRecommendation](immunizationrecommendation.html): Who this profile is for 1312* [Invoice](invoice.html): Recipient(s) of goods and services 1313* [List](list.html): If all resources have the same subject 1314* [MeasureReport](measurereport.html): The identity of a patient to search for individual measure report results for 1315* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for 1316* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for 1317* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient 1318* [MedicationStatement](medicationstatement.html): Returns statements for a specific patient. 1319* [MolecularSequence](molecularsequence.html): The subject that the sequence is about 1320* [NutritionIntake](nutritionintake.html): Returns statements for a specific patient. 1321* [NutritionOrder](nutritionorder.html): The identity of the individual or set of individuals who requires the diet, formula or nutritional supplement 1322* [Observation](observation.html): The subject that the observation is about (if patient) 1323* [Person](person.html): The Person links to this Patient 1324* [Procedure](procedure.html): Search by subject - a patient 1325* [Provenance](provenance.html): Where the activity involved patient data 1326* [QuestionnaireResponse](questionnaireresponse.html): The patient that is the subject of the questionnaire response 1327* [RelatedPerson](relatedperson.html): The patient this related person is related to 1328* [RequestOrchestration](requestorchestration.html): The identity of a patient to search for request orchestrations 1329* [ResearchSubject](researchsubject.html): Who or what is part of study 1330* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? 1331* [ServiceRequest](servicerequest.html): Search by subject - a patient 1332* [Specimen](specimen.html): The patient the specimen comes from 1333* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied 1334* [SupplyRequest](supplyrequest.html): The patient or subject for whom the supply is destined 1335* [Task](task.html): Search by patient 1336* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for 1337</b><br> 1338 * Type: <b>reference</b><br> 1339 * 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> 1340 * </p> 1341 */ 1342 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); 1343 1344/** 1345 * Constant for fluent queries to be used to add include statements. Specifies 1346 * the path value of "<b>Flag:patient</b>". 1347 */ 1348 public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Flag:patient").toLocked(); 1349 1350 1351} 1352