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 * A search parameter that defines a named search item that can be used to search/filter on a resource.
072 */
073@ResourceDef(name="SearchParameter", profile="http://hl7.org/fhir/StructureDefinition/SearchParameter")
074public class SearchParameter extends CanonicalResource {
075
076    public enum SearchComparator {
077        /**
078         * the value for the parameter in the resource is equal to the provided value.
079         */
080        EQ, 
081        /**
082         * the value for the parameter in the resource is not equal to the provided value.
083         */
084        NE, 
085        /**
086         * the value for the parameter in the resource is greater than the provided value.
087         */
088        GT, 
089        /**
090         * the value for the parameter in the resource is less than the provided value.
091         */
092        LT, 
093        /**
094         * the value for the parameter in the resource is greater or equal to the provided value.
095         */
096        GE, 
097        /**
098         * the value for the parameter in the resource is less or equal to the provided value.
099         */
100        LE, 
101        /**
102         * the value for the parameter in the resource starts after the provided value.
103         */
104        SA, 
105        /**
106         * the value for the parameter in the resource ends before the provided value.
107         */
108        EB, 
109        /**
110         * the value for the parameter in the resource is approximately the same to the provided value.
111         */
112        AP, 
113        /**
114         * added to help the parsers with the generic types
115         */
116        NULL;
117        public static SearchComparator fromCode(String codeString) throws FHIRException {
118            if (codeString == null || "".equals(codeString))
119                return null;
120        if ("eq".equals(codeString))
121          return EQ;
122        if ("ne".equals(codeString))
123          return NE;
124        if ("gt".equals(codeString))
125          return GT;
126        if ("lt".equals(codeString))
127          return LT;
128        if ("ge".equals(codeString))
129          return GE;
130        if ("le".equals(codeString))
131          return LE;
132        if ("sa".equals(codeString))
133          return SA;
134        if ("eb".equals(codeString))
135          return EB;
136        if ("ap".equals(codeString))
137          return AP;
138        if (Configuration.isAcceptInvalidEnums())
139          return null;
140        else
141          throw new FHIRException("Unknown SearchComparator code '"+codeString+"'");
142        }
143        public String toCode() {
144          switch (this) {
145            case EQ: return "eq";
146            case NE: return "ne";
147            case GT: return "gt";
148            case LT: return "lt";
149            case GE: return "ge";
150            case LE: return "le";
151            case SA: return "sa";
152            case EB: return "eb";
153            case AP: return "ap";
154            default: return "?";
155          }
156        }
157        public String getSystem() {
158          switch (this) {
159            case EQ: return "http://hl7.org/fhir/search-comparator";
160            case NE: return "http://hl7.org/fhir/search-comparator";
161            case GT: return "http://hl7.org/fhir/search-comparator";
162            case LT: return "http://hl7.org/fhir/search-comparator";
163            case GE: return "http://hl7.org/fhir/search-comparator";
164            case LE: return "http://hl7.org/fhir/search-comparator";
165            case SA: return "http://hl7.org/fhir/search-comparator";
166            case EB: return "http://hl7.org/fhir/search-comparator";
167            case AP: return "http://hl7.org/fhir/search-comparator";
168            default: return "?";
169          }
170        }
171        public String getDefinition() {
172          switch (this) {
173            case EQ: return "the value for the parameter in the resource is equal to the provided value.";
174            case NE: return "the value for the parameter in the resource is not equal to the provided value.";
175            case GT: return "the value for the parameter in the resource is greater than the provided value.";
176            case LT: return "the value for the parameter in the resource is less than the provided value.";
177            case GE: return "the value for the parameter in the resource is greater or equal to the provided value.";
178            case LE: return "the value for the parameter in the resource is less or equal to the provided value.";
179            case SA: return "the value for the parameter in the resource starts after the provided value.";
180            case EB: return "the value for the parameter in the resource ends before the provided value.";
181            case AP: return "the value for the parameter in the resource is approximately the same to the provided value.";
182            default: return "?";
183          }
184        }
185        public String getDisplay() {
186          switch (this) {
187            case EQ: return "Equals";
188            case NE: return "Not Equals";
189            case GT: return "Greater Than";
190            case LT: return "Less Than";
191            case GE: return "Greater or Equals";
192            case LE: return "Less of Equal";
193            case SA: return "Starts After";
194            case EB: return "Ends Before";
195            case AP: return "Approximately";
196            default: return "?";
197          }
198        }
199    }
200
201  public static class SearchComparatorEnumFactory implements EnumFactory<SearchComparator> {
202    public SearchComparator fromCode(String codeString) throws IllegalArgumentException {
203      if (codeString == null || "".equals(codeString))
204            if (codeString == null || "".equals(codeString))
205                return null;
206        if ("eq".equals(codeString))
207          return SearchComparator.EQ;
208        if ("ne".equals(codeString))
209          return SearchComparator.NE;
210        if ("gt".equals(codeString))
211          return SearchComparator.GT;
212        if ("lt".equals(codeString))
213          return SearchComparator.LT;
214        if ("ge".equals(codeString))
215          return SearchComparator.GE;
216        if ("le".equals(codeString))
217          return SearchComparator.LE;
218        if ("sa".equals(codeString))
219          return SearchComparator.SA;
220        if ("eb".equals(codeString))
221          return SearchComparator.EB;
222        if ("ap".equals(codeString))
223          return SearchComparator.AP;
224        throw new IllegalArgumentException("Unknown SearchComparator code '"+codeString+"'");
225        }
226        public Enumeration<SearchComparator> fromType(Base code) throws FHIRException {
227          if (code == null)
228            return null;
229          if (code.isEmpty())
230            return new Enumeration<SearchComparator>(this);
231          String codeString = ((PrimitiveType) code).asStringValue();
232          if (codeString == null || "".equals(codeString))
233            return null;
234        if ("eq".equals(codeString))
235          return new Enumeration<SearchComparator>(this, SearchComparator.EQ);
236        if ("ne".equals(codeString))
237          return new Enumeration<SearchComparator>(this, SearchComparator.NE);
238        if ("gt".equals(codeString))
239          return new Enumeration<SearchComparator>(this, SearchComparator.GT);
240        if ("lt".equals(codeString))
241          return new Enumeration<SearchComparator>(this, SearchComparator.LT);
242        if ("ge".equals(codeString))
243          return new Enumeration<SearchComparator>(this, SearchComparator.GE);
244        if ("le".equals(codeString))
245          return new Enumeration<SearchComparator>(this, SearchComparator.LE);
246        if ("sa".equals(codeString))
247          return new Enumeration<SearchComparator>(this, SearchComparator.SA);
248        if ("eb".equals(codeString))
249          return new Enumeration<SearchComparator>(this, SearchComparator.EB);
250        if ("ap".equals(codeString))
251          return new Enumeration<SearchComparator>(this, SearchComparator.AP);
252        throw new FHIRException("Unknown SearchComparator code '"+codeString+"'");
253        }
254    public String toCode(SearchComparator code) {
255      if (code == SearchComparator.EQ)
256        return "eq";
257      if (code == SearchComparator.NE)
258        return "ne";
259      if (code == SearchComparator.GT)
260        return "gt";
261      if (code == SearchComparator.LT)
262        return "lt";
263      if (code == SearchComparator.GE)
264        return "ge";
265      if (code == SearchComparator.LE)
266        return "le";
267      if (code == SearchComparator.SA)
268        return "sa";
269      if (code == SearchComparator.EB)
270        return "eb";
271      if (code == SearchComparator.AP)
272        return "ap";
273      return "?";
274      }
275    public String toSystem(SearchComparator code) {
276      return code.getSystem();
277      }
278    }
279
280    public enum SearchModifierCode {
281        /**
282         * The search parameter returns resources that have a value or not.
283         */
284        MISSING, 
285        /**
286         * The search parameter returns resources that have a value that exactly matches the supplied parameter (the whole string, including casing and accents).
287         */
288        EXACT, 
289        /**
290         * The search parameter returns resources that include the supplied parameter value anywhere within the field being searched.
291         */
292        CONTAINS, 
293        /**
294         * The search parameter returns resources that do not contain a match.
295         */
296        NOT, 
297        /**
298         * The search parameter is processed as a string that searches text associated with the code/value - either CodeableConcept.text, Coding.display, or Identifier.type.text.
299         */
300        TEXT, 
301        /**
302         * The search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is in the specified value set.
303         */
304        IN, 
305        /**
306         * The search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is not in the specified value set.
307         */
308        NOTIN, 
309        /**
310         * The search parameter tests whether the value in a resource is subsumed by the specified value (is-a, or hierarchical relationships).
311         */
312        BELOW, 
313        /**
314         * The search parameter tests whether the value in a resource subsumes the specified value (is-a, or hierarchical relationships).
315         */
316        ABOVE, 
317        /**
318         * The search parameter only applies to the Resource Type specified as a modifier (e.g. the modifier is not actually :type, but :Patient etc.).
319         */
320        TYPE, 
321        /**
322         * The search parameter applies to the identifier on the resource, not the reference.
323         */
324        IDENTIFIER, 
325        /**
326         * The search parameter has the format system|code|value, where the system and code refer to an Identifier.type.coding.system and .code, and match if any of the type codes match. All 3 parts must be present.
327         */
328        OFTYPE, 
329        /**
330         * added to help the parsers with the generic types
331         */
332        NULL;
333        public static SearchModifierCode fromCode(String codeString) throws FHIRException {
334            if (codeString == null || "".equals(codeString))
335                return null;
336        if ("missing".equals(codeString))
337          return MISSING;
338        if ("exact".equals(codeString))
339          return EXACT;
340        if ("contains".equals(codeString))
341          return CONTAINS;
342        if ("not".equals(codeString))
343          return NOT;
344        if ("text".equals(codeString))
345          return TEXT;
346        if ("in".equals(codeString))
347          return IN;
348        if ("not-in".equals(codeString))
349          return NOTIN;
350        if ("below".equals(codeString))
351          return BELOW;
352        if ("above".equals(codeString))
353          return ABOVE;
354        if ("type".equals(codeString))
355          return TYPE;
356        if ("identifier".equals(codeString))
357          return IDENTIFIER;
358        if ("ofType".equals(codeString))
359          return OFTYPE;
360        if (Configuration.isAcceptInvalidEnums())
361          return null;
362        else
363          throw new FHIRException("Unknown SearchModifierCode code '"+codeString+"'");
364        }
365        public String toCode() {
366          switch (this) {
367            case MISSING: return "missing";
368            case EXACT: return "exact";
369            case CONTAINS: return "contains";
370            case NOT: return "not";
371            case TEXT: return "text";
372            case IN: return "in";
373            case NOTIN: return "not-in";
374            case BELOW: return "below";
375            case ABOVE: return "above";
376            case TYPE: return "type";
377            case IDENTIFIER: return "identifier";
378            case OFTYPE: return "ofType";
379            default: return "?";
380          }
381        }
382        public String getSystem() {
383          switch (this) {
384            case MISSING: return "http://hl7.org/fhir/search-modifier-code";
385            case EXACT: return "http://hl7.org/fhir/search-modifier-code";
386            case CONTAINS: return "http://hl7.org/fhir/search-modifier-code";
387            case NOT: return "http://hl7.org/fhir/search-modifier-code";
388            case TEXT: return "http://hl7.org/fhir/search-modifier-code";
389            case IN: return "http://hl7.org/fhir/search-modifier-code";
390            case NOTIN: return "http://hl7.org/fhir/search-modifier-code";
391            case BELOW: return "http://hl7.org/fhir/search-modifier-code";
392            case ABOVE: return "http://hl7.org/fhir/search-modifier-code";
393            case TYPE: return "http://hl7.org/fhir/search-modifier-code";
394            case IDENTIFIER: return "http://hl7.org/fhir/search-modifier-code";
395            case OFTYPE: return "http://hl7.org/fhir/search-modifier-code";
396            default: return "?";
397          }
398        }
399        public String getDefinition() {
400          switch (this) {
401            case MISSING: return "The search parameter returns resources that have a value or not.";
402            case EXACT: return "The search parameter returns resources that have a value that exactly matches the supplied parameter (the whole string, including casing and accents).";
403            case CONTAINS: return "The search parameter returns resources that include the supplied parameter value anywhere within the field being searched.";
404            case NOT: return "The search parameter returns resources that do not contain a match.";
405            case TEXT: return "The search parameter is processed as a string that searches text associated with the code/value - either CodeableConcept.text, Coding.display, or Identifier.type.text.";
406            case IN: return "The search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is in the specified value set.";
407            case NOTIN: return "The search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is not in the specified value set.";
408            case BELOW: return "The search parameter tests whether the value in a resource is subsumed by the specified value (is-a, or hierarchical relationships).";
409            case ABOVE: return "The search parameter tests whether the value in a resource subsumes the specified value (is-a, or hierarchical relationships).";
410            case TYPE: return "The search parameter only applies to the Resource Type specified as a modifier (e.g. the modifier is not actually :type, but :Patient etc.).";
411            case IDENTIFIER: return "The search parameter applies to the identifier on the resource, not the reference.";
412            case OFTYPE: return "The search parameter has the format system|code|value, where the system and code refer to an Identifier.type.coding.system and .code, and match if any of the type codes match. All 3 parts must be present.";
413            default: return "?";
414          }
415        }
416        public String getDisplay() {
417          switch (this) {
418            case MISSING: return "Missing";
419            case EXACT: return "Exact";
420            case CONTAINS: return "Contains";
421            case NOT: return "Not";
422            case TEXT: return "Text";
423            case IN: return "In";
424            case NOTIN: return "Not In";
425            case BELOW: return "Below";
426            case ABOVE: return "Above";
427            case TYPE: return "Type";
428            case IDENTIFIER: return "Identifier";
429            case OFTYPE: return "Of Type";
430            default: return "?";
431          }
432        }
433    }
434
435  public static class SearchModifierCodeEnumFactory implements EnumFactory<SearchModifierCode> {
436    public SearchModifierCode fromCode(String codeString) throws IllegalArgumentException {
437      if (codeString == null || "".equals(codeString))
438            if (codeString == null || "".equals(codeString))
439                return null;
440        if ("missing".equals(codeString))
441          return SearchModifierCode.MISSING;
442        if ("exact".equals(codeString))
443          return SearchModifierCode.EXACT;
444        if ("contains".equals(codeString))
445          return SearchModifierCode.CONTAINS;
446        if ("not".equals(codeString))
447          return SearchModifierCode.NOT;
448        if ("text".equals(codeString))
449          return SearchModifierCode.TEXT;
450        if ("in".equals(codeString))
451          return SearchModifierCode.IN;
452        if ("not-in".equals(codeString))
453          return SearchModifierCode.NOTIN;
454        if ("below".equals(codeString))
455          return SearchModifierCode.BELOW;
456        if ("above".equals(codeString))
457          return SearchModifierCode.ABOVE;
458        if ("type".equals(codeString))
459          return SearchModifierCode.TYPE;
460        if ("identifier".equals(codeString))
461          return SearchModifierCode.IDENTIFIER;
462        if ("ofType".equals(codeString))
463          return SearchModifierCode.OFTYPE;
464        throw new IllegalArgumentException("Unknown SearchModifierCode code '"+codeString+"'");
465        }
466        public Enumeration<SearchModifierCode> fromType(Base code) throws FHIRException {
467          if (code == null)
468            return null;
469          if (code.isEmpty())
470            return new Enumeration<SearchModifierCode>(this);
471          String codeString = ((PrimitiveType) code).asStringValue();
472          if (codeString == null || "".equals(codeString))
473            return null;
474        if ("missing".equals(codeString))
475          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.MISSING);
476        if ("exact".equals(codeString))
477          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.EXACT);
478        if ("contains".equals(codeString))
479          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.CONTAINS);
480        if ("not".equals(codeString))
481          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.NOT);
482        if ("text".equals(codeString))
483          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.TEXT);
484        if ("in".equals(codeString))
485          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.IN);
486        if ("not-in".equals(codeString))
487          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.NOTIN);
488        if ("below".equals(codeString))
489          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.BELOW);
490        if ("above".equals(codeString))
491          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.ABOVE);
492        if ("type".equals(codeString))
493          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.TYPE);
494        if ("identifier".equals(codeString))
495          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.IDENTIFIER);
496        if ("ofType".equals(codeString))
497          return new Enumeration<SearchModifierCode>(this, SearchModifierCode.OFTYPE);
498        throw new FHIRException("Unknown SearchModifierCode code '"+codeString+"'");
499        }
500    public String toCode(SearchModifierCode code) {
501      if (code == SearchModifierCode.MISSING)
502        return "missing";
503      if (code == SearchModifierCode.EXACT)
504        return "exact";
505      if (code == SearchModifierCode.CONTAINS)
506        return "contains";
507      if (code == SearchModifierCode.NOT)
508        return "not";
509      if (code == SearchModifierCode.TEXT)
510        return "text";
511      if (code == SearchModifierCode.IN)
512        return "in";
513      if (code == SearchModifierCode.NOTIN)
514        return "not-in";
515      if (code == SearchModifierCode.BELOW)
516        return "below";
517      if (code == SearchModifierCode.ABOVE)
518        return "above";
519      if (code == SearchModifierCode.TYPE)
520        return "type";
521      if (code == SearchModifierCode.IDENTIFIER)
522        return "identifier";
523      if (code == SearchModifierCode.OFTYPE)
524        return "ofType";
525      return "?";
526      }
527    public String toSystem(SearchModifierCode code) {
528      return code.getSystem();
529      }
530    }
531
532    public enum XPathUsageType {
533        /**
534         * The search parameter is derived directly from the selected nodes based on the type definitions.
535         */
536        NORMAL, 
537        /**
538         * The search parameter is derived by a phonetic transform from the selected nodes.
539         */
540        PHONETIC, 
541        /**
542         * The search parameter is based on a spatial transform of the selected nodes.
543         */
544        NEARBY, 
545        /**
546         * The search parameter is based on a spatial transform of the selected nodes, using physical distance from the middle.
547         */
548        DISTANCE, 
549        /**
550         * The interpretation of the xpath statement is unknown (and can't be automated).
551         */
552        OTHER, 
553        /**
554         * added to help the parsers with the generic types
555         */
556        NULL;
557        public static XPathUsageType fromCode(String codeString) throws FHIRException {
558            if (codeString == null || "".equals(codeString))
559                return null;
560        if ("normal".equals(codeString))
561          return NORMAL;
562        if ("phonetic".equals(codeString))
563          return PHONETIC;
564        if ("nearby".equals(codeString))
565          return NEARBY;
566        if ("distance".equals(codeString))
567          return DISTANCE;
568        if ("other".equals(codeString))
569          return OTHER;
570        if (Configuration.isAcceptInvalidEnums())
571          return null;
572        else
573          throw new FHIRException("Unknown XPathUsageType code '"+codeString+"'");
574        }
575        public String toCode() {
576          switch (this) {
577            case NORMAL: return "normal";
578            case PHONETIC: return "phonetic";
579            case NEARBY: return "nearby";
580            case DISTANCE: return "distance";
581            case OTHER: return "other";
582            default: return "?";
583          }
584        }
585        public String getSystem() {
586          switch (this) {
587            case NORMAL: return "http://hl7.org/fhir/search-xpath-usage";
588            case PHONETIC: return "http://hl7.org/fhir/search-xpath-usage";
589            case NEARBY: return "http://hl7.org/fhir/search-xpath-usage";
590            case DISTANCE: return "http://hl7.org/fhir/search-xpath-usage";
591            case OTHER: return "http://hl7.org/fhir/search-xpath-usage";
592            default: return "?";
593          }
594        }
595        public String getDefinition() {
596          switch (this) {
597            case NORMAL: return "The search parameter is derived directly from the selected nodes based on the type definitions.";
598            case PHONETIC: return "The search parameter is derived by a phonetic transform from the selected nodes.";
599            case NEARBY: return "The search parameter is based on a spatial transform of the selected nodes.";
600            case DISTANCE: return "The search parameter is based on a spatial transform of the selected nodes, using physical distance from the middle.";
601            case OTHER: return "The interpretation of the xpath statement is unknown (and can't be automated).";
602            default: return "?";
603          }
604        }
605        public String getDisplay() {
606          switch (this) {
607            case NORMAL: return "Normal";
608            case PHONETIC: return "Phonetic";
609            case NEARBY: return "Nearby";
610            case DISTANCE: return "Distance";
611            case OTHER: return "Other";
612            default: return "?";
613          }
614        }
615    }
616
617  public static class XPathUsageTypeEnumFactory implements EnumFactory<XPathUsageType> {
618    public XPathUsageType fromCode(String codeString) throws IllegalArgumentException {
619      if (codeString == null || "".equals(codeString))
620            if (codeString == null || "".equals(codeString))
621                return null;
622        if ("normal".equals(codeString))
623          return XPathUsageType.NORMAL;
624        if ("phonetic".equals(codeString))
625          return XPathUsageType.PHONETIC;
626        if ("nearby".equals(codeString))
627          return XPathUsageType.NEARBY;
628        if ("distance".equals(codeString))
629          return XPathUsageType.DISTANCE;
630        if ("other".equals(codeString))
631          return XPathUsageType.OTHER;
632        throw new IllegalArgumentException("Unknown XPathUsageType code '"+codeString+"'");
633        }
634        public Enumeration<XPathUsageType> fromType(Base code) throws FHIRException {
635          if (code == null)
636            return null;
637          if (code.isEmpty())
638            return new Enumeration<XPathUsageType>(this);
639          String codeString = ((PrimitiveType) code).asStringValue();
640          if (codeString == null || "".equals(codeString))
641            return null;
642        if ("normal".equals(codeString))
643          return new Enumeration<XPathUsageType>(this, XPathUsageType.NORMAL);
644        if ("phonetic".equals(codeString))
645          return new Enumeration<XPathUsageType>(this, XPathUsageType.PHONETIC);
646        if ("nearby".equals(codeString))
647          return new Enumeration<XPathUsageType>(this, XPathUsageType.NEARBY);
648        if ("distance".equals(codeString))
649          return new Enumeration<XPathUsageType>(this, XPathUsageType.DISTANCE);
650        if ("other".equals(codeString))
651          return new Enumeration<XPathUsageType>(this, XPathUsageType.OTHER);
652        throw new FHIRException("Unknown XPathUsageType code '"+codeString+"'");
653        }
654    public String toCode(XPathUsageType code) {
655      if (code == XPathUsageType.NORMAL)
656        return "normal";
657      if (code == XPathUsageType.PHONETIC)
658        return "phonetic";
659      if (code == XPathUsageType.NEARBY)
660        return "nearby";
661      if (code == XPathUsageType.DISTANCE)
662        return "distance";
663      if (code == XPathUsageType.OTHER)
664        return "other";
665      return "?";
666      }
667    public String toSystem(XPathUsageType code) {
668      return code.getSystem();
669      }
670    }
671
672    @Block()
673    public static class SearchParameterComponentComponent extends BackboneElement implements IBaseBackboneElement {
674        /**
675         * The definition of the search parameter that describes this part.
676         */
677        @Child(name = "definition", type = {CanonicalType.class}, order=1, min=1, max=1, modifier=false, summary=false)
678        @Description(shortDefinition="Defines how the part works", formalDefinition="The definition of the search parameter that describes this part." )
679        protected CanonicalType definition;
680
681        /**
682         * A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression.
683         */
684        @Child(name = "expression", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=false)
685        @Description(shortDefinition="Subexpression relative to main expression", formalDefinition="A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression." )
686        protected StringType expression;
687
688        private static final long serialVersionUID = -1469435618L;
689
690    /**
691     * Constructor
692     */
693      public SearchParameterComponentComponent() {
694        super();
695      }
696
697    /**
698     * Constructor
699     */
700      public SearchParameterComponentComponent(String definition, String expression) {
701        super();
702        this.setDefinition(definition);
703        this.setExpression(expression);
704      }
705
706        /**
707         * @return {@link #definition} (The definition of the search parameter that describes this part.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value
708         */
709        public CanonicalType getDefinitionElement() { 
710          if (this.definition == null)
711            if (Configuration.errorOnAutoCreate())
712              throw new Error("Attempt to auto-create SearchParameterComponentComponent.definition");
713            else if (Configuration.doAutoCreate())
714              this.definition = new CanonicalType(); // bb
715          return this.definition;
716        }
717
718        public boolean hasDefinitionElement() { 
719          return this.definition != null && !this.definition.isEmpty();
720        }
721
722        public boolean hasDefinition() { 
723          return this.definition != null && !this.definition.isEmpty();
724        }
725
726        /**
727         * @param value {@link #definition} (The definition of the search parameter that describes this part.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value
728         */
729        public SearchParameterComponentComponent setDefinitionElement(CanonicalType value) { 
730          this.definition = value;
731          return this;
732        }
733
734        /**
735         * @return The definition of the search parameter that describes this part.
736         */
737        public String getDefinition() { 
738          return this.definition == null ? null : this.definition.getValue();
739        }
740
741        /**
742         * @param value The definition of the search parameter that describes this part.
743         */
744        public SearchParameterComponentComponent setDefinition(String value) { 
745            if (this.definition == null)
746              this.definition = new CanonicalType();
747            this.definition.setValue(value);
748          return this;
749        }
750
751        /**
752         * @return {@link #expression} (A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value
753         */
754        public StringType getExpressionElement() { 
755          if (this.expression == null)
756            if (Configuration.errorOnAutoCreate())
757              throw new Error("Attempt to auto-create SearchParameterComponentComponent.expression");
758            else if (Configuration.doAutoCreate())
759              this.expression = new StringType(); // bb
760          return this.expression;
761        }
762
763        public boolean hasExpressionElement() { 
764          return this.expression != null && !this.expression.isEmpty();
765        }
766
767        public boolean hasExpression() { 
768          return this.expression != null && !this.expression.isEmpty();
769        }
770
771        /**
772         * @param value {@link #expression} (A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value
773         */
774        public SearchParameterComponentComponent setExpressionElement(StringType value) { 
775          this.expression = value;
776          return this;
777        }
778
779        /**
780         * @return A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression.
781         */
782        public String getExpression() { 
783          return this.expression == null ? null : this.expression.getValue();
784        }
785
786        /**
787         * @param value A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression.
788         */
789        public SearchParameterComponentComponent setExpression(String value) { 
790            if (this.expression == null)
791              this.expression = new StringType();
792            this.expression.setValue(value);
793          return this;
794        }
795
796        protected void listChildren(List<Property> children) {
797          super.listChildren(children);
798          children.add(new Property("definition", "canonical(SearchParameter)", "The definition of the search parameter that describes this part.", 0, 1, definition));
799          children.add(new Property("expression", "string", "A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression.", 0, 1, expression));
800        }
801
802        @Override
803        public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
804          switch (_hash) {
805          case -1014418093: /*definition*/  return new Property("definition", "canonical(SearchParameter)", "The definition of the search parameter that describes this part.", 0, 1, definition);
806          case -1795452264: /*expression*/  return new Property("expression", "string", "A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression.", 0, 1, expression);
807          default: return super.getNamedProperty(_hash, _name, _checkValid);
808          }
809
810        }
811
812      @Override
813      public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
814        switch (hash) {
815        case -1014418093: /*definition*/ return this.definition == null ? new Base[0] : new Base[] {this.definition}; // CanonicalType
816        case -1795452264: /*expression*/ return this.expression == null ? new Base[0] : new Base[] {this.expression}; // StringType
817        default: return super.getProperty(hash, name, checkValid);
818        }
819
820      }
821
822      @Override
823      public Base setProperty(int hash, String name, Base value) throws FHIRException {
824        switch (hash) {
825        case -1014418093: // definition
826          this.definition = TypeConvertor.castToCanonical(value); // CanonicalType
827          return value;
828        case -1795452264: // expression
829          this.expression = TypeConvertor.castToString(value); // StringType
830          return value;
831        default: return super.setProperty(hash, name, value);
832        }
833
834      }
835
836      @Override
837      public Base setProperty(String name, Base value) throws FHIRException {
838        if (name.equals("definition")) {
839          this.definition = TypeConvertor.castToCanonical(value); // CanonicalType
840        } else if (name.equals("expression")) {
841          this.expression = TypeConvertor.castToString(value); // StringType
842        } else
843          return super.setProperty(name, value);
844        return value;
845      }
846
847      @Override
848      public Base makeProperty(int hash, String name) throws FHIRException {
849        switch (hash) {
850        case -1014418093:  return getDefinitionElement();
851        case -1795452264:  return getExpressionElement();
852        default: return super.makeProperty(hash, name);
853        }
854
855      }
856
857      @Override
858      public String[] getTypesForProperty(int hash, String name) throws FHIRException {
859        switch (hash) {
860        case -1014418093: /*definition*/ return new String[] {"canonical"};
861        case -1795452264: /*expression*/ return new String[] {"string"};
862        default: return super.getTypesForProperty(hash, name);
863        }
864
865      }
866
867      @Override
868      public Base addChild(String name) throws FHIRException {
869        if (name.equals("definition")) {
870          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.component.definition");
871        }
872        else if (name.equals("expression")) {
873          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.component.expression");
874        }
875        else
876          return super.addChild(name);
877      }
878
879      public SearchParameterComponentComponent copy() {
880        SearchParameterComponentComponent dst = new SearchParameterComponentComponent();
881        copyValues(dst);
882        return dst;
883      }
884
885      public void copyValues(SearchParameterComponentComponent dst) {
886        super.copyValues(dst);
887        dst.definition = definition == null ? null : definition.copy();
888        dst.expression = expression == null ? null : expression.copy();
889      }
890
891      @Override
892      public boolean equalsDeep(Base other_) {
893        if (!super.equalsDeep(other_))
894          return false;
895        if (!(other_ instanceof SearchParameterComponentComponent))
896          return false;
897        SearchParameterComponentComponent o = (SearchParameterComponentComponent) other_;
898        return compareDeep(definition, o.definition, true) && compareDeep(expression, o.expression, true)
899          ;
900      }
901
902      @Override
903      public boolean equalsShallow(Base other_) {
904        if (!super.equalsShallow(other_))
905          return false;
906        if (!(other_ instanceof SearchParameterComponentComponent))
907          return false;
908        SearchParameterComponentComponent o = (SearchParameterComponentComponent) other_;
909        return compareValues(definition, o.definition, true) && compareValues(expression, o.expression, true)
910          ;
911      }
912
913      public boolean isEmpty() {
914        return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(definition, expression);
915      }
916
917  public String fhirType() {
918    return "SearchParameter.component";
919
920  }
921
922  }
923
924    /**
925     * An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.
926     */
927    @Child(name = "url", type = {UriType.class}, order=0, min=1, max=1, modifier=false, summary=true)
928    @Description(shortDefinition="Canonical identifier for this search parameter, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers." )
929    protected UriType url;
930
931    /**
932     * The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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.
933     */
934    @Child(name = "version", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true)
935    @Description(shortDefinition="Business version of the search parameter", formalDefinition="The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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." )
936    protected StringType version;
937
938    /**
939     * A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation.
940     */
941    @Child(name = "name", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=true)
942    @Description(shortDefinition="Name for this search parameter (computer friendly)", formalDefinition="A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation." )
943    protected StringType name;
944
945    /**
946     * Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.
947     */
948    @Child(name = "derivedFrom", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=false)
949    @Description(shortDefinition="Original definition for the search parameter", formalDefinition="Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter." )
950    protected CanonicalType derivedFrom;
951
952    /**
953     * The status of this search parameter. Enables tracking the life-cycle of the content.
954     */
955    @Child(name = "status", type = {CodeType.class}, order=4, min=1, max=1, modifier=true, summary=true)
956    @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this search parameter. Enables tracking the life-cycle of the content." )
957    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status")
958    protected Enumeration<PublicationStatus> status;
959
960    /**
961     * A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.
962     */
963    @Child(name = "experimental", type = {BooleanType.class}, order=5, min=0, max=1, modifier=false, summary=true)
964    @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." )
965    protected BooleanType experimental;
966
967    /**
968     * The date  (and optionally time) when the search parameter 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 search parameter changes.
969     */
970    @Child(name = "date", type = {DateTimeType.class}, order=6, min=0, max=1, modifier=false, summary=true)
971    @Description(shortDefinition="Date last changed", formalDefinition="The date  (and optionally time) when the search parameter 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 search parameter changes." )
972    protected DateTimeType date;
973
974    /**
975     * The name of the organization or individual that published the search parameter.
976     */
977    @Child(name = "publisher", type = {StringType.class}, order=7, min=0, max=1, modifier=false, summary=true)
978    @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the search parameter." )
979    protected StringType publisher;
980
981    /**
982     * Contact details to assist a user in finding and communicating with the publisher.
983     */
984    @Child(name = "contact", type = {ContactDetail.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
985    @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." )
986    protected List<ContactDetail> contact;
987
988    /**
989     * And how it used.
990     */
991    @Child(name = "description", type = {MarkdownType.class}, order=9, min=1, max=1, modifier=false, summary=true)
992    @Description(shortDefinition="Natural language description of the search parameter", formalDefinition="And how it used." )
993    protected MarkdownType description;
994
995    /**
996     * 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 search parameter instances.
997     */
998    @Child(name = "useContext", type = {UsageContext.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
999    @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 search parameter instances." )
1000    protected List<UsageContext> useContext;
1001
1002    /**
1003     * A legal or geographic region in which the search parameter is intended to be used.
1004     */
1005    @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
1006    @Description(shortDefinition="Intended jurisdiction for search parameter (if applicable)", formalDefinition="A legal or geographic region in which the search parameter is intended to be used." )
1007    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction")
1008    protected List<CodeableConcept> jurisdiction;
1009
1010    /**
1011     * Explanation of why this search parameter is needed and why it has been designed as it has.
1012     */
1013    @Child(name = "purpose", type = {MarkdownType.class}, order=12, min=0, max=1, modifier=false, summary=false)
1014    @Description(shortDefinition="Why this search parameter is defined", formalDefinition="Explanation of why this search parameter is needed and why it has been designed as it has." )
1015    protected MarkdownType purpose;
1016
1017    /**
1018     * The code used in the URL or the parameter name in a parameters resource for this search parameter.
1019     */
1020    @Child(name = "code", type = {CodeType.class}, order=13, min=1, max=1, modifier=false, summary=true)
1021    @Description(shortDefinition="Code used in URL", formalDefinition="The code used in the URL or the parameter name in a parameters resource for this search parameter." )
1022    protected CodeType code;
1023
1024    /**
1025     * The base resource type(s) that this search parameter can be used against.
1026     */
1027    @Child(name = "base", type = {CodeType.class}, order=14, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
1028    @Description(shortDefinition="The resource type(s) this search parameter applies to", formalDefinition="The base resource type(s) that this search parameter can be used against." )
1029    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types")
1030    protected List<CodeType> base;
1031
1032    /**
1033     * The type of value that a search parameter may contain, and how the content is interpreted.
1034     */
1035    @Child(name = "type", type = {CodeType.class}, order=15, min=1, max=1, modifier=false, summary=true)
1036    @Description(shortDefinition="number | date | string | token | reference | composite | quantity | uri | special", formalDefinition="The type of value that a search parameter may contain, and how the content is interpreted." )
1037    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-param-type")
1038    protected Enumeration<SearchParamType> type;
1039
1040    /**
1041     * A FHIRPath expression that returns a set of elements for the search parameter.
1042     */
1043    @Child(name = "expression", type = {StringType.class}, order=16, min=0, max=1, modifier=false, summary=false)
1044    @Description(shortDefinition="FHIRPath expression that extracts the values", formalDefinition="A FHIRPath expression that returns a set of elements for the search parameter." )
1045    protected StringType expression;
1046
1047    /**
1048     * An XPath expression that returns a set of elements for the search parameter.
1049     */
1050    @Child(name = "xpath", type = {StringType.class}, order=17, min=0, max=1, modifier=false, summary=false)
1051    @Description(shortDefinition="XPath that extracts the values", formalDefinition="An XPath expression that returns a set of elements for the search parameter." )
1052    protected StringType xpath;
1053
1054    /**
1055     * How the search parameter relates to the set of elements returned by evaluating the xpath query.
1056     */
1057    @Child(name = "xpathUsage", type = {CodeType.class}, order=18, min=0, max=1, modifier=false, summary=false)
1058    @Description(shortDefinition="normal | phonetic | nearby | distance | other", formalDefinition="How the search parameter relates to the set of elements returned by evaluating the xpath query." )
1059    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-xpath-usage")
1060    protected Enumeration<XPathUsageType> xpathUsage;
1061
1062    /**
1063     * Types of resource (if a resource is referenced).
1064     */
1065    @Child(name = "target", type = {CodeType.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
1066    @Description(shortDefinition="Types of resource (if a resource reference)", formalDefinition="Types of resource (if a resource is referenced)." )
1067    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types")
1068    protected List<CodeType> target;
1069
1070    /**
1071     * Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match.
1072     */
1073    @Child(name = "multipleOr", type = {BooleanType.class}, order=20, min=0, max=1, modifier=false, summary=false)
1074    @Description(shortDefinition="Allow multiple values per parameter (or)", formalDefinition="Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match." )
1075    protected BooleanType multipleOr;
1076
1077    /**
1078     * Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match.
1079     */
1080    @Child(name = "multipleAnd", type = {BooleanType.class}, order=21, min=0, max=1, modifier=false, summary=false)
1081    @Description(shortDefinition="Allow multiple parameters (and)", formalDefinition="Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match." )
1082    protected BooleanType multipleAnd;
1083
1084    /**
1085     * Comparators supported for the search parameter.
1086     */
1087    @Child(name = "comparator", type = {CodeType.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
1088    @Description(shortDefinition="eq | ne | gt | lt | ge | le | sa | eb | ap", formalDefinition="Comparators supported for the search parameter." )
1089    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-comparator")
1090    protected List<Enumeration<SearchComparator>> comparator;
1091
1092    /**
1093     * A modifier supported for the search parameter.
1094     */
1095    @Child(name = "modifier", type = {CodeType.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
1096    @Description(shortDefinition="missing | exact | contains | not | text | in | not-in | below | above | type | identifier | ofType", formalDefinition="A modifier supported for the search parameter." )
1097    @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-modifier-code")
1098    protected List<Enumeration<SearchModifierCode>> modifier;
1099
1100    /**
1101     * Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type.
1102     */
1103    @Child(name = "chain", type = {StringType.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
1104    @Description(shortDefinition="Chained names supported", formalDefinition="Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type." )
1105    protected List<StringType> chain;
1106
1107    /**
1108     * Used to define the parts of a composite search parameter.
1109     */
1110    @Child(name = "component", type = {}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
1111    @Description(shortDefinition="For Composite resources to define the parts", formalDefinition="Used to define the parts of a composite search parameter." )
1112    protected List<SearchParameterComponentComponent> component;
1113
1114    private static final long serialVersionUID = -877703644L;
1115
1116  /**
1117   * Constructor
1118   */
1119    public SearchParameter() {
1120      super();
1121    }
1122
1123  /**
1124   * Constructor
1125   */
1126    public SearchParameter(String url, String name, PublicationStatus status, String description, String code, String base, SearchParamType type) {
1127      super();
1128      this.setUrl(url);
1129      this.setName(name);
1130      this.setStatus(status);
1131      this.setDescription(description);
1132      this.setCode(code);
1133      this.addBase(base);
1134      this.setType(type);
1135    }
1136
1137    /**
1138     * @return {@link #url} (An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
1139     */
1140    public UriType getUrlElement() { 
1141      if (this.url == null)
1142        if (Configuration.errorOnAutoCreate())
1143          throw new Error("Attempt to auto-create SearchParameter.url");
1144        else if (Configuration.doAutoCreate())
1145          this.url = new UriType(); // bb
1146      return this.url;
1147    }
1148
1149    public boolean hasUrlElement() { 
1150      return this.url != null && !this.url.isEmpty();
1151    }
1152
1153    public boolean hasUrl() { 
1154      return this.url != null && !this.url.isEmpty();
1155    }
1156
1157    /**
1158     * @param value {@link #url} (An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
1159     */
1160    public SearchParameter setUrlElement(UriType value) { 
1161      this.url = value;
1162      return this;
1163    }
1164
1165    /**
1166     * @return An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.
1167     */
1168    public String getUrl() { 
1169      return this.url == null ? null : this.url.getValue();
1170    }
1171
1172    /**
1173     * @param value An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.
1174     */
1175    public SearchParameter setUrl(String value) { 
1176        if (this.url == null)
1177          this.url = new UriType();
1178        this.url.setValue(value);
1179      return this;
1180    }
1181
1182    /**
1183     * @return {@link #version} (The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
1184     */
1185    public StringType getVersionElement() { 
1186      if (this.version == null)
1187        if (Configuration.errorOnAutoCreate())
1188          throw new Error("Attempt to auto-create SearchParameter.version");
1189        else if (Configuration.doAutoCreate())
1190          this.version = new StringType(); // bb
1191      return this.version;
1192    }
1193
1194    public boolean hasVersionElement() { 
1195      return this.version != null && !this.version.isEmpty();
1196    }
1197
1198    public boolean hasVersion() { 
1199      return this.version != null && !this.version.isEmpty();
1200    }
1201
1202    /**
1203     * @param value {@link #version} (The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
1204     */
1205    public SearchParameter setVersionElement(StringType value) { 
1206      this.version = value;
1207      return this;
1208    }
1209
1210    /**
1211     * @return The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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.
1212     */
1213    public String getVersion() { 
1214      return this.version == null ? null : this.version.getValue();
1215    }
1216
1217    /**
1218     * @param value The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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.
1219     */
1220    public SearchParameter setVersion(String value) { 
1221      if (Utilities.noString(value))
1222        this.version = null;
1223      else {
1224        if (this.version == null)
1225          this.version = new StringType();
1226        this.version.setValue(value);
1227      }
1228      return this;
1229    }
1230
1231    /**
1232     * @return {@link #name} (A natural language name identifying the search parameter. 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
1233     */
1234    public StringType getNameElement() { 
1235      if (this.name == null)
1236        if (Configuration.errorOnAutoCreate())
1237          throw new Error("Attempt to auto-create SearchParameter.name");
1238        else if (Configuration.doAutoCreate())
1239          this.name = new StringType(); // bb
1240      return this.name;
1241    }
1242
1243    public boolean hasNameElement() { 
1244      return this.name != null && !this.name.isEmpty();
1245    }
1246
1247    public boolean hasName() { 
1248      return this.name != null && !this.name.isEmpty();
1249    }
1250
1251    /**
1252     * @param value {@link #name} (A natural language name identifying the search parameter. 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
1253     */
1254    public SearchParameter setNameElement(StringType value) { 
1255      this.name = value;
1256      return this;
1257    }
1258
1259    /**
1260     * @return A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation.
1261     */
1262    public String getName() { 
1263      return this.name == null ? null : this.name.getValue();
1264    }
1265
1266    /**
1267     * @param value A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation.
1268     */
1269    public SearchParameter setName(String value) { 
1270        if (this.name == null)
1271          this.name = new StringType();
1272        this.name.setValue(value);
1273      return this;
1274    }
1275
1276    /**
1277     * @return {@link #derivedFrom} (Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.). This is the underlying object with id, value and extensions. The accessor "getDerivedFrom" gives direct access to the value
1278     */
1279    public CanonicalType getDerivedFromElement() { 
1280      if (this.derivedFrom == null)
1281        if (Configuration.errorOnAutoCreate())
1282          throw new Error("Attempt to auto-create SearchParameter.derivedFrom");
1283        else if (Configuration.doAutoCreate())
1284          this.derivedFrom = new CanonicalType(); // bb
1285      return this.derivedFrom;
1286    }
1287
1288    public boolean hasDerivedFromElement() { 
1289      return this.derivedFrom != null && !this.derivedFrom.isEmpty();
1290    }
1291
1292    public boolean hasDerivedFrom() { 
1293      return this.derivedFrom != null && !this.derivedFrom.isEmpty();
1294    }
1295
1296    /**
1297     * @param value {@link #derivedFrom} (Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.). This is the underlying object with id, value and extensions. The accessor "getDerivedFrom" gives direct access to the value
1298     */
1299    public SearchParameter setDerivedFromElement(CanonicalType value) { 
1300      this.derivedFrom = value;
1301      return this;
1302    }
1303
1304    /**
1305     * @return Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.
1306     */
1307    public String getDerivedFrom() { 
1308      return this.derivedFrom == null ? null : this.derivedFrom.getValue();
1309    }
1310
1311    /**
1312     * @param value Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.
1313     */
1314    public SearchParameter setDerivedFrom(String value) { 
1315      if (Utilities.noString(value))
1316        this.derivedFrom = null;
1317      else {
1318        if (this.derivedFrom == null)
1319          this.derivedFrom = new CanonicalType();
1320        this.derivedFrom.setValue(value);
1321      }
1322      return this;
1323    }
1324
1325    /**
1326     * @return {@link #status} (The status of this search parameter. 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
1327     */
1328    public Enumeration<PublicationStatus> getStatusElement() { 
1329      if (this.status == null)
1330        if (Configuration.errorOnAutoCreate())
1331          throw new Error("Attempt to auto-create SearchParameter.status");
1332        else if (Configuration.doAutoCreate())
1333          this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); // bb
1334      return this.status;
1335    }
1336
1337    public boolean hasStatusElement() { 
1338      return this.status != null && !this.status.isEmpty();
1339    }
1340
1341    public boolean hasStatus() { 
1342      return this.status != null && !this.status.isEmpty();
1343    }
1344
1345    /**
1346     * @param value {@link #status} (The status of this search parameter. 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
1347     */
1348    public SearchParameter setStatusElement(Enumeration<PublicationStatus> value) { 
1349      this.status = value;
1350      return this;
1351    }
1352
1353    /**
1354     * @return The status of this search parameter. Enables tracking the life-cycle of the content.
1355     */
1356    public PublicationStatus getStatus() { 
1357      return this.status == null ? null : this.status.getValue();
1358    }
1359
1360    /**
1361     * @param value The status of this search parameter. Enables tracking the life-cycle of the content.
1362     */
1363    public SearchParameter setStatus(PublicationStatus value) { 
1364        if (this.status == null)
1365          this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory());
1366        this.status.setValue(value);
1367      return this;
1368    }
1369
1370    /**
1371     * @return {@link #experimental} (A Boolean value to indicate that this search parameter 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
1372     */
1373    public BooleanType getExperimentalElement() { 
1374      if (this.experimental == null)
1375        if (Configuration.errorOnAutoCreate())
1376          throw new Error("Attempt to auto-create SearchParameter.experimental");
1377        else if (Configuration.doAutoCreate())
1378          this.experimental = new BooleanType(); // bb
1379      return this.experimental;
1380    }
1381
1382    public boolean hasExperimentalElement() { 
1383      return this.experimental != null && !this.experimental.isEmpty();
1384    }
1385
1386    public boolean hasExperimental() { 
1387      return this.experimental != null && !this.experimental.isEmpty();
1388    }
1389
1390    /**
1391     * @param value {@link #experimental} (A Boolean value to indicate that this search parameter 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
1392     */
1393    public SearchParameter setExperimentalElement(BooleanType value) { 
1394      this.experimental = value;
1395      return this;
1396    }
1397
1398    /**
1399     * @return A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.
1400     */
1401    public boolean getExperimental() { 
1402      return this.experimental == null || this.experimental.isEmpty() ? false : this.experimental.getValue();
1403    }
1404
1405    /**
1406     * @param value A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.
1407     */
1408    public SearchParameter setExperimental(boolean value) { 
1409        if (this.experimental == null)
1410          this.experimental = new BooleanType();
1411        this.experimental.setValue(value);
1412      return this;
1413    }
1414
1415    /**
1416     * @return {@link #date} (The date  (and optionally time) when the search parameter 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 search parameter changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
1417     */
1418    public DateTimeType getDateElement() { 
1419      if (this.date == null)
1420        if (Configuration.errorOnAutoCreate())
1421          throw new Error("Attempt to auto-create SearchParameter.date");
1422        else if (Configuration.doAutoCreate())
1423          this.date = new DateTimeType(); // bb
1424      return this.date;
1425    }
1426
1427    public boolean hasDateElement() { 
1428      return this.date != null && !this.date.isEmpty();
1429    }
1430
1431    public boolean hasDate() { 
1432      return this.date != null && !this.date.isEmpty();
1433    }
1434
1435    /**
1436     * @param value {@link #date} (The date  (and optionally time) when the search parameter 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 search parameter changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
1437     */
1438    public SearchParameter setDateElement(DateTimeType value) { 
1439      this.date = value;
1440      return this;
1441    }
1442
1443    /**
1444     * @return The date  (and optionally time) when the search parameter 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 search parameter changes.
1445     */
1446    public Date getDate() { 
1447      return this.date == null ? null : this.date.getValue();
1448    }
1449
1450    /**
1451     * @param value The date  (and optionally time) when the search parameter 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 search parameter changes.
1452     */
1453    public SearchParameter setDate(Date value) { 
1454      if (value == null)
1455        this.date = null;
1456      else {
1457        if (this.date == null)
1458          this.date = new DateTimeType();
1459        this.date.setValue(value);
1460      }
1461      return this;
1462    }
1463
1464    /**
1465     * @return {@link #publisher} (The name of the organization or individual that published the search parameter.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
1466     */
1467    public StringType getPublisherElement() { 
1468      if (this.publisher == null)
1469        if (Configuration.errorOnAutoCreate())
1470          throw new Error("Attempt to auto-create SearchParameter.publisher");
1471        else if (Configuration.doAutoCreate())
1472          this.publisher = new StringType(); // bb
1473      return this.publisher;
1474    }
1475
1476    public boolean hasPublisherElement() { 
1477      return this.publisher != null && !this.publisher.isEmpty();
1478    }
1479
1480    public boolean hasPublisher() { 
1481      return this.publisher != null && !this.publisher.isEmpty();
1482    }
1483
1484    /**
1485     * @param value {@link #publisher} (The name of the organization or individual that published the search parameter.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
1486     */
1487    public SearchParameter setPublisherElement(StringType value) { 
1488      this.publisher = value;
1489      return this;
1490    }
1491
1492    /**
1493     * @return The name of the organization or individual that published the search parameter.
1494     */
1495    public String getPublisher() { 
1496      return this.publisher == null ? null : this.publisher.getValue();
1497    }
1498
1499    /**
1500     * @param value The name of the organization or individual that published the search parameter.
1501     */
1502    public SearchParameter setPublisher(String value) { 
1503      if (Utilities.noString(value))
1504        this.publisher = null;
1505      else {
1506        if (this.publisher == null)
1507          this.publisher = new StringType();
1508        this.publisher.setValue(value);
1509      }
1510      return this;
1511    }
1512
1513    /**
1514     * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.)
1515     */
1516    public List<ContactDetail> getContact() { 
1517      if (this.contact == null)
1518        this.contact = new ArrayList<ContactDetail>();
1519      return this.contact;
1520    }
1521
1522    /**
1523     * @return Returns a reference to <code>this</code> for easy method chaining
1524     */
1525    public SearchParameter setContact(List<ContactDetail> theContact) { 
1526      this.contact = theContact;
1527      return this;
1528    }
1529
1530    public boolean hasContact() { 
1531      if (this.contact == null)
1532        return false;
1533      for (ContactDetail item : this.contact)
1534        if (!item.isEmpty())
1535          return true;
1536      return false;
1537    }
1538
1539    public ContactDetail addContact() { //3
1540      ContactDetail t = new ContactDetail();
1541      if (this.contact == null)
1542        this.contact = new ArrayList<ContactDetail>();
1543      this.contact.add(t);
1544      return t;
1545    }
1546
1547    public SearchParameter addContact(ContactDetail t) { //3
1548      if (t == null)
1549        return this;
1550      if (this.contact == null)
1551        this.contact = new ArrayList<ContactDetail>();
1552      this.contact.add(t);
1553      return this;
1554    }
1555
1556    /**
1557     * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3}
1558     */
1559    public ContactDetail getContactFirstRep() { 
1560      if (getContact().isEmpty()) {
1561        addContact();
1562      }
1563      return getContact().get(0);
1564    }
1565
1566    /**
1567     * @return {@link #description} (And how it used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
1568     */
1569    public MarkdownType getDescriptionElement() { 
1570      if (this.description == null)
1571        if (Configuration.errorOnAutoCreate())
1572          throw new Error("Attempt to auto-create SearchParameter.description");
1573        else if (Configuration.doAutoCreate())
1574          this.description = new MarkdownType(); // bb
1575      return this.description;
1576    }
1577
1578    public boolean hasDescriptionElement() { 
1579      return this.description != null && !this.description.isEmpty();
1580    }
1581
1582    public boolean hasDescription() { 
1583      return this.description != null && !this.description.isEmpty();
1584    }
1585
1586    /**
1587     * @param value {@link #description} (And how it used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
1588     */
1589    public SearchParameter setDescriptionElement(MarkdownType value) { 
1590      this.description = value;
1591      return this;
1592    }
1593
1594    /**
1595     * @return And how it used.
1596     */
1597    public String getDescription() { 
1598      return this.description == null ? null : this.description.getValue();
1599    }
1600
1601    /**
1602     * @param value And how it used.
1603     */
1604    public SearchParameter setDescription(String value) { 
1605        if (this.description == null)
1606          this.description = new MarkdownType();
1607        this.description.setValue(value);
1608      return this;
1609    }
1610
1611    /**
1612     * @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 search parameter instances.)
1613     */
1614    public List<UsageContext> getUseContext() { 
1615      if (this.useContext == null)
1616        this.useContext = new ArrayList<UsageContext>();
1617      return this.useContext;
1618    }
1619
1620    /**
1621     * @return Returns a reference to <code>this</code> for easy method chaining
1622     */
1623    public SearchParameter setUseContext(List<UsageContext> theUseContext) { 
1624      this.useContext = theUseContext;
1625      return this;
1626    }
1627
1628    public boolean hasUseContext() { 
1629      if (this.useContext == null)
1630        return false;
1631      for (UsageContext item : this.useContext)
1632        if (!item.isEmpty())
1633          return true;
1634      return false;
1635    }
1636
1637    public UsageContext addUseContext() { //3
1638      UsageContext t = new UsageContext();
1639      if (this.useContext == null)
1640        this.useContext = new ArrayList<UsageContext>();
1641      this.useContext.add(t);
1642      return t;
1643    }
1644
1645    public SearchParameter addUseContext(UsageContext t) { //3
1646      if (t == null)
1647        return this;
1648      if (this.useContext == null)
1649        this.useContext = new ArrayList<UsageContext>();
1650      this.useContext.add(t);
1651      return this;
1652    }
1653
1654    /**
1655     * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {3}
1656     */
1657    public UsageContext getUseContextFirstRep() { 
1658      if (getUseContext().isEmpty()) {
1659        addUseContext();
1660      }
1661      return getUseContext().get(0);
1662    }
1663
1664    /**
1665     * @return {@link #jurisdiction} (A legal or geographic region in which the search parameter is intended to be used.)
1666     */
1667    public List<CodeableConcept> getJurisdiction() { 
1668      if (this.jurisdiction == null)
1669        this.jurisdiction = new ArrayList<CodeableConcept>();
1670      return this.jurisdiction;
1671    }
1672
1673    /**
1674     * @return Returns a reference to <code>this</code> for easy method chaining
1675     */
1676    public SearchParameter setJurisdiction(List<CodeableConcept> theJurisdiction) { 
1677      this.jurisdiction = theJurisdiction;
1678      return this;
1679    }
1680
1681    public boolean hasJurisdiction() { 
1682      if (this.jurisdiction == null)
1683        return false;
1684      for (CodeableConcept item : this.jurisdiction)
1685        if (!item.isEmpty())
1686          return true;
1687      return false;
1688    }
1689
1690    public CodeableConcept addJurisdiction() { //3
1691      CodeableConcept t = new CodeableConcept();
1692      if (this.jurisdiction == null)
1693        this.jurisdiction = new ArrayList<CodeableConcept>();
1694      this.jurisdiction.add(t);
1695      return t;
1696    }
1697
1698    public SearchParameter addJurisdiction(CodeableConcept t) { //3
1699      if (t == null)
1700        return this;
1701      if (this.jurisdiction == null)
1702        this.jurisdiction = new ArrayList<CodeableConcept>();
1703      this.jurisdiction.add(t);
1704      return this;
1705    }
1706
1707    /**
1708     * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist {3}
1709     */
1710    public CodeableConcept getJurisdictionFirstRep() { 
1711      if (getJurisdiction().isEmpty()) {
1712        addJurisdiction();
1713      }
1714      return getJurisdiction().get(0);
1715    }
1716
1717    /**
1718     * @return {@link #purpose} (Explanation of why this search parameter 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
1719     */
1720    public MarkdownType getPurposeElement() { 
1721      if (this.purpose == null)
1722        if (Configuration.errorOnAutoCreate())
1723          throw new Error("Attempt to auto-create SearchParameter.purpose");
1724        else if (Configuration.doAutoCreate())
1725          this.purpose = new MarkdownType(); // bb
1726      return this.purpose;
1727    }
1728
1729    public boolean hasPurposeElement() { 
1730      return this.purpose != null && !this.purpose.isEmpty();
1731    }
1732
1733    public boolean hasPurpose() { 
1734      return this.purpose != null && !this.purpose.isEmpty();
1735    }
1736
1737    /**
1738     * @param value {@link #purpose} (Explanation of why this search parameter 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
1739     */
1740    public SearchParameter setPurposeElement(MarkdownType value) { 
1741      this.purpose = value;
1742      return this;
1743    }
1744
1745    /**
1746     * @return Explanation of why this search parameter is needed and why it has been designed as it has.
1747     */
1748    public String getPurpose() { 
1749      return this.purpose == null ? null : this.purpose.getValue();
1750    }
1751
1752    /**
1753     * @param value Explanation of why this search parameter is needed and why it has been designed as it has.
1754     */
1755    public SearchParameter setPurpose(String value) { 
1756      if (value == null)
1757        this.purpose = null;
1758      else {
1759        if (this.purpose == null)
1760          this.purpose = new MarkdownType();
1761        this.purpose.setValue(value);
1762      }
1763      return this;
1764    }
1765
1766    /**
1767     * @return {@link #code} (The code used in the URL or the parameter name in a parameters resource for this search parameter.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
1768     */
1769    public CodeType getCodeElement() { 
1770      if (this.code == null)
1771        if (Configuration.errorOnAutoCreate())
1772          throw new Error("Attempt to auto-create SearchParameter.code");
1773        else if (Configuration.doAutoCreate())
1774          this.code = new CodeType(); // bb
1775      return this.code;
1776    }
1777
1778    public boolean hasCodeElement() { 
1779      return this.code != null && !this.code.isEmpty();
1780    }
1781
1782    public boolean hasCode() { 
1783      return this.code != null && !this.code.isEmpty();
1784    }
1785
1786    /**
1787     * @param value {@link #code} (The code used in the URL or the parameter name in a parameters resource for this search parameter.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
1788     */
1789    public SearchParameter setCodeElement(CodeType value) { 
1790      this.code = value;
1791      return this;
1792    }
1793
1794    /**
1795     * @return The code used in the URL or the parameter name in a parameters resource for this search parameter.
1796     */
1797    public String getCode() { 
1798      return this.code == null ? null : this.code.getValue();
1799    }
1800
1801    /**
1802     * @param value The code used in the URL or the parameter name in a parameters resource for this search parameter.
1803     */
1804    public SearchParameter setCode(String value) { 
1805        if (this.code == null)
1806          this.code = new CodeType();
1807        this.code.setValue(value);
1808      return this;
1809    }
1810
1811    /**
1812     * @return {@link #base} (The base resource type(s) that this search parameter can be used against.)
1813     */
1814    public List<CodeType> getBase() { 
1815      if (this.base == null)
1816        this.base = new ArrayList<CodeType>();
1817      return this.base;
1818    }
1819
1820    /**
1821     * @return Returns a reference to <code>this</code> for easy method chaining
1822     */
1823    public SearchParameter setBase(List<CodeType> theBase) { 
1824      this.base = theBase;
1825      return this;
1826    }
1827
1828    public boolean hasBase() { 
1829      if (this.base == null)
1830        return false;
1831      for (CodeType item : this.base)
1832        if (!item.isEmpty())
1833          return true;
1834      return false;
1835    }
1836
1837    /**
1838     * @return {@link #base} (The base resource type(s) that this search parameter can be used against.)
1839     */
1840    public CodeType addBaseElement() {//2 
1841      CodeType t = new CodeType();
1842      if (this.base == null)
1843        this.base = new ArrayList<CodeType>();
1844      this.base.add(t);
1845      return t;
1846    }
1847
1848    /**
1849     * @param value {@link #base} (The base resource type(s) that this search parameter can be used against.)
1850     */
1851    public SearchParameter addBase(String value) { //1
1852      CodeType t = new CodeType();
1853      t.setValue(value);
1854      if (this.base == null)
1855        this.base = new ArrayList<CodeType>();
1856      this.base.add(t);
1857      return this;
1858    }
1859
1860    /**
1861     * @param value {@link #base} (The base resource type(s) that this search parameter can be used against.)
1862     */
1863    public boolean hasBase(String value) { 
1864      if (this.base == null)
1865        return false;
1866      for (CodeType v : this.base)
1867        if (v.getValue().equals(value)) // code
1868          return true;
1869      return false;
1870    }
1871
1872    /**
1873     * @return {@link #type} (The type of value that a search parameter may contain, and how the content is interpreted.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
1874     */
1875    public Enumeration<SearchParamType> getTypeElement() { 
1876      if (this.type == null)
1877        if (Configuration.errorOnAutoCreate())
1878          throw new Error("Attempt to auto-create SearchParameter.type");
1879        else if (Configuration.doAutoCreate())
1880          this.type = new Enumeration<SearchParamType>(new SearchParamTypeEnumFactory()); // bb
1881      return this.type;
1882    }
1883
1884    public boolean hasTypeElement() { 
1885      return this.type != null && !this.type.isEmpty();
1886    }
1887
1888    public boolean hasType() { 
1889      return this.type != null && !this.type.isEmpty();
1890    }
1891
1892    /**
1893     * @param value {@link #type} (The type of value that a search parameter may contain, and how the content is interpreted.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
1894     */
1895    public SearchParameter setTypeElement(Enumeration<SearchParamType> value) { 
1896      this.type = value;
1897      return this;
1898    }
1899
1900    /**
1901     * @return The type of value that a search parameter may contain, and how the content is interpreted.
1902     */
1903    public SearchParamType getType() { 
1904      return this.type == null ? null : this.type.getValue();
1905    }
1906
1907    /**
1908     * @param value The type of value that a search parameter may contain, and how the content is interpreted.
1909     */
1910    public SearchParameter setType(SearchParamType value) { 
1911        if (this.type == null)
1912          this.type = new Enumeration<SearchParamType>(new SearchParamTypeEnumFactory());
1913        this.type.setValue(value);
1914      return this;
1915    }
1916
1917    /**
1918     * @return {@link #expression} (A FHIRPath expression that returns a set of elements for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value
1919     */
1920    public StringType getExpressionElement() { 
1921      if (this.expression == null)
1922        if (Configuration.errorOnAutoCreate())
1923          throw new Error("Attempt to auto-create SearchParameter.expression");
1924        else if (Configuration.doAutoCreate())
1925          this.expression = new StringType(); // bb
1926      return this.expression;
1927    }
1928
1929    public boolean hasExpressionElement() { 
1930      return this.expression != null && !this.expression.isEmpty();
1931    }
1932
1933    public boolean hasExpression() { 
1934      return this.expression != null && !this.expression.isEmpty();
1935    }
1936
1937    /**
1938     * @param value {@link #expression} (A FHIRPath expression that returns a set of elements for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value
1939     */
1940    public SearchParameter setExpressionElement(StringType value) { 
1941      this.expression = value;
1942      return this;
1943    }
1944
1945    /**
1946     * @return A FHIRPath expression that returns a set of elements for the search parameter.
1947     */
1948    public String getExpression() { 
1949      return this.expression == null ? null : this.expression.getValue();
1950    }
1951
1952    /**
1953     * @param value A FHIRPath expression that returns a set of elements for the search parameter.
1954     */
1955    public SearchParameter setExpression(String value) { 
1956      if (Utilities.noString(value))
1957        this.expression = null;
1958      else {
1959        if (this.expression == null)
1960          this.expression = new StringType();
1961        this.expression.setValue(value);
1962      }
1963      return this;
1964    }
1965
1966    /**
1967     * @return {@link #xpath} (An XPath expression that returns a set of elements for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getXpath" gives direct access to the value
1968     */
1969    public StringType getXpathElement() { 
1970      if (this.xpath == null)
1971        if (Configuration.errorOnAutoCreate())
1972          throw new Error("Attempt to auto-create SearchParameter.xpath");
1973        else if (Configuration.doAutoCreate())
1974          this.xpath = new StringType(); // bb
1975      return this.xpath;
1976    }
1977
1978    public boolean hasXpathElement() { 
1979      return this.xpath != null && !this.xpath.isEmpty();
1980    }
1981
1982    public boolean hasXpath() { 
1983      return this.xpath != null && !this.xpath.isEmpty();
1984    }
1985
1986    /**
1987     * @param value {@link #xpath} (An XPath expression that returns a set of elements for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getXpath" gives direct access to the value
1988     */
1989    public SearchParameter setXpathElement(StringType value) { 
1990      this.xpath = value;
1991      return this;
1992    }
1993
1994    /**
1995     * @return An XPath expression that returns a set of elements for the search parameter.
1996     */
1997    public String getXpath() { 
1998      return this.xpath == null ? null : this.xpath.getValue();
1999    }
2000
2001    /**
2002     * @param value An XPath expression that returns a set of elements for the search parameter.
2003     */
2004    public SearchParameter setXpath(String value) { 
2005      if (Utilities.noString(value))
2006        this.xpath = null;
2007      else {
2008        if (this.xpath == null)
2009          this.xpath = new StringType();
2010        this.xpath.setValue(value);
2011      }
2012      return this;
2013    }
2014
2015    /**
2016     * @return {@link #xpathUsage} (How the search parameter relates to the set of elements returned by evaluating the xpath query.). This is the underlying object with id, value and extensions. The accessor "getXpathUsage" gives direct access to the value
2017     */
2018    public Enumeration<XPathUsageType> getXpathUsageElement() { 
2019      if (this.xpathUsage == null)
2020        if (Configuration.errorOnAutoCreate())
2021          throw new Error("Attempt to auto-create SearchParameter.xpathUsage");
2022        else if (Configuration.doAutoCreate())
2023          this.xpathUsage = new Enumeration<XPathUsageType>(new XPathUsageTypeEnumFactory()); // bb
2024      return this.xpathUsage;
2025    }
2026
2027    public boolean hasXpathUsageElement() { 
2028      return this.xpathUsage != null && !this.xpathUsage.isEmpty();
2029    }
2030
2031    public boolean hasXpathUsage() { 
2032      return this.xpathUsage != null && !this.xpathUsage.isEmpty();
2033    }
2034
2035    /**
2036     * @param value {@link #xpathUsage} (How the search parameter relates to the set of elements returned by evaluating the xpath query.). This is the underlying object with id, value and extensions. The accessor "getXpathUsage" gives direct access to the value
2037     */
2038    public SearchParameter setXpathUsageElement(Enumeration<XPathUsageType> value) { 
2039      this.xpathUsage = value;
2040      return this;
2041    }
2042
2043    /**
2044     * @return How the search parameter relates to the set of elements returned by evaluating the xpath query.
2045     */
2046    public XPathUsageType getXpathUsage() { 
2047      return this.xpathUsage == null ? null : this.xpathUsage.getValue();
2048    }
2049
2050    /**
2051     * @param value How the search parameter relates to the set of elements returned by evaluating the xpath query.
2052     */
2053    public SearchParameter setXpathUsage(XPathUsageType value) { 
2054      if (value == null)
2055        this.xpathUsage = null;
2056      else {
2057        if (this.xpathUsage == null)
2058          this.xpathUsage = new Enumeration<XPathUsageType>(new XPathUsageTypeEnumFactory());
2059        this.xpathUsage.setValue(value);
2060      }
2061      return this;
2062    }
2063
2064    /**
2065     * @return {@link #target} (Types of resource (if a resource is referenced).)
2066     */
2067    public List<CodeType> getTarget() { 
2068      if (this.target == null)
2069        this.target = new ArrayList<CodeType>();
2070      return this.target;
2071    }
2072
2073    /**
2074     * @return Returns a reference to <code>this</code> for easy method chaining
2075     */
2076    public SearchParameter setTarget(List<CodeType> theTarget) { 
2077      this.target = theTarget;
2078      return this;
2079    }
2080
2081    public boolean hasTarget() { 
2082      if (this.target == null)
2083        return false;
2084      for (CodeType item : this.target)
2085        if (!item.isEmpty())
2086          return true;
2087      return false;
2088    }
2089
2090    /**
2091     * @return {@link #target} (Types of resource (if a resource is referenced).)
2092     */
2093    public CodeType addTargetElement() {//2 
2094      CodeType t = new CodeType();
2095      if (this.target == null)
2096        this.target = new ArrayList<CodeType>();
2097      this.target.add(t);
2098      return t;
2099    }
2100
2101    /**
2102     * @param value {@link #target} (Types of resource (if a resource is referenced).)
2103     */
2104    public SearchParameter addTarget(String value) { //1
2105      CodeType t = new CodeType();
2106      t.setValue(value);
2107      if (this.target == null)
2108        this.target = new ArrayList<CodeType>();
2109      this.target.add(t);
2110      return this;
2111    }
2112
2113    /**
2114     * @param value {@link #target} (Types of resource (if a resource is referenced).)
2115     */
2116    public boolean hasTarget(String value) { 
2117      if (this.target == null)
2118        return false;
2119      for (CodeType v : this.target)
2120        if (v.getValue().equals(value)) // code
2121          return true;
2122      return false;
2123    }
2124
2125    /**
2126     * @return {@link #multipleOr} (Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match.). This is the underlying object with id, value and extensions. The accessor "getMultipleOr" gives direct access to the value
2127     */
2128    public BooleanType getMultipleOrElement() { 
2129      if (this.multipleOr == null)
2130        if (Configuration.errorOnAutoCreate())
2131          throw new Error("Attempt to auto-create SearchParameter.multipleOr");
2132        else if (Configuration.doAutoCreate())
2133          this.multipleOr = new BooleanType(); // bb
2134      return this.multipleOr;
2135    }
2136
2137    public boolean hasMultipleOrElement() { 
2138      return this.multipleOr != null && !this.multipleOr.isEmpty();
2139    }
2140
2141    public boolean hasMultipleOr() { 
2142      return this.multipleOr != null && !this.multipleOr.isEmpty();
2143    }
2144
2145    /**
2146     * @param value {@link #multipleOr} (Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match.). This is the underlying object with id, value and extensions. The accessor "getMultipleOr" gives direct access to the value
2147     */
2148    public SearchParameter setMultipleOrElement(BooleanType value) { 
2149      this.multipleOr = value;
2150      return this;
2151    }
2152
2153    /**
2154     * @return Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match.
2155     */
2156    public boolean getMultipleOr() { 
2157      return this.multipleOr == null || this.multipleOr.isEmpty() ? false : this.multipleOr.getValue();
2158    }
2159
2160    /**
2161     * @param value Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match.
2162     */
2163    public SearchParameter setMultipleOr(boolean value) { 
2164        if (this.multipleOr == null)
2165          this.multipleOr = new BooleanType();
2166        this.multipleOr.setValue(value);
2167      return this;
2168    }
2169
2170    /**
2171     * @return {@link #multipleAnd} (Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match.). This is the underlying object with id, value and extensions. The accessor "getMultipleAnd" gives direct access to the value
2172     */
2173    public BooleanType getMultipleAndElement() { 
2174      if (this.multipleAnd == null)
2175        if (Configuration.errorOnAutoCreate())
2176          throw new Error("Attempt to auto-create SearchParameter.multipleAnd");
2177        else if (Configuration.doAutoCreate())
2178          this.multipleAnd = new BooleanType(); // bb
2179      return this.multipleAnd;
2180    }
2181
2182    public boolean hasMultipleAndElement() { 
2183      return this.multipleAnd != null && !this.multipleAnd.isEmpty();
2184    }
2185
2186    public boolean hasMultipleAnd() { 
2187      return this.multipleAnd != null && !this.multipleAnd.isEmpty();
2188    }
2189
2190    /**
2191     * @param value {@link #multipleAnd} (Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match.). This is the underlying object with id, value and extensions. The accessor "getMultipleAnd" gives direct access to the value
2192     */
2193    public SearchParameter setMultipleAndElement(BooleanType value) { 
2194      this.multipleAnd = value;
2195      return this;
2196    }
2197
2198    /**
2199     * @return Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match.
2200     */
2201    public boolean getMultipleAnd() { 
2202      return this.multipleAnd == null || this.multipleAnd.isEmpty() ? false : this.multipleAnd.getValue();
2203    }
2204
2205    /**
2206     * @param value Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match.
2207     */
2208    public SearchParameter setMultipleAnd(boolean value) { 
2209        if (this.multipleAnd == null)
2210          this.multipleAnd = new BooleanType();
2211        this.multipleAnd.setValue(value);
2212      return this;
2213    }
2214
2215    /**
2216     * @return {@link #comparator} (Comparators supported for the search parameter.)
2217     */
2218    public List<Enumeration<SearchComparator>> getComparator() { 
2219      if (this.comparator == null)
2220        this.comparator = new ArrayList<Enumeration<SearchComparator>>();
2221      return this.comparator;
2222    }
2223
2224    /**
2225     * @return Returns a reference to <code>this</code> for easy method chaining
2226     */
2227    public SearchParameter setComparator(List<Enumeration<SearchComparator>> theComparator) { 
2228      this.comparator = theComparator;
2229      return this;
2230    }
2231
2232    public boolean hasComparator() { 
2233      if (this.comparator == null)
2234        return false;
2235      for (Enumeration<SearchComparator> item : this.comparator)
2236        if (!item.isEmpty())
2237          return true;
2238      return false;
2239    }
2240
2241    /**
2242     * @return {@link #comparator} (Comparators supported for the search parameter.)
2243     */
2244    public Enumeration<SearchComparator> addComparatorElement() {//2 
2245      Enumeration<SearchComparator> t = new Enumeration<SearchComparator>(new SearchComparatorEnumFactory());
2246      if (this.comparator == null)
2247        this.comparator = new ArrayList<Enumeration<SearchComparator>>();
2248      this.comparator.add(t);
2249      return t;
2250    }
2251
2252    /**
2253     * @param value {@link #comparator} (Comparators supported for the search parameter.)
2254     */
2255    public SearchParameter addComparator(SearchComparator value) { //1
2256      Enumeration<SearchComparator> t = new Enumeration<SearchComparator>(new SearchComparatorEnumFactory());
2257      t.setValue(value);
2258      if (this.comparator == null)
2259        this.comparator = new ArrayList<Enumeration<SearchComparator>>();
2260      this.comparator.add(t);
2261      return this;
2262    }
2263
2264    /**
2265     * @param value {@link #comparator} (Comparators supported for the search parameter.)
2266     */
2267    public boolean hasComparator(SearchComparator value) { 
2268      if (this.comparator == null)
2269        return false;
2270      for (Enumeration<SearchComparator> v : this.comparator)
2271        if (v.getValue().equals(value)) // code
2272          return true;
2273      return false;
2274    }
2275
2276    /**
2277     * @return {@link #modifier} (A modifier supported for the search parameter.)
2278     */
2279    public List<Enumeration<SearchModifierCode>> getModifier() { 
2280      if (this.modifier == null)
2281        this.modifier = new ArrayList<Enumeration<SearchModifierCode>>();
2282      return this.modifier;
2283    }
2284
2285    /**
2286     * @return Returns a reference to <code>this</code> for easy method chaining
2287     */
2288    public SearchParameter setModifier(List<Enumeration<SearchModifierCode>> theModifier) { 
2289      this.modifier = theModifier;
2290      return this;
2291    }
2292
2293    public boolean hasModifier() { 
2294      if (this.modifier == null)
2295        return false;
2296      for (Enumeration<SearchModifierCode> item : this.modifier)
2297        if (!item.isEmpty())
2298          return true;
2299      return false;
2300    }
2301
2302    /**
2303     * @return {@link #modifier} (A modifier supported for the search parameter.)
2304     */
2305    public Enumeration<SearchModifierCode> addModifierElement() {//2 
2306      Enumeration<SearchModifierCode> t = new Enumeration<SearchModifierCode>(new SearchModifierCodeEnumFactory());
2307      if (this.modifier == null)
2308        this.modifier = new ArrayList<Enumeration<SearchModifierCode>>();
2309      this.modifier.add(t);
2310      return t;
2311    }
2312
2313    /**
2314     * @param value {@link #modifier} (A modifier supported for the search parameter.)
2315     */
2316    public SearchParameter addModifier(SearchModifierCode value) { //1
2317      Enumeration<SearchModifierCode> t = new Enumeration<SearchModifierCode>(new SearchModifierCodeEnumFactory());
2318      t.setValue(value);
2319      if (this.modifier == null)
2320        this.modifier = new ArrayList<Enumeration<SearchModifierCode>>();
2321      this.modifier.add(t);
2322      return this;
2323    }
2324
2325    /**
2326     * @param value {@link #modifier} (A modifier supported for the search parameter.)
2327     */
2328    public boolean hasModifier(SearchModifierCode value) { 
2329      if (this.modifier == null)
2330        return false;
2331      for (Enumeration<SearchModifierCode> v : this.modifier)
2332        if (v.getValue().equals(value)) // code
2333          return true;
2334      return false;
2335    }
2336
2337    /**
2338     * @return {@link #chain} (Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type.)
2339     */
2340    public List<StringType> getChain() { 
2341      if (this.chain == null)
2342        this.chain = new ArrayList<StringType>();
2343      return this.chain;
2344    }
2345
2346    /**
2347     * @return Returns a reference to <code>this</code> for easy method chaining
2348     */
2349    public SearchParameter setChain(List<StringType> theChain) { 
2350      this.chain = theChain;
2351      return this;
2352    }
2353
2354    public boolean hasChain() { 
2355      if (this.chain == null)
2356        return false;
2357      for (StringType item : this.chain)
2358        if (!item.isEmpty())
2359          return true;
2360      return false;
2361    }
2362
2363    /**
2364     * @return {@link #chain} (Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type.)
2365     */
2366    public StringType addChainElement() {//2 
2367      StringType t = new StringType();
2368      if (this.chain == null)
2369        this.chain = new ArrayList<StringType>();
2370      this.chain.add(t);
2371      return t;
2372    }
2373
2374    /**
2375     * @param value {@link #chain} (Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type.)
2376     */
2377    public SearchParameter addChain(String value) { //1
2378      StringType t = new StringType();
2379      t.setValue(value);
2380      if (this.chain == null)
2381        this.chain = new ArrayList<StringType>();
2382      this.chain.add(t);
2383      return this;
2384    }
2385
2386    /**
2387     * @param value {@link #chain} (Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type.)
2388     */
2389    public boolean hasChain(String value) { 
2390      if (this.chain == null)
2391        return false;
2392      for (StringType v : this.chain)
2393        if (v.getValue().equals(value)) // string
2394          return true;
2395      return false;
2396    }
2397
2398    /**
2399     * @return {@link #component} (Used to define the parts of a composite search parameter.)
2400     */
2401    public List<SearchParameterComponentComponent> getComponent() { 
2402      if (this.component == null)
2403        this.component = new ArrayList<SearchParameterComponentComponent>();
2404      return this.component;
2405    }
2406
2407    /**
2408     * @return Returns a reference to <code>this</code> for easy method chaining
2409     */
2410    public SearchParameter setComponent(List<SearchParameterComponentComponent> theComponent) { 
2411      this.component = theComponent;
2412      return this;
2413    }
2414
2415    public boolean hasComponent() { 
2416      if (this.component == null)
2417        return false;
2418      for (SearchParameterComponentComponent item : this.component)
2419        if (!item.isEmpty())
2420          return true;
2421      return false;
2422    }
2423
2424    public SearchParameterComponentComponent addComponent() { //3
2425      SearchParameterComponentComponent t = new SearchParameterComponentComponent();
2426      if (this.component == null)
2427        this.component = new ArrayList<SearchParameterComponentComponent>();
2428      this.component.add(t);
2429      return t;
2430    }
2431
2432    public SearchParameter addComponent(SearchParameterComponentComponent t) { //3
2433      if (t == null)
2434        return this;
2435      if (this.component == null)
2436        this.component = new ArrayList<SearchParameterComponentComponent>();
2437      this.component.add(t);
2438      return this;
2439    }
2440
2441    /**
2442     * @return The first repetition of repeating field {@link #component}, creating it if it does not already exist {3}
2443     */
2444    public SearchParameterComponentComponent getComponentFirstRep() { 
2445      if (getComponent().isEmpty()) {
2446        addComponent();
2447      }
2448      return getComponent().get(0);
2449    }
2450
2451    /**
2452     * not supported on this implementation
2453     */
2454    @Override
2455    public int getIdentifierMax() { 
2456      return 0;
2457    }
2458    /**
2459     * @return {@link #identifier} (A formal identifier that is used to identify this search parameter when it is represented in other formats, or referenced in a specification, model, design or an instance.)
2460     */
2461    public List<Identifier> getIdentifier() { 
2462      return new ArrayList<>();
2463    }
2464    /**
2465     * @return Returns a reference to <code>this</code> for easy method chaining
2466     */
2467    public SearchParameter setIdentifier(List<Identifier> theIdentifier) { 
2468      throw new Error("The resource type \"SearchParameter\" does not implement the property \"identifier\"");
2469    }
2470    public boolean hasIdentifier() { 
2471      return false;
2472    }
2473
2474    public Identifier addIdentifier() { //3
2475      throw new Error("The resource type \"SearchParameter\" does not implement the property \"identifier\"");
2476    }
2477    public SearchParameter addIdentifier(Identifier t) { //3
2478      throw new Error("The resource type \"SearchParameter\" does not implement the property \"identifier\"");
2479    }
2480    /**
2481     * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {2}
2482     */
2483    public Identifier getIdentifierFirstRep() { 
2484      throw new Error("The resource type \"SearchParameter\" does not implement the property \"identifier\"");
2485    }
2486    /**
2487     * not supported on this implementation
2488     */
2489    @Override
2490    public int getTitleMax() { 
2491      return 0;
2492    }
2493    /**
2494     * @return {@link #title} (A short, descriptive, user-friendly title for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
2495     */
2496    public StringType getTitleElement() { 
2497      throw new Error("The resource type \"SearchParameter\" does not implement the property \"title\"");
2498    }
2499
2500    public boolean hasTitleElement() { 
2501      return false;
2502    }
2503    public boolean hasTitle() {
2504      return false;
2505    }
2506
2507    /**
2508     * @param value {@link #title} (A short, descriptive, user-friendly title for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
2509     */
2510    public SearchParameter setTitleElement(StringType value) { 
2511      throw new Error("The resource type \"SearchParameter\" does not implement the property \"title\"");
2512    }
2513    public String getTitle() { 
2514      throw new Error("The resource type \"SearchParameter\" does not implement the property \"title\"");
2515    }
2516    /**
2517     * @param value A short, descriptive, user-friendly title for the search parameter.
2518     */
2519    public SearchParameter setTitle(String value) { 
2520      throw new Error("The resource type \"SearchParameter\" does not implement the property \"title\"");
2521    }
2522    /**
2523     * not supported on this implementation
2524     */
2525    @Override
2526    public int getCopyrightMax() { 
2527      return 0;
2528    }
2529    /**
2530     * @return {@link #copyright} (A copyright statement relating to the search parameter and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the search parameter.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
2531     */
2532    public MarkdownType getCopyrightElement() { 
2533      throw new Error("The resource type \"SearchParameter\" does not implement the property \"copyright\"");
2534    }
2535
2536    public boolean hasCopyrightElement() { 
2537      return false;
2538    }
2539    public boolean hasCopyright() {
2540      return false;
2541    }
2542
2543    /**
2544     * @param value {@link #copyright} (A copyright statement relating to the search parameter and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the search parameter.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
2545     */
2546    public SearchParameter setCopyrightElement(MarkdownType value) { 
2547      throw new Error("The resource type \"SearchParameter\" does not implement the property \"copyright\"");
2548    }
2549    public String getCopyright() { 
2550      throw new Error("The resource type \"SearchParameter\" does not implement the property \"copyright\"");
2551    }
2552    /**
2553     * @param value A copyright statement relating to the search parameter and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the search parameter.
2554     */
2555    public SearchParameter setCopyright(String value) { 
2556      throw new Error("The resource type \"SearchParameter\" does not implement the property \"copyright\"");
2557    }
2558      protected void listChildren(List<Property> children) {
2559        super.listChildren(children);
2560        children.add(new Property("url", "uri", "An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.", 0, 1, url));
2561        children.add(new Property("version", "string", "The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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.", 0, 1, version));
2562        children.add(new Property("name", "string", "A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name));
2563        children.add(new Property("derivedFrom", "canonical(SearchParameter)", "Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.", 0, 1, derivedFrom));
2564        children.add(new Property("status", "code", "The status of this search parameter. Enables tracking the life-cycle of the content.", 0, 1, status));
2565        children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental));
2566        children.add(new Property("date", "dateTime", "The date  (and optionally time) when the search parameter 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 search parameter changes.", 0, 1, date));
2567        children.add(new Property("publisher", "string", "The name of the organization or individual that published the search parameter.", 0, 1, publisher));
2568        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));
2569        children.add(new Property("description", "markdown", "And how it used.", 0, 1, description));
2570        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 search parameter instances.", 0, java.lang.Integer.MAX_VALUE, useContext));
2571        children.add(new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the search parameter is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction));
2572        children.add(new Property("purpose", "markdown", "Explanation of why this search parameter is needed and why it has been designed as it has.", 0, 1, purpose));
2573        children.add(new Property("code", "code", "The code used in the URL or the parameter name in a parameters resource for this search parameter.", 0, 1, code));
2574        children.add(new Property("base", "code", "The base resource type(s) that this search parameter can be used against.", 0, java.lang.Integer.MAX_VALUE, base));
2575        children.add(new Property("type", "code", "The type of value that a search parameter may contain, and how the content is interpreted.", 0, 1, type));
2576        children.add(new Property("expression", "string", "A FHIRPath expression that returns a set of elements for the search parameter.", 0, 1, expression));
2577        children.add(new Property("xpath", "string", "An XPath expression that returns a set of elements for the search parameter.", 0, 1, xpath));
2578        children.add(new Property("xpathUsage", "code", "How the search parameter relates to the set of elements returned by evaluating the xpath query.", 0, 1, xpathUsage));
2579        children.add(new Property("target", "code", "Types of resource (if a resource is referenced).", 0, java.lang.Integer.MAX_VALUE, target));
2580        children.add(new Property("multipleOr", "boolean", "Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match.", 0, 1, multipleOr));
2581        children.add(new Property("multipleAnd", "boolean", "Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match.", 0, 1, multipleAnd));
2582        children.add(new Property("comparator", "code", "Comparators supported for the search parameter.", 0, java.lang.Integer.MAX_VALUE, comparator));
2583        children.add(new Property("modifier", "code", "A modifier supported for the search parameter.", 0, java.lang.Integer.MAX_VALUE, modifier));
2584        children.add(new Property("chain", "string", "Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type.", 0, java.lang.Integer.MAX_VALUE, chain));
2585        children.add(new Property("component", "", "Used to define the parts of a composite search parameter.", 0, java.lang.Integer.MAX_VALUE, component));
2586      }
2587
2588      @Override
2589      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
2590        switch (_hash) {
2591        case 116079: /*url*/  return new Property("url", "uri", "An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.", 0, 1, url);
2592        case 351608024: /*version*/  return new Property("version", "string", "The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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.", 0, 1, version);
2593        case 3373707: /*name*/  return new Property("name", "string", "A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name);
2594        case 1077922663: /*derivedFrom*/  return new Property("derivedFrom", "canonical(SearchParameter)", "Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.", 0, 1, derivedFrom);
2595        case -892481550: /*status*/  return new Property("status", "code", "The status of this search parameter. Enables tracking the life-cycle of the content.", 0, 1, status);
2596        case -404562712: /*experimental*/  return new Property("experimental", "boolean", "A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental);
2597        case 3076014: /*date*/  return new Property("date", "dateTime", "The date  (and optionally time) when the search parameter 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 search parameter changes.", 0, 1, date);
2598        case 1447404028: /*publisher*/  return new Property("publisher", "string", "The name of the organization or individual that published the search parameter.", 0, 1, publisher);
2599        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);
2600        case -1724546052: /*description*/  return new Property("description", "markdown", "And how it used.", 0, 1, description);
2601        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 search parameter instances.", 0, java.lang.Integer.MAX_VALUE, useContext);
2602        case -507075711: /*jurisdiction*/  return new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the search parameter is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction);
2603        case -220463842: /*purpose*/  return new Property("purpose", "markdown", "Explanation of why this search parameter is needed and why it has been designed as it has.", 0, 1, purpose);
2604        case 3059181: /*code*/  return new Property("code", "code", "The code used in the URL or the parameter name in a parameters resource for this search parameter.", 0, 1, code);
2605        case 3016401: /*base*/  return new Property("base", "code", "The base resource type(s) that this search parameter can be used against.", 0, java.lang.Integer.MAX_VALUE, base);
2606        case 3575610: /*type*/  return new Property("type", "code", "The type of value that a search parameter may contain, and how the content is interpreted.", 0, 1, type);
2607        case -1795452264: /*expression*/  return new Property("expression", "string", "A FHIRPath expression that returns a set of elements for the search parameter.", 0, 1, expression);
2608        case 114256029: /*xpath*/  return new Property("xpath", "string", "An XPath expression that returns a set of elements for the search parameter.", 0, 1, xpath);
2609        case 1801322244: /*xpathUsage*/  return new Property("xpathUsage", "code", "How the search parameter relates to the set of elements returned by evaluating the xpath query.", 0, 1, xpathUsage);
2610        case -880905839: /*target*/  return new Property("target", "code", "Types of resource (if a resource is referenced).", 0, java.lang.Integer.MAX_VALUE, target);
2611        case 1265069075: /*multipleOr*/  return new Property("multipleOr", "boolean", "Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match.", 0, 1, multipleOr);
2612        case 562422183: /*multipleAnd*/  return new Property("multipleAnd", "boolean", "Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match.", 0, 1, multipleAnd);
2613        case -844673834: /*comparator*/  return new Property("comparator", "code", "Comparators supported for the search parameter.", 0, java.lang.Integer.MAX_VALUE, comparator);
2614        case -615513385: /*modifier*/  return new Property("modifier", "code", "A modifier supported for the search parameter.", 0, java.lang.Integer.MAX_VALUE, modifier);
2615        case 94623425: /*chain*/  return new Property("chain", "string", "Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type.", 0, java.lang.Integer.MAX_VALUE, chain);
2616        case -1399907075: /*component*/  return new Property("component", "", "Used to define the parts of a composite search parameter.", 0, java.lang.Integer.MAX_VALUE, component);
2617        default: return super.getNamedProperty(_hash, _name, _checkValid);
2618        }
2619
2620      }
2621
2622      @Override
2623      public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
2624        switch (hash) {
2625        case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType
2626        case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType
2627        case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType
2628        case 1077922663: /*derivedFrom*/ return this.derivedFrom == null ? new Base[0] : new Base[] {this.derivedFrom}; // CanonicalType
2629        case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<PublicationStatus>
2630        case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType
2631        case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType
2632        case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType
2633        case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail
2634        case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType
2635        case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext
2636        case -507075711: /*jurisdiction*/ return this.jurisdiction == null ? new Base[0] : this.jurisdiction.toArray(new Base[this.jurisdiction.size()]); // CodeableConcept
2637        case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // MarkdownType
2638        case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType
2639        case 3016401: /*base*/ return this.base == null ? new Base[0] : this.base.toArray(new Base[this.base.size()]); // CodeType
2640        case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration<SearchParamType>
2641        case -1795452264: /*expression*/ return this.expression == null ? new Base[0] : new Base[] {this.expression}; // StringType
2642        case 114256029: /*xpath*/ return this.xpath == null ? new Base[0] : new Base[] {this.xpath}; // StringType
2643        case 1801322244: /*xpathUsage*/ return this.xpathUsage == null ? new Base[0] : new Base[] {this.xpathUsage}; // Enumeration<XPathUsageType>
2644        case -880905839: /*target*/ return this.target == null ? new Base[0] : this.target.toArray(new Base[this.target.size()]); // CodeType
2645        case 1265069075: /*multipleOr*/ return this.multipleOr == null ? new Base[0] : new Base[] {this.multipleOr}; // BooleanType
2646        case 562422183: /*multipleAnd*/ return this.multipleAnd == null ? new Base[0] : new Base[] {this.multipleAnd}; // BooleanType
2647        case -844673834: /*comparator*/ return this.comparator == null ? new Base[0] : this.comparator.toArray(new Base[this.comparator.size()]); // Enumeration<SearchComparator>
2648        case -615513385: /*modifier*/ return this.modifier == null ? new Base[0] : this.modifier.toArray(new Base[this.modifier.size()]); // Enumeration<SearchModifierCode>
2649        case 94623425: /*chain*/ return this.chain == null ? new Base[0] : this.chain.toArray(new Base[this.chain.size()]); // StringType
2650        case -1399907075: /*component*/ return this.component == null ? new Base[0] : this.component.toArray(new Base[this.component.size()]); // SearchParameterComponentComponent
2651        default: return super.getProperty(hash, name, checkValid);
2652        }
2653
2654      }
2655
2656      @Override
2657      public Base setProperty(int hash, String name, Base value) throws FHIRException {
2658        switch (hash) {
2659        case 116079: // url
2660          this.url = TypeConvertor.castToUri(value); // UriType
2661          return value;
2662        case 351608024: // version
2663          this.version = TypeConvertor.castToString(value); // StringType
2664          return value;
2665        case 3373707: // name
2666          this.name = TypeConvertor.castToString(value); // StringType
2667          return value;
2668        case 1077922663: // derivedFrom
2669          this.derivedFrom = TypeConvertor.castToCanonical(value); // CanonicalType
2670          return value;
2671        case -892481550: // status
2672          value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
2673          this.status = (Enumeration) value; // Enumeration<PublicationStatus>
2674          return value;
2675        case -404562712: // experimental
2676          this.experimental = TypeConvertor.castToBoolean(value); // BooleanType
2677          return value;
2678        case 3076014: // date
2679          this.date = TypeConvertor.castToDateTime(value); // DateTimeType
2680          return value;
2681        case 1447404028: // publisher
2682          this.publisher = TypeConvertor.castToString(value); // StringType
2683          return value;
2684        case 951526432: // contact
2685          this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail
2686          return value;
2687        case -1724546052: // description
2688          this.description = TypeConvertor.castToMarkdown(value); // MarkdownType
2689          return value;
2690        case -669707736: // useContext
2691          this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext
2692          return value;
2693        case -507075711: // jurisdiction
2694          this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept
2695          return value;
2696        case -220463842: // purpose
2697          this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType
2698          return value;
2699        case 3059181: // code
2700          this.code = TypeConvertor.castToCode(value); // CodeType
2701          return value;
2702        case 3016401: // base
2703          this.getBase().add(TypeConvertor.castToCode(value)); // CodeType
2704          return value;
2705        case 3575610: // type
2706          value = new SearchParamTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
2707          this.type = (Enumeration) value; // Enumeration<SearchParamType>
2708          return value;
2709        case -1795452264: // expression
2710          this.expression = TypeConvertor.castToString(value); // StringType
2711          return value;
2712        case 114256029: // xpath
2713          this.xpath = TypeConvertor.castToString(value); // StringType
2714          return value;
2715        case 1801322244: // xpathUsage
2716          value = new XPathUsageTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
2717          this.xpathUsage = (Enumeration) value; // Enumeration<XPathUsageType>
2718          return value;
2719        case -880905839: // target
2720          this.getTarget().add(TypeConvertor.castToCode(value)); // CodeType
2721          return value;
2722        case 1265069075: // multipleOr
2723          this.multipleOr = TypeConvertor.castToBoolean(value); // BooleanType
2724          return value;
2725        case 562422183: // multipleAnd
2726          this.multipleAnd = TypeConvertor.castToBoolean(value); // BooleanType
2727          return value;
2728        case -844673834: // comparator
2729          value = new SearchComparatorEnumFactory().fromType(TypeConvertor.castToCode(value));
2730          this.getComparator().add((Enumeration) value); // Enumeration<SearchComparator>
2731          return value;
2732        case -615513385: // modifier
2733          value = new SearchModifierCodeEnumFactory().fromType(TypeConvertor.castToCode(value));
2734          this.getModifier().add((Enumeration) value); // Enumeration<SearchModifierCode>
2735          return value;
2736        case 94623425: // chain
2737          this.getChain().add(TypeConvertor.castToString(value)); // StringType
2738          return value;
2739        case -1399907075: // component
2740          this.getComponent().add((SearchParameterComponentComponent) value); // SearchParameterComponentComponent
2741          return value;
2742        default: return super.setProperty(hash, name, value);
2743        }
2744
2745      }
2746
2747      @Override
2748      public Base setProperty(String name, Base value) throws FHIRException {
2749        if (name.equals("url")) {
2750          this.url = TypeConvertor.castToUri(value); // UriType
2751        } else if (name.equals("version")) {
2752          this.version = TypeConvertor.castToString(value); // StringType
2753        } else if (name.equals("name")) {
2754          this.name = TypeConvertor.castToString(value); // StringType
2755        } else if (name.equals("derivedFrom")) {
2756          this.derivedFrom = TypeConvertor.castToCanonical(value); // CanonicalType
2757        } else if (name.equals("status")) {
2758          value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
2759          this.status = (Enumeration) value; // Enumeration<PublicationStatus>
2760        } else if (name.equals("experimental")) {
2761          this.experimental = TypeConvertor.castToBoolean(value); // BooleanType
2762        } else if (name.equals("date")) {
2763          this.date = TypeConvertor.castToDateTime(value); // DateTimeType
2764        } else if (name.equals("publisher")) {
2765          this.publisher = TypeConvertor.castToString(value); // StringType
2766        } else if (name.equals("contact")) {
2767          this.getContact().add(TypeConvertor.castToContactDetail(value));
2768        } else if (name.equals("description")) {
2769          this.description = TypeConvertor.castToMarkdown(value); // MarkdownType
2770        } else if (name.equals("useContext")) {
2771          this.getUseContext().add(TypeConvertor.castToUsageContext(value));
2772        } else if (name.equals("jurisdiction")) {
2773          this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value));
2774        } else if (name.equals("purpose")) {
2775          this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType
2776        } else if (name.equals("code")) {
2777          this.code = TypeConvertor.castToCode(value); // CodeType
2778        } else if (name.equals("base")) {
2779          this.getBase().add(TypeConvertor.castToCode(value));
2780        } else if (name.equals("type")) {
2781          value = new SearchParamTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
2782          this.type = (Enumeration) value; // Enumeration<SearchParamType>
2783        } else if (name.equals("expression")) {
2784          this.expression = TypeConvertor.castToString(value); // StringType
2785        } else if (name.equals("xpath")) {
2786          this.xpath = TypeConvertor.castToString(value); // StringType
2787        } else if (name.equals("xpathUsage")) {
2788          value = new XPathUsageTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
2789          this.xpathUsage = (Enumeration) value; // Enumeration<XPathUsageType>
2790        } else if (name.equals("target")) {
2791          this.getTarget().add(TypeConvertor.castToCode(value));
2792        } else if (name.equals("multipleOr")) {
2793          this.multipleOr = TypeConvertor.castToBoolean(value); // BooleanType
2794        } else if (name.equals("multipleAnd")) {
2795          this.multipleAnd = TypeConvertor.castToBoolean(value); // BooleanType
2796        } else if (name.equals("comparator")) {
2797          value = new SearchComparatorEnumFactory().fromType(TypeConvertor.castToCode(value));
2798          this.getComparator().add((Enumeration) value);
2799        } else if (name.equals("modifier")) {
2800          value = new SearchModifierCodeEnumFactory().fromType(TypeConvertor.castToCode(value));
2801          this.getModifier().add((Enumeration) value);
2802        } else if (name.equals("chain")) {
2803          this.getChain().add(TypeConvertor.castToString(value));
2804        } else if (name.equals("component")) {
2805          this.getComponent().add((SearchParameterComponentComponent) value);
2806        } else
2807          return super.setProperty(name, value);
2808        return value;
2809      }
2810
2811      @Override
2812      public Base makeProperty(int hash, String name) throws FHIRException {
2813        switch (hash) {
2814        case 116079:  return getUrlElement();
2815        case 351608024:  return getVersionElement();
2816        case 3373707:  return getNameElement();
2817        case 1077922663:  return getDerivedFromElement();
2818        case -892481550:  return getStatusElement();
2819        case -404562712:  return getExperimentalElement();
2820        case 3076014:  return getDateElement();
2821        case 1447404028:  return getPublisherElement();
2822        case 951526432:  return addContact(); 
2823        case -1724546052:  return getDescriptionElement();
2824        case -669707736:  return addUseContext(); 
2825        case -507075711:  return addJurisdiction(); 
2826        case -220463842:  return getPurposeElement();
2827        case 3059181:  return getCodeElement();
2828        case 3016401:  return addBaseElement();
2829        case 3575610:  return getTypeElement();
2830        case -1795452264:  return getExpressionElement();
2831        case 114256029:  return getXpathElement();
2832        case 1801322244:  return getXpathUsageElement();
2833        case -880905839:  return addTargetElement();
2834        case 1265069075:  return getMultipleOrElement();
2835        case 562422183:  return getMultipleAndElement();
2836        case -844673834:  return addComparatorElement();
2837        case -615513385:  return addModifierElement();
2838        case 94623425:  return addChainElement();
2839        case -1399907075:  return addComponent(); 
2840        default: return super.makeProperty(hash, name);
2841        }
2842
2843      }
2844
2845      @Override
2846      public String[] getTypesForProperty(int hash, String name) throws FHIRException {
2847        switch (hash) {
2848        case 116079: /*url*/ return new String[] {"uri"};
2849        case 351608024: /*version*/ return new String[] {"string"};
2850        case 3373707: /*name*/ return new String[] {"string"};
2851        case 1077922663: /*derivedFrom*/ return new String[] {"canonical"};
2852        case -892481550: /*status*/ return new String[] {"code"};
2853        case -404562712: /*experimental*/ return new String[] {"boolean"};
2854        case 3076014: /*date*/ return new String[] {"dateTime"};
2855        case 1447404028: /*publisher*/ return new String[] {"string"};
2856        case 951526432: /*contact*/ return new String[] {"ContactDetail"};
2857        case -1724546052: /*description*/ return new String[] {"markdown"};
2858        case -669707736: /*useContext*/ return new String[] {"UsageContext"};
2859        case -507075711: /*jurisdiction*/ return new String[] {"CodeableConcept"};
2860        case -220463842: /*purpose*/ return new String[] {"markdown"};
2861        case 3059181: /*code*/ return new String[] {"code"};
2862        case 3016401: /*base*/ return new String[] {"code"};
2863        case 3575610: /*type*/ return new String[] {"code"};
2864        case -1795452264: /*expression*/ return new String[] {"string"};
2865        case 114256029: /*xpath*/ return new String[] {"string"};
2866        case 1801322244: /*xpathUsage*/ return new String[] {"code"};
2867        case -880905839: /*target*/ return new String[] {"code"};
2868        case 1265069075: /*multipleOr*/ return new String[] {"boolean"};
2869        case 562422183: /*multipleAnd*/ return new String[] {"boolean"};
2870        case -844673834: /*comparator*/ return new String[] {"code"};
2871        case -615513385: /*modifier*/ return new String[] {"code"};
2872        case 94623425: /*chain*/ return new String[] {"string"};
2873        case -1399907075: /*component*/ return new String[] {};
2874        default: return super.getTypesForProperty(hash, name);
2875        }
2876
2877      }
2878
2879      @Override
2880      public Base addChild(String name) throws FHIRException {
2881        if (name.equals("url")) {
2882          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.url");
2883        }
2884        else if (name.equals("version")) {
2885          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.version");
2886        }
2887        else if (name.equals("name")) {
2888          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.name");
2889        }
2890        else if (name.equals("derivedFrom")) {
2891          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.derivedFrom");
2892        }
2893        else if (name.equals("status")) {
2894          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.status");
2895        }
2896        else if (name.equals("experimental")) {
2897          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.experimental");
2898        }
2899        else if (name.equals("date")) {
2900          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.date");
2901        }
2902        else if (name.equals("publisher")) {
2903          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.publisher");
2904        }
2905        else if (name.equals("contact")) {
2906          return addContact();
2907        }
2908        else if (name.equals("description")) {
2909          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.description");
2910        }
2911        else if (name.equals("useContext")) {
2912          return addUseContext();
2913        }
2914        else if (name.equals("jurisdiction")) {
2915          return addJurisdiction();
2916        }
2917        else if (name.equals("purpose")) {
2918          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.purpose");
2919        }
2920        else if (name.equals("code")) {
2921          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.code");
2922        }
2923        else if (name.equals("base")) {
2924          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.base");
2925        }
2926        else if (name.equals("type")) {
2927          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.type");
2928        }
2929        else if (name.equals("expression")) {
2930          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.expression");
2931        }
2932        else if (name.equals("xpath")) {
2933          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.xpath");
2934        }
2935        else if (name.equals("xpathUsage")) {
2936          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.xpathUsage");
2937        }
2938        else if (name.equals("target")) {
2939          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.target");
2940        }
2941        else if (name.equals("multipleOr")) {
2942          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.multipleOr");
2943        }
2944        else if (name.equals("multipleAnd")) {
2945          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.multipleAnd");
2946        }
2947        else if (name.equals("comparator")) {
2948          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.comparator");
2949        }
2950        else if (name.equals("modifier")) {
2951          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.modifier");
2952        }
2953        else if (name.equals("chain")) {
2954          throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.chain");
2955        }
2956        else if (name.equals("component")) {
2957          return addComponent();
2958        }
2959        else
2960          return super.addChild(name);
2961      }
2962
2963  public String fhirType() {
2964    return "SearchParameter";
2965
2966  }
2967
2968      public SearchParameter copy() {
2969        SearchParameter dst = new SearchParameter();
2970        copyValues(dst);
2971        return dst;
2972      }
2973
2974      public void copyValues(SearchParameter dst) {
2975        super.copyValues(dst);
2976        dst.url = url == null ? null : url.copy();
2977        dst.version = version == null ? null : version.copy();
2978        dst.name = name == null ? null : name.copy();
2979        dst.derivedFrom = derivedFrom == null ? null : derivedFrom.copy();
2980        dst.status = status == null ? null : status.copy();
2981        dst.experimental = experimental == null ? null : experimental.copy();
2982        dst.date = date == null ? null : date.copy();
2983        dst.publisher = publisher == null ? null : publisher.copy();
2984        if (contact != null) {
2985          dst.contact = new ArrayList<ContactDetail>();
2986          for (ContactDetail i : contact)
2987            dst.contact.add(i.copy());
2988        };
2989        dst.description = description == null ? null : description.copy();
2990        if (useContext != null) {
2991          dst.useContext = new ArrayList<UsageContext>();
2992          for (UsageContext i : useContext)
2993            dst.useContext.add(i.copy());
2994        };
2995        if (jurisdiction != null) {
2996          dst.jurisdiction = new ArrayList<CodeableConcept>();
2997          for (CodeableConcept i : jurisdiction)
2998            dst.jurisdiction.add(i.copy());
2999        };
3000        dst.purpose = purpose == null ? null : purpose.copy();
3001        dst.code = code == null ? null : code.copy();
3002        if (base != null) {
3003          dst.base = new ArrayList<CodeType>();
3004          for (CodeType i : base)
3005            dst.base.add(i.copy());
3006        };
3007        dst.type = type == null ? null : type.copy();
3008        dst.expression = expression == null ? null : expression.copy();
3009        dst.xpath = xpath == null ? null : xpath.copy();
3010        dst.xpathUsage = xpathUsage == null ? null : xpathUsage.copy();
3011        if (target != null) {
3012          dst.target = new ArrayList<CodeType>();
3013          for (CodeType i : target)
3014            dst.target.add(i.copy());
3015        };
3016        dst.multipleOr = multipleOr == null ? null : multipleOr.copy();
3017        dst.multipleAnd = multipleAnd == null ? null : multipleAnd.copy();
3018        if (comparator != null) {
3019          dst.comparator = new ArrayList<Enumeration<SearchComparator>>();
3020          for (Enumeration<SearchComparator> i : comparator)
3021            dst.comparator.add(i.copy());
3022        };
3023        if (modifier != null) {
3024          dst.modifier = new ArrayList<Enumeration<SearchModifierCode>>();
3025          for (Enumeration<SearchModifierCode> i : modifier)
3026            dst.modifier.add(i.copy());
3027        };
3028        if (chain != null) {
3029          dst.chain = new ArrayList<StringType>();
3030          for (StringType i : chain)
3031            dst.chain.add(i.copy());
3032        };
3033        if (component != null) {
3034          dst.component = new ArrayList<SearchParameterComponentComponent>();
3035          for (SearchParameterComponentComponent i : component)
3036            dst.component.add(i.copy());
3037        };
3038      }
3039
3040      protected SearchParameter typedCopy() {
3041        return copy();
3042      }
3043
3044      @Override
3045      public boolean equalsDeep(Base other_) {
3046        if (!super.equalsDeep(other_))
3047          return false;
3048        if (!(other_ instanceof SearchParameter))
3049          return false;
3050        SearchParameter o = (SearchParameter) other_;
3051        return compareDeep(url, o.url, true) && compareDeep(version, o.version, true) && compareDeep(name, o.name, true)
3052           && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(status, o.status, true) && compareDeep(experimental, o.experimental, true)
3053           && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true)
3054           && compareDeep(description, o.description, true) && compareDeep(useContext, o.useContext, true)
3055           && compareDeep(jurisdiction, o.jurisdiction, true) && compareDeep(purpose, o.purpose, true) && compareDeep(code, o.code, true)
3056           && compareDeep(base, o.base, true) && compareDeep(type, o.type, true) && compareDeep(expression, o.expression, true)
3057           && compareDeep(xpath, o.xpath, true) && compareDeep(xpathUsage, o.xpathUsage, true) && compareDeep(target, o.target, true)
3058           && compareDeep(multipleOr, o.multipleOr, true) && compareDeep(multipleAnd, o.multipleAnd, true)
3059           && compareDeep(comparator, o.comparator, true) && compareDeep(modifier, o.modifier, true) && compareDeep(chain, o.chain, true)
3060           && compareDeep(component, o.component, true);
3061      }
3062
3063      @Override
3064      public boolean equalsShallow(Base other_) {
3065        if (!super.equalsShallow(other_))
3066          return false;
3067        if (!(other_ instanceof SearchParameter))
3068          return false;
3069        SearchParameter o = (SearchParameter) other_;
3070        return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true)
3071           && compareValues(derivedFrom, o.derivedFrom, true) && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true)
3072           && compareValues(date, o.date, true) && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true)
3073           && compareValues(purpose, o.purpose, true) && compareValues(code, o.code, true) && compareValues(base, o.base, true)
3074           && compareValues(type, o.type, true) && compareValues(expression, o.expression, true) && compareValues(xpath, o.xpath, true)
3075           && compareValues(xpathUsage, o.xpathUsage, true) && compareValues(target, o.target, true) && compareValues(multipleOr, o.multipleOr, true)
3076           && compareValues(multipleAnd, o.multipleAnd, true) && compareValues(comparator, o.comparator, true)
3077           && compareValues(modifier, o.modifier, true) && compareValues(chain, o.chain, true);
3078      }
3079
3080      public boolean isEmpty() {
3081        return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, version, name, derivedFrom
3082          , status, experimental, date, publisher, contact, description, useContext, jurisdiction
3083          , purpose, code, base, type, expression, xpath, xpathUsage, target, multipleOr
3084          , multipleAnd, comparator, modifier, chain, component);
3085      }
3086
3087  @Override
3088  public ResourceType getResourceType() {
3089    return ResourceType.SearchParameter;
3090   }
3091
3092 /**
3093   * Search parameter: <b>base</b>
3094   * <p>
3095   * Description: <b>The resource type(s) this search parameter applies to</b><br>
3096   * Type: <b>token</b><br>
3097   * Path: <b>SearchParameter.base</b><br>
3098   * </p>
3099   */
3100  @SearchParamDefinition(name="base", path="SearchParameter.base", description="The resource type(s) this search parameter applies to", type="token" )
3101  public static final String SP_BASE = "base";
3102 /**
3103   * <b>Fluent Client</b> search parameter constant for <b>base</b>
3104   * <p>
3105   * Description: <b>The resource type(s) this search parameter applies to</b><br>
3106   * Type: <b>token</b><br>
3107   * Path: <b>SearchParameter.base</b><br>
3108   * </p>
3109   */
3110  public static final ca.uhn.fhir.rest.gclient.TokenClientParam BASE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BASE);
3111
3112 /**
3113   * Search parameter: <b>code</b>
3114   * <p>
3115   * Description: <b>Code used in URL</b><br>
3116   * Type: <b>token</b><br>
3117   * Path: <b>SearchParameter.code</b><br>
3118   * </p>
3119   */
3120  @SearchParamDefinition(name="code", path="SearchParameter.code", description="Code used in URL", type="token" )
3121  public static final String SP_CODE = "code";
3122 /**
3123   * <b>Fluent Client</b> search parameter constant for <b>code</b>
3124   * <p>
3125   * Description: <b>Code used in URL</b><br>
3126   * Type: <b>token</b><br>
3127   * Path: <b>SearchParameter.code</b><br>
3128   * </p>
3129   */
3130  public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE);
3131
3132 /**
3133   * Search parameter: <b>component</b>
3134   * <p>
3135   * Description: <b>Defines how the part works</b><br>
3136   * Type: <b>reference</b><br>
3137   * Path: <b>SearchParameter.component.definition</b><br>
3138   * </p>
3139   */
3140  @SearchParamDefinition(name="component", path="SearchParameter.component.definition", description="Defines how the part works", type="reference", target={SearchParameter.class } )
3141  public static final String SP_COMPONENT = "component";
3142 /**
3143   * <b>Fluent Client</b> search parameter constant for <b>component</b>
3144   * <p>
3145   * Description: <b>Defines how the part works</b><br>
3146   * Type: <b>reference</b><br>
3147   * Path: <b>SearchParameter.component.definition</b><br>
3148   * </p>
3149   */
3150  public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPONENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPONENT);
3151
3152/**
3153   * Constant for fluent queries to be used to add include statements. Specifies
3154   * the path value of "<b>SearchParameter:component</b>".
3155   */
3156  public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPONENT = new ca.uhn.fhir.model.api.Include("SearchParameter:component").toLocked();
3157
3158 /**
3159   * Search parameter: <b>derived-from</b>
3160   * <p>
3161   * Description: <b>Original definition for the search parameter</b><br>
3162   * Type: <b>reference</b><br>
3163   * Path: <b>SearchParameter.derivedFrom</b><br>
3164   * </p>
3165   */
3166  @SearchParamDefinition(name="derived-from", path="SearchParameter.derivedFrom", description="Original definition for the search parameter", type="reference", target={SearchParameter.class } )
3167  public static final String SP_DERIVED_FROM = "derived-from";
3168 /**
3169   * <b>Fluent Client</b> search parameter constant for <b>derived-from</b>
3170   * <p>
3171   * Description: <b>Original definition for the search parameter</b><br>
3172   * Type: <b>reference</b><br>
3173   * Path: <b>SearchParameter.derivedFrom</b><br>
3174   * </p>
3175   */
3176  public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM);
3177
3178/**
3179   * Constant for fluent queries to be used to add include statements. Specifies
3180   * the path value of "<b>SearchParameter:derived-from</b>".
3181   */
3182  public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("SearchParameter:derived-from").toLocked();
3183
3184 /**
3185   * Search parameter: <b>target</b>
3186   * <p>
3187   * Description: <b>Types of resource (if a resource reference)</b><br>
3188   * Type: <b>token</b><br>
3189   * Path: <b>SearchParameter.target</b><br>
3190   * </p>
3191   */
3192  @SearchParamDefinition(name="target", path="SearchParameter.target", description="Types of resource (if a resource reference)", type="token" )
3193  public static final String SP_TARGET = "target";
3194 /**
3195   * <b>Fluent Client</b> search parameter constant for <b>target</b>
3196   * <p>
3197   * Description: <b>Types of resource (if a resource reference)</b><br>
3198   * Type: <b>token</b><br>
3199   * Path: <b>SearchParameter.target</b><br>
3200   * </p>
3201   */
3202  public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET);
3203
3204 /**
3205   * Search parameter: <b>type</b>
3206   * <p>
3207   * Description: <b>number | date | string | token | reference | composite | quantity | uri | special</b><br>
3208   * Type: <b>token</b><br>
3209   * Path: <b>SearchParameter.type</b><br>
3210   * </p>
3211   */
3212  @SearchParamDefinition(name="type", path="SearchParameter.type", description="number | date | string | token | reference | composite | quantity | uri | special", type="token" )
3213  public static final String SP_TYPE = "type";
3214 /**
3215   * <b>Fluent Client</b> search parameter constant for <b>type</b>
3216   * <p>
3217   * Description: <b>number | date | string | token | reference | composite | quantity | uri | special</b><br>
3218   * Type: <b>token</b><br>
3219   * Path: <b>SearchParameter.type</b><br>
3220   * </p>
3221   */
3222  public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE);
3223
3224 /**
3225   * Search parameter: <b>context-quantity</b>
3226   * <p>
3227   * Description: <b>Multiple Resources: 
3228
3229* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement
3230* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system
3231* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition
3232* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map
3233* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition
3234* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide
3235* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition
3236* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system
3237* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition
3238* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter
3239* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition
3240* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map
3241* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities
3242* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set
3243</b><br>
3244   * Type: <b>quantity</b><br>
3245   * Path: <b>(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)</b><br>
3246   * </p>
3247   */
3248  @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" )
3249  public static final String SP_CONTEXT_QUANTITY = "context-quantity";
3250 /**
3251   * <b>Fluent Client</b> search parameter constant for <b>context-quantity</b>
3252   * <p>
3253   * Description: <b>Multiple Resources: 
3254
3255* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement
3256* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system
3257* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition
3258* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map
3259* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition
3260* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide
3261* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition
3262* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system
3263* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition
3264* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter
3265* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition
3266* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map
3267* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities
3268* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set
3269</b><br>
3270   * Type: <b>quantity</b><br>
3271   * Path: <b>(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)</b><br>
3272   * </p>
3273   */
3274  public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY);
3275
3276 /**
3277   * Search parameter: <b>context-type-quantity</b>
3278   * <p>
3279   * Description: <b>Multiple Resources: 
3280
3281* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement
3282* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system
3283* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition
3284* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map
3285* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition
3286* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide
3287* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition
3288* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system
3289* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition
3290* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter
3291* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition
3292* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map
3293* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities
3294* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set
3295</b><br>
3296   * Type: <b>composite</b><br>
3297   * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br>
3298   * </p>
3299   */
3300  @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} )
3301  public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity";
3302 /**
3303   * <b>Fluent Client</b> search parameter constant for <b>context-type-quantity</b>
3304   * <p>
3305   * Description: <b>Multiple Resources: 
3306
3307* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement
3308* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system
3309* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition
3310* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map
3311* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition
3312* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide
3313* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition
3314* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system
3315* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition
3316* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter
3317* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition
3318* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map
3319* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities
3320* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set
3321</b><br>
3322   * Type: <b>composite</b><br>
3323   * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br>
3324   * </p>
3325   */
3326  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);
3327
3328 /**
3329   * Search parameter: <b>context-type-value</b>
3330   * <p>
3331   * Description: <b>Multiple Resources: 
3332
3333* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement
3334* [CodeSystem](codesystem.html): A use context type and value assigned to the code system
3335* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition
3336* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map
3337* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition
3338* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide
3339* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition
3340* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system
3341* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition
3342* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter
3343* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition
3344* [StructureMap](structuremap.html): A use context type and value assigned to the structure map
3345* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities
3346* [ValueSet](valueset.html): A use context type and value assigned to the value set
3347</b><br>
3348   * Type: <b>composite</b><br>
3349   * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br>
3350   * </p>
3351   */
3352  @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} )
3353  public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value";
3354 /**
3355   * <b>Fluent Client</b> search parameter constant for <b>context-type-value</b>
3356   * <p>
3357   * Description: <b>Multiple Resources: 
3358
3359* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement
3360* [CodeSystem](codesystem.html): A use context type and value assigned to the code system
3361* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition
3362* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map
3363* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition
3364* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide
3365* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition
3366* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system
3367* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition
3368* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter
3369* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition
3370* [StructureMap](structuremap.html): A use context type and value assigned to the structure map
3371* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities
3372* [ValueSet](valueset.html): A use context type and value assigned to the value set
3373</b><br>
3374   * Type: <b>composite</b><br>
3375   * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br>
3376   * </p>
3377   */
3378  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);
3379
3380 /**
3381   * Search parameter: <b>context-type</b>
3382   * <p>
3383   * Description: <b>Multiple Resources: 
3384
3385* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement
3386* [CodeSystem](codesystem.html): A type of use context assigned to the code system
3387* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition
3388* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map
3389* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition
3390* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide
3391* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition
3392* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system
3393* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition
3394* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter
3395* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition
3396* [StructureMap](structuremap.html): A type of use context assigned to the structure map
3397* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities
3398* [ValueSet](valueset.html): A type of use context assigned to the value set
3399</b><br>
3400   * Type: <b>token</b><br>
3401   * Path: <b>CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code</b><br>
3402   * </p>
3403   */
3404  @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" )
3405  public static final String SP_CONTEXT_TYPE = "context-type";
3406 /**
3407   * <b>Fluent Client</b> search parameter constant for <b>context-type</b>
3408   * <p>
3409   * Description: <b>Multiple Resources: 
3410
3411* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement
3412* [CodeSystem](codesystem.html): A type of use context assigned to the code system
3413* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition
3414* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map
3415* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition
3416* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide
3417* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition
3418* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system
3419* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition
3420* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter
3421* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition
3422* [StructureMap](structuremap.html): A type of use context assigned to the structure map
3423* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities
3424* [ValueSet](valueset.html): A type of use context assigned to the value set
3425</b><br>
3426   * Type: <b>token</b><br>
3427   * Path: <b>CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code</b><br>
3428   * </p>
3429   */
3430  public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE);
3431
3432 /**
3433   * Search parameter: <b>context</b>
3434   * <p>
3435   * Description: <b>Multiple Resources: 
3436
3437* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement
3438* [CodeSystem](codesystem.html): A use context assigned to the code system
3439* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition
3440* [ConceptMap](conceptmap.html): A use context assigned to the concept map
3441* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition
3442* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide
3443* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition
3444* [NamingSystem](namingsystem.html): A use context assigned to the naming system
3445* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition
3446* [SearchParameter](searchparameter.html): A use context assigned to the search parameter
3447* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition
3448* [StructureMap](structuremap.html): A use context assigned to the structure map
3449* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities
3450* [ValueSet](valueset.html): A use context assigned to the value set
3451</b><br>
3452   * Type: <b>token</b><br>
3453   * Path: <b>(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)</b><br>
3454   * </p>
3455   */
3456  @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" )
3457  public static final String SP_CONTEXT = "context";
3458 /**
3459   * <b>Fluent Client</b> search parameter constant for <b>context</b>
3460   * <p>
3461   * Description: <b>Multiple Resources: 
3462
3463* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement
3464* [CodeSystem](codesystem.html): A use context assigned to the code system
3465* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition
3466* [ConceptMap](conceptmap.html): A use context assigned to the concept map
3467* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition
3468* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide
3469* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition
3470* [NamingSystem](namingsystem.html): A use context assigned to the naming system
3471* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition
3472* [SearchParameter](searchparameter.html): A use context assigned to the search parameter
3473* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition
3474* [StructureMap](structuremap.html): A use context assigned to the structure map
3475* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities
3476* [ValueSet](valueset.html): A use context assigned to the value set
3477</b><br>
3478   * Type: <b>token</b><br>
3479   * Path: <b>(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)</b><br>
3480   * </p>
3481   */
3482  public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT);
3483
3484 /**
3485   * Search parameter: <b>date</b>
3486   * <p>
3487   * Description: <b>Multiple Resources: 
3488
3489* [CapabilityStatement](capabilitystatement.html): The capability statement publication date
3490* [CodeSystem](codesystem.html): The code system publication date
3491* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date
3492* [ConceptMap](conceptmap.html): The concept map publication date
3493* [GraphDefinition](graphdefinition.html): The graph definition publication date
3494* [ImplementationGuide](implementationguide.html): The implementation guide publication date
3495* [MessageDefinition](messagedefinition.html): The message definition publication date
3496* [NamingSystem](namingsystem.html): The naming system publication date
3497* [OperationDefinition](operationdefinition.html): The operation definition publication date
3498* [SearchParameter](searchparameter.html): The search parameter publication date
3499* [StructureDefinition](structuredefinition.html): The structure definition publication date
3500* [StructureMap](structuremap.html): The structure map publication date
3501* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date
3502* [ValueSet](valueset.html): The value set publication date
3503</b><br>
3504   * Type: <b>date</b><br>
3505   * Path: <b>CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date</b><br>
3506   * </p>
3507   */
3508  @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" )
3509  public static final String SP_DATE = "date";
3510 /**
3511   * <b>Fluent Client</b> search parameter constant for <b>date</b>
3512   * <p>
3513   * Description: <b>Multiple Resources: 
3514
3515* [CapabilityStatement](capabilitystatement.html): The capability statement publication date
3516* [CodeSystem](codesystem.html): The code system publication date
3517* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date
3518* [ConceptMap](conceptmap.html): The concept map publication date
3519* [GraphDefinition](graphdefinition.html): The graph definition publication date
3520* [ImplementationGuide](implementationguide.html): The implementation guide publication date
3521* [MessageDefinition](messagedefinition.html): The message definition publication date
3522* [NamingSystem](namingsystem.html): The naming system publication date
3523* [OperationDefinition](operationdefinition.html): The operation definition publication date
3524* [SearchParameter](searchparameter.html): The search parameter publication date
3525* [StructureDefinition](structuredefinition.html): The structure definition publication date
3526* [StructureMap](structuremap.html): The structure map publication date
3527* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date
3528* [ValueSet](valueset.html): The value set publication date
3529</b><br>
3530   * Type: <b>date</b><br>
3531   * Path: <b>CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date</b><br>
3532   * </p>
3533   */
3534  public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE);
3535
3536 /**
3537   * Search parameter: <b>description</b>
3538   * <p>
3539   * Description: <b>Multiple Resources: 
3540
3541* [CapabilityStatement](capabilitystatement.html): The description of the capability statement
3542* [CodeSystem](codesystem.html): The description of the code system
3543* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition
3544* [ConceptMap](conceptmap.html): The description of the concept map
3545* [GraphDefinition](graphdefinition.html): The description of the graph definition
3546* [ImplementationGuide](implementationguide.html): The description of the implementation guide
3547* [MessageDefinition](messagedefinition.html): The description of the message definition
3548* [NamingSystem](namingsystem.html): The description of the naming system
3549* [OperationDefinition](operationdefinition.html): The description of the operation definition
3550* [SearchParameter](searchparameter.html): The description of the search parameter
3551* [StructureDefinition](structuredefinition.html): The description of the structure definition
3552* [StructureMap](structuremap.html): The description of the structure map
3553* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities
3554* [ValueSet](valueset.html): The description of the value set
3555</b><br>
3556   * Type: <b>string</b><br>
3557   * Path: <b>CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description</b><br>
3558   * </p>
3559   */
3560  @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" )
3561  public static final String SP_DESCRIPTION = "description";
3562 /**
3563   * <b>Fluent Client</b> search parameter constant for <b>description</b>
3564   * <p>
3565   * Description: <b>Multiple Resources: 
3566
3567* [CapabilityStatement](capabilitystatement.html): The description of the capability statement
3568* [CodeSystem](codesystem.html): The description of the code system
3569* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition
3570* [ConceptMap](conceptmap.html): The description of the concept map
3571* [GraphDefinition](graphdefinition.html): The description of the graph definition
3572* [ImplementationGuide](implementationguide.html): The description of the implementation guide
3573* [MessageDefinition](messagedefinition.html): The description of the message definition
3574* [NamingSystem](namingsystem.html): The description of the naming system
3575* [OperationDefinition](operationdefinition.html): The description of the operation definition
3576* [SearchParameter](searchparameter.html): The description of the search parameter
3577* [StructureDefinition](structuredefinition.html): The description of the structure definition
3578* [StructureMap](structuremap.html): The description of the structure map
3579* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities
3580* [ValueSet](valueset.html): The description of the value set
3581</b><br>
3582   * Type: <b>string</b><br>
3583   * Path: <b>CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description</b><br>
3584   * </p>
3585   */
3586  public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION);
3587
3588 /**
3589   * Search parameter: <b>jurisdiction</b>
3590   * <p>
3591   * Description: <b>Multiple Resources: 
3592
3593* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement
3594* [CodeSystem](codesystem.html): Intended jurisdiction for the code system
3595* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map
3596* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition
3597* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide
3598* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition
3599* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system
3600* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition
3601* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter
3602* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition
3603* [StructureMap](structuremap.html): Intended jurisdiction for the structure map
3604* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities
3605* [ValueSet](valueset.html): Intended jurisdiction for the value set
3606</b><br>
3607   * Type: <b>token</b><br>
3608   * Path: <b>CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction</b><br>
3609   * </p>
3610   */
3611  @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" )
3612  public static final String SP_JURISDICTION = "jurisdiction";
3613 /**
3614   * <b>Fluent Client</b> search parameter constant for <b>jurisdiction</b>
3615   * <p>
3616   * Description: <b>Multiple Resources: 
3617
3618* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement
3619* [CodeSystem](codesystem.html): Intended jurisdiction for the code system
3620* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map
3621* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition
3622* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide
3623* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition
3624* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system
3625* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition
3626* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter
3627* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition
3628* [StructureMap](structuremap.html): Intended jurisdiction for the structure map
3629* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities
3630* [ValueSet](valueset.html): Intended jurisdiction for the value set
3631</b><br>
3632   * Type: <b>token</b><br>
3633   * Path: <b>CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction</b><br>
3634   * </p>
3635   */
3636  public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION);
3637
3638 /**
3639   * Search parameter: <b>name</b>
3640   * <p>
3641   * Description: <b>Multiple Resources: 
3642
3643* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement
3644* [CodeSystem](codesystem.html): Computationally friendly name of the code system
3645* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition
3646* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map
3647* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition
3648* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide
3649* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition
3650* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system
3651* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition
3652* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter
3653* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition
3654* [StructureMap](structuremap.html): Computationally friendly name of the structure map
3655* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities
3656* [ValueSet](valueset.html): Computationally friendly name of the value set
3657</b><br>
3658   * Type: <b>string</b><br>
3659   * Path: <b>CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name</b><br>
3660   * </p>
3661   */
3662  @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" )
3663  public static final String SP_NAME = "name";
3664 /**
3665   * <b>Fluent Client</b> search parameter constant for <b>name</b>
3666   * <p>
3667   * Description: <b>Multiple Resources: 
3668
3669* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement
3670* [CodeSystem](codesystem.html): Computationally friendly name of the code system
3671* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition
3672* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map
3673* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition
3674* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide
3675* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition
3676* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system
3677* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition
3678* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter
3679* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition
3680* [StructureMap](structuremap.html): Computationally friendly name of the structure map
3681* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities
3682* [ValueSet](valueset.html): Computationally friendly name of the value set
3683</b><br>
3684   * Type: <b>string</b><br>
3685   * Path: <b>CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name</b><br>
3686   * </p>
3687   */
3688  public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME);
3689
3690 /**
3691   * Search parameter: <b>publisher</b>
3692   * <p>
3693   * Description: <b>Multiple Resources: 
3694
3695* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement
3696* [CodeSystem](codesystem.html): Name of the publisher of the code system
3697* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition
3698* [ConceptMap](conceptmap.html): Name of the publisher of the concept map
3699* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition
3700* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide
3701* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition
3702* [NamingSystem](namingsystem.html): Name of the publisher of the naming system
3703* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition
3704* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter
3705* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition
3706* [StructureMap](structuremap.html): Name of the publisher of the structure map
3707* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities
3708* [ValueSet](valueset.html): Name of the publisher of the value set
3709</b><br>
3710   * Type: <b>string</b><br>
3711   * Path: <b>CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher</b><br>
3712   * </p>
3713   */
3714  @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" )
3715  public static final String SP_PUBLISHER = "publisher";
3716 /**
3717   * <b>Fluent Client</b> search parameter constant for <b>publisher</b>
3718   * <p>
3719   * Description: <b>Multiple Resources: 
3720
3721* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement
3722* [CodeSystem](codesystem.html): Name of the publisher of the code system
3723* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition
3724* [ConceptMap](conceptmap.html): Name of the publisher of the concept map
3725* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition
3726* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide
3727* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition
3728* [NamingSystem](namingsystem.html): Name of the publisher of the naming system
3729* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition
3730* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter
3731* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition
3732* [StructureMap](structuremap.html): Name of the publisher of the structure map
3733* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities
3734* [ValueSet](valueset.html): Name of the publisher of the value set
3735</b><br>
3736   * Type: <b>string</b><br>
3737   * Path: <b>CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher</b><br>
3738   * </p>
3739   */
3740  public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER);
3741
3742 /**
3743   * Search parameter: <b>status</b>
3744   * <p>
3745   * Description: <b>Multiple Resources: 
3746
3747* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement
3748* [CodeSystem](codesystem.html): The current status of the code system
3749* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition
3750* [ConceptMap](conceptmap.html): The current status of the concept map
3751* [GraphDefinition](graphdefinition.html): The current status of the graph definition
3752* [ImplementationGuide](implementationguide.html): The current status of the implementation guide
3753* [MessageDefinition](messagedefinition.html): The current status of the message definition
3754* [NamingSystem](namingsystem.html): The current status of the naming system
3755* [OperationDefinition](operationdefinition.html): The current status of the operation definition
3756* [SearchParameter](searchparameter.html): The current status of the search parameter
3757* [StructureDefinition](structuredefinition.html): The current status of the structure definition
3758* [StructureMap](structuremap.html): The current status of the structure map
3759* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities
3760* [ValueSet](valueset.html): The current status of the value set
3761</b><br>
3762   * Type: <b>token</b><br>
3763   * Path: <b>CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status</b><br>
3764   * </p>
3765   */
3766  @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" )
3767  public static final String SP_STATUS = "status";
3768 /**
3769   * <b>Fluent Client</b> search parameter constant for <b>status</b>
3770   * <p>
3771   * Description: <b>Multiple Resources: 
3772
3773* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement
3774* [CodeSystem](codesystem.html): The current status of the code system
3775* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition
3776* [ConceptMap](conceptmap.html): The current status of the concept map
3777* [GraphDefinition](graphdefinition.html): The current status of the graph definition
3778* [ImplementationGuide](implementationguide.html): The current status of the implementation guide
3779* [MessageDefinition](messagedefinition.html): The current status of the message definition
3780* [NamingSystem](namingsystem.html): The current status of the naming system
3781* [OperationDefinition](operationdefinition.html): The current status of the operation definition
3782* [SearchParameter](searchparameter.html): The current status of the search parameter
3783* [StructureDefinition](structuredefinition.html): The current status of the structure definition
3784* [StructureMap](structuremap.html): The current status of the structure map
3785* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities
3786* [ValueSet](valueset.html): The current status of the value set
3787</b><br>
3788   * Type: <b>token</b><br>
3789   * Path: <b>CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status</b><br>
3790   * </p>
3791   */
3792  public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS);
3793
3794 /**
3795   * Search parameter: <b>url</b>
3796   * <p>
3797   * Description: <b>Multiple Resources: 
3798
3799* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement
3800* [CodeSystem](codesystem.html): The uri that identifies the code system
3801* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition
3802* [ConceptMap](conceptmap.html): The uri that identifies the concept map
3803* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition
3804* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide
3805* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition
3806* [NamingSystem](namingsystem.html): The uri that identifies the naming system
3807* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition
3808* [SearchParameter](searchparameter.html): The uri that identifies the search parameter
3809* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition
3810* [StructureMap](structuremap.html): The uri that identifies the structure map
3811* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities
3812* [ValueSet](valueset.html): The uri that identifies the value set
3813</b><br>
3814   * Type: <b>uri</b><br>
3815   * Path: <b>CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url</b><br>
3816   * </p>
3817   */
3818  @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" )
3819  public static final String SP_URL = "url";
3820 /**
3821   * <b>Fluent Client</b> search parameter constant for <b>url</b>
3822   * <p>
3823   * Description: <b>Multiple Resources: 
3824
3825* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement
3826* [CodeSystem](codesystem.html): The uri that identifies the code system
3827* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition
3828* [ConceptMap](conceptmap.html): The uri that identifies the concept map
3829* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition
3830* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide
3831* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition
3832* [NamingSystem](namingsystem.html): The uri that identifies the naming system
3833* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition
3834* [SearchParameter](searchparameter.html): The uri that identifies the search parameter
3835* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition
3836* [StructureMap](structuremap.html): The uri that identifies the structure map
3837* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities
3838* [ValueSet](valueset.html): The uri that identifies the value set
3839</b><br>
3840   * Type: <b>uri</b><br>
3841   * Path: <b>CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url</b><br>
3842   * </p>
3843   */
3844  public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL);
3845
3846 /**
3847   * Search parameter: <b>version</b>
3848   * <p>
3849   * Description: <b>Multiple Resources: 
3850
3851* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement
3852* [CodeSystem](codesystem.html): The business version of the code system
3853* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition
3854* [ConceptMap](conceptmap.html): The business version of the concept map
3855* [GraphDefinition](graphdefinition.html): The business version of the graph definition
3856* [ImplementationGuide](implementationguide.html): The business version of the implementation guide
3857* [MessageDefinition](messagedefinition.html): The business version of the message definition
3858* [NamingSystem](namingsystem.html): The business version of the naming system
3859* [OperationDefinition](operationdefinition.html): The business version of the operation definition
3860* [SearchParameter](searchparameter.html): The business version of the search parameter
3861* [StructureDefinition](structuredefinition.html): The business version of the structure definition
3862* [StructureMap](structuremap.html): The business version of the structure map
3863* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities
3864* [ValueSet](valueset.html): The business version of the value set
3865</b><br>
3866   * Type: <b>token</b><br>
3867   * Path: <b>CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version</b><br>
3868   * </p>
3869   */
3870  @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" )
3871  public static final String SP_VERSION = "version";
3872 /**
3873   * <b>Fluent Client</b> search parameter constant for <b>version</b>
3874   * <p>
3875   * Description: <b>Multiple Resources: 
3876
3877* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement
3878* [CodeSystem](codesystem.html): The business version of the code system
3879* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition
3880* [ConceptMap](conceptmap.html): The business version of the concept map
3881* [GraphDefinition](graphdefinition.html): The business version of the graph definition
3882* [ImplementationGuide](implementationguide.html): The business version of the implementation guide
3883* [MessageDefinition](messagedefinition.html): The business version of the message definition
3884* [NamingSystem](namingsystem.html): The business version of the naming system
3885* [OperationDefinition](operationdefinition.html): The business version of the operation definition
3886* [SearchParameter](searchparameter.html): The business version of the search parameter
3887* [StructureDefinition](structuredefinition.html): The business version of the structure definition
3888* [StructureMap](structuremap.html): The business version of the structure map
3889* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities
3890* [ValueSet](valueset.html): The business version of the value set
3891</b><br>
3892   * Type: <b>token</b><br>
3893   * Path: <b>CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version</b><br>
3894   * </p>
3895   */
3896  public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION);
3897
3898
3899}
3900