001package org.hl7.fhir.r5.patterns; 002 003/*- 004 * #%L 005 * org.hl7.fhir.r5 006 * %% 007 * Copyright (C) 2014 - 2019 Health Level 7 008 * %% 009 * Licensed under the Apache License, Version 2.0 (the "License"); 010 * you may not use this file except in compliance with the License. 011 * You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, software 016 * distributed under the License is distributed on an "AS IS" BASIS, 017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 018 * See the License for the specific language governing permissions and 019 * limitations under the License. 020 * #L% 021 */ 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 053// Generated on Wed, May 8, 2019 10:40+1000 for FHIR v4.1.0 054 055import org.hl7.fhir.r5.model.*; 056import org.hl7.fhir.r5.model.Enumeration; 057import java.util.*; 058 059import org.hl7.fhir.utilities.Utilities; 060import org.hl7.fhir.r5.model.Enumerations.*; 061import org.hl7.fhir.exceptions.FHIRException; 062/** 063 * A pattern to be followed by resources that represent a specific proposal, plan and/or order for some sort of action or service. 064 */ 065public interface Definition extends PatternBase { 066 067 /** 068 * @return {@link #url} (An absolute URL that is used to identify this {{title}} when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 069 */ 070 public UriType getUrlElement() throws FHIRException; 071 072 /** 073 * @return whether there is more than zero values for url 074 */ 075 public boolean hasUrl(); 076 /** 077 * @return minimum allowed cardinality for url. Note that with patterns, this may be different for the underlying resource 078 */ 079 public int getUrlMin() throws FHIRException; 080 /** 081 * @return maximum allowed cardinality for url. Note that with patterns, this may be different for the underlying resource 082 */ 083 public int getUrlMax() throws FHIRException; 084 public boolean hasUrlElement(); 085 086 /** 087 * @param value {@link #url} (An absolute URL that is used to identify this {{title}} when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 088 */ 089 public Definition setUrlElement(UriType value) throws FHIRException; 090 091 /** 092 * @return An absolute URL that is used to identify this {{title}} when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions). 093 */ 094 public String getUrl() throws FHIRException; 095 096 /** 097 * @param value An absolute URL that is used to identify this {{title}} when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions). 098 */ 099 public Definition setUrl(String value) throws FHIRException; 100 101 /** 102 * @return {@link #identifier} (Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.) 103 */ 104 public Identifier getIdentifier() throws FHIRException ; 105 106 /** 107 * @return whether there is more than zero values for identifier 108 */ 109 public boolean hasIdentifier(); 110 /** 111 * @return minimum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource 112 */ 113 public int getIdentifierMin(); 114 /** 115 * @return maximum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource 116 */ 117 public int getIdentifierMax(); 118 /** 119 * @param value {@link #identifier} (Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.) 120 */ 121 public Definition setIdentifier(Identifier value) throws FHIRException; 122 123 /** 124 * @return {@link #version} (The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} 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 are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 125 */ 126 public StringType getVersionElement() throws FHIRException; 127 128 /** 129 * @return whether there is more than zero values for version 130 */ 131 public boolean hasVersion(); 132 /** 133 * @return minimum allowed cardinality for version. Note that with patterns, this may be different for the underlying resource 134 */ 135 public int getVersionMin() throws FHIRException; 136 /** 137 * @return maximum allowed cardinality for version. Note that with patterns, this may be different for the underlying resource 138 */ 139 public int getVersionMax() throws FHIRException; 140 public boolean hasVersionElement(); 141 142 /** 143 * @param value {@link #version} (The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} 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 are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 144 */ 145 public Definition setVersionElement(StringType value) throws FHIRException; 146 147 /** 148 * @return The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} 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 are orderable. 149 */ 150 public String getVersion() throws FHIRException; 151 152 /** 153 * @param value The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} 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 are orderable. 154 */ 155 public Definition setVersion(String value) throws FHIRException; 156 157 /** 158 * @return {@link #title} (A short, descriptive, user-friendly title for the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 159 */ 160 public StringType getTitleElement() throws FHIRException; 161 162 /** 163 * @return whether there is more than zero values for title 164 */ 165 public boolean hasTitle(); 166 /** 167 * @return minimum allowed cardinality for title. Note that with patterns, this may be different for the underlying resource 168 */ 169 public int getTitleMin() throws FHIRException; 170 /** 171 * @return maximum allowed cardinality for title. Note that with patterns, this may be different for the underlying resource 172 */ 173 public int getTitleMax() throws FHIRException; 174 public boolean hasTitleElement(); 175 176 /** 177 * @param value {@link #title} (A short, descriptive, user-friendly title for the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 178 */ 179 public Definition setTitleElement(StringType value) throws FHIRException; 180 181 /** 182 * @return A short, descriptive, user-friendly title for the {{title}}. 183 */ 184 public String getTitle() throws FHIRException; 185 186 /** 187 * @param value A short, descriptive, user-friendly title for the {{title}}. 188 */ 189 public Definition setTitle(String value) throws FHIRException; 190 191 /** 192 * @return {@link #derivedFromCanonical} (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.) 193 */ 194 public List<CanonicalType> getDerivedFromCanonical() throws FHIRException; 195 196 /** 197 * @return Returns a reference to <code>this</code> for easy method chaining 198 */ 199 public Definition setDerivedFromCanonical(List<CanonicalType> theDerivedFromCanonical) throws FHIRException; 200 201 /** 202 * @return whether there is more than zero values for derivedFromCanonical 203 */ 204 public boolean hasDerivedFromCanonical(); 205 /** 206 * @return minimum allowed cardinality for derivedFromCanonical. Note that with patterns, this may be different for the underlying resource 207 */ 208 public int getDerivedFromCanonicalMin(); 209 /** 210 * @return maximum allowed cardinality for derivedFromCanonical. Note that with patterns, this may be different for the underlying resource 211 */ 212 public int getDerivedFromCanonicalMax(); 213 214 /** 215 * @return {@link #derivedFromCanonical} (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.) 216 */ 217 public CanonicalType addDerivedFromCanonicalElement() throws FHIRException; 218 219 /** 220 * @param value {@link #derivedFromCanonical} (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.) 221 */ 222 public Definition addDerivedFromCanonical(String value) throws FHIRException; 223 224 /** 225 * @param value {@link #derivedFromCanonical} (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.) 226 */ 227 public boolean hasDerivedFromCanonical(String value) throws FHIRException; 228 229 /** 230 * @return {@link #derivedFromUri} (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.) 231 */ 232 public List<UriType> getDerivedFromUri() throws FHIRException; 233 234 /** 235 * @return Returns a reference to <code>this</code> for easy method chaining 236 */ 237 public Definition setDerivedFromUri(List<UriType> theDerivedFromUri) throws FHIRException; 238 239 /** 240 * @return whether there is more than zero values for derivedFromUri 241 */ 242 public boolean hasDerivedFromUri(); 243 /** 244 * @return minimum allowed cardinality for derivedFromUri. Note that with patterns, this may be different for the underlying resource 245 */ 246 public int getDerivedFromUriMin(); 247 /** 248 * @return maximum allowed cardinality for derivedFromUri. Note that with patterns, this may be different for the underlying resource 249 */ 250 public int getDerivedFromUriMax(); 251 252 /** 253 * @return {@link #derivedFromUri} (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.) 254 */ 255 public UriType addDerivedFromUriElement() throws FHIRException; 256 257 /** 258 * @param value {@link #derivedFromUri} (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.) 259 */ 260 public Definition addDerivedFromUri(String value) throws FHIRException; 261 262 /** 263 * @param value {@link #derivedFromUri} (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.) 264 */ 265 public boolean hasDerivedFromUri(String value) throws FHIRException; 266 267 /** 268 * @return {@link #partOf} (A larger definition of which this particular definition is a component or step.) 269 */ 270 public List<CanonicalType> getPartOf() throws FHIRException; 271 272 /** 273 * @return Returns a reference to <code>this</code> for easy method chaining 274 */ 275 public Definition setPartOf(List<CanonicalType> thePartOf) throws FHIRException; 276 277 /** 278 * @return whether there is more than zero values for partOf 279 */ 280 public boolean hasPartOf(); 281 /** 282 * @return minimum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource 283 */ 284 public int getPartOfMin(); 285 /** 286 * @return maximum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource 287 */ 288 public int getPartOfMax(); 289 290 /** 291 * @return {@link #partOf} (A larger definition of which this particular definition is a component or step.) 292 */ 293 public CanonicalType addPartOfElement() throws FHIRException; 294 295 /** 296 * @param value {@link #partOf} (A larger definition of which this particular definition is a component or step.) 297 */ 298 public Definition addPartOf(String value) throws FHIRException; 299 300 /** 301 * @param value {@link #partOf} (A larger definition of which this particular definition is a component or step.) 302 */ 303 public boolean hasPartOf(String value) throws FHIRException; 304 305 /** 306 * @return {@link #replaces} (Completed or terminated request(s) whose function is taken by this new request.) 307 */ 308 public List<CanonicalType> getReplaces() throws FHIRException; 309 310 /** 311 * @return Returns a reference to <code>this</code> for easy method chaining 312 */ 313 public Definition setReplaces(List<CanonicalType> theReplaces) throws FHIRException; 314 315 /** 316 * @return whether there is more than zero values for replaces 317 */ 318 public boolean hasReplaces(); 319 /** 320 * @return minimum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource 321 */ 322 public int getReplacesMin(); 323 /** 324 * @return maximum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource 325 */ 326 public int getReplacesMax(); 327 328 /** 329 * @return {@link #replaces} (Completed or terminated request(s) whose function is taken by this new request.) 330 */ 331 public CanonicalType addReplacesElement() throws FHIRException; 332 333 /** 334 * @param value {@link #replaces} (Completed or terminated request(s) whose function is taken by this new request.) 335 */ 336 public Definition addReplaces(String value) throws FHIRException; 337 338 /** 339 * @param value {@link #replaces} (Completed or terminated request(s) whose function is taken by this new request.) 340 */ 341 public boolean hasReplaces(String value) throws FHIRException; 342 343 /** 344 * @return {@link #status} (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 345 */ 346 public Enumeration<PublicationStatus> getStatusElement() throws FHIRException; 347 348 /** 349 * @return whether there is more than zero values for status 350 */ 351 public boolean hasStatus(); 352 /** 353 * @return minimum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource 354 */ 355 public int getStatusMin() throws FHIRException; 356 /** 357 * @return maximum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource 358 */ 359 public int getStatusMax() throws FHIRException; 360 public boolean hasStatusElement(); 361 362 /** 363 * @param value {@link #status} (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 364 */ 365 public Definition setStatusElement(Enumeration<PublicationStatus> value) throws FHIRException; 366 367 /** 368 * @return The current state of the {{title}}. 369 */ 370 public PublicationStatus getStatus() throws FHIRException; 371 372 /** 373 * @param value The current state of the {{title}}. 374 */ 375 public Definition setStatus(PublicationStatus value) throws FHIRException; 376 377 /** 378 * @return {@link #experimental} (A flag to indicate that this {{title}} 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 379 */ 380 public BooleanType getExperimentalElement() throws FHIRException; 381 382 /** 383 * @return whether there is more than zero values for experimental 384 */ 385 public boolean hasExperimental(); 386 /** 387 * @return minimum allowed cardinality for experimental. Note that with patterns, this may be different for the underlying resource 388 */ 389 public int getExperimentalMin() throws FHIRException; 390 /** 391 * @return maximum allowed cardinality for experimental. Note that with patterns, this may be different for the underlying resource 392 */ 393 public int getExperimentalMax() throws FHIRException; 394 public boolean hasExperimentalElement(); 395 396 /** 397 * @param value {@link #experimental} (A flag to indicate that this {{title}} 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 398 */ 399 public Definition setExperimentalElement(BooleanType value) throws FHIRException; 400 401 /** 402 * @return A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. 403 */ 404 public boolean getExperimental() throws FHIRException; 405 406 /** 407 * @param value A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. 408 */ 409 public Definition setExperimental(boolean value) throws FHIRException; 410 411 /** 412 * @return {@link #subject} (A code or group definition that describes the intended subject of instantiations of this definition.) 413 */ 414 public Type getSubject() throws FHIRException ; 415 416 /** 417 * @return {@link #subject} (A code or group definition that describes the intended subject of instantiations of this definition.) 418 */ 419 public CodeableConcept getSubjectCodeableConcept() throws FHIRException; 420 421 public boolean hasSubjectCodeableConcept(); 422 423 /** 424 * @return {@link #subject} (A code or group definition that describes the intended subject of instantiations of this definition.) 425 */ 426 public Reference getSubjectReference() throws FHIRException; 427 428 public boolean hasSubjectReference(); 429 430 /** 431 * @return whether there is more than zero values for subject 432 */ 433 public boolean hasSubject(); 434 /** 435 * @return minimum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource 436 */ 437 public int getSubjectMin(); 438 /** 439 * @return maximum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource 440 */ 441 public int getSubjectMax(); 442 /** 443 * @param value {@link #subject} (A code or group definition that describes the intended subject of instantiations of this definition.) 444 */ 445 public Definition setSubject(Type value) throws FHIRException; 446 447 /** 448 * @return {@link #date} (For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 449 */ 450 public DateTimeType getDateElement() throws FHIRException; 451 452 /** 453 * @return whether there is more than zero values for date 454 */ 455 public boolean hasDate(); 456 /** 457 * @return minimum allowed cardinality for date. Note that with patterns, this may be different for the underlying resource 458 */ 459 public int getDateMin() throws FHIRException; 460 /** 461 * @return maximum allowed cardinality for date. Note that with patterns, this may be different for the underlying resource 462 */ 463 public int getDateMax() throws FHIRException; 464 public boolean hasDateElement(); 465 466 /** 467 * @param value {@link #date} (For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 468 */ 469 public Definition setDateElement(DateTimeType value) throws FHIRException; 470 471 /** 472 * @return For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal. 473 */ 474 public Date getDate() throws FHIRException; 475 476 /** 477 * @param value For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal. 478 */ 479 public Definition setDate(Date value) throws FHIRException; 480 481 /** 482 * @return {@link #publisher} (Helps establish the "authority/credibility" of the {{title}}. May also allow for contact.) 483 */ 484 public Reference getPublisher() throws FHIRException ; 485 486 /** 487 * @return whether there is more than zero values for publisher 488 */ 489 public boolean hasPublisher(); 490 /** 491 * @return minimum allowed cardinality for publisher. Note that with patterns, this may be different for the underlying resource 492 */ 493 public int getPublisherMin(); 494 /** 495 * @return maximum allowed cardinality for publisher. Note that with patterns, this may be different for the underlying resource 496 */ 497 public int getPublisherMax(); 498 /** 499 * @param value {@link #publisher} (Helps establish the "authority/credibility" of the {{title}}. May also allow for contact.) 500 */ 501 public Definition setPublisher(Reference value) throws FHIRException; 502 503 /** 504 * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.) 505 */ 506 public List<ContactDetail> getContact() throws FHIRException; 507 508 /** 509 * @return Returns a reference to <code>this</code> for easy method chaining 510 */ 511 public Definition setContact(List<ContactDetail> theContact) throws FHIRException; 512 513 /** 514 * @return whether there is more than zero values for contact 515 */ 516 public boolean hasContact(); 517 /** 518 * @return minimum allowed cardinality for contact. Note that with patterns, this may be different for the underlying resource 519 */ 520 public int getContactMin(); 521 /** 522 * @return maximum allowed cardinality for contact. Note that with patterns, this may be different for the underlying resource 523 */ 524 public int getContactMax(); 525 526 public ContactDetail addContact() throws FHIRException; 527 528 public Definition addContact(ContactDetail t) throws FHIRException; 529 530 /** 531 * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist 532 */ 533 public ContactDetail getContactFirstRep() throws FHIRException; 534 535 /** 536 * @return {@link #description} (A free text natural language description of the {{title}} from the consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 537 */ 538 public MarkdownType getDescriptionElement() throws FHIRException; 539 540 /** 541 * @return whether there is more than zero values for description 542 */ 543 public boolean hasDescription(); 544 /** 545 * @return minimum allowed cardinality for description. Note that with patterns, this may be different for the underlying resource 546 */ 547 public int getDescriptionMin() throws FHIRException; 548 /** 549 * @return maximum allowed cardinality for description. Note that with patterns, this may be different for the underlying resource 550 */ 551 public int getDescriptionMax() throws FHIRException; 552 public boolean hasDescriptionElement(); 553 554 /** 555 * @param value {@link #description} (A free text natural language description of the {{title}} from the consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 556 */ 557 public Definition setDescriptionElement(MarkdownType value) throws FHIRException; 558 559 /** 560 * @return A free text natural language description of the {{title}} from the consumer's perspective. 561 */ 562 public String getDescription() throws FHIRException; 563 564 /** 565 * @param value A free text natural language description of the {{title}} from the consumer's perspective. 566 */ 567 public Definition setDescription(String value) throws FHIRException; 568 569 /** 570 * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of code system definitions.) 571 */ 572 public List<UsageContext> getUseContext() throws FHIRException; 573 574 /** 575 * @return Returns a reference to <code>this</code> for easy method chaining 576 */ 577 public Definition setUseContext(List<UsageContext> theUseContext) throws FHIRException; 578 579 /** 580 * @return whether there is more than zero values for useContext 581 */ 582 public boolean hasUseContext(); 583 /** 584 * @return minimum allowed cardinality for useContext. Note that with patterns, this may be different for the underlying resource 585 */ 586 public int getUseContextMin(); 587 /** 588 * @return maximum allowed cardinality for useContext. Note that with patterns, this may be different for the underlying resource 589 */ 590 public int getUseContextMax(); 591 592 public UsageContext addUseContext() throws FHIRException; 593 594 public Definition addUseContext(UsageContext t) throws FHIRException; 595 596 /** 597 * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist 598 */ 599 public UsageContext getUseContextFirstRep() throws FHIRException; 600 601 /** 602 * @return {@link #jurisdiction} (A jurisdiction in which the {{title}} is intended to be used.) 603 */ 604 public List<CodeableConcept> getJurisdiction() throws FHIRException; 605 606 /** 607 * @return Returns a reference to <code>this</code> for easy method chaining 608 */ 609 public Definition setJurisdiction(List<CodeableConcept> theJurisdiction) throws FHIRException; 610 611 /** 612 * @return whether there is more than zero values for jurisdiction 613 */ 614 public boolean hasJurisdiction(); 615 /** 616 * @return minimum allowed cardinality for jurisdiction. Note that with patterns, this may be different for the underlying resource 617 */ 618 public int getJurisdictionMin(); 619 /** 620 * @return maximum allowed cardinality for jurisdiction. Note that with patterns, this may be different for the underlying resource 621 */ 622 public int getJurisdictionMax(); 623 624 public CodeableConcept addJurisdiction() throws FHIRException; 625 626 public Definition addJurisdiction(CodeableConcept t) throws FHIRException; 627 628 /** 629 * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist 630 */ 631 public CodeableConcept getJurisdictionFirstRep() throws FHIRException; 632 633 /** 634 * @return {@link #purpose} (Explains why this {{title}} 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 635 */ 636 public MarkdownType getPurposeElement() throws FHIRException; 637 638 /** 639 * @return whether there is more than zero values for purpose 640 */ 641 public boolean hasPurpose(); 642 /** 643 * @return minimum allowed cardinality for purpose. Note that with patterns, this may be different for the underlying resource 644 */ 645 public int getPurposeMin() throws FHIRException; 646 /** 647 * @return maximum allowed cardinality for purpose. Note that with patterns, this may be different for the underlying resource 648 */ 649 public int getPurposeMax() throws FHIRException; 650 public boolean hasPurposeElement(); 651 652 /** 653 * @param value {@link #purpose} (Explains why this {{title}} 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 654 */ 655 public Definition setPurposeElement(MarkdownType value) throws FHIRException; 656 657 /** 658 * @return Explains why this {{title}} is needed and why it has been designed as it has. 659 */ 660 public String getPurpose() throws FHIRException; 661 662 /** 663 * @param value Explains why this {{title}} is needed and why it has been designed as it has. 664 */ 665 public Definition setPurpose(String value) throws FHIRException; 666 667 /** 668 * @return {@link #copyright} (A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 669 */ 670 public MarkdownType getCopyrightElement() throws FHIRException; 671 672 /** 673 * @return whether there is more than zero values for copyright 674 */ 675 public boolean hasCopyright(); 676 /** 677 * @return minimum allowed cardinality for copyright. Note that with patterns, this may be different for the underlying resource 678 */ 679 public int getCopyrightMin() throws FHIRException; 680 /** 681 * @return maximum allowed cardinality for copyright. Note that with patterns, this may be different for the underlying resource 682 */ 683 public int getCopyrightMax() throws FHIRException; 684 public boolean hasCopyrightElement(); 685 686 /** 687 * @param value {@link #copyright} (A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 688 */ 689 public Definition setCopyrightElement(MarkdownType value) throws FHIRException; 690 691 /** 692 * @return A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}. 693 */ 694 public String getCopyright() throws FHIRException; 695 696 /** 697 * @param value A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}. 698 */ 699 public Definition setCopyright(String value) throws FHIRException; 700 701 /** 702 * @return {@link #approvalDate} (The date on which the asset 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 703 */ 704 public DateType getApprovalDateElement() throws FHIRException; 705 706 /** 707 * @return whether there is more than zero values for approvalDate 708 */ 709 public boolean hasApprovalDate(); 710 /** 711 * @return minimum allowed cardinality for approvalDate. Note that with patterns, this may be different for the underlying resource 712 */ 713 public int getApprovalDateMin() throws FHIRException; 714 /** 715 * @return maximum allowed cardinality for approvalDate. Note that with patterns, this may be different for the underlying resource 716 */ 717 public int getApprovalDateMax() throws FHIRException; 718 public boolean hasApprovalDateElement(); 719 720 /** 721 * @param value {@link #approvalDate} (The date on which the asset 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 722 */ 723 public Definition setApprovalDateElement(DateType value) throws FHIRException; 724 725 /** 726 * @return The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage. 727 */ 728 public Date getApprovalDate() throws FHIRException; 729 730 /** 731 * @param value The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage. 732 */ 733 public Definition setApprovalDate(Date value) throws FHIRException; 734 735 /** 736 * @return {@link #lastReviewDate} (The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value 737 */ 738 public DateType getLastReviewDateElement() throws FHIRException; 739 740 /** 741 * @return whether there is more than zero values for lastReviewDate 742 */ 743 public boolean hasLastReviewDate(); 744 /** 745 * @return minimum allowed cardinality for lastReviewDate. Note that with patterns, this may be different for the underlying resource 746 */ 747 public int getLastReviewDateMin() throws FHIRException; 748 /** 749 * @return maximum allowed cardinality for lastReviewDate. Note that with patterns, this may be different for the underlying resource 750 */ 751 public int getLastReviewDateMax() throws FHIRException; 752 public boolean hasLastReviewDateElement(); 753 754 /** 755 * @param value {@link #lastReviewDate} (The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value 756 */ 757 public Definition setLastReviewDateElement(DateType value) throws FHIRException; 758 759 /** 760 * @return The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date. 761 */ 762 public Date getLastReviewDate() throws FHIRException; 763 764 /** 765 * @param value The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date. 766 */ 767 public Definition setLastReviewDate(Date value) throws FHIRException; 768 769 /** 770 * @return {@link #effectivePeriod} (The period during which the {{title}} content was or is planned to be effective.) 771 */ 772 public Period getEffectivePeriod() throws FHIRException ; 773 774 /** 775 * @return whether there is more than zero values for effectivePeriod 776 */ 777 public boolean hasEffectivePeriod(); 778 /** 779 * @return minimum allowed cardinality for effectivePeriod. Note that with patterns, this may be different for the underlying resource 780 */ 781 public int getEffectivePeriodMin(); 782 /** 783 * @return maximum allowed cardinality for effectivePeriod. Note that with patterns, this may be different for the underlying resource 784 */ 785 public int getEffectivePeriodMax(); 786 /** 787 * @param value {@link #effectivePeriod} (The period during which the {{title}} content was or is planned to be effective.) 788 */ 789 public Definition setEffectivePeriod(Period value) throws FHIRException; 790 791 /** 792 * @return {@link #performerType} (The type of individual that is expected to act upon instances of this definition.) 793 */ 794 public CodeableConcept getPerformerType() throws FHIRException ; 795 796 /** 797 * @return whether there is more than zero values for performerType 798 */ 799 public boolean hasPerformerType(); 800 /** 801 * @return minimum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource 802 */ 803 public int getPerformerTypeMin(); 804 /** 805 * @return maximum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource 806 */ 807 public int getPerformerTypeMax(); 808 /** 809 * @param value {@link #performerType} (The type of individual that is expected to act upon instances of this definition.) 810 */ 811 public Definition setPerformerType(CodeableConcept value) throws FHIRException; 812 813 public String fhirType(); 814 815 816} 817