001package org.hl7.fhir.r5.model; 002 003 004/* 005 * #%L 006 * org.hl7.fhir.r5 007 * %% 008 * Copyright (C) 2014 - 2019 Health Level 7 009 * %% 010 * Licensed under the Apache License, Version 2.0 (the \"License\"); 011 * you may not use this file except in compliance with the License. 012 * You may obtain a copy of the License at 013 * 014 * http://www.apache.org/licenses/LICENSE-2.0 015 * 016 * Unless required by applicable law or agreed to in writing, software 017 * distributed under the License is distributed on an \"AS IS\" BASIS, 018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 019 * See the License for the specific language governing permissions and 020 * limitations under the License. 021 * #L% 022 */ 023 024/* 025 Copyright (c) 2011+, HL7, Inc. 026 All rights reserved. 027 028 Redistribution and use in source and binary forms, with or without modification, \ 029 are permitted provided that the following conditions are met: 030 031 * Redistributions of source code must retain the above copyright notice, this \ 032 list of conditions and the following disclaimer. 033 * Redistributions in binary form must reproduce the above copyright notice, \ 034 this list of conditions and the following disclaimer in the documentation \ 035 and/or other materials provided with the distribution. 036 * Neither the name of HL7 nor the names of its contributors may be used to 037 endorse or promote products derived from this software without specific 038 prior written permission. 039 040 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND \ 041 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \ 042 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. \ 043 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, \ 044 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT \ 045 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR \ 046 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \ 047 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \ 048 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \ 049 POSSIBILITY OF SUCH DAMAGE. 050 */ 051 052// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent 053 054import java.util.ArrayList; 055import java.util.Date; 056import java.util.List; 057import org.hl7.fhir.utilities.Utilities; 058import org.hl7.fhir.r5.model.Enumerations.*; 059import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 060import org.hl7.fhir.exceptions.FHIRException; 061import org.hl7.fhir.instance.model.api.ICompositeType; 062import ca.uhn.fhir.model.api.annotation.ResourceDef; 063import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; 064import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 065import ca.uhn.fhir.model.api.annotation.Child; 066import ca.uhn.fhir.model.api.annotation.ChildOrder; 067import ca.uhn.fhir.model.api.annotation.Description; 068import ca.uhn.fhir.model.api.annotation.Block; 069 070/** 071 * The EvidenceVariable resource describes a "PICO" element that knowledge (evidence, assertion, recommendation) is about. 072 */ 073@ResourceDef(name="EvidenceVariable", profile="http://hl7.org/fhir/StructureDefinition/EvidenceVariable") 074public class EvidenceVariable extends MetadataResource { 075 076 public enum EvidenceVariableType { 077 /** 078 * The variable is dichotomous, such as present or absent. 079 */ 080 DICHOTOMOUS, 081 /** 082 * The variable is a continuous result such as a quantity. 083 */ 084 CONTINUOUS, 085 /** 086 * The variable is described narratively rather than quantitatively. 087 */ 088 DESCRIPTIVE, 089 /** 090 * added to help the parsers with the generic types 091 */ 092 NULL; 093 public static EvidenceVariableType fromCode(String codeString) throws FHIRException { 094 if (codeString == null || "".equals(codeString)) 095 return null; 096 if ("dichotomous".equals(codeString)) 097 return DICHOTOMOUS; 098 if ("continuous".equals(codeString)) 099 return CONTINUOUS; 100 if ("descriptive".equals(codeString)) 101 return DESCRIPTIVE; 102 if (Configuration.isAcceptInvalidEnums()) 103 return null; 104 else 105 throw new FHIRException("Unknown EvidenceVariableType code '"+codeString+"'"); 106 } 107 public String toCode() { 108 switch (this) { 109 case DICHOTOMOUS: return "dichotomous"; 110 case CONTINUOUS: return "continuous"; 111 case DESCRIPTIVE: return "descriptive"; 112 default: return "?"; 113 } 114 } 115 public String getSystem() { 116 switch (this) { 117 case DICHOTOMOUS: return "http://hl7.org/fhir/variable-type"; 118 case CONTINUOUS: return "http://hl7.org/fhir/variable-type"; 119 case DESCRIPTIVE: return "http://hl7.org/fhir/variable-type"; 120 default: return "?"; 121 } 122 } 123 public String getDefinition() { 124 switch (this) { 125 case DICHOTOMOUS: return "The variable is dichotomous, such as present or absent."; 126 case CONTINUOUS: return "The variable is a continuous result such as a quantity."; 127 case DESCRIPTIVE: return "The variable is described narratively rather than quantitatively."; 128 default: return "?"; 129 } 130 } 131 public String getDisplay() { 132 switch (this) { 133 case DICHOTOMOUS: return "Dichotomous"; 134 case CONTINUOUS: return "Continuous"; 135 case DESCRIPTIVE: return "Descriptive"; 136 default: return "?"; 137 } 138 } 139 } 140 141 public static class EvidenceVariableTypeEnumFactory implements EnumFactory<EvidenceVariableType> { 142 public EvidenceVariableType fromCode(String codeString) throws IllegalArgumentException { 143 if (codeString == null || "".equals(codeString)) 144 if (codeString == null || "".equals(codeString)) 145 return null; 146 if ("dichotomous".equals(codeString)) 147 return EvidenceVariableType.DICHOTOMOUS; 148 if ("continuous".equals(codeString)) 149 return EvidenceVariableType.CONTINUOUS; 150 if ("descriptive".equals(codeString)) 151 return EvidenceVariableType.DESCRIPTIVE; 152 throw new IllegalArgumentException("Unknown EvidenceVariableType code '"+codeString+"'"); 153 } 154 public Enumeration<EvidenceVariableType> fromType(Base code) throws FHIRException { 155 if (code == null) 156 return null; 157 if (code.isEmpty()) 158 return new Enumeration<EvidenceVariableType>(this); 159 String codeString = ((PrimitiveType) code).asStringValue(); 160 if (codeString == null || "".equals(codeString)) 161 return null; 162 if ("dichotomous".equals(codeString)) 163 return new Enumeration<EvidenceVariableType>(this, EvidenceVariableType.DICHOTOMOUS); 164 if ("continuous".equals(codeString)) 165 return new Enumeration<EvidenceVariableType>(this, EvidenceVariableType.CONTINUOUS); 166 if ("descriptive".equals(codeString)) 167 return new Enumeration<EvidenceVariableType>(this, EvidenceVariableType.DESCRIPTIVE); 168 throw new FHIRException("Unknown EvidenceVariableType code '"+codeString+"'"); 169 } 170 public String toCode(EvidenceVariableType code) { 171 if (code == EvidenceVariableType.DICHOTOMOUS) 172 return "dichotomous"; 173 if (code == EvidenceVariableType.CONTINUOUS) 174 return "continuous"; 175 if (code == EvidenceVariableType.DESCRIPTIVE) 176 return "descriptive"; 177 return "?"; 178 } 179 public String toSystem(EvidenceVariableType code) { 180 return code.getSystem(); 181 } 182 } 183 184 public enum GroupMeasure { 185 /** 186 * Aggregated using Mean of participant values. 187 */ 188 MEAN, 189 /** 190 * Aggregated using Median of participant values. 191 */ 192 MEDIAN, 193 /** 194 * Aggregated using Mean of study mean values. 195 */ 196 MEANOFMEAN, 197 /** 198 * Aggregated using Mean of study median values. 199 */ 200 MEANOFMEDIAN, 201 /** 202 * Aggregated using Median of study mean values. 203 */ 204 MEDIANOFMEAN, 205 /** 206 * Aggregated using Median of study median values. 207 */ 208 MEDIANOFMEDIAN, 209 /** 210 * added to help the parsers with the generic types 211 */ 212 NULL; 213 public static GroupMeasure fromCode(String codeString) throws FHIRException { 214 if (codeString == null || "".equals(codeString)) 215 return null; 216 if ("mean".equals(codeString)) 217 return MEAN; 218 if ("median".equals(codeString)) 219 return MEDIAN; 220 if ("mean-of-mean".equals(codeString)) 221 return MEANOFMEAN; 222 if ("mean-of-median".equals(codeString)) 223 return MEANOFMEDIAN; 224 if ("median-of-mean".equals(codeString)) 225 return MEDIANOFMEAN; 226 if ("median-of-median".equals(codeString)) 227 return MEDIANOFMEDIAN; 228 if (Configuration.isAcceptInvalidEnums()) 229 return null; 230 else 231 throw new FHIRException("Unknown GroupMeasure code '"+codeString+"'"); 232 } 233 public String toCode() { 234 switch (this) { 235 case MEAN: return "mean"; 236 case MEDIAN: return "median"; 237 case MEANOFMEAN: return "mean-of-mean"; 238 case MEANOFMEDIAN: return "mean-of-median"; 239 case MEDIANOFMEAN: return "median-of-mean"; 240 case MEDIANOFMEDIAN: return "median-of-median"; 241 default: return "?"; 242 } 243 } 244 public String getSystem() { 245 switch (this) { 246 case MEAN: return "http://hl7.org/fhir/group-measure"; 247 case MEDIAN: return "http://hl7.org/fhir/group-measure"; 248 case MEANOFMEAN: return "http://hl7.org/fhir/group-measure"; 249 case MEANOFMEDIAN: return "http://hl7.org/fhir/group-measure"; 250 case MEDIANOFMEAN: return "http://hl7.org/fhir/group-measure"; 251 case MEDIANOFMEDIAN: return "http://hl7.org/fhir/group-measure"; 252 default: return "?"; 253 } 254 } 255 public String getDefinition() { 256 switch (this) { 257 case MEAN: return "Aggregated using Mean of participant values."; 258 case MEDIAN: return "Aggregated using Median of participant values."; 259 case MEANOFMEAN: return "Aggregated using Mean of study mean values."; 260 case MEANOFMEDIAN: return "Aggregated using Mean of study median values."; 261 case MEDIANOFMEAN: return "Aggregated using Median of study mean values."; 262 case MEDIANOFMEDIAN: return "Aggregated using Median of study median values."; 263 default: return "?"; 264 } 265 } 266 public String getDisplay() { 267 switch (this) { 268 case MEAN: return "Mean"; 269 case MEDIAN: return "Median"; 270 case MEANOFMEAN: return "Mean of Study Means"; 271 case MEANOFMEDIAN: return "Mean of Study Medins"; 272 case MEDIANOFMEAN: return "Median of Study Means"; 273 case MEDIANOFMEDIAN: return "Median of Study Medians"; 274 default: return "?"; 275 } 276 } 277 } 278 279 public static class GroupMeasureEnumFactory implements EnumFactory<GroupMeasure> { 280 public GroupMeasure fromCode(String codeString) throws IllegalArgumentException { 281 if (codeString == null || "".equals(codeString)) 282 if (codeString == null || "".equals(codeString)) 283 return null; 284 if ("mean".equals(codeString)) 285 return GroupMeasure.MEAN; 286 if ("median".equals(codeString)) 287 return GroupMeasure.MEDIAN; 288 if ("mean-of-mean".equals(codeString)) 289 return GroupMeasure.MEANOFMEAN; 290 if ("mean-of-median".equals(codeString)) 291 return GroupMeasure.MEANOFMEDIAN; 292 if ("median-of-mean".equals(codeString)) 293 return GroupMeasure.MEDIANOFMEAN; 294 if ("median-of-median".equals(codeString)) 295 return GroupMeasure.MEDIANOFMEDIAN; 296 throw new IllegalArgumentException("Unknown GroupMeasure code '"+codeString+"'"); 297 } 298 public Enumeration<GroupMeasure> fromType(Base code) throws FHIRException { 299 if (code == null) 300 return null; 301 if (code.isEmpty()) 302 return new Enumeration<GroupMeasure>(this); 303 String codeString = ((PrimitiveType) code).asStringValue(); 304 if (codeString == null || "".equals(codeString)) 305 return null; 306 if ("mean".equals(codeString)) 307 return new Enumeration<GroupMeasure>(this, GroupMeasure.MEAN); 308 if ("median".equals(codeString)) 309 return new Enumeration<GroupMeasure>(this, GroupMeasure.MEDIAN); 310 if ("mean-of-mean".equals(codeString)) 311 return new Enumeration<GroupMeasure>(this, GroupMeasure.MEANOFMEAN); 312 if ("mean-of-median".equals(codeString)) 313 return new Enumeration<GroupMeasure>(this, GroupMeasure.MEANOFMEDIAN); 314 if ("median-of-mean".equals(codeString)) 315 return new Enumeration<GroupMeasure>(this, GroupMeasure.MEDIANOFMEAN); 316 if ("median-of-median".equals(codeString)) 317 return new Enumeration<GroupMeasure>(this, GroupMeasure.MEDIANOFMEDIAN); 318 throw new FHIRException("Unknown GroupMeasure code '"+codeString+"'"); 319 } 320 public String toCode(GroupMeasure code) { 321 if (code == GroupMeasure.MEAN) 322 return "mean"; 323 if (code == GroupMeasure.MEDIAN) 324 return "median"; 325 if (code == GroupMeasure.MEANOFMEAN) 326 return "mean-of-mean"; 327 if (code == GroupMeasure.MEANOFMEDIAN) 328 return "mean-of-median"; 329 if (code == GroupMeasure.MEDIANOFMEAN) 330 return "median-of-mean"; 331 if (code == GroupMeasure.MEDIANOFMEDIAN) 332 return "median-of-median"; 333 return "?"; 334 } 335 public String toSystem(GroupMeasure code) { 336 return code.getSystem(); 337 } 338 } 339 340 @Block() 341 public static class EvidenceVariableCharacteristicComponent extends BackboneElement implements IBaseBackboneElement { 342 /** 343 * A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user. 344 */ 345 @Child(name = "description", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=false) 346 @Description(shortDefinition="Natural language description of the characteristic", formalDefinition="A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user." ) 347 protected StringType description; 348 349 /** 350 * Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year). 351 */ 352 @Child(name = "definition", type = {Group.class, CanonicalType.class, CodeableConcept.class, Expression.class, DataRequirement.class, TriggerDefinition.class}, order=2, min=1, max=1, modifier=false, summary=true) 353 @Description(shortDefinition="What code or expression defines members?", formalDefinition="Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year)." ) 354 protected DataType definition; 355 356 /** 357 * Method used for describing characteristic. 358 */ 359 @Child(name = "method", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=false) 360 @Description(shortDefinition="Method used for describing characteristic", formalDefinition="Method used for describing characteristic." ) 361 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/characteristic-method") 362 protected CodeableConcept method; 363 364 /** 365 * Device used for determining characteristic. 366 */ 367 @Child(name = "device", type = {Device.class, DeviceMetric.class}, order=4, min=0, max=1, modifier=false, summary=false) 368 @Description(shortDefinition="Device used for determining characteristic", formalDefinition="Device used for determining characteristic." ) 369 protected Reference device; 370 371 /** 372 * Use booleanSet to define the members of the population, such as Age Ranges, Genders, Settings. 373 */ 374 @Child(name = "booleanSet", type = {StringType.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 375 @Description(shortDefinition="What code/value pairs define members?", formalDefinition="Use booleanSet to define the members of the population, such as Age Ranges, Genders, Settings." ) 376 protected List<StringType> booleanSet; 377 378 /** 379 * When true, members with this characteristic are excluded from the element. 380 */ 381 @Child(name = "exclude", type = {BooleanType.class}, order=6, min=0, max=1, modifier=false, summary=false) 382 @Description(shortDefinition="Whether the characteristic includes or excludes members", formalDefinition="When true, members with this characteristic are excluded from the element." ) 383 protected BooleanType exclude; 384 385 /** 386 * Indicates what effective period the study covers. 387 */ 388 @Child(name = "participantEffective", type = {DateTimeType.class, Period.class, Duration.class, Timing.class}, order=7, min=0, max=1, modifier=false, summary=false) 389 @Description(shortDefinition="What time period do participants cover", formalDefinition="Indicates what effective period the study covers." ) 390 protected DataType participantEffective; 391 392 /** 393 * Indicates duration from the participant's study entry. 394 */ 395 @Child(name = "timeFromStart", type = {Duration.class}, order=8, min=0, max=1, modifier=false, summary=false) 396 @Description(shortDefinition="Observation time from study start", formalDefinition="Indicates duration from the participant's study entry." ) 397 protected Duration timeFromStart; 398 399 /** 400 * Indicates how elements are aggregated within the study effective period. 401 */ 402 @Child(name = "groupMeasure", type = {CodeType.class}, order=9, min=0, max=1, modifier=false, summary=false) 403 @Description(shortDefinition="mean | median | mean-of-mean | mean-of-median | median-of-mean | median-of-median", formalDefinition="Indicates how elements are aggregated within the study effective period." ) 404 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/group-measure") 405 protected Enumeration<GroupMeasure> groupMeasure; 406 407 private static final long serialVersionUID = -1566117434L; 408 409 /** 410 * Constructor 411 */ 412 public EvidenceVariableCharacteristicComponent() { 413 super(); 414 } 415 416 /** 417 * Constructor 418 */ 419 public EvidenceVariableCharacteristicComponent(DataType definition) { 420 super(); 421 this.setDefinition(definition); 422 } 423 424 /** 425 * @return {@link #description} (A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 426 */ 427 public StringType getDescriptionElement() { 428 if (this.description == null) 429 if (Configuration.errorOnAutoCreate()) 430 throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.description"); 431 else if (Configuration.doAutoCreate()) 432 this.description = new StringType(); // bb 433 return this.description; 434 } 435 436 public boolean hasDescriptionElement() { 437 return this.description != null && !this.description.isEmpty(); 438 } 439 440 public boolean hasDescription() { 441 return this.description != null && !this.description.isEmpty(); 442 } 443 444 /** 445 * @param value {@link #description} (A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 446 */ 447 public EvidenceVariableCharacteristicComponent setDescriptionElement(StringType value) { 448 this.description = value; 449 return this; 450 } 451 452 /** 453 * @return A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user. 454 */ 455 public String getDescription() { 456 return this.description == null ? null : this.description.getValue(); 457 } 458 459 /** 460 * @param value A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user. 461 */ 462 public EvidenceVariableCharacteristicComponent setDescription(String value) { 463 if (Utilities.noString(value)) 464 this.description = null; 465 else { 466 if (this.description == null) 467 this.description = new StringType(); 468 this.description.setValue(value); 469 } 470 return this; 471 } 472 473 /** 474 * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) 475 */ 476 public DataType getDefinition() { 477 return this.definition; 478 } 479 480 /** 481 * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) 482 */ 483 public Reference getDefinitionReference() throws FHIRException { 484 if (this.definition == null) 485 this.definition = new Reference(); 486 if (!(this.definition instanceof Reference)) 487 throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.definition.getClass().getName()+" was encountered"); 488 return (Reference) this.definition; 489 } 490 491 public boolean hasDefinitionReference() { 492 return this != null && this.definition instanceof Reference; 493 } 494 495 /** 496 * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) 497 */ 498 public CanonicalType getDefinitionCanonicalType() throws FHIRException { 499 if (this.definition == null) 500 this.definition = new CanonicalType(); 501 if (!(this.definition instanceof CanonicalType)) 502 throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.definition.getClass().getName()+" was encountered"); 503 return (CanonicalType) this.definition; 504 } 505 506 public boolean hasDefinitionCanonicalType() { 507 return this != null && this.definition instanceof CanonicalType; 508 } 509 510 /** 511 * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) 512 */ 513 public CodeableConcept getDefinitionCodeableConcept() throws FHIRException { 514 if (this.definition == null) 515 this.definition = new CodeableConcept(); 516 if (!(this.definition instanceof CodeableConcept)) 517 throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.definition.getClass().getName()+" was encountered"); 518 return (CodeableConcept) this.definition; 519 } 520 521 public boolean hasDefinitionCodeableConcept() { 522 return this != null && this.definition instanceof CodeableConcept; 523 } 524 525 /** 526 * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) 527 */ 528 public Expression getDefinitionExpression() throws FHIRException { 529 if (this.definition == null) 530 this.definition = new Expression(); 531 if (!(this.definition instanceof Expression)) 532 throw new FHIRException("Type mismatch: the type Expression was expected, but "+this.definition.getClass().getName()+" was encountered"); 533 return (Expression) this.definition; 534 } 535 536 public boolean hasDefinitionExpression() { 537 return this != null && this.definition instanceof Expression; 538 } 539 540 /** 541 * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) 542 */ 543 public DataRequirement getDefinitionDataRequirement() throws FHIRException { 544 if (this.definition == null) 545 this.definition = new DataRequirement(); 546 if (!(this.definition instanceof DataRequirement)) 547 throw new FHIRException("Type mismatch: the type DataRequirement was expected, but "+this.definition.getClass().getName()+" was encountered"); 548 return (DataRequirement) this.definition; 549 } 550 551 public boolean hasDefinitionDataRequirement() { 552 return this != null && this.definition instanceof DataRequirement; 553 } 554 555 /** 556 * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) 557 */ 558 public TriggerDefinition getDefinitionTriggerDefinition() throws FHIRException { 559 if (this.definition == null) 560 this.definition = new TriggerDefinition(); 561 if (!(this.definition instanceof TriggerDefinition)) 562 throw new FHIRException("Type mismatch: the type TriggerDefinition was expected, but "+this.definition.getClass().getName()+" was encountered"); 563 return (TriggerDefinition) this.definition; 564 } 565 566 public boolean hasDefinitionTriggerDefinition() { 567 return this != null && this.definition instanceof TriggerDefinition; 568 } 569 570 public boolean hasDefinition() { 571 return this.definition != null && !this.definition.isEmpty(); 572 } 573 574 /** 575 * @param value {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) 576 */ 577 public EvidenceVariableCharacteristicComponent setDefinition(DataType value) { 578 if (value != null && !(value instanceof Reference || value instanceof CanonicalType || value instanceof CodeableConcept || value instanceof Expression || value instanceof DataRequirement || value instanceof TriggerDefinition)) 579 throw new Error("Not the right type for EvidenceVariable.characteristic.definition[x]: "+value.fhirType()); 580 this.definition = value; 581 return this; 582 } 583 584 /** 585 * @return {@link #method} (Method used for describing characteristic.) 586 */ 587 public CodeableConcept getMethod() { 588 if (this.method == null) 589 if (Configuration.errorOnAutoCreate()) 590 throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.method"); 591 else if (Configuration.doAutoCreate()) 592 this.method = new CodeableConcept(); // cc 593 return this.method; 594 } 595 596 public boolean hasMethod() { 597 return this.method != null && !this.method.isEmpty(); 598 } 599 600 /** 601 * @param value {@link #method} (Method used for describing characteristic.) 602 */ 603 public EvidenceVariableCharacteristicComponent setMethod(CodeableConcept value) { 604 this.method = value; 605 return this; 606 } 607 608 /** 609 * @return {@link #device} (Device used for determining characteristic.) 610 */ 611 public Reference getDevice() { 612 if (this.device == null) 613 if (Configuration.errorOnAutoCreate()) 614 throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.device"); 615 else if (Configuration.doAutoCreate()) 616 this.device = new Reference(); // cc 617 return this.device; 618 } 619 620 public boolean hasDevice() { 621 return this.device != null && !this.device.isEmpty(); 622 } 623 624 /** 625 * @param value {@link #device} (Device used for determining characteristic.) 626 */ 627 public EvidenceVariableCharacteristicComponent setDevice(Reference value) { 628 this.device = value; 629 return this; 630 } 631 632 /** 633 * @return {@link #booleanSet} (Use booleanSet to define the members of the population, such as Age Ranges, Genders, Settings.) 634 */ 635 public List<StringType> getBooleanSet() { 636 if (this.booleanSet == null) 637 this.booleanSet = new ArrayList<StringType>(); 638 return this.booleanSet; 639 } 640 641 /** 642 * @return Returns a reference to <code>this</code> for easy method chaining 643 */ 644 public EvidenceVariableCharacteristicComponent setBooleanSet(List<StringType> theBooleanSet) { 645 this.booleanSet = theBooleanSet; 646 return this; 647 } 648 649 public boolean hasBooleanSet() { 650 if (this.booleanSet == null) 651 return false; 652 for (StringType item : this.booleanSet) 653 if (!item.isEmpty()) 654 return true; 655 return false; 656 } 657 658 /** 659 * @return {@link #booleanSet} (Use booleanSet to define the members of the population, such as Age Ranges, Genders, Settings.) 660 */ 661 public StringType addBooleanSetElement() {//2 662 StringType t = new StringType(); 663 if (this.booleanSet == null) 664 this.booleanSet = new ArrayList<StringType>(); 665 this.booleanSet.add(t); 666 return t; 667 } 668 669 /** 670 * @param value {@link #booleanSet} (Use booleanSet to define the members of the population, such as Age Ranges, Genders, Settings.) 671 */ 672 public EvidenceVariableCharacteristicComponent addBooleanSet(String value) { //1 673 StringType t = new StringType(); 674 t.setValue(value); 675 if (this.booleanSet == null) 676 this.booleanSet = new ArrayList<StringType>(); 677 this.booleanSet.add(t); 678 return this; 679 } 680 681 /** 682 * @param value {@link #booleanSet} (Use booleanSet to define the members of the population, such as Age Ranges, Genders, Settings.) 683 */ 684 public boolean hasBooleanSet(String value) { 685 if (this.booleanSet == null) 686 return false; 687 for (StringType v : this.booleanSet) 688 if (v.getValue().equals(value)) // string 689 return true; 690 return false; 691 } 692 693 /** 694 * @return {@link #exclude} (When true, members with this characteristic are excluded from the element.). This is the underlying object with id, value and extensions. The accessor "getExclude" gives direct access to the value 695 */ 696 public BooleanType getExcludeElement() { 697 if (this.exclude == null) 698 if (Configuration.errorOnAutoCreate()) 699 throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.exclude"); 700 else if (Configuration.doAutoCreate()) 701 this.exclude = new BooleanType(); // bb 702 return this.exclude; 703 } 704 705 public boolean hasExcludeElement() { 706 return this.exclude != null && !this.exclude.isEmpty(); 707 } 708 709 public boolean hasExclude() { 710 return this.exclude != null && !this.exclude.isEmpty(); 711 } 712 713 /** 714 * @param value {@link #exclude} (When true, members with this characteristic are excluded from the element.). This is the underlying object with id, value and extensions. The accessor "getExclude" gives direct access to the value 715 */ 716 public EvidenceVariableCharacteristicComponent setExcludeElement(BooleanType value) { 717 this.exclude = value; 718 return this; 719 } 720 721 /** 722 * @return When true, members with this characteristic are excluded from the element. 723 */ 724 public boolean getExclude() { 725 return this.exclude == null || this.exclude.isEmpty() ? false : this.exclude.getValue(); 726 } 727 728 /** 729 * @param value When true, members with this characteristic are excluded from the element. 730 */ 731 public EvidenceVariableCharacteristicComponent setExclude(boolean value) { 732 if (this.exclude == null) 733 this.exclude = new BooleanType(); 734 this.exclude.setValue(value); 735 return this; 736 } 737 738 /** 739 * @return {@link #participantEffective} (Indicates what effective period the study covers.) 740 */ 741 public DataType getParticipantEffective() { 742 return this.participantEffective; 743 } 744 745 /** 746 * @return {@link #participantEffective} (Indicates what effective period the study covers.) 747 */ 748 public DateTimeType getParticipantEffectiveDateTimeType() throws FHIRException { 749 if (this.participantEffective == null) 750 this.participantEffective = new DateTimeType(); 751 if (!(this.participantEffective instanceof DateTimeType)) 752 throw new FHIRException("Type mismatch: the type DateTimeType was expected, but "+this.participantEffective.getClass().getName()+" was encountered"); 753 return (DateTimeType) this.participantEffective; 754 } 755 756 public boolean hasParticipantEffectiveDateTimeType() { 757 return this != null && this.participantEffective instanceof DateTimeType; 758 } 759 760 /** 761 * @return {@link #participantEffective} (Indicates what effective period the study covers.) 762 */ 763 public Period getParticipantEffectivePeriod() throws FHIRException { 764 if (this.participantEffective == null) 765 this.participantEffective = new Period(); 766 if (!(this.participantEffective instanceof Period)) 767 throw new FHIRException("Type mismatch: the type Period was expected, but "+this.participantEffective.getClass().getName()+" was encountered"); 768 return (Period) this.participantEffective; 769 } 770 771 public boolean hasParticipantEffectivePeriod() { 772 return this != null && this.participantEffective instanceof Period; 773 } 774 775 /** 776 * @return {@link #participantEffective} (Indicates what effective period the study covers.) 777 */ 778 public Duration getParticipantEffectiveDuration() throws FHIRException { 779 if (this.participantEffective == null) 780 this.participantEffective = new Duration(); 781 if (!(this.participantEffective instanceof Duration)) 782 throw new FHIRException("Type mismatch: the type Duration was expected, but "+this.participantEffective.getClass().getName()+" was encountered"); 783 return (Duration) this.participantEffective; 784 } 785 786 public boolean hasParticipantEffectiveDuration() { 787 return this != null && this.participantEffective instanceof Duration; 788 } 789 790 /** 791 * @return {@link #participantEffective} (Indicates what effective period the study covers.) 792 */ 793 public Timing getParticipantEffectiveTiming() throws FHIRException { 794 if (this.participantEffective == null) 795 this.participantEffective = new Timing(); 796 if (!(this.participantEffective instanceof Timing)) 797 throw new FHIRException("Type mismatch: the type Timing was expected, but "+this.participantEffective.getClass().getName()+" was encountered"); 798 return (Timing) this.participantEffective; 799 } 800 801 public boolean hasParticipantEffectiveTiming() { 802 return this != null && this.participantEffective instanceof Timing; 803 } 804 805 public boolean hasParticipantEffective() { 806 return this.participantEffective != null && !this.participantEffective.isEmpty(); 807 } 808 809 /** 810 * @param value {@link #participantEffective} (Indicates what effective period the study covers.) 811 */ 812 public EvidenceVariableCharacteristicComponent setParticipantEffective(DataType value) { 813 if (value != null && !(value instanceof DateTimeType || value instanceof Period || value instanceof Duration || value instanceof Timing)) 814 throw new Error("Not the right type for EvidenceVariable.characteristic.participantEffective[x]: "+value.fhirType()); 815 this.participantEffective = value; 816 return this; 817 } 818 819 /** 820 * @return {@link #timeFromStart} (Indicates duration from the participant's study entry.) 821 */ 822 public Duration getTimeFromStart() { 823 if (this.timeFromStart == null) 824 if (Configuration.errorOnAutoCreate()) 825 throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.timeFromStart"); 826 else if (Configuration.doAutoCreate()) 827 this.timeFromStart = new Duration(); // cc 828 return this.timeFromStart; 829 } 830 831 public boolean hasTimeFromStart() { 832 return this.timeFromStart != null && !this.timeFromStart.isEmpty(); 833 } 834 835 /** 836 * @param value {@link #timeFromStart} (Indicates duration from the participant's study entry.) 837 */ 838 public EvidenceVariableCharacteristicComponent setTimeFromStart(Duration value) { 839 this.timeFromStart = value; 840 return this; 841 } 842 843 /** 844 * @return {@link #groupMeasure} (Indicates how elements are aggregated within the study effective period.). This is the underlying object with id, value and extensions. The accessor "getGroupMeasure" gives direct access to the value 845 */ 846 public Enumeration<GroupMeasure> getGroupMeasureElement() { 847 if (this.groupMeasure == null) 848 if (Configuration.errorOnAutoCreate()) 849 throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.groupMeasure"); 850 else if (Configuration.doAutoCreate()) 851 this.groupMeasure = new Enumeration<GroupMeasure>(new GroupMeasureEnumFactory()); // bb 852 return this.groupMeasure; 853 } 854 855 public boolean hasGroupMeasureElement() { 856 return this.groupMeasure != null && !this.groupMeasure.isEmpty(); 857 } 858 859 public boolean hasGroupMeasure() { 860 return this.groupMeasure != null && !this.groupMeasure.isEmpty(); 861 } 862 863 /** 864 * @param value {@link #groupMeasure} (Indicates how elements are aggregated within the study effective period.). This is the underlying object with id, value and extensions. The accessor "getGroupMeasure" gives direct access to the value 865 */ 866 public EvidenceVariableCharacteristicComponent setGroupMeasureElement(Enumeration<GroupMeasure> value) { 867 this.groupMeasure = value; 868 return this; 869 } 870 871 /** 872 * @return Indicates how elements are aggregated within the study effective period. 873 */ 874 public GroupMeasure getGroupMeasure() { 875 return this.groupMeasure == null ? null : this.groupMeasure.getValue(); 876 } 877 878 /** 879 * @param value Indicates how elements are aggregated within the study effective period. 880 */ 881 public EvidenceVariableCharacteristicComponent setGroupMeasure(GroupMeasure value) { 882 if (value == null) 883 this.groupMeasure = null; 884 else { 885 if (this.groupMeasure == null) 886 this.groupMeasure = new Enumeration<GroupMeasure>(new GroupMeasureEnumFactory()); 887 this.groupMeasure.setValue(value); 888 } 889 return this; 890 } 891 892 protected void listChildren(List<Property> children) { 893 super.listChildren(children); 894 children.add(new Property("description", "string", "A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user.", 0, 1, description)); 895 children.add(new Property("definition[x]", "Reference(Group)|canonical(ActivityDefinition)|CodeableConcept|Expression|DataRequirement|TriggerDefinition", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition)); 896 children.add(new Property("method", "CodeableConcept", "Method used for describing characteristic.", 0, 1, method)); 897 children.add(new Property("device", "Reference(Device|DeviceMetric)", "Device used for determining characteristic.", 0, 1, device)); 898 children.add(new Property("booleanSet", "string", "Use booleanSet to define the members of the population, such as Age Ranges, Genders, Settings.", 0, java.lang.Integer.MAX_VALUE, booleanSet)); 899 children.add(new Property("exclude", "boolean", "When true, members with this characteristic are excluded from the element.", 0, 1, exclude)); 900 children.add(new Property("participantEffective[x]", "dateTime|Period|Duration|Timing", "Indicates what effective period the study covers.", 0, 1, participantEffective)); 901 children.add(new Property("timeFromStart", "Duration", "Indicates duration from the participant's study entry.", 0, 1, timeFromStart)); 902 children.add(new Property("groupMeasure", "code", "Indicates how elements are aggregated within the study effective period.", 0, 1, groupMeasure)); 903 } 904 905 @Override 906 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 907 switch (_hash) { 908 case -1724546052: /*description*/ return new Property("description", "string", "A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user.", 0, 1, description); 909 case -1139422643: /*definition[x]*/ return new Property("definition[x]", "Reference(Group)|canonical(ActivityDefinition)|CodeableConcept|Expression|DataRequirement|TriggerDefinition", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); 910 case -1014418093: /*definition*/ return new Property("definition[x]", "Reference(Group)|canonical(ActivityDefinition)|CodeableConcept|Expression|DataRequirement|TriggerDefinition", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); 911 case -820021448: /*definitionReference*/ return new Property("definition[x]", "Reference(Group)", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); 912 case 933485793: /*definitionCanonical*/ return new Property("definition[x]", "canonical(ActivityDefinition)", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); 913 case -1446002226: /*definitionCodeableConcept*/ return new Property("definition[x]", "CodeableConcept", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); 914 case 1463703627: /*definitionExpression*/ return new Property("definition[x]", "Expression", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); 915 case -660350874: /*definitionDataRequirement*/ return new Property("definition[x]", "DataRequirement", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); 916 case -1130324968: /*definitionTriggerDefinition*/ return new Property("definition[x]", "TriggerDefinition", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); 917 case -1077554975: /*method*/ return new Property("method", "CodeableConcept", "Method used for describing characteristic.", 0, 1, method); 918 case -1335157162: /*device*/ return new Property("device", "Reference(Device|DeviceMetric)", "Device used for determining characteristic.", 0, 1, device); 919 case -613382374: /*booleanSet*/ return new Property("booleanSet", "string", "Use booleanSet to define the members of the population, such as Age Ranges, Genders, Settings.", 0, java.lang.Integer.MAX_VALUE, booleanSet); 920 case -1321148966: /*exclude*/ return new Property("exclude", "boolean", "When true, members with this characteristic are excluded from the element.", 0, 1, exclude); 921 case 1777308748: /*participantEffective[x]*/ return new Property("participantEffective[x]", "dateTime|Period|Duration|Timing", "Indicates what effective period the study covers.", 0, 1, participantEffective); 922 case 1376306100: /*participantEffective*/ return new Property("participantEffective[x]", "dateTime|Period|Duration|Timing", "Indicates what effective period the study covers.", 0, 1, participantEffective); 923 case -1721146513: /*participantEffectiveDateTime*/ return new Property("participantEffective[x]", "dateTime", "Indicates what effective period the study covers.", 0, 1, participantEffective); 924 case -883650923: /*participantEffectivePeriod*/ return new Property("participantEffective[x]", "Period", "Indicates what effective period the study covers.", 0, 1, participantEffective); 925 case -1210941080: /*participantEffectiveDuration*/ return new Property("participantEffective[x]", "Duration", "Indicates what effective period the study covers.", 0, 1, participantEffective); 926 case -765589218: /*participantEffectiveTiming*/ return new Property("participantEffective[x]", "Timing", "Indicates what effective period the study covers.", 0, 1, participantEffective); 927 case 2100140683: /*timeFromStart*/ return new Property("timeFromStart", "Duration", "Indicates duration from the participant's study entry.", 0, 1, timeFromStart); 928 case 588892639: /*groupMeasure*/ return new Property("groupMeasure", "code", "Indicates how elements are aggregated within the study effective period.", 0, 1, groupMeasure); 929 default: return super.getNamedProperty(_hash, _name, _checkValid); 930 } 931 932 } 933 934 @Override 935 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 936 switch (hash) { 937 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType 938 case -1014418093: /*definition*/ return this.definition == null ? new Base[0] : new Base[] {this.definition}; // DataType 939 case -1077554975: /*method*/ return this.method == null ? new Base[0] : new Base[] {this.method}; // CodeableConcept 940 case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference 941 case -613382374: /*booleanSet*/ return this.booleanSet == null ? new Base[0] : this.booleanSet.toArray(new Base[this.booleanSet.size()]); // StringType 942 case -1321148966: /*exclude*/ return this.exclude == null ? new Base[0] : new Base[] {this.exclude}; // BooleanType 943 case 1376306100: /*participantEffective*/ return this.participantEffective == null ? new Base[0] : new Base[] {this.participantEffective}; // DataType 944 case 2100140683: /*timeFromStart*/ return this.timeFromStart == null ? new Base[0] : new Base[] {this.timeFromStart}; // Duration 945 case 588892639: /*groupMeasure*/ return this.groupMeasure == null ? new Base[0] : new Base[] {this.groupMeasure}; // Enumeration<GroupMeasure> 946 default: return super.getProperty(hash, name, checkValid); 947 } 948 949 } 950 951 @Override 952 public Base setProperty(int hash, String name, Base value) throws FHIRException { 953 switch (hash) { 954 case -1724546052: // description 955 this.description = TypeConvertor.castToString(value); // StringType 956 return value; 957 case -1014418093: // definition 958 this.definition = TypeConvertor.castToType(value); // DataType 959 return value; 960 case -1077554975: // method 961 this.method = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 962 return value; 963 case -1335157162: // device 964 this.device = TypeConvertor.castToReference(value); // Reference 965 return value; 966 case -613382374: // booleanSet 967 this.getBooleanSet().add(TypeConvertor.castToString(value)); // StringType 968 return value; 969 case -1321148966: // exclude 970 this.exclude = TypeConvertor.castToBoolean(value); // BooleanType 971 return value; 972 case 1376306100: // participantEffective 973 this.participantEffective = TypeConvertor.castToType(value); // DataType 974 return value; 975 case 2100140683: // timeFromStart 976 this.timeFromStart = TypeConvertor.castToDuration(value); // Duration 977 return value; 978 case 588892639: // groupMeasure 979 value = new GroupMeasureEnumFactory().fromType(TypeConvertor.castToCode(value)); 980 this.groupMeasure = (Enumeration) value; // Enumeration<GroupMeasure> 981 return value; 982 default: return super.setProperty(hash, name, value); 983 } 984 985 } 986 987 @Override 988 public Base setProperty(String name, Base value) throws FHIRException { 989 if (name.equals("description")) { 990 this.description = TypeConvertor.castToString(value); // StringType 991 } else if (name.equals("definition[x]")) { 992 this.definition = TypeConvertor.castToType(value); // DataType 993 } else if (name.equals("method")) { 994 this.method = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 995 } else if (name.equals("device")) { 996 this.device = TypeConvertor.castToReference(value); // Reference 997 } else if (name.equals("booleanSet")) { 998 this.getBooleanSet().add(TypeConvertor.castToString(value)); 999 } else if (name.equals("exclude")) { 1000 this.exclude = TypeConvertor.castToBoolean(value); // BooleanType 1001 } else if (name.equals("participantEffective[x]")) { 1002 this.participantEffective = TypeConvertor.castToType(value); // DataType 1003 } else if (name.equals("timeFromStart")) { 1004 this.timeFromStart = TypeConvertor.castToDuration(value); // Duration 1005 } else if (name.equals("groupMeasure")) { 1006 value = new GroupMeasureEnumFactory().fromType(TypeConvertor.castToCode(value)); 1007 this.groupMeasure = (Enumeration) value; // Enumeration<GroupMeasure> 1008 } else 1009 return super.setProperty(name, value); 1010 return value; 1011 } 1012 1013 @Override 1014 public Base makeProperty(int hash, String name) throws FHIRException { 1015 switch (hash) { 1016 case -1724546052: return getDescriptionElement(); 1017 case -1139422643: return getDefinition(); 1018 case -1014418093: return getDefinition(); 1019 case -1077554975: return getMethod(); 1020 case -1335157162: return getDevice(); 1021 case -613382374: return addBooleanSetElement(); 1022 case -1321148966: return getExcludeElement(); 1023 case 1777308748: return getParticipantEffective(); 1024 case 1376306100: return getParticipantEffective(); 1025 case 2100140683: return getTimeFromStart(); 1026 case 588892639: return getGroupMeasureElement(); 1027 default: return super.makeProperty(hash, name); 1028 } 1029 1030 } 1031 1032 @Override 1033 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 1034 switch (hash) { 1035 case -1724546052: /*description*/ return new String[] {"string"}; 1036 case -1014418093: /*definition*/ return new String[] {"Reference", "canonical", "CodeableConcept", "Expression", "DataRequirement", "TriggerDefinition"}; 1037 case -1077554975: /*method*/ return new String[] {"CodeableConcept"}; 1038 case -1335157162: /*device*/ return new String[] {"Reference"}; 1039 case -613382374: /*booleanSet*/ return new String[] {"string"}; 1040 case -1321148966: /*exclude*/ return new String[] {"boolean"}; 1041 case 1376306100: /*participantEffective*/ return new String[] {"dateTime", "Period", "Duration", "Timing"}; 1042 case 2100140683: /*timeFromStart*/ return new String[] {"Duration"}; 1043 case 588892639: /*groupMeasure*/ return new String[] {"code"}; 1044 default: return super.getTypesForProperty(hash, name); 1045 } 1046 1047 } 1048 1049 @Override 1050 public Base addChild(String name) throws FHIRException { 1051 if (name.equals("description")) { 1052 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.description"); 1053 } 1054 else if (name.equals("definitionReference")) { 1055 this.definition = new Reference(); 1056 return this.definition; 1057 } 1058 else if (name.equals("definitionCanonical")) { 1059 this.definition = new CanonicalType(); 1060 return this.definition; 1061 } 1062 else if (name.equals("definitionCodeableConcept")) { 1063 this.definition = new CodeableConcept(); 1064 return this.definition; 1065 } 1066 else if (name.equals("definitionExpression")) { 1067 this.definition = new Expression(); 1068 return this.definition; 1069 } 1070 else if (name.equals("definitionDataRequirement")) { 1071 this.definition = new DataRequirement(); 1072 return this.definition; 1073 } 1074 else if (name.equals("definitionTriggerDefinition")) { 1075 this.definition = new TriggerDefinition(); 1076 return this.definition; 1077 } 1078 else if (name.equals("method")) { 1079 this.method = new CodeableConcept(); 1080 return this.method; 1081 } 1082 else if (name.equals("device")) { 1083 this.device = new Reference(); 1084 return this.device; 1085 } 1086 else if (name.equals("booleanSet")) { 1087 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.booleanSet"); 1088 } 1089 else if (name.equals("exclude")) { 1090 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.exclude"); 1091 } 1092 else if (name.equals("participantEffectiveDateTime")) { 1093 this.participantEffective = new DateTimeType(); 1094 return this.participantEffective; 1095 } 1096 else if (name.equals("participantEffectivePeriod")) { 1097 this.participantEffective = new Period(); 1098 return this.participantEffective; 1099 } 1100 else if (name.equals("participantEffectiveDuration")) { 1101 this.participantEffective = new Duration(); 1102 return this.participantEffective; 1103 } 1104 else if (name.equals("participantEffectiveTiming")) { 1105 this.participantEffective = new Timing(); 1106 return this.participantEffective; 1107 } 1108 else if (name.equals("timeFromStart")) { 1109 this.timeFromStart = new Duration(); 1110 return this.timeFromStart; 1111 } 1112 else if (name.equals("groupMeasure")) { 1113 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.groupMeasure"); 1114 } 1115 else 1116 return super.addChild(name); 1117 } 1118 1119 public EvidenceVariableCharacteristicComponent copy() { 1120 EvidenceVariableCharacteristicComponent dst = new EvidenceVariableCharacteristicComponent(); 1121 copyValues(dst); 1122 return dst; 1123 } 1124 1125 public void copyValues(EvidenceVariableCharacteristicComponent dst) { 1126 super.copyValues(dst); 1127 dst.description = description == null ? null : description.copy(); 1128 dst.definition = definition == null ? null : definition.copy(); 1129 dst.method = method == null ? null : method.copy(); 1130 dst.device = device == null ? null : device.copy(); 1131 if (booleanSet != null) { 1132 dst.booleanSet = new ArrayList<StringType>(); 1133 for (StringType i : booleanSet) 1134 dst.booleanSet.add(i.copy()); 1135 }; 1136 dst.exclude = exclude == null ? null : exclude.copy(); 1137 dst.participantEffective = participantEffective == null ? null : participantEffective.copy(); 1138 dst.timeFromStart = timeFromStart == null ? null : timeFromStart.copy(); 1139 dst.groupMeasure = groupMeasure == null ? null : groupMeasure.copy(); 1140 } 1141 1142 @Override 1143 public boolean equalsDeep(Base other_) { 1144 if (!super.equalsDeep(other_)) 1145 return false; 1146 if (!(other_ instanceof EvidenceVariableCharacteristicComponent)) 1147 return false; 1148 EvidenceVariableCharacteristicComponent o = (EvidenceVariableCharacteristicComponent) other_; 1149 return compareDeep(description, o.description, true) && compareDeep(definition, o.definition, true) 1150 && compareDeep(method, o.method, true) && compareDeep(device, o.device, true) && compareDeep(booleanSet, o.booleanSet, true) 1151 && compareDeep(exclude, o.exclude, true) && compareDeep(participantEffective, o.participantEffective, true) 1152 && compareDeep(timeFromStart, o.timeFromStart, true) && compareDeep(groupMeasure, o.groupMeasure, true) 1153 ; 1154 } 1155 1156 @Override 1157 public boolean equalsShallow(Base other_) { 1158 if (!super.equalsShallow(other_)) 1159 return false; 1160 if (!(other_ instanceof EvidenceVariableCharacteristicComponent)) 1161 return false; 1162 EvidenceVariableCharacteristicComponent o = (EvidenceVariableCharacteristicComponent) other_; 1163 return compareValues(description, o.description, true) && compareValues(booleanSet, o.booleanSet, true) 1164 && compareValues(exclude, o.exclude, true) && compareValues(groupMeasure, o.groupMeasure, true); 1165 } 1166 1167 public boolean isEmpty() { 1168 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(description, definition, method 1169 , device, booleanSet, exclude, participantEffective, timeFromStart, groupMeasure 1170 ); 1171 } 1172 1173 public String fhirType() { 1174 return "EvidenceVariable.characteristic"; 1175 1176 } 1177 1178 } 1179 1180 /** 1181 * An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers. 1182 */ 1183 @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1, modifier=false, summary=true) 1184 @Description(shortDefinition="Canonical identifier for this evidence variable, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers." ) 1185 protected UriType url; 1186 1187 /** 1188 * A formal identifier that is used to identify this evidence variable when it is represented in other formats, or referenced in a specification, model, design or an instance. 1189 */ 1190 @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 1191 @Description(shortDefinition="Additional identifier for the evidence variable", formalDefinition="A formal identifier that is used to identify this evidence variable when it is represented in other formats, or referenced in a specification, model, design or an instance." ) 1192 protected List<Identifier> identifier; 1193 1194 /** 1195 * The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts. 1196 */ 1197 @Child(name = "version", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) 1198 @Description(shortDefinition="Business version of the evidence variable", formalDefinition="The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." ) 1199 protected StringType version; 1200 1201 /** 1202 * A natural language name identifying the evidence variable. This name should be usable as an identifier for the module by machine processing applications such as code generation. 1203 */ 1204 @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) 1205 @Description(shortDefinition="Name for this evidence variable (computer friendly)", formalDefinition="A natural language name identifying the evidence variable. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) 1206 protected StringType name; 1207 1208 /** 1209 * A short, descriptive, user-friendly title for the evidence variable. 1210 */ 1211 @Child(name = "title", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) 1212 @Description(shortDefinition="Name for this evidence variable (human friendly)", formalDefinition="A short, descriptive, user-friendly title for the evidence variable." ) 1213 protected StringType title; 1214 1215 /** 1216 * The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary. 1217 */ 1218 @Child(name = "shortTitle", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=true) 1219 @Description(shortDefinition="Title for use in informal contexts", formalDefinition="The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary." ) 1220 protected StringType shortTitle; 1221 1222 /** 1223 * An explanatory or alternate title for the EvidenceVariable giving additional information about its content. 1224 */ 1225 @Child(name = "subtitle", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=false) 1226 @Description(shortDefinition="Subordinate title of the EvidenceVariable", formalDefinition="An explanatory or alternate title for the EvidenceVariable giving additional information about its content." ) 1227 protected StringType subtitle; 1228 1229 /** 1230 * The status of this evidence variable. Enables tracking the life-cycle of the content. 1231 */ 1232 @Child(name = "status", type = {CodeType.class}, order=7, min=1, max=1, modifier=true, summary=true) 1233 @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this evidence variable. Enables tracking the life-cycle of the content." ) 1234 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") 1235 protected Enumeration<PublicationStatus> status; 1236 1237 /** 1238 * The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes. 1239 */ 1240 @Child(name = "date", type = {DateTimeType.class}, order=8, min=0, max=1, modifier=false, summary=true) 1241 @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes." ) 1242 protected DateTimeType date; 1243 1244 /** 1245 * The name of the organization or individual that published the evidence variable. 1246 */ 1247 @Child(name = "publisher", type = {StringType.class}, order=9, min=0, max=1, modifier=false, summary=true) 1248 @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the evidence variable." ) 1249 protected StringType publisher; 1250 1251 /** 1252 * Contact details to assist a user in finding and communicating with the publisher. 1253 */ 1254 @Child(name = "contact", type = {ContactDetail.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 1255 @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) 1256 protected List<ContactDetail> contact; 1257 1258 /** 1259 * A free text natural language description of the evidence variable from a consumer's perspective. 1260 */ 1261 @Child(name = "description", type = {MarkdownType.class}, order=11, min=0, max=1, modifier=false, summary=true) 1262 @Description(shortDefinition="Natural language description of the evidence variable", formalDefinition="A free text natural language description of the evidence variable from a consumer's perspective." ) 1263 protected MarkdownType description; 1264 1265 /** 1266 * A human-readable string to clarify or explain concepts about the resource. 1267 */ 1268 @Child(name = "note", type = {Annotation.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1269 @Description(shortDefinition="Used for footnotes or explanatory notes", formalDefinition="A human-readable string to clarify or explain concepts about the resource." ) 1270 protected List<Annotation> note; 1271 1272 /** 1273 * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances. 1274 */ 1275 @Child(name = "useContext", type = {UsageContext.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 1276 @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances." ) 1277 protected List<UsageContext> useContext; 1278 1279 /** 1280 * A legal or geographic region in which the evidence variable is intended to be used. 1281 */ 1282 @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 1283 @Description(shortDefinition="Intended jurisdiction for evidence variable (if applicable)", formalDefinition="A legal or geographic region in which the evidence variable is intended to be used." ) 1284 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") 1285 protected List<CodeableConcept> jurisdiction; 1286 1287 /** 1288 * A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable. 1289 */ 1290 @Child(name = "copyright", type = {MarkdownType.class}, order=15, min=0, max=1, modifier=false, summary=false) 1291 @Description(shortDefinition="Use and/or publishing restrictions", formalDefinition="A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable." ) 1292 protected MarkdownType copyright; 1293 1294 /** 1295 * The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. 1296 */ 1297 @Child(name = "approvalDate", type = {DateType.class}, order=16, min=0, max=1, modifier=false, summary=false) 1298 @Description(shortDefinition="When the evidence variable was approved by publisher", formalDefinition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." ) 1299 protected DateType approvalDate; 1300 1301 /** 1302 * The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. 1303 */ 1304 @Child(name = "lastReviewDate", type = {DateType.class}, order=17, min=0, max=1, modifier=false, summary=false) 1305 @Description(shortDefinition="When the evidence variable was last reviewed", formalDefinition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." ) 1306 protected DateType lastReviewDate; 1307 1308 /** 1309 * The period during which the evidence variable content was or is planned to be in active use. 1310 */ 1311 @Child(name = "effectivePeriod", type = {Period.class}, order=18, min=0, max=1, modifier=false, summary=true) 1312 @Description(shortDefinition="When the evidence variable is expected to be used", formalDefinition="The period during which the evidence variable content was or is planned to be in active use." ) 1313 protected Period effectivePeriod; 1314 1315 /** 1316 * Descriptive topics related to the content of the EvidenceVariable. Topics provide a high-level categorization grouping types of EvidenceVariables that can be useful for filtering and searching. 1317 */ 1318 @Child(name = "topic", type = {CodeableConcept.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1319 @Description(shortDefinition="The category of the EvidenceVariable, such as Education, Treatment, Assessment, etc.", formalDefinition="Descriptive topics related to the content of the EvidenceVariable. Topics provide a high-level categorization grouping types of EvidenceVariables that can be useful for filtering and searching." ) 1320 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/definition-topic") 1321 protected List<CodeableConcept> topic; 1322 1323 /** 1324 * An individiual or organization primarily involved in the creation and maintenance of the content. 1325 */ 1326 @Child(name = "author", type = {ContactDetail.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1327 @Description(shortDefinition="Who authored the content", formalDefinition="An individiual or organization primarily involved in the creation and maintenance of the content." ) 1328 protected List<ContactDetail> author; 1329 1330 /** 1331 * An individual or organization primarily responsible for internal coherence of the content. 1332 */ 1333 @Child(name = "editor", type = {ContactDetail.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1334 @Description(shortDefinition="Who edited the content", formalDefinition="An individual or organization primarily responsible for internal coherence of the content." ) 1335 protected List<ContactDetail> editor; 1336 1337 /** 1338 * An individual or organization primarily responsible for review of some aspect of the content. 1339 */ 1340 @Child(name = "reviewer", type = {ContactDetail.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1341 @Description(shortDefinition="Who reviewed the content", formalDefinition="An individual or organization primarily responsible for review of some aspect of the content." ) 1342 protected List<ContactDetail> reviewer; 1343 1344 /** 1345 * An individual or organization responsible for officially endorsing the content for use in some setting. 1346 */ 1347 @Child(name = "endorser", type = {ContactDetail.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1348 @Description(shortDefinition="Who endorsed the content", formalDefinition="An individual or organization responsible for officially endorsing the content for use in some setting." ) 1349 protected List<ContactDetail> endorser; 1350 1351 /** 1352 * Related artifacts such as additional documentation, justification, or bibliographic references. 1353 */ 1354 @Child(name = "relatedArtifact", type = {RelatedArtifact.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 1355 @Description(shortDefinition="Additional documentation, citations, etc.", formalDefinition="Related artifacts such as additional documentation, justification, or bibliographic references." ) 1356 protected List<RelatedArtifact> relatedArtifact; 1357 1358 /** 1359 * The type of evidence element, a population, an exposure, or an outcome. 1360 */ 1361 @Child(name = "type", type = {CodeType.class}, order=25, min=0, max=1, modifier=false, summary=true) 1362 @Description(shortDefinition="dichotomous | continuous | descriptive", formalDefinition="The type of evidence element, a population, an exposure, or an outcome." ) 1363 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/variable-type") 1364 protected Enumeration<EvidenceVariableType> type; 1365 1366 /** 1367 * True if the actual variable measured, false if a conceptual representation of the intended variable. 1368 */ 1369 @Child(name = "actual", type = {BooleanType.class}, order=26, min=0, max=1, modifier=false, summary=false) 1370 @Description(shortDefinition="Actual or conceptual", formalDefinition="True if the actual variable measured, false if a conceptual representation of the intended variable." ) 1371 protected BooleanType actual; 1372 1373 /** 1374 * A characteristic that defines the members of the evidence element. Multiple characteristics are applied with "and" semantics. 1375 */ 1376 @Child(name = "characteristic", type = {}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 1377 @Description(shortDefinition="What defines the members of the evidence element", formalDefinition="A characteristic that defines the members of the evidence element. Multiple characteristics are applied with \"and\" semantics." ) 1378 protected List<EvidenceVariableCharacteristicComponent> characteristic; 1379 1380 private static final long serialVersionUID = -544472546L; 1381 1382 /** 1383 * Constructor 1384 */ 1385 public EvidenceVariable() { 1386 super(); 1387 } 1388 1389 /** 1390 * Constructor 1391 */ 1392 public EvidenceVariable(PublicationStatus status) { 1393 super(); 1394 this.setStatus(status); 1395 } 1396 1397 /** 1398 * @return {@link #url} (An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 1399 */ 1400 public UriType getUrlElement() { 1401 if (this.url == null) 1402 if (Configuration.errorOnAutoCreate()) 1403 throw new Error("Attempt to auto-create EvidenceVariable.url"); 1404 else if (Configuration.doAutoCreate()) 1405 this.url = new UriType(); // bb 1406 return this.url; 1407 } 1408 1409 public boolean hasUrlElement() { 1410 return this.url != null && !this.url.isEmpty(); 1411 } 1412 1413 public boolean hasUrl() { 1414 return this.url != null && !this.url.isEmpty(); 1415 } 1416 1417 /** 1418 * @param value {@link #url} (An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 1419 */ 1420 public EvidenceVariable setUrlElement(UriType value) { 1421 this.url = value; 1422 return this; 1423 } 1424 1425 /** 1426 * @return An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers. 1427 */ 1428 public String getUrl() { 1429 return this.url == null ? null : this.url.getValue(); 1430 } 1431 1432 /** 1433 * @param value An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers. 1434 */ 1435 public EvidenceVariable setUrl(String value) { 1436 if (Utilities.noString(value)) 1437 this.url = null; 1438 else { 1439 if (this.url == null) 1440 this.url = new UriType(); 1441 this.url.setValue(value); 1442 } 1443 return this; 1444 } 1445 1446 /** 1447 * @return {@link #identifier} (A formal identifier that is used to identify this evidence variable when it is represented in other formats, or referenced in a specification, model, design or an instance.) 1448 */ 1449 public List<Identifier> getIdentifier() { 1450 if (this.identifier == null) 1451 this.identifier = new ArrayList<Identifier>(); 1452 return this.identifier; 1453 } 1454 1455 /** 1456 * @return Returns a reference to <code>this</code> for easy method chaining 1457 */ 1458 public EvidenceVariable setIdentifier(List<Identifier> theIdentifier) { 1459 this.identifier = theIdentifier; 1460 return this; 1461 } 1462 1463 public boolean hasIdentifier() { 1464 if (this.identifier == null) 1465 return false; 1466 for (Identifier item : this.identifier) 1467 if (!item.isEmpty()) 1468 return true; 1469 return false; 1470 } 1471 1472 public Identifier addIdentifier() { //3 1473 Identifier t = new Identifier(); 1474 if (this.identifier == null) 1475 this.identifier = new ArrayList<Identifier>(); 1476 this.identifier.add(t); 1477 return t; 1478 } 1479 1480 public EvidenceVariable addIdentifier(Identifier t) { //3 1481 if (t == null) 1482 return this; 1483 if (this.identifier == null) 1484 this.identifier = new ArrayList<Identifier>(); 1485 this.identifier.add(t); 1486 return this; 1487 } 1488 1489 /** 1490 * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} 1491 */ 1492 public Identifier getIdentifierFirstRep() { 1493 if (getIdentifier().isEmpty()) { 1494 addIdentifier(); 1495 } 1496 return getIdentifier().get(0); 1497 } 1498 1499 /** 1500 * @return {@link #version} (The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 1501 */ 1502 public StringType getVersionElement() { 1503 if (this.version == null) 1504 if (Configuration.errorOnAutoCreate()) 1505 throw new Error("Attempt to auto-create EvidenceVariable.version"); 1506 else if (Configuration.doAutoCreate()) 1507 this.version = new StringType(); // bb 1508 return this.version; 1509 } 1510 1511 public boolean hasVersionElement() { 1512 return this.version != null && !this.version.isEmpty(); 1513 } 1514 1515 public boolean hasVersion() { 1516 return this.version != null && !this.version.isEmpty(); 1517 } 1518 1519 /** 1520 * @param value {@link #version} (The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 1521 */ 1522 public EvidenceVariable setVersionElement(StringType value) { 1523 this.version = value; 1524 return this; 1525 } 1526 1527 /** 1528 * @return The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts. 1529 */ 1530 public String getVersion() { 1531 return this.version == null ? null : this.version.getValue(); 1532 } 1533 1534 /** 1535 * @param value The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts. 1536 */ 1537 public EvidenceVariable setVersion(String value) { 1538 if (Utilities.noString(value)) 1539 this.version = null; 1540 else { 1541 if (this.version == null) 1542 this.version = new StringType(); 1543 this.version.setValue(value); 1544 } 1545 return this; 1546 } 1547 1548 /** 1549 * @return {@link #name} (A natural language name identifying the evidence variable. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 1550 */ 1551 public StringType getNameElement() { 1552 if (this.name == null) 1553 if (Configuration.errorOnAutoCreate()) 1554 throw new Error("Attempt to auto-create EvidenceVariable.name"); 1555 else if (Configuration.doAutoCreate()) 1556 this.name = new StringType(); // bb 1557 return this.name; 1558 } 1559 1560 public boolean hasNameElement() { 1561 return this.name != null && !this.name.isEmpty(); 1562 } 1563 1564 public boolean hasName() { 1565 return this.name != null && !this.name.isEmpty(); 1566 } 1567 1568 /** 1569 * @param value {@link #name} (A natural language name identifying the evidence variable. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 1570 */ 1571 public EvidenceVariable setNameElement(StringType value) { 1572 this.name = value; 1573 return this; 1574 } 1575 1576 /** 1577 * @return A natural language name identifying the evidence variable. This name should be usable as an identifier for the module by machine processing applications such as code generation. 1578 */ 1579 public String getName() { 1580 return this.name == null ? null : this.name.getValue(); 1581 } 1582 1583 /** 1584 * @param value A natural language name identifying the evidence variable. This name should be usable as an identifier for the module by machine processing applications such as code generation. 1585 */ 1586 public EvidenceVariable setName(String value) { 1587 if (Utilities.noString(value)) 1588 this.name = null; 1589 else { 1590 if (this.name == null) 1591 this.name = new StringType(); 1592 this.name.setValue(value); 1593 } 1594 return this; 1595 } 1596 1597 /** 1598 * @return {@link #title} (A short, descriptive, user-friendly title for the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 1599 */ 1600 public StringType getTitleElement() { 1601 if (this.title == null) 1602 if (Configuration.errorOnAutoCreate()) 1603 throw new Error("Attempt to auto-create EvidenceVariable.title"); 1604 else if (Configuration.doAutoCreate()) 1605 this.title = new StringType(); // bb 1606 return this.title; 1607 } 1608 1609 public boolean hasTitleElement() { 1610 return this.title != null && !this.title.isEmpty(); 1611 } 1612 1613 public boolean hasTitle() { 1614 return this.title != null && !this.title.isEmpty(); 1615 } 1616 1617 /** 1618 * @param value {@link #title} (A short, descriptive, user-friendly title for the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 1619 */ 1620 public EvidenceVariable setTitleElement(StringType value) { 1621 this.title = value; 1622 return this; 1623 } 1624 1625 /** 1626 * @return A short, descriptive, user-friendly title for the evidence variable. 1627 */ 1628 public String getTitle() { 1629 return this.title == null ? null : this.title.getValue(); 1630 } 1631 1632 /** 1633 * @param value A short, descriptive, user-friendly title for the evidence variable. 1634 */ 1635 public EvidenceVariable setTitle(String value) { 1636 if (Utilities.noString(value)) 1637 this.title = null; 1638 else { 1639 if (this.title == null) 1640 this.title = new StringType(); 1641 this.title.setValue(value); 1642 } 1643 return this; 1644 } 1645 1646 /** 1647 * @return {@link #shortTitle} (The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary.). This is the underlying object with id, value and extensions. The accessor "getShortTitle" gives direct access to the value 1648 */ 1649 public StringType getShortTitleElement() { 1650 if (this.shortTitle == null) 1651 if (Configuration.errorOnAutoCreate()) 1652 throw new Error("Attempt to auto-create EvidenceVariable.shortTitle"); 1653 else if (Configuration.doAutoCreate()) 1654 this.shortTitle = new StringType(); // bb 1655 return this.shortTitle; 1656 } 1657 1658 public boolean hasShortTitleElement() { 1659 return this.shortTitle != null && !this.shortTitle.isEmpty(); 1660 } 1661 1662 public boolean hasShortTitle() { 1663 return this.shortTitle != null && !this.shortTitle.isEmpty(); 1664 } 1665 1666 /** 1667 * @param value {@link #shortTitle} (The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary.). This is the underlying object with id, value and extensions. The accessor "getShortTitle" gives direct access to the value 1668 */ 1669 public EvidenceVariable setShortTitleElement(StringType value) { 1670 this.shortTitle = value; 1671 return this; 1672 } 1673 1674 /** 1675 * @return The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary. 1676 */ 1677 public String getShortTitle() { 1678 return this.shortTitle == null ? null : this.shortTitle.getValue(); 1679 } 1680 1681 /** 1682 * @param value The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary. 1683 */ 1684 public EvidenceVariable setShortTitle(String value) { 1685 if (Utilities.noString(value)) 1686 this.shortTitle = null; 1687 else { 1688 if (this.shortTitle == null) 1689 this.shortTitle = new StringType(); 1690 this.shortTitle.setValue(value); 1691 } 1692 return this; 1693 } 1694 1695 /** 1696 * @return {@link #subtitle} (An explanatory or alternate title for the EvidenceVariable giving additional information about its content.). This is the underlying object with id, value and extensions. The accessor "getSubtitle" gives direct access to the value 1697 */ 1698 public StringType getSubtitleElement() { 1699 if (this.subtitle == null) 1700 if (Configuration.errorOnAutoCreate()) 1701 throw new Error("Attempt to auto-create EvidenceVariable.subtitle"); 1702 else if (Configuration.doAutoCreate()) 1703 this.subtitle = new StringType(); // bb 1704 return this.subtitle; 1705 } 1706 1707 public boolean hasSubtitleElement() { 1708 return this.subtitle != null && !this.subtitle.isEmpty(); 1709 } 1710 1711 public boolean hasSubtitle() { 1712 return this.subtitle != null && !this.subtitle.isEmpty(); 1713 } 1714 1715 /** 1716 * @param value {@link #subtitle} (An explanatory or alternate title for the EvidenceVariable giving additional information about its content.). This is the underlying object with id, value and extensions. The accessor "getSubtitle" gives direct access to the value 1717 */ 1718 public EvidenceVariable setSubtitleElement(StringType value) { 1719 this.subtitle = value; 1720 return this; 1721 } 1722 1723 /** 1724 * @return An explanatory or alternate title for the EvidenceVariable giving additional information about its content. 1725 */ 1726 public String getSubtitle() { 1727 return this.subtitle == null ? null : this.subtitle.getValue(); 1728 } 1729 1730 /** 1731 * @param value An explanatory or alternate title for the EvidenceVariable giving additional information about its content. 1732 */ 1733 public EvidenceVariable setSubtitle(String value) { 1734 if (Utilities.noString(value)) 1735 this.subtitle = null; 1736 else { 1737 if (this.subtitle == null) 1738 this.subtitle = new StringType(); 1739 this.subtitle.setValue(value); 1740 } 1741 return this; 1742 } 1743 1744 /** 1745 * @return {@link #status} (The status of this evidence variable. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 1746 */ 1747 public Enumeration<PublicationStatus> getStatusElement() { 1748 if (this.status == null) 1749 if (Configuration.errorOnAutoCreate()) 1750 throw new Error("Attempt to auto-create EvidenceVariable.status"); 1751 else if (Configuration.doAutoCreate()) 1752 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); // bb 1753 return this.status; 1754 } 1755 1756 public boolean hasStatusElement() { 1757 return this.status != null && !this.status.isEmpty(); 1758 } 1759 1760 public boolean hasStatus() { 1761 return this.status != null && !this.status.isEmpty(); 1762 } 1763 1764 /** 1765 * @param value {@link #status} (The status of this evidence variable. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 1766 */ 1767 public EvidenceVariable setStatusElement(Enumeration<PublicationStatus> value) { 1768 this.status = value; 1769 return this; 1770 } 1771 1772 /** 1773 * @return The status of this evidence variable. Enables tracking the life-cycle of the content. 1774 */ 1775 public PublicationStatus getStatus() { 1776 return this.status == null ? null : this.status.getValue(); 1777 } 1778 1779 /** 1780 * @param value The status of this evidence variable. Enables tracking the life-cycle of the content. 1781 */ 1782 public EvidenceVariable setStatus(PublicationStatus value) { 1783 if (this.status == null) 1784 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); 1785 this.status.setValue(value); 1786 return this; 1787 } 1788 1789 /** 1790 * @return {@link #date} (The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 1791 */ 1792 public DateTimeType getDateElement() { 1793 if (this.date == null) 1794 if (Configuration.errorOnAutoCreate()) 1795 throw new Error("Attempt to auto-create EvidenceVariable.date"); 1796 else if (Configuration.doAutoCreate()) 1797 this.date = new DateTimeType(); // bb 1798 return this.date; 1799 } 1800 1801 public boolean hasDateElement() { 1802 return this.date != null && !this.date.isEmpty(); 1803 } 1804 1805 public boolean hasDate() { 1806 return this.date != null && !this.date.isEmpty(); 1807 } 1808 1809 /** 1810 * @param value {@link #date} (The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 1811 */ 1812 public EvidenceVariable setDateElement(DateTimeType value) { 1813 this.date = value; 1814 return this; 1815 } 1816 1817 /** 1818 * @return The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes. 1819 */ 1820 public Date getDate() { 1821 return this.date == null ? null : this.date.getValue(); 1822 } 1823 1824 /** 1825 * @param value The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes. 1826 */ 1827 public EvidenceVariable setDate(Date value) { 1828 if (value == null) 1829 this.date = null; 1830 else { 1831 if (this.date == null) 1832 this.date = new DateTimeType(); 1833 this.date.setValue(value); 1834 } 1835 return this; 1836 } 1837 1838 /** 1839 * @return {@link #publisher} (The name of the organization or individual that published the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 1840 */ 1841 public StringType getPublisherElement() { 1842 if (this.publisher == null) 1843 if (Configuration.errorOnAutoCreate()) 1844 throw new Error("Attempt to auto-create EvidenceVariable.publisher"); 1845 else if (Configuration.doAutoCreate()) 1846 this.publisher = new StringType(); // bb 1847 return this.publisher; 1848 } 1849 1850 public boolean hasPublisherElement() { 1851 return this.publisher != null && !this.publisher.isEmpty(); 1852 } 1853 1854 public boolean hasPublisher() { 1855 return this.publisher != null && !this.publisher.isEmpty(); 1856 } 1857 1858 /** 1859 * @param value {@link #publisher} (The name of the organization or individual that published the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 1860 */ 1861 public EvidenceVariable setPublisherElement(StringType value) { 1862 this.publisher = value; 1863 return this; 1864 } 1865 1866 /** 1867 * @return The name of the organization or individual that published the evidence variable. 1868 */ 1869 public String getPublisher() { 1870 return this.publisher == null ? null : this.publisher.getValue(); 1871 } 1872 1873 /** 1874 * @param value The name of the organization or individual that published the evidence variable. 1875 */ 1876 public EvidenceVariable setPublisher(String value) { 1877 if (Utilities.noString(value)) 1878 this.publisher = null; 1879 else { 1880 if (this.publisher == null) 1881 this.publisher = new StringType(); 1882 this.publisher.setValue(value); 1883 } 1884 return this; 1885 } 1886 1887 /** 1888 * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.) 1889 */ 1890 public List<ContactDetail> getContact() { 1891 if (this.contact == null) 1892 this.contact = new ArrayList<ContactDetail>(); 1893 return this.contact; 1894 } 1895 1896 /** 1897 * @return Returns a reference to <code>this</code> for easy method chaining 1898 */ 1899 public EvidenceVariable setContact(List<ContactDetail> theContact) { 1900 this.contact = theContact; 1901 return this; 1902 } 1903 1904 public boolean hasContact() { 1905 if (this.contact == null) 1906 return false; 1907 for (ContactDetail item : this.contact) 1908 if (!item.isEmpty()) 1909 return true; 1910 return false; 1911 } 1912 1913 public ContactDetail addContact() { //3 1914 ContactDetail t = new ContactDetail(); 1915 if (this.contact == null) 1916 this.contact = new ArrayList<ContactDetail>(); 1917 this.contact.add(t); 1918 return t; 1919 } 1920 1921 public EvidenceVariable addContact(ContactDetail t) { //3 1922 if (t == null) 1923 return this; 1924 if (this.contact == null) 1925 this.contact = new ArrayList<ContactDetail>(); 1926 this.contact.add(t); 1927 return this; 1928 } 1929 1930 /** 1931 * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} 1932 */ 1933 public ContactDetail getContactFirstRep() { 1934 if (getContact().isEmpty()) { 1935 addContact(); 1936 } 1937 return getContact().get(0); 1938 } 1939 1940 /** 1941 * @return {@link #description} (A free text natural language description of the evidence variable from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 1942 */ 1943 public MarkdownType getDescriptionElement() { 1944 if (this.description == null) 1945 if (Configuration.errorOnAutoCreate()) 1946 throw new Error("Attempt to auto-create EvidenceVariable.description"); 1947 else if (Configuration.doAutoCreate()) 1948 this.description = new MarkdownType(); // bb 1949 return this.description; 1950 } 1951 1952 public boolean hasDescriptionElement() { 1953 return this.description != null && !this.description.isEmpty(); 1954 } 1955 1956 public boolean hasDescription() { 1957 return this.description != null && !this.description.isEmpty(); 1958 } 1959 1960 /** 1961 * @param value {@link #description} (A free text natural language description of the evidence variable from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 1962 */ 1963 public EvidenceVariable setDescriptionElement(MarkdownType value) { 1964 this.description = value; 1965 return this; 1966 } 1967 1968 /** 1969 * @return A free text natural language description of the evidence variable from a consumer's perspective. 1970 */ 1971 public String getDescription() { 1972 return this.description == null ? null : this.description.getValue(); 1973 } 1974 1975 /** 1976 * @param value A free text natural language description of the evidence variable from a consumer's perspective. 1977 */ 1978 public EvidenceVariable setDescription(String value) { 1979 if (value == null) 1980 this.description = null; 1981 else { 1982 if (this.description == null) 1983 this.description = new MarkdownType(); 1984 this.description.setValue(value); 1985 } 1986 return this; 1987 } 1988 1989 /** 1990 * @return {@link #note} (A human-readable string to clarify or explain concepts about the resource.) 1991 */ 1992 public List<Annotation> getNote() { 1993 if (this.note == null) 1994 this.note = new ArrayList<Annotation>(); 1995 return this.note; 1996 } 1997 1998 /** 1999 * @return Returns a reference to <code>this</code> for easy method chaining 2000 */ 2001 public EvidenceVariable setNote(List<Annotation> theNote) { 2002 this.note = theNote; 2003 return this; 2004 } 2005 2006 public boolean hasNote() { 2007 if (this.note == null) 2008 return false; 2009 for (Annotation item : this.note) 2010 if (!item.isEmpty()) 2011 return true; 2012 return false; 2013 } 2014 2015 public Annotation addNote() { //3 2016 Annotation t = new Annotation(); 2017 if (this.note == null) 2018 this.note = new ArrayList<Annotation>(); 2019 this.note.add(t); 2020 return t; 2021 } 2022 2023 public EvidenceVariable addNote(Annotation t) { //3 2024 if (t == null) 2025 return this; 2026 if (this.note == null) 2027 this.note = new ArrayList<Annotation>(); 2028 this.note.add(t); 2029 return this; 2030 } 2031 2032 /** 2033 * @return The first repetition of repeating field {@link #note}, creating it if it does not already exist {3} 2034 */ 2035 public Annotation getNoteFirstRep() { 2036 if (getNote().isEmpty()) { 2037 addNote(); 2038 } 2039 return getNote().get(0); 2040 } 2041 2042 /** 2043 * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances.) 2044 */ 2045 public List<UsageContext> getUseContext() { 2046 if (this.useContext == null) 2047 this.useContext = new ArrayList<UsageContext>(); 2048 return this.useContext; 2049 } 2050 2051 /** 2052 * @return Returns a reference to <code>this</code> for easy method chaining 2053 */ 2054 public EvidenceVariable setUseContext(List<UsageContext> theUseContext) { 2055 this.useContext = theUseContext; 2056 return this; 2057 } 2058 2059 public boolean hasUseContext() { 2060 if (this.useContext == null) 2061 return false; 2062 for (UsageContext item : this.useContext) 2063 if (!item.isEmpty()) 2064 return true; 2065 return false; 2066 } 2067 2068 public UsageContext addUseContext() { //3 2069 UsageContext t = new UsageContext(); 2070 if (this.useContext == null) 2071 this.useContext = new ArrayList<UsageContext>(); 2072 this.useContext.add(t); 2073 return t; 2074 } 2075 2076 public EvidenceVariable addUseContext(UsageContext t) { //3 2077 if (t == null) 2078 return this; 2079 if (this.useContext == null) 2080 this.useContext = new ArrayList<UsageContext>(); 2081 this.useContext.add(t); 2082 return this; 2083 } 2084 2085 /** 2086 * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {3} 2087 */ 2088 public UsageContext getUseContextFirstRep() { 2089 if (getUseContext().isEmpty()) { 2090 addUseContext(); 2091 } 2092 return getUseContext().get(0); 2093 } 2094 2095 /** 2096 * @return {@link #jurisdiction} (A legal or geographic region in which the evidence variable is intended to be used.) 2097 */ 2098 public List<CodeableConcept> getJurisdiction() { 2099 if (this.jurisdiction == null) 2100 this.jurisdiction = new ArrayList<CodeableConcept>(); 2101 return this.jurisdiction; 2102 } 2103 2104 /** 2105 * @return Returns a reference to <code>this</code> for easy method chaining 2106 */ 2107 public EvidenceVariable setJurisdiction(List<CodeableConcept> theJurisdiction) { 2108 this.jurisdiction = theJurisdiction; 2109 return this; 2110 } 2111 2112 public boolean hasJurisdiction() { 2113 if (this.jurisdiction == null) 2114 return false; 2115 for (CodeableConcept item : this.jurisdiction) 2116 if (!item.isEmpty()) 2117 return true; 2118 return false; 2119 } 2120 2121 public CodeableConcept addJurisdiction() { //3 2122 CodeableConcept t = new CodeableConcept(); 2123 if (this.jurisdiction == null) 2124 this.jurisdiction = new ArrayList<CodeableConcept>(); 2125 this.jurisdiction.add(t); 2126 return t; 2127 } 2128 2129 public EvidenceVariable addJurisdiction(CodeableConcept t) { //3 2130 if (t == null) 2131 return this; 2132 if (this.jurisdiction == null) 2133 this.jurisdiction = new ArrayList<CodeableConcept>(); 2134 this.jurisdiction.add(t); 2135 return this; 2136 } 2137 2138 /** 2139 * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist {3} 2140 */ 2141 public CodeableConcept getJurisdictionFirstRep() { 2142 if (getJurisdiction().isEmpty()) { 2143 addJurisdiction(); 2144 } 2145 return getJurisdiction().get(0); 2146 } 2147 2148 /** 2149 * @return {@link #copyright} (A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 2150 */ 2151 public MarkdownType getCopyrightElement() { 2152 if (this.copyright == null) 2153 if (Configuration.errorOnAutoCreate()) 2154 throw new Error("Attempt to auto-create EvidenceVariable.copyright"); 2155 else if (Configuration.doAutoCreate()) 2156 this.copyright = new MarkdownType(); // bb 2157 return this.copyright; 2158 } 2159 2160 public boolean hasCopyrightElement() { 2161 return this.copyright != null && !this.copyright.isEmpty(); 2162 } 2163 2164 public boolean hasCopyright() { 2165 return this.copyright != null && !this.copyright.isEmpty(); 2166 } 2167 2168 /** 2169 * @param value {@link #copyright} (A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 2170 */ 2171 public EvidenceVariable setCopyrightElement(MarkdownType value) { 2172 this.copyright = value; 2173 return this; 2174 } 2175 2176 /** 2177 * @return A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable. 2178 */ 2179 public String getCopyright() { 2180 return this.copyright == null ? null : this.copyright.getValue(); 2181 } 2182 2183 /** 2184 * @param value A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable. 2185 */ 2186 public EvidenceVariable setCopyright(String value) { 2187 if (value == null) 2188 this.copyright = null; 2189 else { 2190 if (this.copyright == null) 2191 this.copyright = new MarkdownType(); 2192 this.copyright.setValue(value); 2193 } 2194 return this; 2195 } 2196 2197 /** 2198 * @return {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value 2199 */ 2200 public DateType getApprovalDateElement() { 2201 if (this.approvalDate == null) 2202 if (Configuration.errorOnAutoCreate()) 2203 throw new Error("Attempt to auto-create EvidenceVariable.approvalDate"); 2204 else if (Configuration.doAutoCreate()) 2205 this.approvalDate = new DateType(); // bb 2206 return this.approvalDate; 2207 } 2208 2209 public boolean hasApprovalDateElement() { 2210 return this.approvalDate != null && !this.approvalDate.isEmpty(); 2211 } 2212 2213 public boolean hasApprovalDate() { 2214 return this.approvalDate != null && !this.approvalDate.isEmpty(); 2215 } 2216 2217 /** 2218 * @param value {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value 2219 */ 2220 public EvidenceVariable setApprovalDateElement(DateType value) { 2221 this.approvalDate = value; 2222 return this; 2223 } 2224 2225 /** 2226 * @return The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. 2227 */ 2228 public Date getApprovalDate() { 2229 return this.approvalDate == null ? null : this.approvalDate.getValue(); 2230 } 2231 2232 /** 2233 * @param value The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. 2234 */ 2235 public EvidenceVariable setApprovalDate(Date value) { 2236 if (value == null) 2237 this.approvalDate = null; 2238 else { 2239 if (this.approvalDate == null) 2240 this.approvalDate = new DateType(); 2241 this.approvalDate.setValue(value); 2242 } 2243 return this; 2244 } 2245 2246 /** 2247 * @return {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value 2248 */ 2249 public DateType getLastReviewDateElement() { 2250 if (this.lastReviewDate == null) 2251 if (Configuration.errorOnAutoCreate()) 2252 throw new Error("Attempt to auto-create EvidenceVariable.lastReviewDate"); 2253 else if (Configuration.doAutoCreate()) 2254 this.lastReviewDate = new DateType(); // bb 2255 return this.lastReviewDate; 2256 } 2257 2258 public boolean hasLastReviewDateElement() { 2259 return this.lastReviewDate != null && !this.lastReviewDate.isEmpty(); 2260 } 2261 2262 public boolean hasLastReviewDate() { 2263 return this.lastReviewDate != null && !this.lastReviewDate.isEmpty(); 2264 } 2265 2266 /** 2267 * @param value {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value 2268 */ 2269 public EvidenceVariable setLastReviewDateElement(DateType value) { 2270 this.lastReviewDate = value; 2271 return this; 2272 } 2273 2274 /** 2275 * @return The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. 2276 */ 2277 public Date getLastReviewDate() { 2278 return this.lastReviewDate == null ? null : this.lastReviewDate.getValue(); 2279 } 2280 2281 /** 2282 * @param value The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. 2283 */ 2284 public EvidenceVariable setLastReviewDate(Date value) { 2285 if (value == null) 2286 this.lastReviewDate = null; 2287 else { 2288 if (this.lastReviewDate == null) 2289 this.lastReviewDate = new DateType(); 2290 this.lastReviewDate.setValue(value); 2291 } 2292 return this; 2293 } 2294 2295 /** 2296 * @return {@link #effectivePeriod} (The period during which the evidence variable content was or is planned to be in active use.) 2297 */ 2298 public Period getEffectivePeriod() { 2299 if (this.effectivePeriod == null) 2300 if (Configuration.errorOnAutoCreate()) 2301 throw new Error("Attempt to auto-create EvidenceVariable.effectivePeriod"); 2302 else if (Configuration.doAutoCreate()) 2303 this.effectivePeriod = new Period(); // cc 2304 return this.effectivePeriod; 2305 } 2306 2307 public boolean hasEffectivePeriod() { 2308 return this.effectivePeriod != null && !this.effectivePeriod.isEmpty(); 2309 } 2310 2311 /** 2312 * @param value {@link #effectivePeriod} (The period during which the evidence variable content was or is planned to be in active use.) 2313 */ 2314 public EvidenceVariable setEffectivePeriod(Period value) { 2315 this.effectivePeriod = value; 2316 return this; 2317 } 2318 2319 /** 2320 * @return {@link #topic} (Descriptive topics related to the content of the EvidenceVariable. Topics provide a high-level categorization grouping types of EvidenceVariables that can be useful for filtering and searching.) 2321 */ 2322 public List<CodeableConcept> getTopic() { 2323 if (this.topic == null) 2324 this.topic = new ArrayList<CodeableConcept>(); 2325 return this.topic; 2326 } 2327 2328 /** 2329 * @return Returns a reference to <code>this</code> for easy method chaining 2330 */ 2331 public EvidenceVariable setTopic(List<CodeableConcept> theTopic) { 2332 this.topic = theTopic; 2333 return this; 2334 } 2335 2336 public boolean hasTopic() { 2337 if (this.topic == null) 2338 return false; 2339 for (CodeableConcept item : this.topic) 2340 if (!item.isEmpty()) 2341 return true; 2342 return false; 2343 } 2344 2345 public CodeableConcept addTopic() { //3 2346 CodeableConcept t = new CodeableConcept(); 2347 if (this.topic == null) 2348 this.topic = new ArrayList<CodeableConcept>(); 2349 this.topic.add(t); 2350 return t; 2351 } 2352 2353 public EvidenceVariable addTopic(CodeableConcept t) { //3 2354 if (t == null) 2355 return this; 2356 if (this.topic == null) 2357 this.topic = new ArrayList<CodeableConcept>(); 2358 this.topic.add(t); 2359 return this; 2360 } 2361 2362 /** 2363 * @return The first repetition of repeating field {@link #topic}, creating it if it does not already exist {3} 2364 */ 2365 public CodeableConcept getTopicFirstRep() { 2366 if (getTopic().isEmpty()) { 2367 addTopic(); 2368 } 2369 return getTopic().get(0); 2370 } 2371 2372 /** 2373 * @return {@link #author} (An individiual or organization primarily involved in the creation and maintenance of the content.) 2374 */ 2375 public List<ContactDetail> getAuthor() { 2376 if (this.author == null) 2377 this.author = new ArrayList<ContactDetail>(); 2378 return this.author; 2379 } 2380 2381 /** 2382 * @return Returns a reference to <code>this</code> for easy method chaining 2383 */ 2384 public EvidenceVariable setAuthor(List<ContactDetail> theAuthor) { 2385 this.author = theAuthor; 2386 return this; 2387 } 2388 2389 public boolean hasAuthor() { 2390 if (this.author == null) 2391 return false; 2392 for (ContactDetail item : this.author) 2393 if (!item.isEmpty()) 2394 return true; 2395 return false; 2396 } 2397 2398 public ContactDetail addAuthor() { //3 2399 ContactDetail t = new ContactDetail(); 2400 if (this.author == null) 2401 this.author = new ArrayList<ContactDetail>(); 2402 this.author.add(t); 2403 return t; 2404 } 2405 2406 public EvidenceVariable addAuthor(ContactDetail t) { //3 2407 if (t == null) 2408 return this; 2409 if (this.author == null) 2410 this.author = new ArrayList<ContactDetail>(); 2411 this.author.add(t); 2412 return this; 2413 } 2414 2415 /** 2416 * @return The first repetition of repeating field {@link #author}, creating it if it does not already exist {3} 2417 */ 2418 public ContactDetail getAuthorFirstRep() { 2419 if (getAuthor().isEmpty()) { 2420 addAuthor(); 2421 } 2422 return getAuthor().get(0); 2423 } 2424 2425 /** 2426 * @return {@link #editor} (An individual or organization primarily responsible for internal coherence of the content.) 2427 */ 2428 public List<ContactDetail> getEditor() { 2429 if (this.editor == null) 2430 this.editor = new ArrayList<ContactDetail>(); 2431 return this.editor; 2432 } 2433 2434 /** 2435 * @return Returns a reference to <code>this</code> for easy method chaining 2436 */ 2437 public EvidenceVariable setEditor(List<ContactDetail> theEditor) { 2438 this.editor = theEditor; 2439 return this; 2440 } 2441 2442 public boolean hasEditor() { 2443 if (this.editor == null) 2444 return false; 2445 for (ContactDetail item : this.editor) 2446 if (!item.isEmpty()) 2447 return true; 2448 return false; 2449 } 2450 2451 public ContactDetail addEditor() { //3 2452 ContactDetail t = new ContactDetail(); 2453 if (this.editor == null) 2454 this.editor = new ArrayList<ContactDetail>(); 2455 this.editor.add(t); 2456 return t; 2457 } 2458 2459 public EvidenceVariable addEditor(ContactDetail t) { //3 2460 if (t == null) 2461 return this; 2462 if (this.editor == null) 2463 this.editor = new ArrayList<ContactDetail>(); 2464 this.editor.add(t); 2465 return this; 2466 } 2467 2468 /** 2469 * @return The first repetition of repeating field {@link #editor}, creating it if it does not already exist {3} 2470 */ 2471 public ContactDetail getEditorFirstRep() { 2472 if (getEditor().isEmpty()) { 2473 addEditor(); 2474 } 2475 return getEditor().get(0); 2476 } 2477 2478 /** 2479 * @return {@link #reviewer} (An individual or organization primarily responsible for review of some aspect of the content.) 2480 */ 2481 public List<ContactDetail> getReviewer() { 2482 if (this.reviewer == null) 2483 this.reviewer = new ArrayList<ContactDetail>(); 2484 return this.reviewer; 2485 } 2486 2487 /** 2488 * @return Returns a reference to <code>this</code> for easy method chaining 2489 */ 2490 public EvidenceVariable setReviewer(List<ContactDetail> theReviewer) { 2491 this.reviewer = theReviewer; 2492 return this; 2493 } 2494 2495 public boolean hasReviewer() { 2496 if (this.reviewer == null) 2497 return false; 2498 for (ContactDetail item : this.reviewer) 2499 if (!item.isEmpty()) 2500 return true; 2501 return false; 2502 } 2503 2504 public ContactDetail addReviewer() { //3 2505 ContactDetail t = new ContactDetail(); 2506 if (this.reviewer == null) 2507 this.reviewer = new ArrayList<ContactDetail>(); 2508 this.reviewer.add(t); 2509 return t; 2510 } 2511 2512 public EvidenceVariable addReviewer(ContactDetail t) { //3 2513 if (t == null) 2514 return this; 2515 if (this.reviewer == null) 2516 this.reviewer = new ArrayList<ContactDetail>(); 2517 this.reviewer.add(t); 2518 return this; 2519 } 2520 2521 /** 2522 * @return The first repetition of repeating field {@link #reviewer}, creating it if it does not already exist {3} 2523 */ 2524 public ContactDetail getReviewerFirstRep() { 2525 if (getReviewer().isEmpty()) { 2526 addReviewer(); 2527 } 2528 return getReviewer().get(0); 2529 } 2530 2531 /** 2532 * @return {@link #endorser} (An individual or organization responsible for officially endorsing the content for use in some setting.) 2533 */ 2534 public List<ContactDetail> getEndorser() { 2535 if (this.endorser == null) 2536 this.endorser = new ArrayList<ContactDetail>(); 2537 return this.endorser; 2538 } 2539 2540 /** 2541 * @return Returns a reference to <code>this</code> for easy method chaining 2542 */ 2543 public EvidenceVariable setEndorser(List<ContactDetail> theEndorser) { 2544 this.endorser = theEndorser; 2545 return this; 2546 } 2547 2548 public boolean hasEndorser() { 2549 if (this.endorser == null) 2550 return false; 2551 for (ContactDetail item : this.endorser) 2552 if (!item.isEmpty()) 2553 return true; 2554 return false; 2555 } 2556 2557 public ContactDetail addEndorser() { //3 2558 ContactDetail t = new ContactDetail(); 2559 if (this.endorser == null) 2560 this.endorser = new ArrayList<ContactDetail>(); 2561 this.endorser.add(t); 2562 return t; 2563 } 2564 2565 public EvidenceVariable addEndorser(ContactDetail t) { //3 2566 if (t == null) 2567 return this; 2568 if (this.endorser == null) 2569 this.endorser = new ArrayList<ContactDetail>(); 2570 this.endorser.add(t); 2571 return this; 2572 } 2573 2574 /** 2575 * @return The first repetition of repeating field {@link #endorser}, creating it if it does not already exist {3} 2576 */ 2577 public ContactDetail getEndorserFirstRep() { 2578 if (getEndorser().isEmpty()) { 2579 addEndorser(); 2580 } 2581 return getEndorser().get(0); 2582 } 2583 2584 /** 2585 * @return {@link #relatedArtifact} (Related artifacts such as additional documentation, justification, or bibliographic references.) 2586 */ 2587 public List<RelatedArtifact> getRelatedArtifact() { 2588 if (this.relatedArtifact == null) 2589 this.relatedArtifact = new ArrayList<RelatedArtifact>(); 2590 return this.relatedArtifact; 2591 } 2592 2593 /** 2594 * @return Returns a reference to <code>this</code> for easy method chaining 2595 */ 2596 public EvidenceVariable setRelatedArtifact(List<RelatedArtifact> theRelatedArtifact) { 2597 this.relatedArtifact = theRelatedArtifact; 2598 return this; 2599 } 2600 2601 public boolean hasRelatedArtifact() { 2602 if (this.relatedArtifact == null) 2603 return false; 2604 for (RelatedArtifact item : this.relatedArtifact) 2605 if (!item.isEmpty()) 2606 return true; 2607 return false; 2608 } 2609 2610 public RelatedArtifact addRelatedArtifact() { //3 2611 RelatedArtifact t = new RelatedArtifact(); 2612 if (this.relatedArtifact == null) 2613 this.relatedArtifact = new ArrayList<RelatedArtifact>(); 2614 this.relatedArtifact.add(t); 2615 return t; 2616 } 2617 2618 public EvidenceVariable addRelatedArtifact(RelatedArtifact t) { //3 2619 if (t == null) 2620 return this; 2621 if (this.relatedArtifact == null) 2622 this.relatedArtifact = new ArrayList<RelatedArtifact>(); 2623 this.relatedArtifact.add(t); 2624 return this; 2625 } 2626 2627 /** 2628 * @return The first repetition of repeating field {@link #relatedArtifact}, creating it if it does not already exist {3} 2629 */ 2630 public RelatedArtifact getRelatedArtifactFirstRep() { 2631 if (getRelatedArtifact().isEmpty()) { 2632 addRelatedArtifact(); 2633 } 2634 return getRelatedArtifact().get(0); 2635 } 2636 2637 /** 2638 * @return {@link #type} (The type of evidence element, a population, an exposure, or an outcome.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value 2639 */ 2640 public Enumeration<EvidenceVariableType> getTypeElement() { 2641 if (this.type == null) 2642 if (Configuration.errorOnAutoCreate()) 2643 throw new Error("Attempt to auto-create EvidenceVariable.type"); 2644 else if (Configuration.doAutoCreate()) 2645 this.type = new Enumeration<EvidenceVariableType>(new EvidenceVariableTypeEnumFactory()); // bb 2646 return this.type; 2647 } 2648 2649 public boolean hasTypeElement() { 2650 return this.type != null && !this.type.isEmpty(); 2651 } 2652 2653 public boolean hasType() { 2654 return this.type != null && !this.type.isEmpty(); 2655 } 2656 2657 /** 2658 * @param value {@link #type} (The type of evidence element, a population, an exposure, or an outcome.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value 2659 */ 2660 public EvidenceVariable setTypeElement(Enumeration<EvidenceVariableType> value) { 2661 this.type = value; 2662 return this; 2663 } 2664 2665 /** 2666 * @return The type of evidence element, a population, an exposure, or an outcome. 2667 */ 2668 public EvidenceVariableType getType() { 2669 return this.type == null ? null : this.type.getValue(); 2670 } 2671 2672 /** 2673 * @param value The type of evidence element, a population, an exposure, or an outcome. 2674 */ 2675 public EvidenceVariable setType(EvidenceVariableType value) { 2676 if (value == null) 2677 this.type = null; 2678 else { 2679 if (this.type == null) 2680 this.type = new Enumeration<EvidenceVariableType>(new EvidenceVariableTypeEnumFactory()); 2681 this.type.setValue(value); 2682 } 2683 return this; 2684 } 2685 2686 /** 2687 * @return {@link #actual} (True if the actual variable measured, false if a conceptual representation of the intended variable.). This is the underlying object with id, value and extensions. The accessor "getActual" gives direct access to the value 2688 */ 2689 public BooleanType getActualElement() { 2690 if (this.actual == null) 2691 if (Configuration.errorOnAutoCreate()) 2692 throw new Error("Attempt to auto-create EvidenceVariable.actual"); 2693 else if (Configuration.doAutoCreate()) 2694 this.actual = new BooleanType(); // bb 2695 return this.actual; 2696 } 2697 2698 public boolean hasActualElement() { 2699 return this.actual != null && !this.actual.isEmpty(); 2700 } 2701 2702 public boolean hasActual() { 2703 return this.actual != null && !this.actual.isEmpty(); 2704 } 2705 2706 /** 2707 * @param value {@link #actual} (True if the actual variable measured, false if a conceptual representation of the intended variable.). This is the underlying object with id, value and extensions. The accessor "getActual" gives direct access to the value 2708 */ 2709 public EvidenceVariable setActualElement(BooleanType value) { 2710 this.actual = value; 2711 return this; 2712 } 2713 2714 /** 2715 * @return True if the actual variable measured, false if a conceptual representation of the intended variable. 2716 */ 2717 public boolean getActual() { 2718 return this.actual == null || this.actual.isEmpty() ? false : this.actual.getValue(); 2719 } 2720 2721 /** 2722 * @param value True if the actual variable measured, false if a conceptual representation of the intended variable. 2723 */ 2724 public EvidenceVariable setActual(boolean value) { 2725 if (this.actual == null) 2726 this.actual = new BooleanType(); 2727 this.actual.setValue(value); 2728 return this; 2729 } 2730 2731 /** 2732 * @return {@link #characteristic} (A characteristic that defines the members of the evidence element. Multiple characteristics are applied with "and" semantics.) 2733 */ 2734 public List<EvidenceVariableCharacteristicComponent> getCharacteristic() { 2735 if (this.characteristic == null) 2736 this.characteristic = new ArrayList<EvidenceVariableCharacteristicComponent>(); 2737 return this.characteristic; 2738 } 2739 2740 /** 2741 * @return Returns a reference to <code>this</code> for easy method chaining 2742 */ 2743 public EvidenceVariable setCharacteristic(List<EvidenceVariableCharacteristicComponent> theCharacteristic) { 2744 this.characteristic = theCharacteristic; 2745 return this; 2746 } 2747 2748 public boolean hasCharacteristic() { 2749 if (this.characteristic == null) 2750 return false; 2751 for (EvidenceVariableCharacteristicComponent item : this.characteristic) 2752 if (!item.isEmpty()) 2753 return true; 2754 return false; 2755 } 2756 2757 public EvidenceVariableCharacteristicComponent addCharacteristic() { //3 2758 EvidenceVariableCharacteristicComponent t = new EvidenceVariableCharacteristicComponent(); 2759 if (this.characteristic == null) 2760 this.characteristic = new ArrayList<EvidenceVariableCharacteristicComponent>(); 2761 this.characteristic.add(t); 2762 return t; 2763 } 2764 2765 public EvidenceVariable addCharacteristic(EvidenceVariableCharacteristicComponent t) { //3 2766 if (t == null) 2767 return this; 2768 if (this.characteristic == null) 2769 this.characteristic = new ArrayList<EvidenceVariableCharacteristicComponent>(); 2770 this.characteristic.add(t); 2771 return this; 2772 } 2773 2774 /** 2775 * @return The first repetition of repeating field {@link #characteristic}, creating it if it does not already exist {3} 2776 */ 2777 public EvidenceVariableCharacteristicComponent getCharacteristicFirstRep() { 2778 if (getCharacteristic().isEmpty()) { 2779 addCharacteristic(); 2780 } 2781 return getCharacteristic().get(0); 2782 } 2783 2784 /** 2785 * not supported on this implementation 2786 */ 2787 @Override 2788 public int getExperimentalMax() { 2789 return 0; 2790 } 2791 /** 2792 * @return {@link #experimental} (A Boolean value to indicate that this evidence variable is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value 2793 */ 2794 public BooleanType getExperimentalElement() { 2795 throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"experimental\""); 2796 } 2797 2798 public boolean hasExperimentalElement() { 2799 return false; 2800 } 2801 public boolean hasExperimental() { 2802 return false; 2803 } 2804 2805 /** 2806 * @param value {@link #experimental} (A Boolean value to indicate that this evidence variable is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value 2807 */ 2808 public EvidenceVariable setExperimentalElement(BooleanType value) { 2809 throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"experimental\""); 2810 } 2811 public boolean getExperimental() { 2812 throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"experimental\""); 2813 } 2814 /** 2815 * @param value A Boolean value to indicate that this evidence variable is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 2816 */ 2817 public EvidenceVariable setExperimental(boolean value) { 2818 throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"experimental\""); 2819 } 2820 /** 2821 * not supported on this implementation 2822 */ 2823 @Override 2824 public int getPurposeMax() { 2825 return 0; 2826 } 2827 /** 2828 * @return {@link #purpose} (Explanation of why this evidence variable is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value 2829 */ 2830 public MarkdownType getPurposeElement() { 2831 throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"purpose\""); 2832 } 2833 2834 public boolean hasPurposeElement() { 2835 return false; 2836 } 2837 public boolean hasPurpose() { 2838 return false; 2839 } 2840 2841 /** 2842 * @param value {@link #purpose} (Explanation of why this evidence variable is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value 2843 */ 2844 public EvidenceVariable setPurposeElement(MarkdownType value) { 2845 throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"purpose\""); 2846 } 2847 public String getPurpose() { 2848 throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"purpose\""); 2849 } 2850 /** 2851 * @param value Explanation of why this evidence variable is needed and why it has been designed as it has. 2852 */ 2853 public EvidenceVariable setPurpose(String value) { 2854 throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"purpose\""); 2855 } 2856 protected void listChildren(List<Property> children) { 2857 super.listChildren(children); 2858 children.add(new Property("url", "uri", "An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers.", 0, 1, url)); 2859 children.add(new Property("identifier", "Identifier", "A formal identifier that is used to identify this evidence variable when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier)); 2860 children.add(new Property("version", "string", "The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts.", 0, 1, version)); 2861 children.add(new Property("name", "string", "A natural language name identifying the evidence variable. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); 2862 children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the evidence variable.", 0, 1, title)); 2863 children.add(new Property("shortTitle", "string", "The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary.", 0, 1, shortTitle)); 2864 children.add(new Property("subtitle", "string", "An explanatory or alternate title for the EvidenceVariable giving additional information about its content.", 0, 1, subtitle)); 2865 children.add(new Property("status", "code", "The status of this evidence variable. Enables tracking the life-cycle of the content.", 0, 1, status)); 2866 children.add(new Property("date", "dateTime", "The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes.", 0, 1, date)); 2867 children.add(new Property("publisher", "string", "The name of the organization or individual that published the evidence variable.", 0, 1, publisher)); 2868 children.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); 2869 children.add(new Property("description", "markdown", "A free text natural language description of the evidence variable from a consumer's perspective.", 0, 1, description)); 2870 children.add(new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the resource.", 0, java.lang.Integer.MAX_VALUE, note)); 2871 children.add(new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); 2872 children.add(new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the evidence variable is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction)); 2873 children.add(new Property("copyright", "markdown", "A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable.", 0, 1, copyright)); 2874 children.add(new Property("approvalDate", "date", "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.", 0, 1, approvalDate)); 2875 children.add(new Property("lastReviewDate", "date", "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.", 0, 1, lastReviewDate)); 2876 children.add(new Property("effectivePeriod", "Period", "The period during which the evidence variable content was or is planned to be in active use.", 0, 1, effectivePeriod)); 2877 children.add(new Property("topic", "CodeableConcept", "Descriptive topics related to the content of the EvidenceVariable. Topics provide a high-level categorization grouping types of EvidenceVariables that can be useful for filtering and searching.", 0, java.lang.Integer.MAX_VALUE, topic)); 2878 children.add(new Property("author", "ContactDetail", "An individiual or organization primarily involved in the creation and maintenance of the content.", 0, java.lang.Integer.MAX_VALUE, author)); 2879 children.add(new Property("editor", "ContactDetail", "An individual or organization primarily responsible for internal coherence of the content.", 0, java.lang.Integer.MAX_VALUE, editor)); 2880 children.add(new Property("reviewer", "ContactDetail", "An individual or organization primarily responsible for review of some aspect of the content.", 0, java.lang.Integer.MAX_VALUE, reviewer)); 2881 children.add(new Property("endorser", "ContactDetail", "An individual or organization responsible for officially endorsing the content for use in some setting.", 0, java.lang.Integer.MAX_VALUE, endorser)); 2882 children.add(new Property("relatedArtifact", "RelatedArtifact", "Related artifacts such as additional documentation, justification, or bibliographic references.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact)); 2883 children.add(new Property("type", "code", "The type of evidence element, a population, an exposure, or an outcome.", 0, 1, type)); 2884 children.add(new Property("actual", "boolean", "True if the actual variable measured, false if a conceptual representation of the intended variable.", 0, 1, actual)); 2885 children.add(new Property("characteristic", "", "A characteristic that defines the members of the evidence element. Multiple characteristics are applied with \"and\" semantics.", 0, java.lang.Integer.MAX_VALUE, characteristic)); 2886 } 2887 2888 @Override 2889 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 2890 switch (_hash) { 2891 case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this evidence variable when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable is stored on different servers.", 0, 1, url); 2892 case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A formal identifier that is used to identify this evidence variable when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier); 2893 case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts.", 0, 1, version); 2894 case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the evidence variable. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); 2895 case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the evidence variable.", 0, 1, title); 2896 case 1555503932: /*shortTitle*/ return new Property("shortTitle", "string", "The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary.", 0, 1, shortTitle); 2897 case -2060497896: /*subtitle*/ return new Property("subtitle", "string", "An explanatory or alternate title for the EvidenceVariable giving additional information about its content.", 0, 1, subtitle); 2898 case -892481550: /*status*/ return new Property("status", "code", "The status of this evidence variable. Enables tracking the life-cycle of the content.", 0, 1, status); 2899 case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes.", 0, 1, date); 2900 case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the evidence variable.", 0, 1, publisher); 2901 case 951526432: /*contact*/ return new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact); 2902 case -1724546052: /*description*/ return new Property("description", "markdown", "A free text natural language description of the evidence variable from a consumer's perspective.", 0, 1, description); 2903 case 3387378: /*note*/ return new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the resource.", 0, java.lang.Integer.MAX_VALUE, note); 2904 case -669707736: /*useContext*/ return new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances.", 0, java.lang.Integer.MAX_VALUE, useContext); 2905 case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the evidence variable is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction); 2906 case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable.", 0, 1, copyright); 2907 case 223539345: /*approvalDate*/ return new Property("approvalDate", "date", "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.", 0, 1, approvalDate); 2908 case -1687512484: /*lastReviewDate*/ return new Property("lastReviewDate", "date", "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.", 0, 1, lastReviewDate); 2909 case -403934648: /*effectivePeriod*/ return new Property("effectivePeriod", "Period", "The period during which the evidence variable content was or is planned to be in active use.", 0, 1, effectivePeriod); 2910 case 110546223: /*topic*/ return new Property("topic", "CodeableConcept", "Descriptive topics related to the content of the EvidenceVariable. Topics provide a high-level categorization grouping types of EvidenceVariables that can be useful for filtering and searching.", 0, java.lang.Integer.MAX_VALUE, topic); 2911 case -1406328437: /*author*/ return new Property("author", "ContactDetail", "An individiual or organization primarily involved in the creation and maintenance of the content.", 0, java.lang.Integer.MAX_VALUE, author); 2912 case -1307827859: /*editor*/ return new Property("editor", "ContactDetail", "An individual or organization primarily responsible for internal coherence of the content.", 0, java.lang.Integer.MAX_VALUE, editor); 2913 case -261190139: /*reviewer*/ return new Property("reviewer", "ContactDetail", "An individual or organization primarily responsible for review of some aspect of the content.", 0, java.lang.Integer.MAX_VALUE, reviewer); 2914 case 1740277666: /*endorser*/ return new Property("endorser", "ContactDetail", "An individual or organization responsible for officially endorsing the content for use in some setting.", 0, java.lang.Integer.MAX_VALUE, endorser); 2915 case 666807069: /*relatedArtifact*/ return new Property("relatedArtifact", "RelatedArtifact", "Related artifacts such as additional documentation, justification, or bibliographic references.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact); 2916 case 3575610: /*type*/ return new Property("type", "code", "The type of evidence element, a population, an exposure, or an outcome.", 0, 1, type); 2917 case -1422939762: /*actual*/ return new Property("actual", "boolean", "True if the actual variable measured, false if a conceptual representation of the intended variable.", 0, 1, actual); 2918 case 366313883: /*characteristic*/ return new Property("characteristic", "", "A characteristic that defines the members of the evidence element. Multiple characteristics are applied with \"and\" semantics.", 0, java.lang.Integer.MAX_VALUE, characteristic); 2919 default: return super.getNamedProperty(_hash, _name, _checkValid); 2920 } 2921 2922 } 2923 2924 @Override 2925 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 2926 switch (hash) { 2927 case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType 2928 case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier 2929 case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType 2930 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType 2931 case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType 2932 case 1555503932: /*shortTitle*/ return this.shortTitle == null ? new Base[0] : new Base[] {this.shortTitle}; // StringType 2933 case -2060497896: /*subtitle*/ return this.subtitle == null ? new Base[0] : new Base[] {this.subtitle}; // StringType 2934 case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<PublicationStatus> 2935 case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType 2936 case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType 2937 case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail 2938 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType 2939 case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation 2940 case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext 2941 case -507075711: /*jurisdiction*/ return this.jurisdiction == null ? new Base[0] : this.jurisdiction.toArray(new Base[this.jurisdiction.size()]); // CodeableConcept 2942 case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType 2943 case 223539345: /*approvalDate*/ return this.approvalDate == null ? new Base[0] : new Base[] {this.approvalDate}; // DateType 2944 case -1687512484: /*lastReviewDate*/ return this.lastReviewDate == null ? new Base[0] : new Base[] {this.lastReviewDate}; // DateType 2945 case -403934648: /*effectivePeriod*/ return this.effectivePeriod == null ? new Base[0] : new Base[] {this.effectivePeriod}; // Period 2946 case 110546223: /*topic*/ return this.topic == null ? new Base[0] : this.topic.toArray(new Base[this.topic.size()]); // CodeableConcept 2947 case -1406328437: /*author*/ return this.author == null ? new Base[0] : this.author.toArray(new Base[this.author.size()]); // ContactDetail 2948 case -1307827859: /*editor*/ return this.editor == null ? new Base[0] : this.editor.toArray(new Base[this.editor.size()]); // ContactDetail 2949 case -261190139: /*reviewer*/ return this.reviewer == null ? new Base[0] : this.reviewer.toArray(new Base[this.reviewer.size()]); // ContactDetail 2950 case 1740277666: /*endorser*/ return this.endorser == null ? new Base[0] : this.endorser.toArray(new Base[this.endorser.size()]); // ContactDetail 2951 case 666807069: /*relatedArtifact*/ return this.relatedArtifact == null ? new Base[0] : this.relatedArtifact.toArray(new Base[this.relatedArtifact.size()]); // RelatedArtifact 2952 case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration<EvidenceVariableType> 2953 case -1422939762: /*actual*/ return this.actual == null ? new Base[0] : new Base[] {this.actual}; // BooleanType 2954 case 366313883: /*characteristic*/ return this.characteristic == null ? new Base[0] : this.characteristic.toArray(new Base[this.characteristic.size()]); // EvidenceVariableCharacteristicComponent 2955 default: return super.getProperty(hash, name, checkValid); 2956 } 2957 2958 } 2959 2960 @Override 2961 public Base setProperty(int hash, String name, Base value) throws FHIRException { 2962 switch (hash) { 2963 case 116079: // url 2964 this.url = TypeConvertor.castToUri(value); // UriType 2965 return value; 2966 case -1618432855: // identifier 2967 this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier 2968 return value; 2969 case 351608024: // version 2970 this.version = TypeConvertor.castToString(value); // StringType 2971 return value; 2972 case 3373707: // name 2973 this.name = TypeConvertor.castToString(value); // StringType 2974 return value; 2975 case 110371416: // title 2976 this.title = TypeConvertor.castToString(value); // StringType 2977 return value; 2978 case 1555503932: // shortTitle 2979 this.shortTitle = TypeConvertor.castToString(value); // StringType 2980 return value; 2981 case -2060497896: // subtitle 2982 this.subtitle = TypeConvertor.castToString(value); // StringType 2983 return value; 2984 case -892481550: // status 2985 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 2986 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 2987 return value; 2988 case 3076014: // date 2989 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 2990 return value; 2991 case 1447404028: // publisher 2992 this.publisher = TypeConvertor.castToString(value); // StringType 2993 return value; 2994 case 951526432: // contact 2995 this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 2996 return value; 2997 case -1724546052: // description 2998 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 2999 return value; 3000 case 3387378: // note 3001 this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation 3002 return value; 3003 case -669707736: // useContext 3004 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext 3005 return value; 3006 case -507075711: // jurisdiction 3007 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept 3008 return value; 3009 case 1522889671: // copyright 3010 this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType 3011 return value; 3012 case 223539345: // approvalDate 3013 this.approvalDate = TypeConvertor.castToDate(value); // DateType 3014 return value; 3015 case -1687512484: // lastReviewDate 3016 this.lastReviewDate = TypeConvertor.castToDate(value); // DateType 3017 return value; 3018 case -403934648: // effectivePeriod 3019 this.effectivePeriod = TypeConvertor.castToPeriod(value); // Period 3020 return value; 3021 case 110546223: // topic 3022 this.getTopic().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept 3023 return value; 3024 case -1406328437: // author 3025 this.getAuthor().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 3026 return value; 3027 case -1307827859: // editor 3028 this.getEditor().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 3029 return value; 3030 case -261190139: // reviewer 3031 this.getReviewer().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 3032 return value; 3033 case 1740277666: // endorser 3034 this.getEndorser().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 3035 return value; 3036 case 666807069: // relatedArtifact 3037 this.getRelatedArtifact().add(TypeConvertor.castToRelatedArtifact(value)); // RelatedArtifact 3038 return value; 3039 case 3575610: // type 3040 value = new EvidenceVariableTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); 3041 this.type = (Enumeration) value; // Enumeration<EvidenceVariableType> 3042 return value; 3043 case -1422939762: // actual 3044 this.actual = TypeConvertor.castToBoolean(value); // BooleanType 3045 return value; 3046 case 366313883: // characteristic 3047 this.getCharacteristic().add((EvidenceVariableCharacteristicComponent) value); // EvidenceVariableCharacteristicComponent 3048 return value; 3049 default: return super.setProperty(hash, name, value); 3050 } 3051 3052 } 3053 3054 @Override 3055 public Base setProperty(String name, Base value) throws FHIRException { 3056 if (name.equals("url")) { 3057 this.url = TypeConvertor.castToUri(value); // UriType 3058 } else if (name.equals("identifier")) { 3059 this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); 3060 } else if (name.equals("version")) { 3061 this.version = TypeConvertor.castToString(value); // StringType 3062 } else if (name.equals("name")) { 3063 this.name = TypeConvertor.castToString(value); // StringType 3064 } else if (name.equals("title")) { 3065 this.title = TypeConvertor.castToString(value); // StringType 3066 } else if (name.equals("shortTitle")) { 3067 this.shortTitle = TypeConvertor.castToString(value); // StringType 3068 } else if (name.equals("subtitle")) { 3069 this.subtitle = TypeConvertor.castToString(value); // StringType 3070 } else if (name.equals("status")) { 3071 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 3072 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 3073 } else if (name.equals("date")) { 3074 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 3075 } else if (name.equals("publisher")) { 3076 this.publisher = TypeConvertor.castToString(value); // StringType 3077 } else if (name.equals("contact")) { 3078 this.getContact().add(TypeConvertor.castToContactDetail(value)); 3079 } else if (name.equals("description")) { 3080 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 3081 } else if (name.equals("note")) { 3082 this.getNote().add(TypeConvertor.castToAnnotation(value)); 3083 } else if (name.equals("useContext")) { 3084 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); 3085 } else if (name.equals("jurisdiction")) { 3086 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); 3087 } else if (name.equals("copyright")) { 3088 this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType 3089 } else if (name.equals("approvalDate")) { 3090 this.approvalDate = TypeConvertor.castToDate(value); // DateType 3091 } else if (name.equals("lastReviewDate")) { 3092 this.lastReviewDate = TypeConvertor.castToDate(value); // DateType 3093 } else if (name.equals("effectivePeriod")) { 3094 this.effectivePeriod = TypeConvertor.castToPeriod(value); // Period 3095 } else if (name.equals("topic")) { 3096 this.getTopic().add(TypeConvertor.castToCodeableConcept(value)); 3097 } else if (name.equals("author")) { 3098 this.getAuthor().add(TypeConvertor.castToContactDetail(value)); 3099 } else if (name.equals("editor")) { 3100 this.getEditor().add(TypeConvertor.castToContactDetail(value)); 3101 } else if (name.equals("reviewer")) { 3102 this.getReviewer().add(TypeConvertor.castToContactDetail(value)); 3103 } else if (name.equals("endorser")) { 3104 this.getEndorser().add(TypeConvertor.castToContactDetail(value)); 3105 } else if (name.equals("relatedArtifact")) { 3106 this.getRelatedArtifact().add(TypeConvertor.castToRelatedArtifact(value)); 3107 } else if (name.equals("type")) { 3108 value = new EvidenceVariableTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); 3109 this.type = (Enumeration) value; // Enumeration<EvidenceVariableType> 3110 } else if (name.equals("actual")) { 3111 this.actual = TypeConvertor.castToBoolean(value); // BooleanType 3112 } else if (name.equals("characteristic")) { 3113 this.getCharacteristic().add((EvidenceVariableCharacteristicComponent) value); 3114 } else 3115 return super.setProperty(name, value); 3116 return value; 3117 } 3118 3119 @Override 3120 public Base makeProperty(int hash, String name) throws FHIRException { 3121 switch (hash) { 3122 case 116079: return getUrlElement(); 3123 case -1618432855: return addIdentifier(); 3124 case 351608024: return getVersionElement(); 3125 case 3373707: return getNameElement(); 3126 case 110371416: return getTitleElement(); 3127 case 1555503932: return getShortTitleElement(); 3128 case -2060497896: return getSubtitleElement(); 3129 case -892481550: return getStatusElement(); 3130 case 3076014: return getDateElement(); 3131 case 1447404028: return getPublisherElement(); 3132 case 951526432: return addContact(); 3133 case -1724546052: return getDescriptionElement(); 3134 case 3387378: return addNote(); 3135 case -669707736: return addUseContext(); 3136 case -507075711: return addJurisdiction(); 3137 case 1522889671: return getCopyrightElement(); 3138 case 223539345: return getApprovalDateElement(); 3139 case -1687512484: return getLastReviewDateElement(); 3140 case -403934648: return getEffectivePeriod(); 3141 case 110546223: return addTopic(); 3142 case -1406328437: return addAuthor(); 3143 case -1307827859: return addEditor(); 3144 case -261190139: return addReviewer(); 3145 case 1740277666: return addEndorser(); 3146 case 666807069: return addRelatedArtifact(); 3147 case 3575610: return getTypeElement(); 3148 case -1422939762: return getActualElement(); 3149 case 366313883: return addCharacteristic(); 3150 default: return super.makeProperty(hash, name); 3151 } 3152 3153 } 3154 3155 @Override 3156 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 3157 switch (hash) { 3158 case 116079: /*url*/ return new String[] {"uri"}; 3159 case -1618432855: /*identifier*/ return new String[] {"Identifier"}; 3160 case 351608024: /*version*/ return new String[] {"string"}; 3161 case 3373707: /*name*/ return new String[] {"string"}; 3162 case 110371416: /*title*/ return new String[] {"string"}; 3163 case 1555503932: /*shortTitle*/ return new String[] {"string"}; 3164 case -2060497896: /*subtitle*/ return new String[] {"string"}; 3165 case -892481550: /*status*/ return new String[] {"code"}; 3166 case 3076014: /*date*/ return new String[] {"dateTime"}; 3167 case 1447404028: /*publisher*/ return new String[] {"string"}; 3168 case 951526432: /*contact*/ return new String[] {"ContactDetail"}; 3169 case -1724546052: /*description*/ return new String[] {"markdown"}; 3170 case 3387378: /*note*/ return new String[] {"Annotation"}; 3171 case -669707736: /*useContext*/ return new String[] {"UsageContext"}; 3172 case -507075711: /*jurisdiction*/ return new String[] {"CodeableConcept"}; 3173 case 1522889671: /*copyright*/ return new String[] {"markdown"}; 3174 case 223539345: /*approvalDate*/ return new String[] {"date"}; 3175 case -1687512484: /*lastReviewDate*/ return new String[] {"date"}; 3176 case -403934648: /*effectivePeriod*/ return new String[] {"Period"}; 3177 case 110546223: /*topic*/ return new String[] {"CodeableConcept"}; 3178 case -1406328437: /*author*/ return new String[] {"ContactDetail"}; 3179 case -1307827859: /*editor*/ return new String[] {"ContactDetail"}; 3180 case -261190139: /*reviewer*/ return new String[] {"ContactDetail"}; 3181 case 1740277666: /*endorser*/ return new String[] {"ContactDetail"}; 3182 case 666807069: /*relatedArtifact*/ return new String[] {"RelatedArtifact"}; 3183 case 3575610: /*type*/ return new String[] {"code"}; 3184 case -1422939762: /*actual*/ return new String[] {"boolean"}; 3185 case 366313883: /*characteristic*/ return new String[] {}; 3186 default: return super.getTypesForProperty(hash, name); 3187 } 3188 3189 } 3190 3191 @Override 3192 public Base addChild(String name) throws FHIRException { 3193 if (name.equals("url")) { 3194 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.url"); 3195 } 3196 else if (name.equals("identifier")) { 3197 return addIdentifier(); 3198 } 3199 else if (name.equals("version")) { 3200 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.version"); 3201 } 3202 else if (name.equals("name")) { 3203 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.name"); 3204 } 3205 else if (name.equals("title")) { 3206 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.title"); 3207 } 3208 else if (name.equals("shortTitle")) { 3209 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.shortTitle"); 3210 } 3211 else if (name.equals("subtitle")) { 3212 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.subtitle"); 3213 } 3214 else if (name.equals("status")) { 3215 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.status"); 3216 } 3217 else if (name.equals("date")) { 3218 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.date"); 3219 } 3220 else if (name.equals("publisher")) { 3221 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.publisher"); 3222 } 3223 else if (name.equals("contact")) { 3224 return addContact(); 3225 } 3226 else if (name.equals("description")) { 3227 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.description"); 3228 } 3229 else if (name.equals("note")) { 3230 return addNote(); 3231 } 3232 else if (name.equals("useContext")) { 3233 return addUseContext(); 3234 } 3235 else if (name.equals("jurisdiction")) { 3236 return addJurisdiction(); 3237 } 3238 else if (name.equals("copyright")) { 3239 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.copyright"); 3240 } 3241 else if (name.equals("approvalDate")) { 3242 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.approvalDate"); 3243 } 3244 else if (name.equals("lastReviewDate")) { 3245 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.lastReviewDate"); 3246 } 3247 else if (name.equals("effectivePeriod")) { 3248 this.effectivePeriod = new Period(); 3249 return this.effectivePeriod; 3250 } 3251 else if (name.equals("topic")) { 3252 return addTopic(); 3253 } 3254 else if (name.equals("author")) { 3255 return addAuthor(); 3256 } 3257 else if (name.equals("editor")) { 3258 return addEditor(); 3259 } 3260 else if (name.equals("reviewer")) { 3261 return addReviewer(); 3262 } 3263 else if (name.equals("endorser")) { 3264 return addEndorser(); 3265 } 3266 else if (name.equals("relatedArtifact")) { 3267 return addRelatedArtifact(); 3268 } 3269 else if (name.equals("type")) { 3270 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.type"); 3271 } 3272 else if (name.equals("actual")) { 3273 throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.actual"); 3274 } 3275 else if (name.equals("characteristic")) { 3276 return addCharacteristic(); 3277 } 3278 else 3279 return super.addChild(name); 3280 } 3281 3282 public String fhirType() { 3283 return "EvidenceVariable"; 3284 3285 } 3286 3287 public EvidenceVariable copy() { 3288 EvidenceVariable dst = new EvidenceVariable(); 3289 copyValues(dst); 3290 return dst; 3291 } 3292 3293 public void copyValues(EvidenceVariable dst) { 3294 super.copyValues(dst); 3295 dst.url = url == null ? null : url.copy(); 3296 if (identifier != null) { 3297 dst.identifier = new ArrayList<Identifier>(); 3298 for (Identifier i : identifier) 3299 dst.identifier.add(i.copy()); 3300 }; 3301 dst.version = version == null ? null : version.copy(); 3302 dst.name = name == null ? null : name.copy(); 3303 dst.title = title == null ? null : title.copy(); 3304 dst.shortTitle = shortTitle == null ? null : shortTitle.copy(); 3305 dst.subtitle = subtitle == null ? null : subtitle.copy(); 3306 dst.status = status == null ? null : status.copy(); 3307 dst.date = date == null ? null : date.copy(); 3308 dst.publisher = publisher == null ? null : publisher.copy(); 3309 if (contact != null) { 3310 dst.contact = new ArrayList<ContactDetail>(); 3311 for (ContactDetail i : contact) 3312 dst.contact.add(i.copy()); 3313 }; 3314 dst.description = description == null ? null : description.copy(); 3315 if (note != null) { 3316 dst.note = new ArrayList<Annotation>(); 3317 for (Annotation i : note) 3318 dst.note.add(i.copy()); 3319 }; 3320 if (useContext != null) { 3321 dst.useContext = new ArrayList<UsageContext>(); 3322 for (UsageContext i : useContext) 3323 dst.useContext.add(i.copy()); 3324 }; 3325 if (jurisdiction != null) { 3326 dst.jurisdiction = new ArrayList<CodeableConcept>(); 3327 for (CodeableConcept i : jurisdiction) 3328 dst.jurisdiction.add(i.copy()); 3329 }; 3330 dst.copyright = copyright == null ? null : copyright.copy(); 3331 dst.approvalDate = approvalDate == null ? null : approvalDate.copy(); 3332 dst.lastReviewDate = lastReviewDate == null ? null : lastReviewDate.copy(); 3333 dst.effectivePeriod = effectivePeriod == null ? null : effectivePeriod.copy(); 3334 if (topic != null) { 3335 dst.topic = new ArrayList<CodeableConcept>(); 3336 for (CodeableConcept i : topic) 3337 dst.topic.add(i.copy()); 3338 }; 3339 if (author != null) { 3340 dst.author = new ArrayList<ContactDetail>(); 3341 for (ContactDetail i : author) 3342 dst.author.add(i.copy()); 3343 }; 3344 if (editor != null) { 3345 dst.editor = new ArrayList<ContactDetail>(); 3346 for (ContactDetail i : editor) 3347 dst.editor.add(i.copy()); 3348 }; 3349 if (reviewer != null) { 3350 dst.reviewer = new ArrayList<ContactDetail>(); 3351 for (ContactDetail i : reviewer) 3352 dst.reviewer.add(i.copy()); 3353 }; 3354 if (endorser != null) { 3355 dst.endorser = new ArrayList<ContactDetail>(); 3356 for (ContactDetail i : endorser) 3357 dst.endorser.add(i.copy()); 3358 }; 3359 if (relatedArtifact != null) { 3360 dst.relatedArtifact = new ArrayList<RelatedArtifact>(); 3361 for (RelatedArtifact i : relatedArtifact) 3362 dst.relatedArtifact.add(i.copy()); 3363 }; 3364 dst.type = type == null ? null : type.copy(); 3365 dst.actual = actual == null ? null : actual.copy(); 3366 if (characteristic != null) { 3367 dst.characteristic = new ArrayList<EvidenceVariableCharacteristicComponent>(); 3368 for (EvidenceVariableCharacteristicComponent i : characteristic) 3369 dst.characteristic.add(i.copy()); 3370 }; 3371 } 3372 3373 protected EvidenceVariable typedCopy() { 3374 return copy(); 3375 } 3376 3377 @Override 3378 public boolean equalsDeep(Base other_) { 3379 if (!super.equalsDeep(other_)) 3380 return false; 3381 if (!(other_ instanceof EvidenceVariable)) 3382 return false; 3383 EvidenceVariable o = (EvidenceVariable) other_; 3384 return compareDeep(url, o.url, true) && compareDeep(identifier, o.identifier, true) && compareDeep(version, o.version, true) 3385 && compareDeep(name, o.name, true) && compareDeep(title, o.title, true) && compareDeep(shortTitle, o.shortTitle, true) 3386 && compareDeep(subtitle, o.subtitle, true) && compareDeep(status, o.status, true) && compareDeep(date, o.date, true) 3387 && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) && compareDeep(description, o.description, true) 3388 && compareDeep(note, o.note, true) && compareDeep(useContext, o.useContext, true) && compareDeep(jurisdiction, o.jurisdiction, true) 3389 && compareDeep(copyright, o.copyright, true) && compareDeep(approvalDate, o.approvalDate, true) 3390 && compareDeep(lastReviewDate, o.lastReviewDate, true) && compareDeep(effectivePeriod, o.effectivePeriod, true) 3391 && compareDeep(topic, o.topic, true) && compareDeep(author, o.author, true) && compareDeep(editor, o.editor, true) 3392 && compareDeep(reviewer, o.reviewer, true) && compareDeep(endorser, o.endorser, true) && compareDeep(relatedArtifact, o.relatedArtifact, true) 3393 && compareDeep(type, o.type, true) && compareDeep(actual, o.actual, true) && compareDeep(characteristic, o.characteristic, true) 3394 ; 3395 } 3396 3397 @Override 3398 public boolean equalsShallow(Base other_) { 3399 if (!super.equalsShallow(other_)) 3400 return false; 3401 if (!(other_ instanceof EvidenceVariable)) 3402 return false; 3403 EvidenceVariable o = (EvidenceVariable) other_; 3404 return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) 3405 && compareValues(title, o.title, true) && compareValues(shortTitle, o.shortTitle, true) && compareValues(subtitle, o.subtitle, true) 3406 && compareValues(status, o.status, true) && compareValues(date, o.date, true) && compareValues(publisher, o.publisher, true) 3407 && compareValues(description, o.description, true) && compareValues(copyright, o.copyright, true) && compareValues(approvalDate, o.approvalDate, true) 3408 && compareValues(lastReviewDate, o.lastReviewDate, true) && compareValues(type, o.type, true) && compareValues(actual, o.actual, true) 3409 ; 3410 } 3411 3412 public boolean isEmpty() { 3413 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, identifier, version 3414 , name, title, shortTitle, subtitle, status, date, publisher, contact, description 3415 , note, useContext, jurisdiction, copyright, approvalDate, lastReviewDate, effectivePeriod 3416 , topic, author, editor, reviewer, endorser, relatedArtifact, type, actual, characteristic 3417 ); 3418 } 3419 3420 @Override 3421 public ResourceType getResourceType() { 3422 return ResourceType.EvidenceVariable; 3423 } 3424 3425 /** 3426 * Search parameter: <b>composed-of</b> 3427 * <p> 3428 * Description: <b>What resource is being referenced</b><br> 3429 * Type: <b>reference</b><br> 3430 * Path: <b>EvidenceVariable.relatedArtifact.where(type='composed-of').resource</b><br> 3431 * </p> 3432 */ 3433 @SearchParamDefinition(name="composed-of", path="EvidenceVariable.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) 3434 public static final String SP_COMPOSED_OF = "composed-of"; 3435 /** 3436 * <b>Fluent Client</b> search parameter constant for <b>composed-of</b> 3437 * <p> 3438 * Description: <b>What resource is being referenced</b><br> 3439 * Type: <b>reference</b><br> 3440 * Path: <b>EvidenceVariable.relatedArtifact.where(type='composed-of').resource</b><br> 3441 * </p> 3442 */ 3443 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSED_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSED_OF); 3444 3445/** 3446 * Constant for fluent queries to be used to add include statements. Specifies 3447 * the path value of "<b>EvidenceVariable:composed-of</b>". 3448 */ 3449 public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSED_OF = new ca.uhn.fhir.model.api.Include("EvidenceVariable:composed-of").toLocked(); 3450 3451 /** 3452 * Search parameter: <b>context-quantity</b> 3453 * <p> 3454 * Description: <b>A quantity- or range-valued use context assigned to the evidence variable</b><br> 3455 * Type: <b>quantity</b><br> 3456 * Path: <b>(EvidenceVariable.useContext.value as Quantity) | (EvidenceVariable.useContext.value as Range)</b><br> 3457 * </p> 3458 */ 3459 @SearchParamDefinition(name="context-quantity", path="(EvidenceVariable.useContext.value as Quantity) | (EvidenceVariable.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the evidence variable", type="quantity" ) 3460 public static final String SP_CONTEXT_QUANTITY = "context-quantity"; 3461 /** 3462 * <b>Fluent Client</b> search parameter constant for <b>context-quantity</b> 3463 * <p> 3464 * Description: <b>A quantity- or range-valued use context assigned to the evidence variable</b><br> 3465 * Type: <b>quantity</b><br> 3466 * Path: <b>(EvidenceVariable.useContext.value as Quantity) | (EvidenceVariable.useContext.value as Range)</b><br> 3467 * </p> 3468 */ 3469 public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); 3470 3471 /** 3472 * Search parameter: <b>context-type-quantity</b> 3473 * <p> 3474 * Description: <b>A use context type and quantity- or range-based value assigned to the evidence variable</b><br> 3475 * Type: <b>composite</b><br> 3476 * Path: <b>EvidenceVariable.useContext</b><br> 3477 * </p> 3478 */ 3479 @SearchParamDefinition(name="context-type-quantity", path="EvidenceVariable.useContext", description="A use context type and quantity- or range-based value assigned to the evidence variable", type="composite", compositeOf={"context-type", "context-quantity"} ) 3480 public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; 3481 /** 3482 * <b>Fluent Client</b> search parameter constant for <b>context-type-quantity</b> 3483 * <p> 3484 * Description: <b>A use context type and quantity- or range-based value assigned to the evidence variable</b><br> 3485 * Type: <b>composite</b><br> 3486 * Path: <b>EvidenceVariable.useContext</b><br> 3487 * </p> 3488 */ 3489 public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.QuantityClientParam> CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.QuantityClientParam>(SP_CONTEXT_TYPE_QUANTITY); 3490 3491 /** 3492 * Search parameter: <b>context-type-value</b> 3493 * <p> 3494 * Description: <b>A use context type and value assigned to the evidence variable</b><br> 3495 * Type: <b>composite</b><br> 3496 * Path: <b>EvidenceVariable.useContext</b><br> 3497 * </p> 3498 */ 3499 @SearchParamDefinition(name="context-type-value", path="EvidenceVariable.useContext", description="A use context type and value assigned to the evidence variable", type="composite", compositeOf={"context-type", "context"} ) 3500 public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; 3501 /** 3502 * <b>Fluent Client</b> search parameter constant for <b>context-type-value</b> 3503 * <p> 3504 * Description: <b>A use context type and value assigned to the evidence variable</b><br> 3505 * Type: <b>composite</b><br> 3506 * Path: <b>EvidenceVariable.useContext</b><br> 3507 * </p> 3508 */ 3509 public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.TokenClientParam> CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.TokenClientParam>(SP_CONTEXT_TYPE_VALUE); 3510 3511 /** 3512 * Search parameter: <b>context-type</b> 3513 * <p> 3514 * Description: <b>A type of use context assigned to the evidence variable</b><br> 3515 * Type: <b>token</b><br> 3516 * Path: <b>EvidenceVariable.useContext.code</b><br> 3517 * </p> 3518 */ 3519 @SearchParamDefinition(name="context-type", path="EvidenceVariable.useContext.code", description="A type of use context assigned to the evidence variable", type="token" ) 3520 public static final String SP_CONTEXT_TYPE = "context-type"; 3521 /** 3522 * <b>Fluent Client</b> search parameter constant for <b>context-type</b> 3523 * <p> 3524 * Description: <b>A type of use context assigned to the evidence variable</b><br> 3525 * Type: <b>token</b><br> 3526 * Path: <b>EvidenceVariable.useContext.code</b><br> 3527 * </p> 3528 */ 3529 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); 3530 3531 /** 3532 * Search parameter: <b>context</b> 3533 * <p> 3534 * Description: <b>A use context assigned to the evidence variable</b><br> 3535 * Type: <b>token</b><br> 3536 * Path: <b>(EvidenceVariable.useContext.value as CodeableConcept)</b><br> 3537 * </p> 3538 */ 3539 @SearchParamDefinition(name="context", path="(EvidenceVariable.useContext.value as CodeableConcept)", description="A use context assigned to the evidence variable", type="token" ) 3540 public static final String SP_CONTEXT = "context"; 3541 /** 3542 * <b>Fluent Client</b> search parameter constant for <b>context</b> 3543 * <p> 3544 * Description: <b>A use context assigned to the evidence variable</b><br> 3545 * Type: <b>token</b><br> 3546 * Path: <b>(EvidenceVariable.useContext.value as CodeableConcept)</b><br> 3547 * </p> 3548 */ 3549 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); 3550 3551 /** 3552 * Search parameter: <b>date</b> 3553 * <p> 3554 * Description: <b>The evidence variable publication date</b><br> 3555 * Type: <b>date</b><br> 3556 * Path: <b>EvidenceVariable.date</b><br> 3557 * </p> 3558 */ 3559 @SearchParamDefinition(name="date", path="EvidenceVariable.date", description="The evidence variable publication date", type="date" ) 3560 public static final String SP_DATE = "date"; 3561 /** 3562 * <b>Fluent Client</b> search parameter constant for <b>date</b> 3563 * <p> 3564 * Description: <b>The evidence variable publication date</b><br> 3565 * Type: <b>date</b><br> 3566 * Path: <b>EvidenceVariable.date</b><br> 3567 * </p> 3568 */ 3569 public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); 3570 3571 /** 3572 * Search parameter: <b>depends-on</b> 3573 * <p> 3574 * Description: <b>What resource is being referenced</b><br> 3575 * Type: <b>reference</b><br> 3576 * Path: <b>EvidenceVariable.relatedArtifact.where(type='depends-on').resource</b><br> 3577 * </p> 3578 */ 3579 @SearchParamDefinition(name="depends-on", path="EvidenceVariable.relatedArtifact.where(type='depends-on').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) 3580 public static final String SP_DEPENDS_ON = "depends-on"; 3581 /** 3582 * <b>Fluent Client</b> search parameter constant for <b>depends-on</b> 3583 * <p> 3584 * Description: <b>What resource is being referenced</b><br> 3585 * Type: <b>reference</b><br> 3586 * Path: <b>EvidenceVariable.relatedArtifact.where(type='depends-on').resource</b><br> 3587 * </p> 3588 */ 3589 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); 3590 3591/** 3592 * Constant for fluent queries to be used to add include statements. Specifies 3593 * the path value of "<b>EvidenceVariable:depends-on</b>". 3594 */ 3595 public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("EvidenceVariable:depends-on").toLocked(); 3596 3597 /** 3598 * Search parameter: <b>derived-from</b> 3599 * <p> 3600 * Description: <b>What resource is being referenced</b><br> 3601 * Type: <b>reference</b><br> 3602 * Path: <b>EvidenceVariable.relatedArtifact.where(type='derived-from').resource</b><br> 3603 * </p> 3604 */ 3605 @SearchParamDefinition(name="derived-from", path="EvidenceVariable.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) 3606 public static final String SP_DERIVED_FROM = "derived-from"; 3607 /** 3608 * <b>Fluent Client</b> search parameter constant for <b>derived-from</b> 3609 * <p> 3610 * Description: <b>What resource is being referenced</b><br> 3611 * Type: <b>reference</b><br> 3612 * Path: <b>EvidenceVariable.relatedArtifact.where(type='derived-from').resource</b><br> 3613 * </p> 3614 */ 3615 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); 3616 3617/** 3618 * Constant for fluent queries to be used to add include statements. Specifies 3619 * the path value of "<b>EvidenceVariable:derived-from</b>". 3620 */ 3621 public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("EvidenceVariable:derived-from").toLocked(); 3622 3623 /** 3624 * Search parameter: <b>description</b> 3625 * <p> 3626 * Description: <b>The description of the evidence variable</b><br> 3627 * Type: <b>string</b><br> 3628 * Path: <b>EvidenceVariable.description</b><br> 3629 * </p> 3630 */ 3631 @SearchParamDefinition(name="description", path="EvidenceVariable.description", description="The description of the evidence variable", type="string" ) 3632 public static final String SP_DESCRIPTION = "description"; 3633 /** 3634 * <b>Fluent Client</b> search parameter constant for <b>description</b> 3635 * <p> 3636 * Description: <b>The description of the evidence variable</b><br> 3637 * Type: <b>string</b><br> 3638 * Path: <b>EvidenceVariable.description</b><br> 3639 * </p> 3640 */ 3641 public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); 3642 3643 /** 3644 * Search parameter: <b>effective</b> 3645 * <p> 3646 * Description: <b>The time during which the evidence variable is intended to be in use</b><br> 3647 * Type: <b>date</b><br> 3648 * Path: <b>EvidenceVariable.effectivePeriod</b><br> 3649 * </p> 3650 */ 3651 @SearchParamDefinition(name="effective", path="EvidenceVariable.effectivePeriod", description="The time during which the evidence variable is intended to be in use", type="date" ) 3652 public static final String SP_EFFECTIVE = "effective"; 3653 /** 3654 * <b>Fluent Client</b> search parameter constant for <b>effective</b> 3655 * <p> 3656 * Description: <b>The time during which the evidence variable is intended to be in use</b><br> 3657 * Type: <b>date</b><br> 3658 * Path: <b>EvidenceVariable.effectivePeriod</b><br> 3659 * </p> 3660 */ 3661 public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); 3662 3663 /** 3664 * Search parameter: <b>identifier</b> 3665 * <p> 3666 * Description: <b>External identifier for the evidence variable</b><br> 3667 * Type: <b>token</b><br> 3668 * Path: <b>EvidenceVariable.identifier</b><br> 3669 * </p> 3670 */ 3671 @SearchParamDefinition(name="identifier", path="EvidenceVariable.identifier", description="External identifier for the evidence variable", type="token" ) 3672 public static final String SP_IDENTIFIER = "identifier"; 3673 /** 3674 * <b>Fluent Client</b> search parameter constant for <b>identifier</b> 3675 * <p> 3676 * Description: <b>External identifier for the evidence variable</b><br> 3677 * Type: <b>token</b><br> 3678 * Path: <b>EvidenceVariable.identifier</b><br> 3679 * </p> 3680 */ 3681 public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); 3682 3683 /** 3684 * Search parameter: <b>jurisdiction</b> 3685 * <p> 3686 * Description: <b>Intended jurisdiction for the evidence variable</b><br> 3687 * Type: <b>token</b><br> 3688 * Path: <b>EvidenceVariable.jurisdiction</b><br> 3689 * </p> 3690 */ 3691 @SearchParamDefinition(name="jurisdiction", path="EvidenceVariable.jurisdiction", description="Intended jurisdiction for the evidence variable", type="token" ) 3692 public static final String SP_JURISDICTION = "jurisdiction"; 3693 /** 3694 * <b>Fluent Client</b> search parameter constant for <b>jurisdiction</b> 3695 * <p> 3696 * Description: <b>Intended jurisdiction for the evidence variable</b><br> 3697 * Type: <b>token</b><br> 3698 * Path: <b>EvidenceVariable.jurisdiction</b><br> 3699 * </p> 3700 */ 3701 public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); 3702 3703 /** 3704 * Search parameter: <b>name</b> 3705 * <p> 3706 * Description: <b>Computationally friendly name of the evidence variable</b><br> 3707 * Type: <b>string</b><br> 3708 * Path: <b>EvidenceVariable.name</b><br> 3709 * </p> 3710 */ 3711 @SearchParamDefinition(name="name", path="EvidenceVariable.name", description="Computationally friendly name of the evidence variable", type="string" ) 3712 public static final String SP_NAME = "name"; 3713 /** 3714 * <b>Fluent Client</b> search parameter constant for <b>name</b> 3715 * <p> 3716 * Description: <b>Computationally friendly name of the evidence variable</b><br> 3717 * Type: <b>string</b><br> 3718 * Path: <b>EvidenceVariable.name</b><br> 3719 * </p> 3720 */ 3721 public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); 3722 3723 /** 3724 * Search parameter: <b>predecessor</b> 3725 * <p> 3726 * Description: <b>What resource is being referenced</b><br> 3727 * Type: <b>reference</b><br> 3728 * Path: <b>EvidenceVariable.relatedArtifact.where(type='predecessor').resource</b><br> 3729 * </p> 3730 */ 3731 @SearchParamDefinition(name="predecessor", path="EvidenceVariable.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) 3732 public static final String SP_PREDECESSOR = "predecessor"; 3733 /** 3734 * <b>Fluent Client</b> search parameter constant for <b>predecessor</b> 3735 * <p> 3736 * Description: <b>What resource is being referenced</b><br> 3737 * Type: <b>reference</b><br> 3738 * Path: <b>EvidenceVariable.relatedArtifact.where(type='predecessor').resource</b><br> 3739 * </p> 3740 */ 3741 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREDECESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREDECESSOR); 3742 3743/** 3744 * Constant for fluent queries to be used to add include statements. Specifies 3745 * the path value of "<b>EvidenceVariable:predecessor</b>". 3746 */ 3747 public static final ca.uhn.fhir.model.api.Include INCLUDE_PREDECESSOR = new ca.uhn.fhir.model.api.Include("EvidenceVariable:predecessor").toLocked(); 3748 3749 /** 3750 * Search parameter: <b>publisher</b> 3751 * <p> 3752 * Description: <b>Name of the publisher of the evidence variable</b><br> 3753 * Type: <b>string</b><br> 3754 * Path: <b>EvidenceVariable.publisher</b><br> 3755 * </p> 3756 */ 3757 @SearchParamDefinition(name="publisher", path="EvidenceVariable.publisher", description="Name of the publisher of the evidence variable", type="string" ) 3758 public static final String SP_PUBLISHER = "publisher"; 3759 /** 3760 * <b>Fluent Client</b> search parameter constant for <b>publisher</b> 3761 * <p> 3762 * Description: <b>Name of the publisher of the evidence variable</b><br> 3763 * Type: <b>string</b><br> 3764 * Path: <b>EvidenceVariable.publisher</b><br> 3765 * </p> 3766 */ 3767 public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); 3768 3769 /** 3770 * Search parameter: <b>status</b> 3771 * <p> 3772 * Description: <b>The current status of the evidence variable</b><br> 3773 * Type: <b>token</b><br> 3774 * Path: <b>EvidenceVariable.status</b><br> 3775 * </p> 3776 */ 3777 @SearchParamDefinition(name="status", path="EvidenceVariable.status", description="The current status of the evidence variable", type="token" ) 3778 public static final String SP_STATUS = "status"; 3779 /** 3780 * <b>Fluent Client</b> search parameter constant for <b>status</b> 3781 * <p> 3782 * Description: <b>The current status of the evidence variable</b><br> 3783 * Type: <b>token</b><br> 3784 * Path: <b>EvidenceVariable.status</b><br> 3785 * </p> 3786 */ 3787 public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); 3788 3789 /** 3790 * Search parameter: <b>successor</b> 3791 * <p> 3792 * Description: <b>What resource is being referenced</b><br> 3793 * Type: <b>reference</b><br> 3794 * Path: <b>EvidenceVariable.relatedArtifact.where(type='successor').resource</b><br> 3795 * </p> 3796 */ 3797 @SearchParamDefinition(name="successor", path="EvidenceVariable.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) 3798 public static final String SP_SUCCESSOR = "successor"; 3799 /** 3800 * <b>Fluent Client</b> search parameter constant for <b>successor</b> 3801 * <p> 3802 * Description: <b>What resource is being referenced</b><br> 3803 * Type: <b>reference</b><br> 3804 * Path: <b>EvidenceVariable.relatedArtifact.where(type='successor').resource</b><br> 3805 * </p> 3806 */ 3807 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUCCESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUCCESSOR); 3808 3809/** 3810 * Constant for fluent queries to be used to add include statements. Specifies 3811 * the path value of "<b>EvidenceVariable:successor</b>". 3812 */ 3813 public static final ca.uhn.fhir.model.api.Include INCLUDE_SUCCESSOR = new ca.uhn.fhir.model.api.Include("EvidenceVariable:successor").toLocked(); 3814 3815 /** 3816 * Search parameter: <b>title</b> 3817 * <p> 3818 * Description: <b>The human-friendly name of the evidence variable</b><br> 3819 * Type: <b>string</b><br> 3820 * Path: <b>EvidenceVariable.title</b><br> 3821 * </p> 3822 */ 3823 @SearchParamDefinition(name="title", path="EvidenceVariable.title", description="The human-friendly name of the evidence variable", type="string" ) 3824 public static final String SP_TITLE = "title"; 3825 /** 3826 * <b>Fluent Client</b> search parameter constant for <b>title</b> 3827 * <p> 3828 * Description: <b>The human-friendly name of the evidence variable</b><br> 3829 * Type: <b>string</b><br> 3830 * Path: <b>EvidenceVariable.title</b><br> 3831 * </p> 3832 */ 3833 public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); 3834 3835 /** 3836 * Search parameter: <b>topic</b> 3837 * <p> 3838 * Description: <b>Topics associated with the EvidenceVariable</b><br> 3839 * Type: <b>token</b><br> 3840 * Path: <b>EvidenceVariable.topic</b><br> 3841 * </p> 3842 */ 3843 @SearchParamDefinition(name="topic", path="EvidenceVariable.topic", description="Topics associated with the EvidenceVariable", type="token" ) 3844 public static final String SP_TOPIC = "topic"; 3845 /** 3846 * <b>Fluent Client</b> search parameter constant for <b>topic</b> 3847 * <p> 3848 * Description: <b>Topics associated with the EvidenceVariable</b><br> 3849 * Type: <b>token</b><br> 3850 * Path: <b>EvidenceVariable.topic</b><br> 3851 * </p> 3852 */ 3853 public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); 3854 3855 /** 3856 * Search parameter: <b>url</b> 3857 * <p> 3858 * Description: <b>The uri that identifies the evidence variable</b><br> 3859 * Type: <b>uri</b><br> 3860 * Path: <b>EvidenceVariable.url</b><br> 3861 * </p> 3862 */ 3863 @SearchParamDefinition(name="url", path="EvidenceVariable.url", description="The uri that identifies the evidence variable", type="uri" ) 3864 public static final String SP_URL = "url"; 3865 /** 3866 * <b>Fluent Client</b> search parameter constant for <b>url</b> 3867 * <p> 3868 * Description: <b>The uri that identifies the evidence variable</b><br> 3869 * Type: <b>uri</b><br> 3870 * Path: <b>EvidenceVariable.url</b><br> 3871 * </p> 3872 */ 3873 public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); 3874 3875 /** 3876 * Search parameter: <b>version</b> 3877 * <p> 3878 * Description: <b>The business version of the evidence variable</b><br> 3879 * Type: <b>token</b><br> 3880 * Path: <b>EvidenceVariable.version</b><br> 3881 * </p> 3882 */ 3883 @SearchParamDefinition(name="version", path="EvidenceVariable.version", description="The business version of the evidence variable", type="token" ) 3884 public static final String SP_VERSION = "version"; 3885 /** 3886 * <b>Fluent Client</b> search parameter constant for <b>version</b> 3887 * <p> 3888 * Description: <b>The business version of the evidence variable</b><br> 3889 * Type: <b>token</b><br> 3890 * Path: <b>EvidenceVariable.version</b><br> 3891 * </p> 3892 */ 3893 public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); 3894 3895 3896} 3897