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 Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets. 072 */ 073@ResourceDef(name="Library", profile="http://hl7.org/fhir/StructureDefinition/Library") 074public class Library extends MetadataResource { 075 076 /** 077 * An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library is stored on different servers. 078 */ 079 @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1, modifier=false, summary=true) 080 @Description(shortDefinition="Canonical identifier for this library, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library is stored on different servers." ) 081 protected UriType url; 082 083 /** 084 * A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts. 085 */ 086 @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 087 @Description(shortDefinition="Additional identifier for the library", formalDefinition="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts." ) 088 protected List<Identifier> identifier; 089 090 /** 091 * The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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. 092 */ 093 @Child(name = "version", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) 094 @Description(shortDefinition="Business version of the library", formalDefinition="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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." ) 095 protected StringType version; 096 097 /** 098 * A natural language name identifying the library. This name should be usable as an identifier for the module by machine processing applications such as code generation. 099 */ 100 @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) 101 @Description(shortDefinition="Name for this library (computer friendly)", formalDefinition="A natural language name identifying the library. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) 102 protected StringType name; 103 104 /** 105 * A short, descriptive, user-friendly title for the library. 106 */ 107 @Child(name = "title", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) 108 @Description(shortDefinition="Name for this library (human friendly)", formalDefinition="A short, descriptive, user-friendly title for the library." ) 109 protected StringType title; 110 111 /** 112 * An explanatory or alternate title for the library giving additional information about its content. 113 */ 114 @Child(name = "subtitle", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=false) 115 @Description(shortDefinition="Subordinate title of the library", formalDefinition="An explanatory or alternate title for the library giving additional information about its content." ) 116 protected StringType subtitle; 117 118 /** 119 * The status of this library. Enables tracking the life-cycle of the content. 120 */ 121 @Child(name = "status", type = {CodeType.class}, order=6, min=1, max=1, modifier=true, summary=true) 122 @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this library. Enables tracking the life-cycle of the content." ) 123 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") 124 protected Enumeration<PublicationStatus> status; 125 126 /** 127 * A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 128 */ 129 @Child(name = "experimental", type = {BooleanType.class}, order=7, min=0, max=1, modifier=false, summary=true) 130 @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ) 131 protected BooleanType experimental; 132 133 /** 134 * Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition. 135 */ 136 @Child(name = "type", type = {CodeableConcept.class}, order=8, min=1, max=1, modifier=false, summary=true) 137 @Description(shortDefinition="logic-library | model-definition | asset-collection | module-definition", formalDefinition="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition." ) 138 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/library-type") 139 protected CodeableConcept type; 140 141 /** 142 * A code or group definition that describes the intended subject of the contents of the library. 143 */ 144 @Child(name = "subject", type = {CodeableConcept.class, Group.class}, order=9, min=0, max=1, modifier=false, summary=false) 145 @Description(shortDefinition="Type of individual the library content is focused on", formalDefinition="A code or group definition that describes the intended subject of the contents of the library." ) 146 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subject-type") 147 protected DataType subject; 148 149 /** 150 * The date (and optionally time) when the library 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 library changes. 151 */ 152 @Child(name = "date", type = {DateTimeType.class}, order=10, min=0, max=1, modifier=false, summary=true) 153 @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the library 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 library changes." ) 154 protected DateTimeType date; 155 156 /** 157 * The name of the organization or individual that published the library. 158 */ 159 @Child(name = "publisher", type = {StringType.class}, order=11, min=0, max=1, modifier=false, summary=true) 160 @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the library." ) 161 protected StringType publisher; 162 163 /** 164 * Contact details to assist a user in finding and communicating with the publisher. 165 */ 166 @Child(name = "contact", type = {ContactDetail.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 167 @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) 168 protected List<ContactDetail> contact; 169 170 /** 171 * A free text natural language description of the library from a consumer's perspective. 172 */ 173 @Child(name = "description", type = {MarkdownType.class}, order=13, min=0, max=1, modifier=false, summary=true) 174 @Description(shortDefinition="Natural language description of the library", formalDefinition="A free text natural language description of the library from a consumer's perspective." ) 175 protected MarkdownType description; 176 177 /** 178 * 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 library instances. 179 */ 180 @Child(name = "useContext", type = {UsageContext.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 181 @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 library instances." ) 182 protected List<UsageContext> useContext; 183 184 /** 185 * A legal or geographic region in which the library is intended to be used. 186 */ 187 @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 188 @Description(shortDefinition="Intended jurisdiction for library (if applicable)", formalDefinition="A legal or geographic region in which the library is intended to be used." ) 189 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") 190 protected List<CodeableConcept> jurisdiction; 191 192 /** 193 * Explanation of why this library is needed and why it has been designed as it has. 194 */ 195 @Child(name = "purpose", type = {MarkdownType.class}, order=16, min=0, max=1, modifier=false, summary=false) 196 @Description(shortDefinition="Why this library is defined", formalDefinition="Explanation of why this library is needed and why it has been designed as it has." ) 197 protected MarkdownType purpose; 198 199 /** 200 * A detailed description of how the library is used from a clinical perspective. 201 */ 202 @Child(name = "usage", type = {StringType.class}, order=17, min=0, max=1, modifier=false, summary=false) 203 @Description(shortDefinition="Describes the clinical usage of the library", formalDefinition="A detailed description of how the library is used from a clinical perspective." ) 204 protected StringType usage; 205 206 /** 207 * A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library. 208 */ 209 @Child(name = "copyright", type = {MarkdownType.class}, order=18, min=0, max=1, modifier=false, summary=false) 210 @Description(shortDefinition="Use and/or publishing restrictions", formalDefinition="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library." ) 211 protected MarkdownType copyright; 212 213 /** 214 * The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. 215 */ 216 @Child(name = "approvalDate", type = {DateType.class}, order=19, min=0, max=1, modifier=false, summary=false) 217 @Description(shortDefinition="When the library 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." ) 218 protected DateType approvalDate; 219 220 /** 221 * The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. 222 */ 223 @Child(name = "lastReviewDate", type = {DateType.class}, order=20, min=0, max=1, modifier=false, summary=false) 224 @Description(shortDefinition="When the library 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." ) 225 protected DateType lastReviewDate; 226 227 /** 228 * The period during which the library content was or is planned to be in active use. 229 */ 230 @Child(name = "effectivePeriod", type = {Period.class}, order=21, min=0, max=1, modifier=false, summary=true) 231 @Description(shortDefinition="When the library is expected to be used", formalDefinition="The period during which the library content was or is planned to be in active use." ) 232 protected Period effectivePeriod; 233 234 /** 235 * Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching. 236 */ 237 @Child(name = "topic", type = {CodeableConcept.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 238 @Description(shortDefinition="E.g. Education, Treatment, Assessment, etc.", formalDefinition="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching." ) 239 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/definition-topic") 240 protected List<CodeableConcept> topic; 241 242 /** 243 * An individiual or organization primarily involved in the creation and maintenance of the content. 244 */ 245 @Child(name = "author", type = {ContactDetail.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 246 @Description(shortDefinition="Who authored the content", formalDefinition="An individiual or organization primarily involved in the creation and maintenance of the content." ) 247 protected List<ContactDetail> author; 248 249 /** 250 * An individual or organization primarily responsible for internal coherence of the content. 251 */ 252 @Child(name = "editor", type = {ContactDetail.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 253 @Description(shortDefinition="Who edited the content", formalDefinition="An individual or organization primarily responsible for internal coherence of the content." ) 254 protected List<ContactDetail> editor; 255 256 /** 257 * An individual or organization primarily responsible for review of some aspect of the content. 258 */ 259 @Child(name = "reviewer", type = {ContactDetail.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 260 @Description(shortDefinition="Who reviewed the content", formalDefinition="An individual or organization primarily responsible for review of some aspect of the content." ) 261 protected List<ContactDetail> reviewer; 262 263 /** 264 * An individual or organization responsible for officially endorsing the content for use in some setting. 265 */ 266 @Child(name = "endorser", type = {ContactDetail.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 267 @Description(shortDefinition="Who endorsed the content", formalDefinition="An individual or organization responsible for officially endorsing the content for use in some setting." ) 268 protected List<ContactDetail> endorser; 269 270 /** 271 * Related artifacts such as additional documentation, justification, or bibliographic references. 272 */ 273 @Child(name = "relatedArtifact", type = {RelatedArtifact.class}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 274 @Description(shortDefinition="Additional documentation, citations, etc.", formalDefinition="Related artifacts such as additional documentation, justification, or bibliographic references." ) 275 protected List<RelatedArtifact> relatedArtifact; 276 277 /** 278 * The parameter element defines parameters used by the library. 279 */ 280 @Child(name = "parameter", type = {ParameterDefinition.class}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 281 @Description(shortDefinition="Parameters defined by the library", formalDefinition="The parameter element defines parameters used by the library." ) 282 protected List<ParameterDefinition> parameter; 283 284 /** 285 * Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library. 286 */ 287 @Child(name = "dataRequirement", type = {DataRequirement.class}, order=29, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 288 @Description(shortDefinition="What data is referenced by this library", formalDefinition="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library." ) 289 protected List<DataRequirement> dataRequirement; 290 291 /** 292 * The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content. 293 */ 294 @Child(name = "content", type = {Attachment.class}, order=30, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 295 @Description(shortDefinition="Contents of the library, either embedded or referenced", formalDefinition="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content." ) 296 protected List<Attachment> content; 297 298 private static final long serialVersionUID = -1616746037L; 299 300 /** 301 * Constructor 302 */ 303 public Library() { 304 super(); 305 } 306 307 /** 308 * Constructor 309 */ 310 public Library(PublicationStatus status, CodeableConcept type) { 311 super(); 312 this.setStatus(status); 313 this.setType(type); 314 } 315 316 /** 317 * @return {@link #url} (An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 318 */ 319 public UriType getUrlElement() { 320 if (this.url == null) 321 if (Configuration.errorOnAutoCreate()) 322 throw new Error("Attempt to auto-create Library.url"); 323 else if (Configuration.doAutoCreate()) 324 this.url = new UriType(); // bb 325 return this.url; 326 } 327 328 public boolean hasUrlElement() { 329 return this.url != null && !this.url.isEmpty(); 330 } 331 332 public boolean hasUrl() { 333 return this.url != null && !this.url.isEmpty(); 334 } 335 336 /** 337 * @param value {@link #url} (An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 338 */ 339 public Library setUrlElement(UriType value) { 340 this.url = value; 341 return this; 342 } 343 344 /** 345 * @return An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library is stored on different servers. 346 */ 347 public String getUrl() { 348 return this.url == null ? null : this.url.getValue(); 349 } 350 351 /** 352 * @param value An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library is stored on different servers. 353 */ 354 public Library setUrl(String value) { 355 if (Utilities.noString(value)) 356 this.url = null; 357 else { 358 if (this.url == null) 359 this.url = new UriType(); 360 this.url.setValue(value); 361 } 362 return this; 363 } 364 365 /** 366 * @return {@link #identifier} (A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts.) 367 */ 368 public List<Identifier> getIdentifier() { 369 if (this.identifier == null) 370 this.identifier = new ArrayList<Identifier>(); 371 return this.identifier; 372 } 373 374 /** 375 * @return Returns a reference to <code>this</code> for easy method chaining 376 */ 377 public Library setIdentifier(List<Identifier> theIdentifier) { 378 this.identifier = theIdentifier; 379 return this; 380 } 381 382 public boolean hasIdentifier() { 383 if (this.identifier == null) 384 return false; 385 for (Identifier item : this.identifier) 386 if (!item.isEmpty()) 387 return true; 388 return false; 389 } 390 391 public Identifier addIdentifier() { //3 392 Identifier t = new Identifier(); 393 if (this.identifier == null) 394 this.identifier = new ArrayList<Identifier>(); 395 this.identifier.add(t); 396 return t; 397 } 398 399 public Library addIdentifier(Identifier t) { //3 400 if (t == null) 401 return this; 402 if (this.identifier == null) 403 this.identifier = new ArrayList<Identifier>(); 404 this.identifier.add(t); 405 return this; 406 } 407 408 /** 409 * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} 410 */ 411 public Identifier getIdentifierFirstRep() { 412 if (getIdentifier().isEmpty()) { 413 addIdentifier(); 414 } 415 return getIdentifier().get(0); 416 } 417 418 /** 419 * @return {@link #version} (The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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 420 */ 421 public StringType getVersionElement() { 422 if (this.version == null) 423 if (Configuration.errorOnAutoCreate()) 424 throw new Error("Attempt to auto-create Library.version"); 425 else if (Configuration.doAutoCreate()) 426 this.version = new StringType(); // bb 427 return this.version; 428 } 429 430 public boolean hasVersionElement() { 431 return this.version != null && !this.version.isEmpty(); 432 } 433 434 public boolean hasVersion() { 435 return this.version != null && !this.version.isEmpty(); 436 } 437 438 /** 439 * @param value {@link #version} (The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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 440 */ 441 public Library setVersionElement(StringType value) { 442 this.version = value; 443 return this; 444 } 445 446 /** 447 * @return The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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. 448 */ 449 public String getVersion() { 450 return this.version == null ? null : this.version.getValue(); 451 } 452 453 /** 454 * @param value The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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. 455 */ 456 public Library setVersion(String value) { 457 if (Utilities.noString(value)) 458 this.version = null; 459 else { 460 if (this.version == null) 461 this.version = new StringType(); 462 this.version.setValue(value); 463 } 464 return this; 465 } 466 467 /** 468 * @return {@link #name} (A natural language name identifying the library. 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 469 */ 470 public StringType getNameElement() { 471 if (this.name == null) 472 if (Configuration.errorOnAutoCreate()) 473 throw new Error("Attempt to auto-create Library.name"); 474 else if (Configuration.doAutoCreate()) 475 this.name = new StringType(); // bb 476 return this.name; 477 } 478 479 public boolean hasNameElement() { 480 return this.name != null && !this.name.isEmpty(); 481 } 482 483 public boolean hasName() { 484 return this.name != null && !this.name.isEmpty(); 485 } 486 487 /** 488 * @param value {@link #name} (A natural language name identifying the library. 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 489 */ 490 public Library setNameElement(StringType value) { 491 this.name = value; 492 return this; 493 } 494 495 /** 496 * @return A natural language name identifying the library. This name should be usable as an identifier for the module by machine processing applications such as code generation. 497 */ 498 public String getName() { 499 return this.name == null ? null : this.name.getValue(); 500 } 501 502 /** 503 * @param value A natural language name identifying the library. This name should be usable as an identifier for the module by machine processing applications such as code generation. 504 */ 505 public Library setName(String value) { 506 if (Utilities.noString(value)) 507 this.name = null; 508 else { 509 if (this.name == null) 510 this.name = new StringType(); 511 this.name.setValue(value); 512 } 513 return this; 514 } 515 516 /** 517 * @return {@link #title} (A short, descriptive, user-friendly title for the library.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 518 */ 519 public StringType getTitleElement() { 520 if (this.title == null) 521 if (Configuration.errorOnAutoCreate()) 522 throw new Error("Attempt to auto-create Library.title"); 523 else if (Configuration.doAutoCreate()) 524 this.title = new StringType(); // bb 525 return this.title; 526 } 527 528 public boolean hasTitleElement() { 529 return this.title != null && !this.title.isEmpty(); 530 } 531 532 public boolean hasTitle() { 533 return this.title != null && !this.title.isEmpty(); 534 } 535 536 /** 537 * @param value {@link #title} (A short, descriptive, user-friendly title for the library.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 538 */ 539 public Library setTitleElement(StringType value) { 540 this.title = value; 541 return this; 542 } 543 544 /** 545 * @return A short, descriptive, user-friendly title for the library. 546 */ 547 public String getTitle() { 548 return this.title == null ? null : this.title.getValue(); 549 } 550 551 /** 552 * @param value A short, descriptive, user-friendly title for the library. 553 */ 554 public Library setTitle(String value) { 555 if (Utilities.noString(value)) 556 this.title = null; 557 else { 558 if (this.title == null) 559 this.title = new StringType(); 560 this.title.setValue(value); 561 } 562 return this; 563 } 564 565 /** 566 * @return {@link #subtitle} (An explanatory or alternate title for the library 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 567 */ 568 public StringType getSubtitleElement() { 569 if (this.subtitle == null) 570 if (Configuration.errorOnAutoCreate()) 571 throw new Error("Attempt to auto-create Library.subtitle"); 572 else if (Configuration.doAutoCreate()) 573 this.subtitle = new StringType(); // bb 574 return this.subtitle; 575 } 576 577 public boolean hasSubtitleElement() { 578 return this.subtitle != null && !this.subtitle.isEmpty(); 579 } 580 581 public boolean hasSubtitle() { 582 return this.subtitle != null && !this.subtitle.isEmpty(); 583 } 584 585 /** 586 * @param value {@link #subtitle} (An explanatory or alternate title for the library 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 587 */ 588 public Library setSubtitleElement(StringType value) { 589 this.subtitle = value; 590 return this; 591 } 592 593 /** 594 * @return An explanatory or alternate title for the library giving additional information about its content. 595 */ 596 public String getSubtitle() { 597 return this.subtitle == null ? null : this.subtitle.getValue(); 598 } 599 600 /** 601 * @param value An explanatory or alternate title for the library giving additional information about its content. 602 */ 603 public Library setSubtitle(String value) { 604 if (Utilities.noString(value)) 605 this.subtitle = null; 606 else { 607 if (this.subtitle == null) 608 this.subtitle = new StringType(); 609 this.subtitle.setValue(value); 610 } 611 return this; 612 } 613 614 /** 615 * @return {@link #status} (The status of this library. 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 616 */ 617 public Enumeration<PublicationStatus> getStatusElement() { 618 if (this.status == null) 619 if (Configuration.errorOnAutoCreate()) 620 throw new Error("Attempt to auto-create Library.status"); 621 else if (Configuration.doAutoCreate()) 622 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); // bb 623 return this.status; 624 } 625 626 public boolean hasStatusElement() { 627 return this.status != null && !this.status.isEmpty(); 628 } 629 630 public boolean hasStatus() { 631 return this.status != null && !this.status.isEmpty(); 632 } 633 634 /** 635 * @param value {@link #status} (The status of this library. 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 636 */ 637 public Library setStatusElement(Enumeration<PublicationStatus> value) { 638 this.status = value; 639 return this; 640 } 641 642 /** 643 * @return The status of this library. Enables tracking the life-cycle of the content. 644 */ 645 public PublicationStatus getStatus() { 646 return this.status == null ? null : this.status.getValue(); 647 } 648 649 /** 650 * @param value The status of this library. Enables tracking the life-cycle of the content. 651 */ 652 public Library setStatus(PublicationStatus value) { 653 if (this.status == null) 654 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); 655 this.status.setValue(value); 656 return this; 657 } 658 659 /** 660 * @return {@link #experimental} (A Boolean value to indicate that this library 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 661 */ 662 public BooleanType getExperimentalElement() { 663 if (this.experimental == null) 664 if (Configuration.errorOnAutoCreate()) 665 throw new Error("Attempt to auto-create Library.experimental"); 666 else if (Configuration.doAutoCreate()) 667 this.experimental = new BooleanType(); // bb 668 return this.experimental; 669 } 670 671 public boolean hasExperimentalElement() { 672 return this.experimental != null && !this.experimental.isEmpty(); 673 } 674 675 public boolean hasExperimental() { 676 return this.experimental != null && !this.experimental.isEmpty(); 677 } 678 679 /** 680 * @param value {@link #experimental} (A Boolean value to indicate that this library 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 681 */ 682 public Library setExperimentalElement(BooleanType value) { 683 this.experimental = value; 684 return this; 685 } 686 687 /** 688 * @return A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 689 */ 690 public boolean getExperimental() { 691 return this.experimental == null || this.experimental.isEmpty() ? false : this.experimental.getValue(); 692 } 693 694 /** 695 * @param value A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 696 */ 697 public Library setExperimental(boolean value) { 698 if (this.experimental == null) 699 this.experimental = new BooleanType(); 700 this.experimental.setValue(value); 701 return this; 702 } 703 704 /** 705 * @return {@link #type} (Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition.) 706 */ 707 public CodeableConcept getType() { 708 if (this.type == null) 709 if (Configuration.errorOnAutoCreate()) 710 throw new Error("Attempt to auto-create Library.type"); 711 else if (Configuration.doAutoCreate()) 712 this.type = new CodeableConcept(); // cc 713 return this.type; 714 } 715 716 public boolean hasType() { 717 return this.type != null && !this.type.isEmpty(); 718 } 719 720 /** 721 * @param value {@link #type} (Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition.) 722 */ 723 public Library setType(CodeableConcept value) { 724 this.type = value; 725 return this; 726 } 727 728 /** 729 * @return {@link #subject} (A code or group definition that describes the intended subject of the contents of the library.) 730 */ 731 public DataType getSubject() { 732 return this.subject; 733 } 734 735 /** 736 * @return {@link #subject} (A code or group definition that describes the intended subject of the contents of the library.) 737 */ 738 public CodeableConcept getSubjectCodeableConcept() throws FHIRException { 739 if (this.subject == null) 740 this.subject = new CodeableConcept(); 741 if (!(this.subject instanceof CodeableConcept)) 742 throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.subject.getClass().getName()+" was encountered"); 743 return (CodeableConcept) this.subject; 744 } 745 746 public boolean hasSubjectCodeableConcept() { 747 return this != null && this.subject instanceof CodeableConcept; 748 } 749 750 /** 751 * @return {@link #subject} (A code or group definition that describes the intended subject of the contents of the library.) 752 */ 753 public Reference getSubjectReference() throws FHIRException { 754 if (this.subject == null) 755 this.subject = new Reference(); 756 if (!(this.subject instanceof Reference)) 757 throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.subject.getClass().getName()+" was encountered"); 758 return (Reference) this.subject; 759 } 760 761 public boolean hasSubjectReference() { 762 return this != null && this.subject instanceof Reference; 763 } 764 765 public boolean hasSubject() { 766 return this.subject != null && !this.subject.isEmpty(); 767 } 768 769 /** 770 * @param value {@link #subject} (A code or group definition that describes the intended subject of the contents of the library.) 771 */ 772 public Library setSubject(DataType value) { 773 if (value != null && !(value instanceof CodeableConcept || value instanceof Reference)) 774 throw new Error("Not the right type for Library.subject[x]: "+value.fhirType()); 775 this.subject = value; 776 return this; 777 } 778 779 /** 780 * @return {@link #date} (The date (and optionally time) when the library 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 library changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 781 */ 782 public DateTimeType getDateElement() { 783 if (this.date == null) 784 if (Configuration.errorOnAutoCreate()) 785 throw new Error("Attempt to auto-create Library.date"); 786 else if (Configuration.doAutoCreate()) 787 this.date = new DateTimeType(); // bb 788 return this.date; 789 } 790 791 public boolean hasDateElement() { 792 return this.date != null && !this.date.isEmpty(); 793 } 794 795 public boolean hasDate() { 796 return this.date != null && !this.date.isEmpty(); 797 } 798 799 /** 800 * @param value {@link #date} (The date (and optionally time) when the library 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 library changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 801 */ 802 public Library setDateElement(DateTimeType value) { 803 this.date = value; 804 return this; 805 } 806 807 /** 808 * @return The date (and optionally time) when the library 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 library changes. 809 */ 810 public Date getDate() { 811 return this.date == null ? null : this.date.getValue(); 812 } 813 814 /** 815 * @param value The date (and optionally time) when the library 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 library changes. 816 */ 817 public Library setDate(Date value) { 818 if (value == null) 819 this.date = null; 820 else { 821 if (this.date == null) 822 this.date = new DateTimeType(); 823 this.date.setValue(value); 824 } 825 return this; 826 } 827 828 /** 829 * @return {@link #publisher} (The name of the organization or individual that published the library.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 830 */ 831 public StringType getPublisherElement() { 832 if (this.publisher == null) 833 if (Configuration.errorOnAutoCreate()) 834 throw new Error("Attempt to auto-create Library.publisher"); 835 else if (Configuration.doAutoCreate()) 836 this.publisher = new StringType(); // bb 837 return this.publisher; 838 } 839 840 public boolean hasPublisherElement() { 841 return this.publisher != null && !this.publisher.isEmpty(); 842 } 843 844 public boolean hasPublisher() { 845 return this.publisher != null && !this.publisher.isEmpty(); 846 } 847 848 /** 849 * @param value {@link #publisher} (The name of the organization or individual that published the library.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 850 */ 851 public Library setPublisherElement(StringType value) { 852 this.publisher = value; 853 return this; 854 } 855 856 /** 857 * @return The name of the organization or individual that published the library. 858 */ 859 public String getPublisher() { 860 return this.publisher == null ? null : this.publisher.getValue(); 861 } 862 863 /** 864 * @param value The name of the organization or individual that published the library. 865 */ 866 public Library setPublisher(String value) { 867 if (Utilities.noString(value)) 868 this.publisher = null; 869 else { 870 if (this.publisher == null) 871 this.publisher = new StringType(); 872 this.publisher.setValue(value); 873 } 874 return this; 875 } 876 877 /** 878 * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.) 879 */ 880 public List<ContactDetail> getContact() { 881 if (this.contact == null) 882 this.contact = new ArrayList<ContactDetail>(); 883 return this.contact; 884 } 885 886 /** 887 * @return Returns a reference to <code>this</code> for easy method chaining 888 */ 889 public Library setContact(List<ContactDetail> theContact) { 890 this.contact = theContact; 891 return this; 892 } 893 894 public boolean hasContact() { 895 if (this.contact == null) 896 return false; 897 for (ContactDetail item : this.contact) 898 if (!item.isEmpty()) 899 return true; 900 return false; 901 } 902 903 public ContactDetail addContact() { //3 904 ContactDetail t = new ContactDetail(); 905 if (this.contact == null) 906 this.contact = new ArrayList<ContactDetail>(); 907 this.contact.add(t); 908 return t; 909 } 910 911 public Library addContact(ContactDetail t) { //3 912 if (t == null) 913 return this; 914 if (this.contact == null) 915 this.contact = new ArrayList<ContactDetail>(); 916 this.contact.add(t); 917 return this; 918 } 919 920 /** 921 * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} 922 */ 923 public ContactDetail getContactFirstRep() { 924 if (getContact().isEmpty()) { 925 addContact(); 926 } 927 return getContact().get(0); 928 } 929 930 /** 931 * @return {@link #description} (A free text natural language description of the library from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 932 */ 933 public MarkdownType getDescriptionElement() { 934 if (this.description == null) 935 if (Configuration.errorOnAutoCreate()) 936 throw new Error("Attempt to auto-create Library.description"); 937 else if (Configuration.doAutoCreate()) 938 this.description = new MarkdownType(); // bb 939 return this.description; 940 } 941 942 public boolean hasDescriptionElement() { 943 return this.description != null && !this.description.isEmpty(); 944 } 945 946 public boolean hasDescription() { 947 return this.description != null && !this.description.isEmpty(); 948 } 949 950 /** 951 * @param value {@link #description} (A free text natural language description of the library from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 952 */ 953 public Library setDescriptionElement(MarkdownType value) { 954 this.description = value; 955 return this; 956 } 957 958 /** 959 * @return A free text natural language description of the library from a consumer's perspective. 960 */ 961 public String getDescription() { 962 return this.description == null ? null : this.description.getValue(); 963 } 964 965 /** 966 * @param value A free text natural language description of the library from a consumer's perspective. 967 */ 968 public Library setDescription(String value) { 969 if (value == null) 970 this.description = null; 971 else { 972 if (this.description == null) 973 this.description = new MarkdownType(); 974 this.description.setValue(value); 975 } 976 return this; 977 } 978 979 /** 980 * @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 library instances.) 981 */ 982 public List<UsageContext> getUseContext() { 983 if (this.useContext == null) 984 this.useContext = new ArrayList<UsageContext>(); 985 return this.useContext; 986 } 987 988 /** 989 * @return Returns a reference to <code>this</code> for easy method chaining 990 */ 991 public Library setUseContext(List<UsageContext> theUseContext) { 992 this.useContext = theUseContext; 993 return this; 994 } 995 996 public boolean hasUseContext() { 997 if (this.useContext == null) 998 return false; 999 for (UsageContext item : this.useContext) 1000 if (!item.isEmpty()) 1001 return true; 1002 return false; 1003 } 1004 1005 public UsageContext addUseContext() { //3 1006 UsageContext t = new UsageContext(); 1007 if (this.useContext == null) 1008 this.useContext = new ArrayList<UsageContext>(); 1009 this.useContext.add(t); 1010 return t; 1011 } 1012 1013 public Library addUseContext(UsageContext t) { //3 1014 if (t == null) 1015 return this; 1016 if (this.useContext == null) 1017 this.useContext = new ArrayList<UsageContext>(); 1018 this.useContext.add(t); 1019 return this; 1020 } 1021 1022 /** 1023 * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {3} 1024 */ 1025 public UsageContext getUseContextFirstRep() { 1026 if (getUseContext().isEmpty()) { 1027 addUseContext(); 1028 } 1029 return getUseContext().get(0); 1030 } 1031 1032 /** 1033 * @return {@link #jurisdiction} (A legal or geographic region in which the library is intended to be used.) 1034 */ 1035 public List<CodeableConcept> getJurisdiction() { 1036 if (this.jurisdiction == null) 1037 this.jurisdiction = new ArrayList<CodeableConcept>(); 1038 return this.jurisdiction; 1039 } 1040 1041 /** 1042 * @return Returns a reference to <code>this</code> for easy method chaining 1043 */ 1044 public Library setJurisdiction(List<CodeableConcept> theJurisdiction) { 1045 this.jurisdiction = theJurisdiction; 1046 return this; 1047 } 1048 1049 public boolean hasJurisdiction() { 1050 if (this.jurisdiction == null) 1051 return false; 1052 for (CodeableConcept item : this.jurisdiction) 1053 if (!item.isEmpty()) 1054 return true; 1055 return false; 1056 } 1057 1058 public CodeableConcept addJurisdiction() { //3 1059 CodeableConcept t = new CodeableConcept(); 1060 if (this.jurisdiction == null) 1061 this.jurisdiction = new ArrayList<CodeableConcept>(); 1062 this.jurisdiction.add(t); 1063 return t; 1064 } 1065 1066 public Library addJurisdiction(CodeableConcept t) { //3 1067 if (t == null) 1068 return this; 1069 if (this.jurisdiction == null) 1070 this.jurisdiction = new ArrayList<CodeableConcept>(); 1071 this.jurisdiction.add(t); 1072 return this; 1073 } 1074 1075 /** 1076 * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist {3} 1077 */ 1078 public CodeableConcept getJurisdictionFirstRep() { 1079 if (getJurisdiction().isEmpty()) { 1080 addJurisdiction(); 1081 } 1082 return getJurisdiction().get(0); 1083 } 1084 1085 /** 1086 * @return {@link #purpose} (Explanation of why this library 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 1087 */ 1088 public MarkdownType getPurposeElement() { 1089 if (this.purpose == null) 1090 if (Configuration.errorOnAutoCreate()) 1091 throw new Error("Attempt to auto-create Library.purpose"); 1092 else if (Configuration.doAutoCreate()) 1093 this.purpose = new MarkdownType(); // bb 1094 return this.purpose; 1095 } 1096 1097 public boolean hasPurposeElement() { 1098 return this.purpose != null && !this.purpose.isEmpty(); 1099 } 1100 1101 public boolean hasPurpose() { 1102 return this.purpose != null && !this.purpose.isEmpty(); 1103 } 1104 1105 /** 1106 * @param value {@link #purpose} (Explanation of why this library 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 1107 */ 1108 public Library setPurposeElement(MarkdownType value) { 1109 this.purpose = value; 1110 return this; 1111 } 1112 1113 /** 1114 * @return Explanation of why this library is needed and why it has been designed as it has. 1115 */ 1116 public String getPurpose() { 1117 return this.purpose == null ? null : this.purpose.getValue(); 1118 } 1119 1120 /** 1121 * @param value Explanation of why this library is needed and why it has been designed as it has. 1122 */ 1123 public Library setPurpose(String value) { 1124 if (value == null) 1125 this.purpose = null; 1126 else { 1127 if (this.purpose == null) 1128 this.purpose = new MarkdownType(); 1129 this.purpose.setValue(value); 1130 } 1131 return this; 1132 } 1133 1134 /** 1135 * @return {@link #usage} (A detailed description of how the library is used from a clinical perspective.). This is the underlying object with id, value and extensions. The accessor "getUsage" gives direct access to the value 1136 */ 1137 public StringType getUsageElement() { 1138 if (this.usage == null) 1139 if (Configuration.errorOnAutoCreate()) 1140 throw new Error("Attempt to auto-create Library.usage"); 1141 else if (Configuration.doAutoCreate()) 1142 this.usage = new StringType(); // bb 1143 return this.usage; 1144 } 1145 1146 public boolean hasUsageElement() { 1147 return this.usage != null && !this.usage.isEmpty(); 1148 } 1149 1150 public boolean hasUsage() { 1151 return this.usage != null && !this.usage.isEmpty(); 1152 } 1153 1154 /** 1155 * @param value {@link #usage} (A detailed description of how the library is used from a clinical perspective.). This is the underlying object with id, value and extensions. The accessor "getUsage" gives direct access to the value 1156 */ 1157 public Library setUsageElement(StringType value) { 1158 this.usage = value; 1159 return this; 1160 } 1161 1162 /** 1163 * @return A detailed description of how the library is used from a clinical perspective. 1164 */ 1165 public String getUsage() { 1166 return this.usage == null ? null : this.usage.getValue(); 1167 } 1168 1169 /** 1170 * @param value A detailed description of how the library is used from a clinical perspective. 1171 */ 1172 public Library setUsage(String value) { 1173 if (Utilities.noString(value)) 1174 this.usage = null; 1175 else { 1176 if (this.usage == null) 1177 this.usage = new StringType(); 1178 this.usage.setValue(value); 1179 } 1180 return this; 1181 } 1182 1183 /** 1184 * @return {@link #copyright} (A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 1185 */ 1186 public MarkdownType getCopyrightElement() { 1187 if (this.copyright == null) 1188 if (Configuration.errorOnAutoCreate()) 1189 throw new Error("Attempt to auto-create Library.copyright"); 1190 else if (Configuration.doAutoCreate()) 1191 this.copyright = new MarkdownType(); // bb 1192 return this.copyright; 1193 } 1194 1195 public boolean hasCopyrightElement() { 1196 return this.copyright != null && !this.copyright.isEmpty(); 1197 } 1198 1199 public boolean hasCopyright() { 1200 return this.copyright != null && !this.copyright.isEmpty(); 1201 } 1202 1203 /** 1204 * @param value {@link #copyright} (A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 1205 */ 1206 public Library setCopyrightElement(MarkdownType value) { 1207 this.copyright = value; 1208 return this; 1209 } 1210 1211 /** 1212 * @return A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library. 1213 */ 1214 public String getCopyright() { 1215 return this.copyright == null ? null : this.copyright.getValue(); 1216 } 1217 1218 /** 1219 * @param value A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library. 1220 */ 1221 public Library setCopyright(String value) { 1222 if (value == null) 1223 this.copyright = null; 1224 else { 1225 if (this.copyright == null) 1226 this.copyright = new MarkdownType(); 1227 this.copyright.setValue(value); 1228 } 1229 return this; 1230 } 1231 1232 /** 1233 * @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 1234 */ 1235 public DateType getApprovalDateElement() { 1236 if (this.approvalDate == null) 1237 if (Configuration.errorOnAutoCreate()) 1238 throw new Error("Attempt to auto-create Library.approvalDate"); 1239 else if (Configuration.doAutoCreate()) 1240 this.approvalDate = new DateType(); // bb 1241 return this.approvalDate; 1242 } 1243 1244 public boolean hasApprovalDateElement() { 1245 return this.approvalDate != null && !this.approvalDate.isEmpty(); 1246 } 1247 1248 public boolean hasApprovalDate() { 1249 return this.approvalDate != null && !this.approvalDate.isEmpty(); 1250 } 1251 1252 /** 1253 * @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 1254 */ 1255 public Library setApprovalDateElement(DateType value) { 1256 this.approvalDate = value; 1257 return this; 1258 } 1259 1260 /** 1261 * @return The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. 1262 */ 1263 public Date getApprovalDate() { 1264 return this.approvalDate == null ? null : this.approvalDate.getValue(); 1265 } 1266 1267 /** 1268 * @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. 1269 */ 1270 public Library setApprovalDate(Date value) { 1271 if (value == null) 1272 this.approvalDate = null; 1273 else { 1274 if (this.approvalDate == null) 1275 this.approvalDate = new DateType(); 1276 this.approvalDate.setValue(value); 1277 } 1278 return this; 1279 } 1280 1281 /** 1282 * @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 1283 */ 1284 public DateType getLastReviewDateElement() { 1285 if (this.lastReviewDate == null) 1286 if (Configuration.errorOnAutoCreate()) 1287 throw new Error("Attempt to auto-create Library.lastReviewDate"); 1288 else if (Configuration.doAutoCreate()) 1289 this.lastReviewDate = new DateType(); // bb 1290 return this.lastReviewDate; 1291 } 1292 1293 public boolean hasLastReviewDateElement() { 1294 return this.lastReviewDate != null && !this.lastReviewDate.isEmpty(); 1295 } 1296 1297 public boolean hasLastReviewDate() { 1298 return this.lastReviewDate != null && !this.lastReviewDate.isEmpty(); 1299 } 1300 1301 /** 1302 * @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 1303 */ 1304 public Library setLastReviewDateElement(DateType value) { 1305 this.lastReviewDate = value; 1306 return this; 1307 } 1308 1309 /** 1310 * @return The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. 1311 */ 1312 public Date getLastReviewDate() { 1313 return this.lastReviewDate == null ? null : this.lastReviewDate.getValue(); 1314 } 1315 1316 /** 1317 * @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. 1318 */ 1319 public Library setLastReviewDate(Date value) { 1320 if (value == null) 1321 this.lastReviewDate = null; 1322 else { 1323 if (this.lastReviewDate == null) 1324 this.lastReviewDate = new DateType(); 1325 this.lastReviewDate.setValue(value); 1326 } 1327 return this; 1328 } 1329 1330 /** 1331 * @return {@link #effectivePeriod} (The period during which the library content was or is planned to be in active use.) 1332 */ 1333 public Period getEffectivePeriod() { 1334 if (this.effectivePeriod == null) 1335 if (Configuration.errorOnAutoCreate()) 1336 throw new Error("Attempt to auto-create Library.effectivePeriod"); 1337 else if (Configuration.doAutoCreate()) 1338 this.effectivePeriod = new Period(); // cc 1339 return this.effectivePeriod; 1340 } 1341 1342 public boolean hasEffectivePeriod() { 1343 return this.effectivePeriod != null && !this.effectivePeriod.isEmpty(); 1344 } 1345 1346 /** 1347 * @param value {@link #effectivePeriod} (The period during which the library content was or is planned to be in active use.) 1348 */ 1349 public Library setEffectivePeriod(Period value) { 1350 this.effectivePeriod = value; 1351 return this; 1352 } 1353 1354 /** 1355 * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) 1356 */ 1357 public List<CodeableConcept> getTopic() { 1358 if (this.topic == null) 1359 this.topic = new ArrayList<CodeableConcept>(); 1360 return this.topic; 1361 } 1362 1363 /** 1364 * @return Returns a reference to <code>this</code> for easy method chaining 1365 */ 1366 public Library setTopic(List<CodeableConcept> theTopic) { 1367 this.topic = theTopic; 1368 return this; 1369 } 1370 1371 public boolean hasTopic() { 1372 if (this.topic == null) 1373 return false; 1374 for (CodeableConcept item : this.topic) 1375 if (!item.isEmpty()) 1376 return true; 1377 return false; 1378 } 1379 1380 public CodeableConcept addTopic() { //3 1381 CodeableConcept t = new CodeableConcept(); 1382 if (this.topic == null) 1383 this.topic = new ArrayList<CodeableConcept>(); 1384 this.topic.add(t); 1385 return t; 1386 } 1387 1388 public Library addTopic(CodeableConcept t) { //3 1389 if (t == null) 1390 return this; 1391 if (this.topic == null) 1392 this.topic = new ArrayList<CodeableConcept>(); 1393 this.topic.add(t); 1394 return this; 1395 } 1396 1397 /** 1398 * @return The first repetition of repeating field {@link #topic}, creating it if it does not already exist {3} 1399 */ 1400 public CodeableConcept getTopicFirstRep() { 1401 if (getTopic().isEmpty()) { 1402 addTopic(); 1403 } 1404 return getTopic().get(0); 1405 } 1406 1407 /** 1408 * @return {@link #author} (An individiual or organization primarily involved in the creation and maintenance of the content.) 1409 */ 1410 public List<ContactDetail> getAuthor() { 1411 if (this.author == null) 1412 this.author = new ArrayList<ContactDetail>(); 1413 return this.author; 1414 } 1415 1416 /** 1417 * @return Returns a reference to <code>this</code> for easy method chaining 1418 */ 1419 public Library setAuthor(List<ContactDetail> theAuthor) { 1420 this.author = theAuthor; 1421 return this; 1422 } 1423 1424 public boolean hasAuthor() { 1425 if (this.author == null) 1426 return false; 1427 for (ContactDetail item : this.author) 1428 if (!item.isEmpty()) 1429 return true; 1430 return false; 1431 } 1432 1433 public ContactDetail addAuthor() { //3 1434 ContactDetail t = new ContactDetail(); 1435 if (this.author == null) 1436 this.author = new ArrayList<ContactDetail>(); 1437 this.author.add(t); 1438 return t; 1439 } 1440 1441 public Library addAuthor(ContactDetail t) { //3 1442 if (t == null) 1443 return this; 1444 if (this.author == null) 1445 this.author = new ArrayList<ContactDetail>(); 1446 this.author.add(t); 1447 return this; 1448 } 1449 1450 /** 1451 * @return The first repetition of repeating field {@link #author}, creating it if it does not already exist {3} 1452 */ 1453 public ContactDetail getAuthorFirstRep() { 1454 if (getAuthor().isEmpty()) { 1455 addAuthor(); 1456 } 1457 return getAuthor().get(0); 1458 } 1459 1460 /** 1461 * @return {@link #editor} (An individual or organization primarily responsible for internal coherence of the content.) 1462 */ 1463 public List<ContactDetail> getEditor() { 1464 if (this.editor == null) 1465 this.editor = new ArrayList<ContactDetail>(); 1466 return this.editor; 1467 } 1468 1469 /** 1470 * @return Returns a reference to <code>this</code> for easy method chaining 1471 */ 1472 public Library setEditor(List<ContactDetail> theEditor) { 1473 this.editor = theEditor; 1474 return this; 1475 } 1476 1477 public boolean hasEditor() { 1478 if (this.editor == null) 1479 return false; 1480 for (ContactDetail item : this.editor) 1481 if (!item.isEmpty()) 1482 return true; 1483 return false; 1484 } 1485 1486 public ContactDetail addEditor() { //3 1487 ContactDetail t = new ContactDetail(); 1488 if (this.editor == null) 1489 this.editor = new ArrayList<ContactDetail>(); 1490 this.editor.add(t); 1491 return t; 1492 } 1493 1494 public Library addEditor(ContactDetail t) { //3 1495 if (t == null) 1496 return this; 1497 if (this.editor == null) 1498 this.editor = new ArrayList<ContactDetail>(); 1499 this.editor.add(t); 1500 return this; 1501 } 1502 1503 /** 1504 * @return The first repetition of repeating field {@link #editor}, creating it if it does not already exist {3} 1505 */ 1506 public ContactDetail getEditorFirstRep() { 1507 if (getEditor().isEmpty()) { 1508 addEditor(); 1509 } 1510 return getEditor().get(0); 1511 } 1512 1513 /** 1514 * @return {@link #reviewer} (An individual or organization primarily responsible for review of some aspect of the content.) 1515 */ 1516 public List<ContactDetail> getReviewer() { 1517 if (this.reviewer == null) 1518 this.reviewer = new ArrayList<ContactDetail>(); 1519 return this.reviewer; 1520 } 1521 1522 /** 1523 * @return Returns a reference to <code>this</code> for easy method chaining 1524 */ 1525 public Library setReviewer(List<ContactDetail> theReviewer) { 1526 this.reviewer = theReviewer; 1527 return this; 1528 } 1529 1530 public boolean hasReviewer() { 1531 if (this.reviewer == null) 1532 return false; 1533 for (ContactDetail item : this.reviewer) 1534 if (!item.isEmpty()) 1535 return true; 1536 return false; 1537 } 1538 1539 public ContactDetail addReviewer() { //3 1540 ContactDetail t = new ContactDetail(); 1541 if (this.reviewer == null) 1542 this.reviewer = new ArrayList<ContactDetail>(); 1543 this.reviewer.add(t); 1544 return t; 1545 } 1546 1547 public Library addReviewer(ContactDetail t) { //3 1548 if (t == null) 1549 return this; 1550 if (this.reviewer == null) 1551 this.reviewer = new ArrayList<ContactDetail>(); 1552 this.reviewer.add(t); 1553 return this; 1554 } 1555 1556 /** 1557 * @return The first repetition of repeating field {@link #reviewer}, creating it if it does not already exist {3} 1558 */ 1559 public ContactDetail getReviewerFirstRep() { 1560 if (getReviewer().isEmpty()) { 1561 addReviewer(); 1562 } 1563 return getReviewer().get(0); 1564 } 1565 1566 /** 1567 * @return {@link #endorser} (An individual or organization responsible for officially endorsing the content for use in some setting.) 1568 */ 1569 public List<ContactDetail> getEndorser() { 1570 if (this.endorser == null) 1571 this.endorser = new ArrayList<ContactDetail>(); 1572 return this.endorser; 1573 } 1574 1575 /** 1576 * @return Returns a reference to <code>this</code> for easy method chaining 1577 */ 1578 public Library setEndorser(List<ContactDetail> theEndorser) { 1579 this.endorser = theEndorser; 1580 return this; 1581 } 1582 1583 public boolean hasEndorser() { 1584 if (this.endorser == null) 1585 return false; 1586 for (ContactDetail item : this.endorser) 1587 if (!item.isEmpty()) 1588 return true; 1589 return false; 1590 } 1591 1592 public ContactDetail addEndorser() { //3 1593 ContactDetail t = new ContactDetail(); 1594 if (this.endorser == null) 1595 this.endorser = new ArrayList<ContactDetail>(); 1596 this.endorser.add(t); 1597 return t; 1598 } 1599 1600 public Library addEndorser(ContactDetail t) { //3 1601 if (t == null) 1602 return this; 1603 if (this.endorser == null) 1604 this.endorser = new ArrayList<ContactDetail>(); 1605 this.endorser.add(t); 1606 return this; 1607 } 1608 1609 /** 1610 * @return The first repetition of repeating field {@link #endorser}, creating it if it does not already exist {3} 1611 */ 1612 public ContactDetail getEndorserFirstRep() { 1613 if (getEndorser().isEmpty()) { 1614 addEndorser(); 1615 } 1616 return getEndorser().get(0); 1617 } 1618 1619 /** 1620 * @return {@link #relatedArtifact} (Related artifacts such as additional documentation, justification, or bibliographic references.) 1621 */ 1622 public List<RelatedArtifact> getRelatedArtifact() { 1623 if (this.relatedArtifact == null) 1624 this.relatedArtifact = new ArrayList<RelatedArtifact>(); 1625 return this.relatedArtifact; 1626 } 1627 1628 /** 1629 * @return Returns a reference to <code>this</code> for easy method chaining 1630 */ 1631 public Library setRelatedArtifact(List<RelatedArtifact> theRelatedArtifact) { 1632 this.relatedArtifact = theRelatedArtifact; 1633 return this; 1634 } 1635 1636 public boolean hasRelatedArtifact() { 1637 if (this.relatedArtifact == null) 1638 return false; 1639 for (RelatedArtifact item : this.relatedArtifact) 1640 if (!item.isEmpty()) 1641 return true; 1642 return false; 1643 } 1644 1645 public RelatedArtifact addRelatedArtifact() { //3 1646 RelatedArtifact t = new RelatedArtifact(); 1647 if (this.relatedArtifact == null) 1648 this.relatedArtifact = new ArrayList<RelatedArtifact>(); 1649 this.relatedArtifact.add(t); 1650 return t; 1651 } 1652 1653 public Library addRelatedArtifact(RelatedArtifact t) { //3 1654 if (t == null) 1655 return this; 1656 if (this.relatedArtifact == null) 1657 this.relatedArtifact = new ArrayList<RelatedArtifact>(); 1658 this.relatedArtifact.add(t); 1659 return this; 1660 } 1661 1662 /** 1663 * @return The first repetition of repeating field {@link #relatedArtifact}, creating it if it does not already exist {3} 1664 */ 1665 public RelatedArtifact getRelatedArtifactFirstRep() { 1666 if (getRelatedArtifact().isEmpty()) { 1667 addRelatedArtifact(); 1668 } 1669 return getRelatedArtifact().get(0); 1670 } 1671 1672 /** 1673 * @return {@link #parameter} (The parameter element defines parameters used by the library.) 1674 */ 1675 public List<ParameterDefinition> getParameter() { 1676 if (this.parameter == null) 1677 this.parameter = new ArrayList<ParameterDefinition>(); 1678 return this.parameter; 1679 } 1680 1681 /** 1682 * @return Returns a reference to <code>this</code> for easy method chaining 1683 */ 1684 public Library setParameter(List<ParameterDefinition> theParameter) { 1685 this.parameter = theParameter; 1686 return this; 1687 } 1688 1689 public boolean hasParameter() { 1690 if (this.parameter == null) 1691 return false; 1692 for (ParameterDefinition item : this.parameter) 1693 if (!item.isEmpty()) 1694 return true; 1695 return false; 1696 } 1697 1698 public ParameterDefinition addParameter() { //3 1699 ParameterDefinition t = new ParameterDefinition(); 1700 if (this.parameter == null) 1701 this.parameter = new ArrayList<ParameterDefinition>(); 1702 this.parameter.add(t); 1703 return t; 1704 } 1705 1706 public Library addParameter(ParameterDefinition t) { //3 1707 if (t == null) 1708 return this; 1709 if (this.parameter == null) 1710 this.parameter = new ArrayList<ParameterDefinition>(); 1711 this.parameter.add(t); 1712 return this; 1713 } 1714 1715 /** 1716 * @return The first repetition of repeating field {@link #parameter}, creating it if it does not already exist {3} 1717 */ 1718 public ParameterDefinition getParameterFirstRep() { 1719 if (getParameter().isEmpty()) { 1720 addParameter(); 1721 } 1722 return getParameter().get(0); 1723 } 1724 1725 /** 1726 * @return {@link #dataRequirement} (Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library.) 1727 */ 1728 public List<DataRequirement> getDataRequirement() { 1729 if (this.dataRequirement == null) 1730 this.dataRequirement = new ArrayList<DataRequirement>(); 1731 return this.dataRequirement; 1732 } 1733 1734 /** 1735 * @return Returns a reference to <code>this</code> for easy method chaining 1736 */ 1737 public Library setDataRequirement(List<DataRequirement> theDataRequirement) { 1738 this.dataRequirement = theDataRequirement; 1739 return this; 1740 } 1741 1742 public boolean hasDataRequirement() { 1743 if (this.dataRequirement == null) 1744 return false; 1745 for (DataRequirement item : this.dataRequirement) 1746 if (!item.isEmpty()) 1747 return true; 1748 return false; 1749 } 1750 1751 public DataRequirement addDataRequirement() { //3 1752 DataRequirement t = new DataRequirement(); 1753 if (this.dataRequirement == null) 1754 this.dataRequirement = new ArrayList<DataRequirement>(); 1755 this.dataRequirement.add(t); 1756 return t; 1757 } 1758 1759 public Library addDataRequirement(DataRequirement t) { //3 1760 if (t == null) 1761 return this; 1762 if (this.dataRequirement == null) 1763 this.dataRequirement = new ArrayList<DataRequirement>(); 1764 this.dataRequirement.add(t); 1765 return this; 1766 } 1767 1768 /** 1769 * @return The first repetition of repeating field {@link #dataRequirement}, creating it if it does not already exist {3} 1770 */ 1771 public DataRequirement getDataRequirementFirstRep() { 1772 if (getDataRequirement().isEmpty()) { 1773 addDataRequirement(); 1774 } 1775 return getDataRequirement().get(0); 1776 } 1777 1778 /** 1779 * @return {@link #content} (The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content.) 1780 */ 1781 public List<Attachment> getContent() { 1782 if (this.content == null) 1783 this.content = new ArrayList<Attachment>(); 1784 return this.content; 1785 } 1786 1787 /** 1788 * @return Returns a reference to <code>this</code> for easy method chaining 1789 */ 1790 public Library setContent(List<Attachment> theContent) { 1791 this.content = theContent; 1792 return this; 1793 } 1794 1795 public boolean hasContent() { 1796 if (this.content == null) 1797 return false; 1798 for (Attachment item : this.content) 1799 if (!item.isEmpty()) 1800 return true; 1801 return false; 1802 } 1803 1804 public Attachment addContent() { //3 1805 Attachment t = new Attachment(); 1806 if (this.content == null) 1807 this.content = new ArrayList<Attachment>(); 1808 this.content.add(t); 1809 return t; 1810 } 1811 1812 public Library addContent(Attachment t) { //3 1813 if (t == null) 1814 return this; 1815 if (this.content == null) 1816 this.content = new ArrayList<Attachment>(); 1817 this.content.add(t); 1818 return this; 1819 } 1820 1821 /** 1822 * @return The first repetition of repeating field {@link #content}, creating it if it does not already exist {3} 1823 */ 1824 public Attachment getContentFirstRep() { 1825 if (getContent().isEmpty()) { 1826 addContent(); 1827 } 1828 return getContent().get(0); 1829 } 1830 1831 protected void listChildren(List<Property> children) { 1832 super.listChildren(children); 1833 children.add(new Property("url", "uri", "An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library is stored on different servers.", 0, 1, url)); 1834 children.add(new Property("identifier", "Identifier", "A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts.", 0, java.lang.Integer.MAX_VALUE, identifier)); 1835 children.add(new Property("version", "string", "The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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)); 1836 children.add(new Property("name", "string", "A natural language name identifying the library. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); 1837 children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the library.", 0, 1, title)); 1838 children.add(new Property("subtitle", "string", "An explanatory or alternate title for the library giving additional information about its content.", 0, 1, subtitle)); 1839 children.add(new Property("status", "code", "The status of this library. Enables tracking the life-cycle of the content.", 0, 1, status)); 1840 children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); 1841 children.add(new Property("type", "CodeableConcept", "Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition.", 0, 1, type)); 1842 children.add(new Property("subject[x]", "CodeableConcept|Reference(Group)", "A code or group definition that describes the intended subject of the contents of the library.", 0, 1, subject)); 1843 children.add(new Property("date", "dateTime", "The date (and optionally time) when the library 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 library changes.", 0, 1, date)); 1844 children.add(new Property("publisher", "string", "The name of the organization or individual that published the library.", 0, 1, publisher)); 1845 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)); 1846 children.add(new Property("description", "markdown", "A free text natural language description of the library from a consumer's perspective.", 0, 1, description)); 1847 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 library instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); 1848 children.add(new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the library is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction)); 1849 children.add(new Property("purpose", "markdown", "Explanation of why this library is needed and why it has been designed as it has.", 0, 1, purpose)); 1850 children.add(new Property("usage", "string", "A detailed description of how the library is used from a clinical perspective.", 0, 1, usage)); 1851 children.add(new Property("copyright", "markdown", "A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library.", 0, 1, copyright)); 1852 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)); 1853 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)); 1854 children.add(new Property("effectivePeriod", "Period", "The period during which the library content was or is planned to be in active use.", 0, 1, effectivePeriod)); 1855 children.add(new Property("topic", "CodeableConcept", "Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.", 0, java.lang.Integer.MAX_VALUE, topic)); 1856 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)); 1857 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)); 1858 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)); 1859 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)); 1860 children.add(new Property("relatedArtifact", "RelatedArtifact", "Related artifacts such as additional documentation, justification, or bibliographic references.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact)); 1861 children.add(new Property("parameter", "ParameterDefinition", "The parameter element defines parameters used by the library.", 0, java.lang.Integer.MAX_VALUE, parameter)); 1862 children.add(new Property("dataRequirement", "DataRequirement", "Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library.", 0, java.lang.Integer.MAX_VALUE, dataRequirement)); 1863 children.add(new Property("content", "Attachment", "The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content.", 0, java.lang.Integer.MAX_VALUE, content)); 1864 } 1865 1866 @Override 1867 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 1868 switch (_hash) { 1869 case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library is stored on different servers.", 0, 1, url); 1870 case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts.", 0, java.lang.Integer.MAX_VALUE, identifier); 1871 case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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); 1872 case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the library. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); 1873 case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the library.", 0, 1, title); 1874 case -2060497896: /*subtitle*/ return new Property("subtitle", "string", "An explanatory or alternate title for the library giving additional information about its content.", 0, 1, subtitle); 1875 case -892481550: /*status*/ return new Property("status", "code", "The status of this library. Enables tracking the life-cycle of the content.", 0, 1, status); 1876 case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); 1877 case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition.", 0, 1, type); 1878 case -573640748: /*subject[x]*/ return new Property("subject[x]", "CodeableConcept|Reference(Group)", "A code or group definition that describes the intended subject of the contents of the library.", 0, 1, subject); 1879 case -1867885268: /*subject*/ return new Property("subject[x]", "CodeableConcept|Reference(Group)", "A code or group definition that describes the intended subject of the contents of the library.", 0, 1, subject); 1880 case -1257122603: /*subjectCodeableConcept*/ return new Property("subject[x]", "CodeableConcept", "A code or group definition that describes the intended subject of the contents of the library.", 0, 1, subject); 1881 case 772938623: /*subjectReference*/ return new Property("subject[x]", "Reference(Group)", "A code or group definition that describes the intended subject of the contents of the library.", 0, 1, subject); 1882 case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the library 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 library changes.", 0, 1, date); 1883 case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the library.", 0, 1, publisher); 1884 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); 1885 case -1724546052: /*description*/ return new Property("description", "markdown", "A free text natural language description of the library from a consumer's perspective.", 0, 1, description); 1886 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 library instances.", 0, java.lang.Integer.MAX_VALUE, useContext); 1887 case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the library is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction); 1888 case -220463842: /*purpose*/ return new Property("purpose", "markdown", "Explanation of why this library is needed and why it has been designed as it has.", 0, 1, purpose); 1889 case 111574433: /*usage*/ return new Property("usage", "string", "A detailed description of how the library is used from a clinical perspective.", 0, 1, usage); 1890 case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library.", 0, 1, copyright); 1891 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); 1892 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); 1893 case -403934648: /*effectivePeriod*/ return new Property("effectivePeriod", "Period", "The period during which the library content was or is planned to be in active use.", 0, 1, effectivePeriod); 1894 case 110546223: /*topic*/ return new Property("topic", "CodeableConcept", "Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.", 0, java.lang.Integer.MAX_VALUE, topic); 1895 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); 1896 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); 1897 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); 1898 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); 1899 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); 1900 case 1954460585: /*parameter*/ return new Property("parameter", "ParameterDefinition", "The parameter element defines parameters used by the library.", 0, java.lang.Integer.MAX_VALUE, parameter); 1901 case 629147193: /*dataRequirement*/ return new Property("dataRequirement", "DataRequirement", "Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library.", 0, java.lang.Integer.MAX_VALUE, dataRequirement); 1902 case 951530617: /*content*/ return new Property("content", "Attachment", "The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content.", 0, java.lang.Integer.MAX_VALUE, content); 1903 default: return super.getNamedProperty(_hash, _name, _checkValid); 1904 } 1905 1906 } 1907 1908 @Override 1909 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 1910 switch (hash) { 1911 case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType 1912 case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier 1913 case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType 1914 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType 1915 case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType 1916 case -2060497896: /*subtitle*/ return this.subtitle == null ? new Base[0] : new Base[] {this.subtitle}; // StringType 1917 case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<PublicationStatus> 1918 case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType 1919 case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept 1920 case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // DataType 1921 case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType 1922 case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType 1923 case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail 1924 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType 1925 case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext 1926 case -507075711: /*jurisdiction*/ return this.jurisdiction == null ? new Base[0] : this.jurisdiction.toArray(new Base[this.jurisdiction.size()]); // CodeableConcept 1927 case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // MarkdownType 1928 case 111574433: /*usage*/ return this.usage == null ? new Base[0] : new Base[] {this.usage}; // StringType 1929 case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType 1930 case 223539345: /*approvalDate*/ return this.approvalDate == null ? new Base[0] : new Base[] {this.approvalDate}; // DateType 1931 case -1687512484: /*lastReviewDate*/ return this.lastReviewDate == null ? new Base[0] : new Base[] {this.lastReviewDate}; // DateType 1932 case -403934648: /*effectivePeriod*/ return this.effectivePeriod == null ? new Base[0] : new Base[] {this.effectivePeriod}; // Period 1933 case 110546223: /*topic*/ return this.topic == null ? new Base[0] : this.topic.toArray(new Base[this.topic.size()]); // CodeableConcept 1934 case -1406328437: /*author*/ return this.author == null ? new Base[0] : this.author.toArray(new Base[this.author.size()]); // ContactDetail 1935 case -1307827859: /*editor*/ return this.editor == null ? new Base[0] : this.editor.toArray(new Base[this.editor.size()]); // ContactDetail 1936 case -261190139: /*reviewer*/ return this.reviewer == null ? new Base[0] : this.reviewer.toArray(new Base[this.reviewer.size()]); // ContactDetail 1937 case 1740277666: /*endorser*/ return this.endorser == null ? new Base[0] : this.endorser.toArray(new Base[this.endorser.size()]); // ContactDetail 1938 case 666807069: /*relatedArtifact*/ return this.relatedArtifact == null ? new Base[0] : this.relatedArtifact.toArray(new Base[this.relatedArtifact.size()]); // RelatedArtifact 1939 case 1954460585: /*parameter*/ return this.parameter == null ? new Base[0] : this.parameter.toArray(new Base[this.parameter.size()]); // ParameterDefinition 1940 case 629147193: /*dataRequirement*/ return this.dataRequirement == null ? new Base[0] : this.dataRequirement.toArray(new Base[this.dataRequirement.size()]); // DataRequirement 1941 case 951530617: /*content*/ return this.content == null ? new Base[0] : this.content.toArray(new Base[this.content.size()]); // Attachment 1942 default: return super.getProperty(hash, name, checkValid); 1943 } 1944 1945 } 1946 1947 @Override 1948 public Base setProperty(int hash, String name, Base value) throws FHIRException { 1949 switch (hash) { 1950 case 116079: // url 1951 this.url = TypeConvertor.castToUri(value); // UriType 1952 return value; 1953 case -1618432855: // identifier 1954 this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier 1955 return value; 1956 case 351608024: // version 1957 this.version = TypeConvertor.castToString(value); // StringType 1958 return value; 1959 case 3373707: // name 1960 this.name = TypeConvertor.castToString(value); // StringType 1961 return value; 1962 case 110371416: // title 1963 this.title = TypeConvertor.castToString(value); // StringType 1964 return value; 1965 case -2060497896: // subtitle 1966 this.subtitle = TypeConvertor.castToString(value); // StringType 1967 return value; 1968 case -892481550: // status 1969 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 1970 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 1971 return value; 1972 case -404562712: // experimental 1973 this.experimental = TypeConvertor.castToBoolean(value); // BooleanType 1974 return value; 1975 case 3575610: // type 1976 this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 1977 return value; 1978 case -1867885268: // subject 1979 this.subject = TypeConvertor.castToType(value); // DataType 1980 return value; 1981 case 3076014: // date 1982 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 1983 return value; 1984 case 1447404028: // publisher 1985 this.publisher = TypeConvertor.castToString(value); // StringType 1986 return value; 1987 case 951526432: // contact 1988 this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 1989 return value; 1990 case -1724546052: // description 1991 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 1992 return value; 1993 case -669707736: // useContext 1994 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext 1995 return value; 1996 case -507075711: // jurisdiction 1997 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept 1998 return value; 1999 case -220463842: // purpose 2000 this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType 2001 return value; 2002 case 111574433: // usage 2003 this.usage = TypeConvertor.castToString(value); // StringType 2004 return value; 2005 case 1522889671: // copyright 2006 this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType 2007 return value; 2008 case 223539345: // approvalDate 2009 this.approvalDate = TypeConvertor.castToDate(value); // DateType 2010 return value; 2011 case -1687512484: // lastReviewDate 2012 this.lastReviewDate = TypeConvertor.castToDate(value); // DateType 2013 return value; 2014 case -403934648: // effectivePeriod 2015 this.effectivePeriod = TypeConvertor.castToPeriod(value); // Period 2016 return value; 2017 case 110546223: // topic 2018 this.getTopic().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept 2019 return value; 2020 case -1406328437: // author 2021 this.getAuthor().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 2022 return value; 2023 case -1307827859: // editor 2024 this.getEditor().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 2025 return value; 2026 case -261190139: // reviewer 2027 this.getReviewer().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 2028 return value; 2029 case 1740277666: // endorser 2030 this.getEndorser().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 2031 return value; 2032 case 666807069: // relatedArtifact 2033 this.getRelatedArtifact().add(TypeConvertor.castToRelatedArtifact(value)); // RelatedArtifact 2034 return value; 2035 case 1954460585: // parameter 2036 this.getParameter().add(TypeConvertor.castToParameterDefinition(value)); // ParameterDefinition 2037 return value; 2038 case 629147193: // dataRequirement 2039 this.getDataRequirement().add(TypeConvertor.castToDataRequirement(value)); // DataRequirement 2040 return value; 2041 case 951530617: // content 2042 this.getContent().add(TypeConvertor.castToAttachment(value)); // Attachment 2043 return value; 2044 default: return super.setProperty(hash, name, value); 2045 } 2046 2047 } 2048 2049 @Override 2050 public Base setProperty(String name, Base value) throws FHIRException { 2051 if (name.equals("url")) { 2052 this.url = TypeConvertor.castToUri(value); // UriType 2053 } else if (name.equals("identifier")) { 2054 this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); 2055 } else if (name.equals("version")) { 2056 this.version = TypeConvertor.castToString(value); // StringType 2057 } else if (name.equals("name")) { 2058 this.name = TypeConvertor.castToString(value); // StringType 2059 } else if (name.equals("title")) { 2060 this.title = TypeConvertor.castToString(value); // StringType 2061 } else if (name.equals("subtitle")) { 2062 this.subtitle = TypeConvertor.castToString(value); // StringType 2063 } else if (name.equals("status")) { 2064 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 2065 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 2066 } else if (name.equals("experimental")) { 2067 this.experimental = TypeConvertor.castToBoolean(value); // BooleanType 2068 } else if (name.equals("type")) { 2069 this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept 2070 } else if (name.equals("subject[x]")) { 2071 this.subject = TypeConvertor.castToType(value); // DataType 2072 } else if (name.equals("date")) { 2073 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 2074 } else if (name.equals("publisher")) { 2075 this.publisher = TypeConvertor.castToString(value); // StringType 2076 } else if (name.equals("contact")) { 2077 this.getContact().add(TypeConvertor.castToContactDetail(value)); 2078 } else if (name.equals("description")) { 2079 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 2080 } else if (name.equals("useContext")) { 2081 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); 2082 } else if (name.equals("jurisdiction")) { 2083 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); 2084 } else if (name.equals("purpose")) { 2085 this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType 2086 } else if (name.equals("usage")) { 2087 this.usage = TypeConvertor.castToString(value); // StringType 2088 } else if (name.equals("copyright")) { 2089 this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType 2090 } else if (name.equals("approvalDate")) { 2091 this.approvalDate = TypeConvertor.castToDate(value); // DateType 2092 } else if (name.equals("lastReviewDate")) { 2093 this.lastReviewDate = TypeConvertor.castToDate(value); // DateType 2094 } else if (name.equals("effectivePeriod")) { 2095 this.effectivePeriod = TypeConvertor.castToPeriod(value); // Period 2096 } else if (name.equals("topic")) { 2097 this.getTopic().add(TypeConvertor.castToCodeableConcept(value)); 2098 } else if (name.equals("author")) { 2099 this.getAuthor().add(TypeConvertor.castToContactDetail(value)); 2100 } else if (name.equals("editor")) { 2101 this.getEditor().add(TypeConvertor.castToContactDetail(value)); 2102 } else if (name.equals("reviewer")) { 2103 this.getReviewer().add(TypeConvertor.castToContactDetail(value)); 2104 } else if (name.equals("endorser")) { 2105 this.getEndorser().add(TypeConvertor.castToContactDetail(value)); 2106 } else if (name.equals("relatedArtifact")) { 2107 this.getRelatedArtifact().add(TypeConvertor.castToRelatedArtifact(value)); 2108 } else if (name.equals("parameter")) { 2109 this.getParameter().add(TypeConvertor.castToParameterDefinition(value)); 2110 } else if (name.equals("dataRequirement")) { 2111 this.getDataRequirement().add(TypeConvertor.castToDataRequirement(value)); 2112 } else if (name.equals("content")) { 2113 this.getContent().add(TypeConvertor.castToAttachment(value)); 2114 } else 2115 return super.setProperty(name, value); 2116 return value; 2117 } 2118 2119 @Override 2120 public Base makeProperty(int hash, String name) throws FHIRException { 2121 switch (hash) { 2122 case 116079: return getUrlElement(); 2123 case -1618432855: return addIdentifier(); 2124 case 351608024: return getVersionElement(); 2125 case 3373707: return getNameElement(); 2126 case 110371416: return getTitleElement(); 2127 case -2060497896: return getSubtitleElement(); 2128 case -892481550: return getStatusElement(); 2129 case -404562712: return getExperimentalElement(); 2130 case 3575610: return getType(); 2131 case -573640748: return getSubject(); 2132 case -1867885268: return getSubject(); 2133 case 3076014: return getDateElement(); 2134 case 1447404028: return getPublisherElement(); 2135 case 951526432: return addContact(); 2136 case -1724546052: return getDescriptionElement(); 2137 case -669707736: return addUseContext(); 2138 case -507075711: return addJurisdiction(); 2139 case -220463842: return getPurposeElement(); 2140 case 111574433: return getUsageElement(); 2141 case 1522889671: return getCopyrightElement(); 2142 case 223539345: return getApprovalDateElement(); 2143 case -1687512484: return getLastReviewDateElement(); 2144 case -403934648: return getEffectivePeriod(); 2145 case 110546223: return addTopic(); 2146 case -1406328437: return addAuthor(); 2147 case -1307827859: return addEditor(); 2148 case -261190139: return addReviewer(); 2149 case 1740277666: return addEndorser(); 2150 case 666807069: return addRelatedArtifact(); 2151 case 1954460585: return addParameter(); 2152 case 629147193: return addDataRequirement(); 2153 case 951530617: return addContent(); 2154 default: return super.makeProperty(hash, name); 2155 } 2156 2157 } 2158 2159 @Override 2160 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 2161 switch (hash) { 2162 case 116079: /*url*/ return new String[] {"uri"}; 2163 case -1618432855: /*identifier*/ return new String[] {"Identifier"}; 2164 case 351608024: /*version*/ return new String[] {"string"}; 2165 case 3373707: /*name*/ return new String[] {"string"}; 2166 case 110371416: /*title*/ return new String[] {"string"}; 2167 case -2060497896: /*subtitle*/ return new String[] {"string"}; 2168 case -892481550: /*status*/ return new String[] {"code"}; 2169 case -404562712: /*experimental*/ return new String[] {"boolean"}; 2170 case 3575610: /*type*/ return new String[] {"CodeableConcept"}; 2171 case -1867885268: /*subject*/ return new String[] {"CodeableConcept", "Reference"}; 2172 case 3076014: /*date*/ return new String[] {"dateTime"}; 2173 case 1447404028: /*publisher*/ return new String[] {"string"}; 2174 case 951526432: /*contact*/ return new String[] {"ContactDetail"}; 2175 case -1724546052: /*description*/ return new String[] {"markdown"}; 2176 case -669707736: /*useContext*/ return new String[] {"UsageContext"}; 2177 case -507075711: /*jurisdiction*/ return new String[] {"CodeableConcept"}; 2178 case -220463842: /*purpose*/ return new String[] {"markdown"}; 2179 case 111574433: /*usage*/ return new String[] {"string"}; 2180 case 1522889671: /*copyright*/ return new String[] {"markdown"}; 2181 case 223539345: /*approvalDate*/ return new String[] {"date"}; 2182 case -1687512484: /*lastReviewDate*/ return new String[] {"date"}; 2183 case -403934648: /*effectivePeriod*/ return new String[] {"Period"}; 2184 case 110546223: /*topic*/ return new String[] {"CodeableConcept"}; 2185 case -1406328437: /*author*/ return new String[] {"ContactDetail"}; 2186 case -1307827859: /*editor*/ return new String[] {"ContactDetail"}; 2187 case -261190139: /*reviewer*/ return new String[] {"ContactDetail"}; 2188 case 1740277666: /*endorser*/ return new String[] {"ContactDetail"}; 2189 case 666807069: /*relatedArtifact*/ return new String[] {"RelatedArtifact"}; 2190 case 1954460585: /*parameter*/ return new String[] {"ParameterDefinition"}; 2191 case 629147193: /*dataRequirement*/ return new String[] {"DataRequirement"}; 2192 case 951530617: /*content*/ return new String[] {"Attachment"}; 2193 default: return super.getTypesForProperty(hash, name); 2194 } 2195 2196 } 2197 2198 @Override 2199 public Base addChild(String name) throws FHIRException { 2200 if (name.equals("url")) { 2201 throw new FHIRException("Cannot call addChild on a primitive type Library.url"); 2202 } 2203 else if (name.equals("identifier")) { 2204 return addIdentifier(); 2205 } 2206 else if (name.equals("version")) { 2207 throw new FHIRException("Cannot call addChild on a primitive type Library.version"); 2208 } 2209 else if (name.equals("name")) { 2210 throw new FHIRException("Cannot call addChild on a primitive type Library.name"); 2211 } 2212 else if (name.equals("title")) { 2213 throw new FHIRException("Cannot call addChild on a primitive type Library.title"); 2214 } 2215 else if (name.equals("subtitle")) { 2216 throw new FHIRException("Cannot call addChild on a primitive type Library.subtitle"); 2217 } 2218 else if (name.equals("status")) { 2219 throw new FHIRException("Cannot call addChild on a primitive type Library.status"); 2220 } 2221 else if (name.equals("experimental")) { 2222 throw new FHIRException("Cannot call addChild on a primitive type Library.experimental"); 2223 } 2224 else if (name.equals("type")) { 2225 this.type = new CodeableConcept(); 2226 return this.type; 2227 } 2228 else if (name.equals("subjectCodeableConcept")) { 2229 this.subject = new CodeableConcept(); 2230 return this.subject; 2231 } 2232 else if (name.equals("subjectReference")) { 2233 this.subject = new Reference(); 2234 return this.subject; 2235 } 2236 else if (name.equals("date")) { 2237 throw new FHIRException("Cannot call addChild on a primitive type Library.date"); 2238 } 2239 else if (name.equals("publisher")) { 2240 throw new FHIRException("Cannot call addChild on a primitive type Library.publisher"); 2241 } 2242 else if (name.equals("contact")) { 2243 return addContact(); 2244 } 2245 else if (name.equals("description")) { 2246 throw new FHIRException("Cannot call addChild on a primitive type Library.description"); 2247 } 2248 else if (name.equals("useContext")) { 2249 return addUseContext(); 2250 } 2251 else if (name.equals("jurisdiction")) { 2252 return addJurisdiction(); 2253 } 2254 else if (name.equals("purpose")) { 2255 throw new FHIRException("Cannot call addChild on a primitive type Library.purpose"); 2256 } 2257 else if (name.equals("usage")) { 2258 throw new FHIRException("Cannot call addChild on a primitive type Library.usage"); 2259 } 2260 else if (name.equals("copyright")) { 2261 throw new FHIRException("Cannot call addChild on a primitive type Library.copyright"); 2262 } 2263 else if (name.equals("approvalDate")) { 2264 throw new FHIRException("Cannot call addChild on a primitive type Library.approvalDate"); 2265 } 2266 else if (name.equals("lastReviewDate")) { 2267 throw new FHIRException("Cannot call addChild on a primitive type Library.lastReviewDate"); 2268 } 2269 else if (name.equals("effectivePeriod")) { 2270 this.effectivePeriod = new Period(); 2271 return this.effectivePeriod; 2272 } 2273 else if (name.equals("topic")) { 2274 return addTopic(); 2275 } 2276 else if (name.equals("author")) { 2277 return addAuthor(); 2278 } 2279 else if (name.equals("editor")) { 2280 return addEditor(); 2281 } 2282 else if (name.equals("reviewer")) { 2283 return addReviewer(); 2284 } 2285 else if (name.equals("endorser")) { 2286 return addEndorser(); 2287 } 2288 else if (name.equals("relatedArtifact")) { 2289 return addRelatedArtifact(); 2290 } 2291 else if (name.equals("parameter")) { 2292 return addParameter(); 2293 } 2294 else if (name.equals("dataRequirement")) { 2295 return addDataRequirement(); 2296 } 2297 else if (name.equals("content")) { 2298 return addContent(); 2299 } 2300 else 2301 return super.addChild(name); 2302 } 2303 2304 public String fhirType() { 2305 return "Library"; 2306 2307 } 2308 2309 public Library copy() { 2310 Library dst = new Library(); 2311 copyValues(dst); 2312 return dst; 2313 } 2314 2315 public void copyValues(Library dst) { 2316 super.copyValues(dst); 2317 dst.url = url == null ? null : url.copy(); 2318 if (identifier != null) { 2319 dst.identifier = new ArrayList<Identifier>(); 2320 for (Identifier i : identifier) 2321 dst.identifier.add(i.copy()); 2322 }; 2323 dst.version = version == null ? null : version.copy(); 2324 dst.name = name == null ? null : name.copy(); 2325 dst.title = title == null ? null : title.copy(); 2326 dst.subtitle = subtitle == null ? null : subtitle.copy(); 2327 dst.status = status == null ? null : status.copy(); 2328 dst.experimental = experimental == null ? null : experimental.copy(); 2329 dst.type = type == null ? null : type.copy(); 2330 dst.subject = subject == null ? null : subject.copy(); 2331 dst.date = date == null ? null : date.copy(); 2332 dst.publisher = publisher == null ? null : publisher.copy(); 2333 if (contact != null) { 2334 dst.contact = new ArrayList<ContactDetail>(); 2335 for (ContactDetail i : contact) 2336 dst.contact.add(i.copy()); 2337 }; 2338 dst.description = description == null ? null : description.copy(); 2339 if (useContext != null) { 2340 dst.useContext = new ArrayList<UsageContext>(); 2341 for (UsageContext i : useContext) 2342 dst.useContext.add(i.copy()); 2343 }; 2344 if (jurisdiction != null) { 2345 dst.jurisdiction = new ArrayList<CodeableConcept>(); 2346 for (CodeableConcept i : jurisdiction) 2347 dst.jurisdiction.add(i.copy()); 2348 }; 2349 dst.purpose = purpose == null ? null : purpose.copy(); 2350 dst.usage = usage == null ? null : usage.copy(); 2351 dst.copyright = copyright == null ? null : copyright.copy(); 2352 dst.approvalDate = approvalDate == null ? null : approvalDate.copy(); 2353 dst.lastReviewDate = lastReviewDate == null ? null : lastReviewDate.copy(); 2354 dst.effectivePeriod = effectivePeriod == null ? null : effectivePeriod.copy(); 2355 if (topic != null) { 2356 dst.topic = new ArrayList<CodeableConcept>(); 2357 for (CodeableConcept i : topic) 2358 dst.topic.add(i.copy()); 2359 }; 2360 if (author != null) { 2361 dst.author = new ArrayList<ContactDetail>(); 2362 for (ContactDetail i : author) 2363 dst.author.add(i.copy()); 2364 }; 2365 if (editor != null) { 2366 dst.editor = new ArrayList<ContactDetail>(); 2367 for (ContactDetail i : editor) 2368 dst.editor.add(i.copy()); 2369 }; 2370 if (reviewer != null) { 2371 dst.reviewer = new ArrayList<ContactDetail>(); 2372 for (ContactDetail i : reviewer) 2373 dst.reviewer.add(i.copy()); 2374 }; 2375 if (endorser != null) { 2376 dst.endorser = new ArrayList<ContactDetail>(); 2377 for (ContactDetail i : endorser) 2378 dst.endorser.add(i.copy()); 2379 }; 2380 if (relatedArtifact != null) { 2381 dst.relatedArtifact = new ArrayList<RelatedArtifact>(); 2382 for (RelatedArtifact i : relatedArtifact) 2383 dst.relatedArtifact.add(i.copy()); 2384 }; 2385 if (parameter != null) { 2386 dst.parameter = new ArrayList<ParameterDefinition>(); 2387 for (ParameterDefinition i : parameter) 2388 dst.parameter.add(i.copy()); 2389 }; 2390 if (dataRequirement != null) { 2391 dst.dataRequirement = new ArrayList<DataRequirement>(); 2392 for (DataRequirement i : dataRequirement) 2393 dst.dataRequirement.add(i.copy()); 2394 }; 2395 if (content != null) { 2396 dst.content = new ArrayList<Attachment>(); 2397 for (Attachment i : content) 2398 dst.content.add(i.copy()); 2399 }; 2400 } 2401 2402 protected Library typedCopy() { 2403 return copy(); 2404 } 2405 2406 @Override 2407 public boolean equalsDeep(Base other_) { 2408 if (!super.equalsDeep(other_)) 2409 return false; 2410 if (!(other_ instanceof Library)) 2411 return false; 2412 Library o = (Library) other_; 2413 return compareDeep(url, o.url, true) && compareDeep(identifier, o.identifier, true) && compareDeep(version, o.version, true) 2414 && compareDeep(name, o.name, true) && compareDeep(title, o.title, true) && compareDeep(subtitle, o.subtitle, true) 2415 && compareDeep(status, o.status, true) && compareDeep(experimental, o.experimental, true) && compareDeep(type, o.type, true) 2416 && compareDeep(subject, o.subject, true) && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) 2417 && compareDeep(contact, o.contact, true) && compareDeep(description, o.description, true) && compareDeep(useContext, o.useContext, true) 2418 && compareDeep(jurisdiction, o.jurisdiction, true) && compareDeep(purpose, o.purpose, true) && compareDeep(usage, o.usage, true) 2419 && compareDeep(copyright, o.copyright, true) && compareDeep(approvalDate, o.approvalDate, true) 2420 && compareDeep(lastReviewDate, o.lastReviewDate, true) && compareDeep(effectivePeriod, o.effectivePeriod, true) 2421 && compareDeep(topic, o.topic, true) && compareDeep(author, o.author, true) && compareDeep(editor, o.editor, true) 2422 && compareDeep(reviewer, o.reviewer, true) && compareDeep(endorser, o.endorser, true) && compareDeep(relatedArtifact, o.relatedArtifact, true) 2423 && compareDeep(parameter, o.parameter, true) && compareDeep(dataRequirement, o.dataRequirement, true) 2424 && compareDeep(content, o.content, true); 2425 } 2426 2427 @Override 2428 public boolean equalsShallow(Base other_) { 2429 if (!super.equalsShallow(other_)) 2430 return false; 2431 if (!(other_ instanceof Library)) 2432 return false; 2433 Library o = (Library) other_; 2434 return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) 2435 && compareValues(title, o.title, true) && compareValues(subtitle, o.subtitle, true) && compareValues(status, o.status, true) 2436 && compareValues(experimental, o.experimental, true) && compareValues(date, o.date, true) && compareValues(publisher, o.publisher, true) 2437 && compareValues(description, o.description, true) && compareValues(purpose, o.purpose, true) && compareValues(usage, o.usage, true) 2438 && compareValues(copyright, o.copyright, true) && compareValues(approvalDate, o.approvalDate, true) 2439 && compareValues(lastReviewDate, o.lastReviewDate, true); 2440 } 2441 2442 public boolean isEmpty() { 2443 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, identifier, version 2444 , name, title, subtitle, status, experimental, type, subject, date, publisher 2445 , contact, description, useContext, jurisdiction, purpose, usage, copyright, approvalDate 2446 , lastReviewDate, effectivePeriod, topic, author, editor, reviewer, endorser, relatedArtifact 2447 , parameter, dataRequirement, content); 2448 } 2449 2450 @Override 2451 public ResourceType getResourceType() { 2452 return ResourceType.Library; 2453 } 2454 2455 /** 2456 * Search parameter: <b>composed-of</b> 2457 * <p> 2458 * Description: <b>What resource is being referenced</b><br> 2459 * Type: <b>reference</b><br> 2460 * Path: <b>Library.relatedArtifact.where(type='composed-of').resource</b><br> 2461 * </p> 2462 */ 2463 @SearchParamDefinition(name="composed-of", path="Library.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 } ) 2464 public static final String SP_COMPOSED_OF = "composed-of"; 2465 /** 2466 * <b>Fluent Client</b> search parameter constant for <b>composed-of</b> 2467 * <p> 2468 * Description: <b>What resource is being referenced</b><br> 2469 * Type: <b>reference</b><br> 2470 * Path: <b>Library.relatedArtifact.where(type='composed-of').resource</b><br> 2471 * </p> 2472 */ 2473 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSED_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSED_OF); 2474 2475/** 2476 * Constant for fluent queries to be used to add include statements. Specifies 2477 * the path value of "<b>Library:composed-of</b>". 2478 */ 2479 public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSED_OF = new ca.uhn.fhir.model.api.Include("Library:composed-of").toLocked(); 2480 2481 /** 2482 * Search parameter: <b>content-type</b> 2483 * <p> 2484 * Description: <b>The type of content in the library (e.g. text/cql)</b><br> 2485 * Type: <b>token</b><br> 2486 * Path: <b>Library.content.contentType</b><br> 2487 * </p> 2488 */ 2489 @SearchParamDefinition(name="content-type", path="Library.content.contentType", description="The type of content in the library (e.g. text/cql)", type="token" ) 2490 public static final String SP_CONTENT_TYPE = "content-type"; 2491 /** 2492 * <b>Fluent Client</b> search parameter constant for <b>content-type</b> 2493 * <p> 2494 * Description: <b>The type of content in the library (e.g. text/cql)</b><br> 2495 * Type: <b>token</b><br> 2496 * Path: <b>Library.content.contentType</b><br> 2497 * </p> 2498 */ 2499 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTENT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTENT_TYPE); 2500 2501 /** 2502 * Search parameter: <b>context-quantity</b> 2503 * <p> 2504 * Description: <b>A quantity- or range-valued use context assigned to the library</b><br> 2505 * Type: <b>quantity</b><br> 2506 * Path: <b>(Library.useContext.value as Quantity) | (Library.useContext.value as Range)</b><br> 2507 * </p> 2508 */ 2509 @SearchParamDefinition(name="context-quantity", path="(Library.useContext.value as Quantity) | (Library.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the library", type="quantity" ) 2510 public static final String SP_CONTEXT_QUANTITY = "context-quantity"; 2511 /** 2512 * <b>Fluent Client</b> search parameter constant for <b>context-quantity</b> 2513 * <p> 2514 * Description: <b>A quantity- or range-valued use context assigned to the library</b><br> 2515 * Type: <b>quantity</b><br> 2516 * Path: <b>(Library.useContext.value as Quantity) | (Library.useContext.value as Range)</b><br> 2517 * </p> 2518 */ 2519 public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); 2520 2521 /** 2522 * Search parameter: <b>context-type-quantity</b> 2523 * <p> 2524 * Description: <b>A use context type and quantity- or range-based value assigned to the library</b><br> 2525 * Type: <b>composite</b><br> 2526 * Path: <b>Library.useContext</b><br> 2527 * </p> 2528 */ 2529 @SearchParamDefinition(name="context-type-quantity", path="Library.useContext", description="A use context type and quantity- or range-based value assigned to the library", type="composite", compositeOf={"context-type", "context-quantity"} ) 2530 public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; 2531 /** 2532 * <b>Fluent Client</b> search parameter constant for <b>context-type-quantity</b> 2533 * <p> 2534 * Description: <b>A use context type and quantity- or range-based value assigned to the library</b><br> 2535 * Type: <b>composite</b><br> 2536 * Path: <b>Library.useContext</b><br> 2537 * </p> 2538 */ 2539 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); 2540 2541 /** 2542 * Search parameter: <b>context-type-value</b> 2543 * <p> 2544 * Description: <b>A use context type and value assigned to the library</b><br> 2545 * Type: <b>composite</b><br> 2546 * Path: <b>Library.useContext</b><br> 2547 * </p> 2548 */ 2549 @SearchParamDefinition(name="context-type-value", path="Library.useContext", description="A use context type and value assigned to the library", type="composite", compositeOf={"context-type", "context"} ) 2550 public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; 2551 /** 2552 * <b>Fluent Client</b> search parameter constant for <b>context-type-value</b> 2553 * <p> 2554 * Description: <b>A use context type and value assigned to the library</b><br> 2555 * Type: <b>composite</b><br> 2556 * Path: <b>Library.useContext</b><br> 2557 * </p> 2558 */ 2559 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); 2560 2561 /** 2562 * Search parameter: <b>context-type</b> 2563 * <p> 2564 * Description: <b>A type of use context assigned to the library</b><br> 2565 * Type: <b>token</b><br> 2566 * Path: <b>Library.useContext.code</b><br> 2567 * </p> 2568 */ 2569 @SearchParamDefinition(name="context-type", path="Library.useContext.code", description="A type of use context assigned to the library", type="token" ) 2570 public static final String SP_CONTEXT_TYPE = "context-type"; 2571 /** 2572 * <b>Fluent Client</b> search parameter constant for <b>context-type</b> 2573 * <p> 2574 * Description: <b>A type of use context assigned to the library</b><br> 2575 * Type: <b>token</b><br> 2576 * Path: <b>Library.useContext.code</b><br> 2577 * </p> 2578 */ 2579 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); 2580 2581 /** 2582 * Search parameter: <b>context</b> 2583 * <p> 2584 * Description: <b>A use context assigned to the library</b><br> 2585 * Type: <b>token</b><br> 2586 * Path: <b>(Library.useContext.value as CodeableConcept)</b><br> 2587 * </p> 2588 */ 2589 @SearchParamDefinition(name="context", path="(Library.useContext.value as CodeableConcept)", description="A use context assigned to the library", type="token" ) 2590 public static final String SP_CONTEXT = "context"; 2591 /** 2592 * <b>Fluent Client</b> search parameter constant for <b>context</b> 2593 * <p> 2594 * Description: <b>A use context assigned to the library</b><br> 2595 * Type: <b>token</b><br> 2596 * Path: <b>(Library.useContext.value as CodeableConcept)</b><br> 2597 * </p> 2598 */ 2599 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); 2600 2601 /** 2602 * Search parameter: <b>date</b> 2603 * <p> 2604 * Description: <b>The library publication date</b><br> 2605 * Type: <b>date</b><br> 2606 * Path: <b>Library.date</b><br> 2607 * </p> 2608 */ 2609 @SearchParamDefinition(name="date", path="Library.date", description="The library publication date", type="date" ) 2610 public static final String SP_DATE = "date"; 2611 /** 2612 * <b>Fluent Client</b> search parameter constant for <b>date</b> 2613 * <p> 2614 * Description: <b>The library publication date</b><br> 2615 * Type: <b>date</b><br> 2616 * Path: <b>Library.date</b><br> 2617 * </p> 2618 */ 2619 public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); 2620 2621 /** 2622 * Search parameter: <b>depends-on</b> 2623 * <p> 2624 * Description: <b>What resource is being referenced</b><br> 2625 * Type: <b>reference</b><br> 2626 * Path: <b>Library.relatedArtifact.where(type='depends-on').resource</b><br> 2627 * </p> 2628 */ 2629 @SearchParamDefinition(name="depends-on", path="Library.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 } ) 2630 public static final String SP_DEPENDS_ON = "depends-on"; 2631 /** 2632 * <b>Fluent Client</b> search parameter constant for <b>depends-on</b> 2633 * <p> 2634 * Description: <b>What resource is being referenced</b><br> 2635 * Type: <b>reference</b><br> 2636 * Path: <b>Library.relatedArtifact.where(type='depends-on').resource</b><br> 2637 * </p> 2638 */ 2639 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); 2640 2641/** 2642 * Constant for fluent queries to be used to add include statements. Specifies 2643 * the path value of "<b>Library:depends-on</b>". 2644 */ 2645 public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("Library:depends-on").toLocked(); 2646 2647 /** 2648 * Search parameter: <b>derived-from</b> 2649 * <p> 2650 * Description: <b>What resource is being referenced</b><br> 2651 * Type: <b>reference</b><br> 2652 * Path: <b>Library.relatedArtifact.where(type='derived-from').resource</b><br> 2653 * </p> 2654 */ 2655 @SearchParamDefinition(name="derived-from", path="Library.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 } ) 2656 public static final String SP_DERIVED_FROM = "derived-from"; 2657 /** 2658 * <b>Fluent Client</b> search parameter constant for <b>derived-from</b> 2659 * <p> 2660 * Description: <b>What resource is being referenced</b><br> 2661 * Type: <b>reference</b><br> 2662 * Path: <b>Library.relatedArtifact.where(type='derived-from').resource</b><br> 2663 * </p> 2664 */ 2665 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); 2666 2667/** 2668 * Constant for fluent queries to be used to add include statements. Specifies 2669 * the path value of "<b>Library:derived-from</b>". 2670 */ 2671 public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("Library:derived-from").toLocked(); 2672 2673 /** 2674 * Search parameter: <b>description</b> 2675 * <p> 2676 * Description: <b>The description of the library</b><br> 2677 * Type: <b>string</b><br> 2678 * Path: <b>Library.description</b><br> 2679 * </p> 2680 */ 2681 @SearchParamDefinition(name="description", path="Library.description", description="The description of the library", type="string" ) 2682 public static final String SP_DESCRIPTION = "description"; 2683 /** 2684 * <b>Fluent Client</b> search parameter constant for <b>description</b> 2685 * <p> 2686 * Description: <b>The description of the library</b><br> 2687 * Type: <b>string</b><br> 2688 * Path: <b>Library.description</b><br> 2689 * </p> 2690 */ 2691 public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); 2692 2693 /** 2694 * Search parameter: <b>effective</b> 2695 * <p> 2696 * Description: <b>The time during which the library is intended to be in use</b><br> 2697 * Type: <b>date</b><br> 2698 * Path: <b>Library.effectivePeriod</b><br> 2699 * </p> 2700 */ 2701 @SearchParamDefinition(name="effective", path="Library.effectivePeriod", description="The time during which the library is intended to be in use", type="date" ) 2702 public static final String SP_EFFECTIVE = "effective"; 2703 /** 2704 * <b>Fluent Client</b> search parameter constant for <b>effective</b> 2705 * <p> 2706 * Description: <b>The time during which the library is intended to be in use</b><br> 2707 * Type: <b>date</b><br> 2708 * Path: <b>Library.effectivePeriod</b><br> 2709 * </p> 2710 */ 2711 public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); 2712 2713 /** 2714 * Search parameter: <b>identifier</b> 2715 * <p> 2716 * Description: <b>External identifier for the library</b><br> 2717 * Type: <b>token</b><br> 2718 * Path: <b>Library.identifier</b><br> 2719 * </p> 2720 */ 2721 @SearchParamDefinition(name="identifier", path="Library.identifier", description="External identifier for the library", type="token" ) 2722 public static final String SP_IDENTIFIER = "identifier"; 2723 /** 2724 * <b>Fluent Client</b> search parameter constant for <b>identifier</b> 2725 * <p> 2726 * Description: <b>External identifier for the library</b><br> 2727 * Type: <b>token</b><br> 2728 * Path: <b>Library.identifier</b><br> 2729 * </p> 2730 */ 2731 public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); 2732 2733 /** 2734 * Search parameter: <b>jurisdiction</b> 2735 * <p> 2736 * Description: <b>Intended jurisdiction for the library</b><br> 2737 * Type: <b>token</b><br> 2738 * Path: <b>Library.jurisdiction</b><br> 2739 * </p> 2740 */ 2741 @SearchParamDefinition(name="jurisdiction", path="Library.jurisdiction", description="Intended jurisdiction for the library", type="token" ) 2742 public static final String SP_JURISDICTION = "jurisdiction"; 2743 /** 2744 * <b>Fluent Client</b> search parameter constant for <b>jurisdiction</b> 2745 * <p> 2746 * Description: <b>Intended jurisdiction for the library</b><br> 2747 * Type: <b>token</b><br> 2748 * Path: <b>Library.jurisdiction</b><br> 2749 * </p> 2750 */ 2751 public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); 2752 2753 /** 2754 * Search parameter: <b>name</b> 2755 * <p> 2756 * Description: <b>Computationally friendly name of the library</b><br> 2757 * Type: <b>string</b><br> 2758 * Path: <b>Library.name</b><br> 2759 * </p> 2760 */ 2761 @SearchParamDefinition(name="name", path="Library.name", description="Computationally friendly name of the library", type="string" ) 2762 public static final String SP_NAME = "name"; 2763 /** 2764 * <b>Fluent Client</b> search parameter constant for <b>name</b> 2765 * <p> 2766 * Description: <b>Computationally friendly name of the library</b><br> 2767 * Type: <b>string</b><br> 2768 * Path: <b>Library.name</b><br> 2769 * </p> 2770 */ 2771 public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); 2772 2773 /** 2774 * Search parameter: <b>predecessor</b> 2775 * <p> 2776 * Description: <b>What resource is being referenced</b><br> 2777 * Type: <b>reference</b><br> 2778 * Path: <b>Library.relatedArtifact.where(type='predecessor').resource</b><br> 2779 * </p> 2780 */ 2781 @SearchParamDefinition(name="predecessor", path="Library.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 } ) 2782 public static final String SP_PREDECESSOR = "predecessor"; 2783 /** 2784 * <b>Fluent Client</b> search parameter constant for <b>predecessor</b> 2785 * <p> 2786 * Description: <b>What resource is being referenced</b><br> 2787 * Type: <b>reference</b><br> 2788 * Path: <b>Library.relatedArtifact.where(type='predecessor').resource</b><br> 2789 * </p> 2790 */ 2791 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREDECESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREDECESSOR); 2792 2793/** 2794 * Constant for fluent queries to be used to add include statements. Specifies 2795 * the path value of "<b>Library:predecessor</b>". 2796 */ 2797 public static final ca.uhn.fhir.model.api.Include INCLUDE_PREDECESSOR = new ca.uhn.fhir.model.api.Include("Library:predecessor").toLocked(); 2798 2799 /** 2800 * Search parameter: <b>publisher</b> 2801 * <p> 2802 * Description: <b>Name of the publisher of the library</b><br> 2803 * Type: <b>string</b><br> 2804 * Path: <b>Library.publisher</b><br> 2805 * </p> 2806 */ 2807 @SearchParamDefinition(name="publisher", path="Library.publisher", description="Name of the publisher of the library", type="string" ) 2808 public static final String SP_PUBLISHER = "publisher"; 2809 /** 2810 * <b>Fluent Client</b> search parameter constant for <b>publisher</b> 2811 * <p> 2812 * Description: <b>Name of the publisher of the library</b><br> 2813 * Type: <b>string</b><br> 2814 * Path: <b>Library.publisher</b><br> 2815 * </p> 2816 */ 2817 public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); 2818 2819 /** 2820 * Search parameter: <b>status</b> 2821 * <p> 2822 * Description: <b>The current status of the library</b><br> 2823 * Type: <b>token</b><br> 2824 * Path: <b>Library.status</b><br> 2825 * </p> 2826 */ 2827 @SearchParamDefinition(name="status", path="Library.status", description="The current status of the library", type="token" ) 2828 public static final String SP_STATUS = "status"; 2829 /** 2830 * <b>Fluent Client</b> search parameter constant for <b>status</b> 2831 * <p> 2832 * Description: <b>The current status of the library</b><br> 2833 * Type: <b>token</b><br> 2834 * Path: <b>Library.status</b><br> 2835 * </p> 2836 */ 2837 public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); 2838 2839 /** 2840 * Search parameter: <b>successor</b> 2841 * <p> 2842 * Description: <b>What resource is being referenced</b><br> 2843 * Type: <b>reference</b><br> 2844 * Path: <b>Library.relatedArtifact.where(type='successor').resource</b><br> 2845 * </p> 2846 */ 2847 @SearchParamDefinition(name="successor", path="Library.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 } ) 2848 public static final String SP_SUCCESSOR = "successor"; 2849 /** 2850 * <b>Fluent Client</b> search parameter constant for <b>successor</b> 2851 * <p> 2852 * Description: <b>What resource is being referenced</b><br> 2853 * Type: <b>reference</b><br> 2854 * Path: <b>Library.relatedArtifact.where(type='successor').resource</b><br> 2855 * </p> 2856 */ 2857 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUCCESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUCCESSOR); 2858 2859/** 2860 * Constant for fluent queries to be used to add include statements. Specifies 2861 * the path value of "<b>Library:successor</b>". 2862 */ 2863 public static final ca.uhn.fhir.model.api.Include INCLUDE_SUCCESSOR = new ca.uhn.fhir.model.api.Include("Library:successor").toLocked(); 2864 2865 /** 2866 * Search parameter: <b>title</b> 2867 * <p> 2868 * Description: <b>The human-friendly name of the library</b><br> 2869 * Type: <b>string</b><br> 2870 * Path: <b>Library.title</b><br> 2871 * </p> 2872 */ 2873 @SearchParamDefinition(name="title", path="Library.title", description="The human-friendly name of the library", type="string" ) 2874 public static final String SP_TITLE = "title"; 2875 /** 2876 * <b>Fluent Client</b> search parameter constant for <b>title</b> 2877 * <p> 2878 * Description: <b>The human-friendly name of the library</b><br> 2879 * Type: <b>string</b><br> 2880 * Path: <b>Library.title</b><br> 2881 * </p> 2882 */ 2883 public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); 2884 2885 /** 2886 * Search parameter: <b>topic</b> 2887 * <p> 2888 * Description: <b>Topics associated with the module</b><br> 2889 * Type: <b>token</b><br> 2890 * Path: <b>Library.topic</b><br> 2891 * </p> 2892 */ 2893 @SearchParamDefinition(name="topic", path="Library.topic", description="Topics associated with the module", type="token" ) 2894 public static final String SP_TOPIC = "topic"; 2895 /** 2896 * <b>Fluent Client</b> search parameter constant for <b>topic</b> 2897 * <p> 2898 * Description: <b>Topics associated with the module</b><br> 2899 * Type: <b>token</b><br> 2900 * Path: <b>Library.topic</b><br> 2901 * </p> 2902 */ 2903 public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); 2904 2905 /** 2906 * Search parameter: <b>type</b> 2907 * <p> 2908 * Description: <b>The type of the library (e.g. logic-library, model-definition, asset-collection, module-definition)</b><br> 2909 * Type: <b>token</b><br> 2910 * Path: <b>Library.type</b><br> 2911 * </p> 2912 */ 2913 @SearchParamDefinition(name="type", path="Library.type", description="The type of the library (e.g. logic-library, model-definition, asset-collection, module-definition)", type="token" ) 2914 public static final String SP_TYPE = "type"; 2915 /** 2916 * <b>Fluent Client</b> search parameter constant for <b>type</b> 2917 * <p> 2918 * Description: <b>The type of the library (e.g. logic-library, model-definition, asset-collection, module-definition)</b><br> 2919 * Type: <b>token</b><br> 2920 * Path: <b>Library.type</b><br> 2921 * </p> 2922 */ 2923 public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); 2924 2925 /** 2926 * Search parameter: <b>url</b> 2927 * <p> 2928 * Description: <b>The uri that identifies the library</b><br> 2929 * Type: <b>uri</b><br> 2930 * Path: <b>Library.url</b><br> 2931 * </p> 2932 */ 2933 @SearchParamDefinition(name="url", path="Library.url", description="The uri that identifies the library", type="uri" ) 2934 public static final String SP_URL = "url"; 2935 /** 2936 * <b>Fluent Client</b> search parameter constant for <b>url</b> 2937 * <p> 2938 * Description: <b>The uri that identifies the library</b><br> 2939 * Type: <b>uri</b><br> 2940 * Path: <b>Library.url</b><br> 2941 * </p> 2942 */ 2943 public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); 2944 2945 /** 2946 * Search parameter: <b>version</b> 2947 * <p> 2948 * Description: <b>The business version of the library</b><br> 2949 * Type: <b>token</b><br> 2950 * Path: <b>Library.version</b><br> 2951 * </p> 2952 */ 2953 @SearchParamDefinition(name="version", path="Library.version", description="The business version of the library", type="token" ) 2954 public static final String SP_VERSION = "version"; 2955 /** 2956 * <b>Fluent Client</b> search parameter constant for <b>version</b> 2957 * <p> 2958 * Description: <b>The business version of the library</b><br> 2959 * Type: <b>token</b><br> 2960 * Path: <b>Library.version</b><br> 2961 * </p> 2962 */ 2963 public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); 2964 2965 2966} 2967