001package org.hl7.fhir.r5.model;
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  Copyright (c) 2011+, HL7, Inc.
025  All rights reserved.
026  
027  Redistribution and use in source and binary forms, with or without modification, 
028  are permitted provided that the following conditions are met:
029  
030   * Redistributions of source code must retain the above copyright notice, this 
031     list of conditions and the following disclaimer.
032   * Redistributions in binary form must reproduce the above copyright notice, 
033     this list of conditions and the following disclaimer in the documentation 
034     and/or other materials provided with the distribution.
035   * Neither the name of HL7 nor the names of its contributors may be used to 
036     endorse or promote products derived from this software without specific 
037     prior written permission.
038  
039  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
040  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
041  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
042  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
043  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
044  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
045  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
046  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
047  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
048  POSSIBILITY OF SUCH DAMAGE.
049  
050*/
051
052// Generated on Thu, Dec 13, 2018 14:07+1100 for FHIR v4.0.0
053import java.util.ArrayList;
054import java.util.Date;
055import java.util.List;
056import org.hl7.fhir.exceptions.FHIRException;
057import org.hl7.fhir.instance.model.api.ICompositeType;
058
059import org.hl7.fhir.instance.model.api.IBaseDatatypeElement;
060import ca.uhn.fhir.model.api.annotation.ResourceDef;
061import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
062import org.hl7.fhir.instance.model.api.IBaseBackboneElement;
063import ca.uhn.fhir.model.api.annotation.Child;
064import ca.uhn.fhir.model.api.annotation.ChildOrder;
065import ca.uhn.fhir.model.api.annotation.Description;
066import ca.uhn.fhir.model.api.annotation.Block;
067/**
068 * Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.
069 */
070@ResourceDef(name="Basic", profile="http://hl7.org/fhir/StructureDefinition/Basic")
071public class Basic extends DomainResource {
072
073    /**
074     * Identifier assigned to the resource for business purposes, outside the context of FHIR.
075     */
076    @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
077    @Description(shortDefinition="Business identifier", formalDefinition="Identifier assigned to the resource for business purposes, outside the context of FHIR." )
078    protected List<Identifier> identifier;
079
080    /**
081     * Identifies the 'type' of resource - equivalent to the resource name for other resources.
082     */
083    @Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=true, summary=true)
084    @Description(shortDefinition="Kind of Resource", formalDefinition="Identifies the 'type' of resource - equivalent to the resource name for other resources." )
085    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/basic-resource-type")
086    protected CodeableConcept code;
087
088    /**
089     * Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.
090     */
091    @Child(name = "subject", type = {Reference.class}, order=2, min=0, max=1, modifier=false, summary=true)
092    @Description(shortDefinition="Identifies the focus of this resource", formalDefinition="Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource." )
093    protected Reference subject;
094
095    /**
096     * Identifies when the resource was first created.
097     */
098    @Child(name = "created", type = {DateType.class}, order=3, min=0, max=1, modifier=false, summary=true)
099    @Description(shortDefinition="When created", formalDefinition="Identifies when the resource was first created." )
100    protected DateType created;
101
102    /**
103     * Indicates who was responsible for creating the resource instance.
104     */
105    @Child(name = "author", type = {Practitioner.class, PractitionerRole.class, Patient.class, RelatedPerson.class, Organization.class}, order=4, min=0, max=1, modifier=false, summary=true)
106    @Description(shortDefinition="Who created", formalDefinition="Indicates who was responsible for creating the resource instance." )
107    protected Reference author;
108
109    private static final long serialVersionUID = 1468819397L;
110
111  /**
112   * Constructor
113   */
114    public Basic() {
115      super();
116    }
117
118  /**
119   * Constructor
120   */
121    public Basic(CodeableConcept code) {
122      super();
123      this.code = code;
124    }
125
126    /**
127     * @return {@link #identifier} (Identifier assigned to the resource for business purposes, outside the context of FHIR.)
128     */
129    public List<Identifier> getIdentifier() { 
130      if (this.identifier == null)
131        this.identifier = new ArrayList<Identifier>();
132      return this.identifier;
133    }
134
135    /**
136     * @return Returns a reference to <code>this</code> for easy method chaining
137     */
138    public Basic setIdentifier(List<Identifier> theIdentifier) { 
139      this.identifier = theIdentifier;
140      return this;
141    }
142
143    public boolean hasIdentifier() { 
144      if (this.identifier == null)
145        return false;
146      for (Identifier item : this.identifier)
147        if (!item.isEmpty())
148          return true;
149      return false;
150    }
151
152    public Identifier addIdentifier() { //3
153      Identifier t = new Identifier();
154      if (this.identifier == null)
155        this.identifier = new ArrayList<Identifier>();
156      this.identifier.add(t);
157      return t;
158    }
159
160    public Basic addIdentifier(Identifier t) { //3
161      if (t == null)
162        return this;
163      if (this.identifier == null)
164        this.identifier = new ArrayList<Identifier>();
165      this.identifier.add(t);
166      return this;
167    }
168
169    /**
170     * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist
171     */
172    public Identifier getIdentifierFirstRep() { 
173      if (getIdentifier().isEmpty()) {
174        addIdentifier();
175      }
176      return getIdentifier().get(0);
177    }
178
179    /**
180     * @return {@link #code} (Identifies the 'type' of resource - equivalent to the resource name for other resources.)
181     */
182    public CodeableConcept getCode() { 
183      if (this.code == null)
184        if (Configuration.errorOnAutoCreate())
185          throw new Error("Attempt to auto-create Basic.code");
186        else if (Configuration.doAutoCreate())
187          this.code = new CodeableConcept(); // cc
188      return this.code;
189    }
190
191    public boolean hasCode() { 
192      return this.code != null && !this.code.isEmpty();
193    }
194
195    /**
196     * @param value {@link #code} (Identifies the 'type' of resource - equivalent to the resource name for other resources.)
197     */
198    public Basic setCode(CodeableConcept value) { 
199      this.code = value;
200      return this;
201    }
202
203    /**
204     * @return {@link #subject} (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)
205     */
206    public Reference getSubject() { 
207      if (this.subject == null)
208        if (Configuration.errorOnAutoCreate())
209          throw new Error("Attempt to auto-create Basic.subject");
210        else if (Configuration.doAutoCreate())
211          this.subject = new Reference(); // cc
212      return this.subject;
213    }
214
215    public boolean hasSubject() { 
216      return this.subject != null && !this.subject.isEmpty();
217    }
218
219    /**
220     * @param value {@link #subject} (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)
221     */
222    public Basic setSubject(Reference value) { 
223      this.subject = value;
224      return this;
225    }
226
227    /**
228     * @return {@link #created} (Identifies when the resource was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
229     */
230    public DateType getCreatedElement() { 
231      if (this.created == null)
232        if (Configuration.errorOnAutoCreate())
233          throw new Error("Attempt to auto-create Basic.created");
234        else if (Configuration.doAutoCreate())
235          this.created = new DateType(); // bb
236      return this.created;
237    }
238
239    public boolean hasCreatedElement() { 
240      return this.created != null && !this.created.isEmpty();
241    }
242
243    public boolean hasCreated() { 
244      return this.created != null && !this.created.isEmpty();
245    }
246
247    /**
248     * @param value {@link #created} (Identifies when the resource was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
249     */
250    public Basic setCreatedElement(DateType value) { 
251      this.created = value;
252      return this;
253    }
254
255    /**
256     * @return Identifies when the resource was first created.
257     */
258    public Date getCreated() { 
259      return this.created == null ? null : this.created.getValue();
260    }
261
262    /**
263     * @param value Identifies when the resource was first created.
264     */
265    public Basic setCreated(Date value) { 
266      if (value == null)
267        this.created = null;
268      else {
269        if (this.created == null)
270          this.created = new DateType();
271        this.created.setValue(value);
272      }
273      return this;
274    }
275
276    /**
277     * @return {@link #author} (Indicates who was responsible for creating the resource instance.)
278     */
279    public Reference getAuthor() { 
280      if (this.author == null)
281        if (Configuration.errorOnAutoCreate())
282          throw new Error("Attempt to auto-create Basic.author");
283        else if (Configuration.doAutoCreate())
284          this.author = new Reference(); // cc
285      return this.author;
286    }
287
288    public boolean hasAuthor() { 
289      return this.author != null && !this.author.isEmpty();
290    }
291
292    /**
293     * @param value {@link #author} (Indicates who was responsible for creating the resource instance.)
294     */
295    public Basic setAuthor(Reference value) { 
296      this.author = value;
297      return this;
298    }
299
300      protected void listChildren(List<Property> children) {
301        super.listChildren(children);
302        children.add(new Property("identifier", "Identifier", "Identifier assigned to the resource for business purposes, outside the context of FHIR.", 0, java.lang.Integer.MAX_VALUE, identifier));
303        children.add(new Property("code", "CodeableConcept", "Identifies the 'type' of resource - equivalent to the resource name for other resources.", 0, 1, code));
304        children.add(new Property("subject", "Reference(Any)", "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.", 0, 1, subject));
305        children.add(new Property("created", "date", "Identifies when the resource was first created.", 0, 1, created));
306        children.add(new Property("author", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Organization)", "Indicates who was responsible for creating the resource instance.", 0, 1, author));
307      }
308
309      @Override
310      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
311        switch (_hash) {
312        case -1618432855: /*identifier*/  return new Property("identifier", "Identifier", "Identifier assigned to the resource for business purposes, outside the context of FHIR.", 0, java.lang.Integer.MAX_VALUE, identifier);
313        case 3059181: /*code*/  return new Property("code", "CodeableConcept", "Identifies the 'type' of resource - equivalent to the resource name for other resources.", 0, 1, code);
314        case -1867885268: /*subject*/  return new Property("subject", "Reference(Any)", "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.", 0, 1, subject);
315        case 1028554472: /*created*/  return new Property("created", "date", "Identifies when the resource was first created.", 0, 1, created);
316        case -1406328437: /*author*/  return new Property("author", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Organization)", "Indicates who was responsible for creating the resource instance.", 0, 1, author);
317        default: return super.getNamedProperty(_hash, _name, _checkValid);
318        }
319
320      }
321
322      @Override
323      public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
324        switch (hash) {
325        case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier
326        case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept
327        case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference
328        case 1028554472: /*created*/ return this.created == null ? new Base[0] : new Base[] {this.created}; // DateType
329        case -1406328437: /*author*/ return this.author == null ? new Base[0] : new Base[] {this.author}; // Reference
330        default: return super.getProperty(hash, name, checkValid);
331        }
332
333      }
334
335      @Override
336      public Base setProperty(int hash, String name, Base value) throws FHIRException {
337        switch (hash) {
338        case -1618432855: // identifier
339          this.getIdentifier().add(castToIdentifier(value)); // Identifier
340          return value;
341        case 3059181: // code
342          this.code = castToCodeableConcept(value); // CodeableConcept
343          return value;
344        case -1867885268: // subject
345          this.subject = castToReference(value); // Reference
346          return value;
347        case 1028554472: // created
348          this.created = castToDate(value); // DateType
349          return value;
350        case -1406328437: // author
351          this.author = castToReference(value); // Reference
352          return value;
353        default: return super.setProperty(hash, name, value);
354        }
355
356      }
357
358      @Override
359      public Base setProperty(String name, Base value) throws FHIRException {
360        if (name.equals("identifier")) {
361          this.getIdentifier().add(castToIdentifier(value));
362        } else if (name.equals("code")) {
363          this.code = castToCodeableConcept(value); // CodeableConcept
364        } else if (name.equals("subject")) {
365          this.subject = castToReference(value); // Reference
366        } else if (name.equals("created")) {
367          this.created = castToDate(value); // DateType
368        } else if (name.equals("author")) {
369          this.author = castToReference(value); // Reference
370        } else
371          return super.setProperty(name, value);
372        return value;
373      }
374
375      @Override
376      public Base makeProperty(int hash, String name) throws FHIRException {
377        switch (hash) {
378        case -1618432855:  return addIdentifier(); 
379        case 3059181:  return getCode();
380        case -1867885268:  return getSubject();
381        case 1028554472:  return getCreatedElement();
382        case -1406328437:  return getAuthor();
383        default: return super.makeProperty(hash, name);
384        }
385
386      }
387
388      @Override
389      public String[] getTypesForProperty(int hash, String name) throws FHIRException {
390        switch (hash) {
391        case -1618432855: /*identifier*/ return new String[] {"Identifier"};
392        case 3059181: /*code*/ return new String[] {"CodeableConcept"};
393        case -1867885268: /*subject*/ return new String[] {"Reference"};
394        case 1028554472: /*created*/ return new String[] {"date"};
395        case -1406328437: /*author*/ return new String[] {"Reference"};
396        default: return super.getTypesForProperty(hash, name);
397        }
398
399      }
400
401      @Override
402      public Base addChild(String name) throws FHIRException {
403        if (name.equals("identifier")) {
404          return addIdentifier();
405        }
406        else if (name.equals("code")) {
407          this.code = new CodeableConcept();
408          return this.code;
409        }
410        else if (name.equals("subject")) {
411          this.subject = new Reference();
412          return this.subject;
413        }
414        else if (name.equals("created")) {
415          throw new FHIRException("Cannot call addChild on a primitive type Basic.created");
416        }
417        else if (name.equals("author")) {
418          this.author = new Reference();
419          return this.author;
420        }
421        else
422          return super.addChild(name);
423      }
424
425  public String fhirType() {
426    return "Basic";
427
428  }
429
430      public Basic copy() {
431        Basic dst = new Basic();
432        copyValues(dst);
433        return dst;
434      }
435
436      public void copyValues(Basic dst) {
437        super.copyValues(dst);
438        if (identifier != null) {
439          dst.identifier = new ArrayList<Identifier>();
440          for (Identifier i : identifier)
441            dst.identifier.add(i.copy());
442        };
443        dst.code = code == null ? null : code.copy();
444        dst.subject = subject == null ? null : subject.copy();
445        dst.created = created == null ? null : created.copy();
446        dst.author = author == null ? null : author.copy();
447      }
448
449      protected Basic typedCopy() {
450        return copy();
451      }
452
453      @Override
454      public boolean equalsDeep(Base other_) {
455        if (!super.equalsDeep(other_))
456          return false;
457        if (!(other_ instanceof Basic))
458          return false;
459        Basic o = (Basic) other_;
460        return compareDeep(identifier, o.identifier, true) && compareDeep(code, o.code, true) && compareDeep(subject, o.subject, true)
461           && compareDeep(created, o.created, true) && compareDeep(author, o.author, true);
462      }
463
464      @Override
465      public boolean equalsShallow(Base other_) {
466        if (!super.equalsShallow(other_))
467          return false;
468        if (!(other_ instanceof Basic))
469          return false;
470        Basic o = (Basic) other_;
471        return compareValues(created, o.created, true);
472      }
473
474      public boolean isEmpty() {
475        return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, code, subject
476          , created, author);
477      }
478
479  @Override
480  public ResourceType getResourceType() {
481    return ResourceType.Basic;
482   }
483
484 /**
485   * Search parameter: <b>identifier</b>
486   * <p>
487   * Description: <b>Business identifier</b><br>
488   * Type: <b>token</b><br>
489   * Path: <b>Basic.identifier</b><br>
490   * </p>
491   */
492  @SearchParamDefinition(name="identifier", path="Basic.identifier", description="Business identifier", type="token" )
493  public static final String SP_IDENTIFIER = "identifier";
494 /**
495   * <b>Fluent Client</b> search parameter constant for <b>identifier</b>
496   * <p>
497   * Description: <b>Business identifier</b><br>
498   * Type: <b>token</b><br>
499   * Path: <b>Basic.identifier</b><br>
500   * </p>
501   */
502  public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER);
503
504 /**
505   * Search parameter: <b>code</b>
506   * <p>
507   * Description: <b>Kind of Resource</b><br>
508   * Type: <b>token</b><br>
509   * Path: <b>Basic.code</b><br>
510   * </p>
511   */
512  @SearchParamDefinition(name="code", path="Basic.code", description="Kind of Resource", type="token" )
513  public static final String SP_CODE = "code";
514 /**
515   * <b>Fluent Client</b> search parameter constant for <b>code</b>
516   * <p>
517   * Description: <b>Kind of Resource</b><br>
518   * Type: <b>token</b><br>
519   * Path: <b>Basic.code</b><br>
520   * </p>
521   */
522  public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE);
523
524 /**
525   * Search parameter: <b>subject</b>
526   * <p>
527   * Description: <b>Identifies the focus of this resource</b><br>
528   * Type: <b>reference</b><br>
529   * Path: <b>Basic.subject</b><br>
530   * </p>
531   */
532  @SearchParamDefinition(name="subject", path="Basic.subject", description="Identifies the focus of this resource", type="reference" )
533  public static final String SP_SUBJECT = "subject";
534 /**
535   * <b>Fluent Client</b> search parameter constant for <b>subject</b>
536   * <p>
537   * Description: <b>Identifies the focus of this resource</b><br>
538   * Type: <b>reference</b><br>
539   * Path: <b>Basic.subject</b><br>
540   * </p>
541   */
542  public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT);
543
544/**
545   * Constant for fluent queries to be used to add include statements. Specifies
546   * the path value of "<b>Basic:subject</b>".
547   */
548  public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Basic:subject").toLocked();
549
550 /**
551   * Search parameter: <b>created</b>
552   * <p>
553   * Description: <b>When created</b><br>
554   * Type: <b>date</b><br>
555   * Path: <b>Basic.created</b><br>
556   * </p>
557   */
558  @SearchParamDefinition(name="created", path="Basic.created", description="When created", type="date" )
559  public static final String SP_CREATED = "created";
560 /**
561   * <b>Fluent Client</b> search parameter constant for <b>created</b>
562   * <p>
563   * Description: <b>When created</b><br>
564   * Type: <b>date</b><br>
565   * Path: <b>Basic.created</b><br>
566   * </p>
567   */
568  public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED);
569
570 /**
571   * Search parameter: <b>patient</b>
572   * <p>
573   * Description: <b>Identifies the focus of this resource</b><br>
574   * Type: <b>reference</b><br>
575   * Path: <b>Basic.subject</b><br>
576   * </p>
577   */
578  @SearchParamDefinition(name="patient", path="Basic.subject.where(resolve() is Patient)", description="Identifies the focus of this resource", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") }, target={Patient.class } )
579  public static final String SP_PATIENT = "patient";
580 /**
581   * <b>Fluent Client</b> search parameter constant for <b>patient</b>
582   * <p>
583   * Description: <b>Identifies the focus of this resource</b><br>
584   * Type: <b>reference</b><br>
585   * Path: <b>Basic.subject</b><br>
586   * </p>
587   */
588  public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
589
590/**
591   * Constant for fluent queries to be used to add include statements. Specifies
592   * the path value of "<b>Basic:patient</b>".
593   */
594  public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Basic:patient").toLocked();
595
596 /**
597   * Search parameter: <b>author</b>
598   * <p>
599   * Description: <b>Who created</b><br>
600   * Type: <b>reference</b><br>
601   * Path: <b>Basic.author</b><br>
602   * </p>
603   */
604  @SearchParamDefinition(name="author", path="Basic.author", description="Who created", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } )
605  public static final String SP_AUTHOR = "author";
606 /**
607   * <b>Fluent Client</b> search parameter constant for <b>author</b>
608   * <p>
609   * Description: <b>Who created</b><br>
610   * Type: <b>reference</b><br>
611   * Path: <b>Basic.author</b><br>
612   * </p>
613   */
614  public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR);
615
616/**
617   * Constant for fluent queries to be used to add include statements. Specifies
618   * the path value of "<b>Basic:author</b>".
619   */
620  public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("Basic:author").toLocked();
621
622
623}
624