001package org.hl7.fhir.r5.extensions;
002
003import java.math.BigDecimal;
004import java.util.List;
005
006// generated
007
008/*
009  Copyright (c) 2011+, HL7, Inc.
010  All rights reserved.
011  
012  Redistribution and use in source and binary forms, with or without modification, \
013  are permitted provided that the following conditions are met:
014  
015   * Redistributions of source code must retain the above copyright notice, this \
016     list of conditions and the following disclaimer.
017   * Redistributions in binary form must reproduce the above copyright notice, \
018     this list of conditions and the following disclaimer in the documentation \
019     and/or other materials provided with the distribution.
020   * Neither the name of HL7 nor the names of its contributors may be used to 
021     endorse or promote products derived from this software without specific 
022     prior written permission.
023  
024  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND \
025  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \
026  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. \
027  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, \
028  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT \
029  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR \
030  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \
031  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \
032  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \
033  POSSIBILITY OF SUCH DAMAGE.
034  */
035
036// Generated on Thu, Mar 23, 2023 19:59+1100 for FHIR v5.0.0
037
038
039
040
041import org.hl7.fhir.exceptions.FHIRException;
042import org.hl7.fhir.r5.model.*;
043
044public class Extensions {
045  
046// -- Capabilities -------------------------------------
047// http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities|0.1.0
048// Capabilities
049
050  public static Extension makeCapabilities(String value) {
051    return new Extension(ExtensionConstants.EXT_CAPABILITIES).setValue(new CodeType(value));
052  }
053
054// -- ObjectClass -------------------------------------
055// http://hl7.org/fhir/StructureDefinition/11179-objectClass|0.1.0
056// object class
057
058  public static Extension makeObjectClass(Coding value) {
059    return new Extension(ExtensionConstants.EXT_OBJECT_CLASS).setValue(value);
060  }
061
062  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setObjectClass(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, Coding value) {
063    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBJECT_CLASS, value);
064    return context;
065  }
066
067  public static Coding getObjectClass(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) {
068    return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_OBJECT_CLASS);
069  }
070
071// -- ObjectClassProperty -------------------------------------
072// http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty|0.1.0
073// object class property
074
075  public static Extension makeObjectClassProperty(Coding value) {
076    return new Extension(ExtensionConstants.EXT_OBJECT_CLASS_PROPERTY).setValue(value);
077  }
078
079  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setObjectClassProperty(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, Coding value) {
080    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBJECT_CLASS_PROPERTY, value);
081    return context;
082  }
083
084  public static Coding getObjectClassProperty(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) {
085    return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_OBJECT_CLASS_PROPERTY);
086  }
087
088// -- PermittedValueConceptmap -------------------------------------
089// http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap|0.1.0
090// Permitted Value Conceptmap
091
092  public static Extension makePermittedValueConceptmap(String value) {
093    return new Extension(ExtensionConstants.EXT_PERMITTED_VALUE_CONCEPTMAP).setValue(new CanonicalType(value));
094  }
095
096// -- PermittedValueValueset -------------------------------------
097// http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset|0.1.0
098// Permitted Value Valueset
099
100  public static Extension makePermittedValueValueset(String value) {
101    return new Extension(ExtensionConstants.EXT_PERMITTED_VALUE_VALUESET).setValue(new CanonicalType(value));
102  }
103
104// -- Datatype -------------------------------------
105// http://hl7.org/fhir/StructureDefinition/_datatype|0.1.0
106// Datatype
107
108  public static Extension makeDatatype(String value) {
109    return new Extension(ExtensionConstants.EXT_DATATYPE).setValue(new StringType(value));
110  }
111
112  public static Base setDatatype(Base context, String value) {
113    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DATATYPE, new StringType(value));
114    return context;
115  }
116
117  public static String getDatatype(Base context) {
118    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DATATYPE);
119  }
120
121// -- AdditionalIdentifier -------------------------------------
122// http://hl7.org/fhir/StructureDefinition/additionalIdentifier|0.1.0
123// additional identifier
124
125  public static Extension makeAdditionalIdentifier(Identifier value) {
126    return new Extension(ExtensionConstants.EXT_ADDITIONAL_IDENTIFIER).setValue(value);
127  }
128
129  public static Reference addAdditionalIdentifier(Reference context, Identifier value) {
130    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADDITIONAL_IDENTIFIER, value);
131    return context;
132  }
133
134  public static List<Identifier> getAdditionalIdentifierList(Reference context) {
135    return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_ADDITIONAL_IDENTIFIER);
136  }
137
138// -- Abatement -------------------------------------
139// http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement|0.1.0
140// Abatement
141
142  public static Extension makeAbatementDateTime(String value) {
143    return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(new DateTimeType(value));
144  }
145
146  public static Extension makeAbatement(Age value) {
147    return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(value);
148  }
149
150  public static Extension makeAbatement(Period value) {
151    return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(value);
152  }
153
154  public static Extension makeAbatement(Range value) {
155    return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(value);
156  }
157
158  public static Extension makeAbatementString(String value) {
159    return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(new StringType(value));
160  }
161
162  public static AllergyIntolerance setAbatementDateTime(AllergyIntolerance context, String value) {
163    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, new DateTimeType(value));
164    return context;
165  }
166
167  public static String getAbatementString(AllergyIntolerance context) {
168    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ABATEMENT);
169  }
170
171  public static AllergyIntolerance setAbatement(AllergyIntolerance context, Age value) {
172    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, value);
173    return context;
174  }
175
176  public static Age getAbatementAge(AllergyIntolerance context) {
177    return ExtensionsUtils.getExtension(Age.class, context, ExtensionConstants.EXT_ABATEMENT);
178  }
179
180  public static AllergyIntolerance setAbatement(AllergyIntolerance context, Period value) {
181    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, value);
182    return context;
183  }
184
185  public static Period getAbatementPeriod(AllergyIntolerance context) {
186    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_ABATEMENT);
187  }
188
189  public static AllergyIntolerance setAbatement(AllergyIntolerance context, Range value) {
190    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, value);
191    return context;
192  }
193
194  public static Range getAbatementRange(AllergyIntolerance context) {
195    return ExtensionsUtils.getExtension(Range.class, context, ExtensionConstants.EXT_ABATEMENT);
196  }
197
198  public static AllergyIntolerance setAbatementString(AllergyIntolerance context, String value) {
199    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, new StringType(value));
200    return context;
201  }
202
203// -- AIAssertedDate -------------------------------------
204// http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate|0.1.0
205// AllergyIntolerance AssertedDate
206
207  public static Extension makeAIAssertedDate(String value) {
208    return new Extension(ExtensionConstants.EXT_AIASSERTED_DATE).setValue(new DateTimeType(value));
209  }
210
211  public static AllergyIntolerance setAIAssertedDate(AllergyIntolerance context, String value) {
212    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIASSERTED_DATE, new DateTimeType(value));
213    return context;
214  }
215
216  public static String getAIAssertedDate(AllergyIntolerance context) {
217    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_AIASSERTED_DATE);
218  }
219
220// -- AICertainty -------------------------------------
221// http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty|0.1.0
222// AllergyIntolerance Certainty
223
224  public static Extension makeAICertainty(CodeableConcept value) {
225    return new Extension(ExtensionConstants.EXT_AICERTAINTY).setValue(value);
226  }
227
228  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAICertainty(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, CodeableConcept value) {
229    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AICERTAINTY, value);
230    return context;
231  }
232
233  public static CodeableConcept getAICertainty(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
234    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_AICERTAINTY);
235  }
236
237// -- AIDuration -------------------------------------
238// http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration|0.1.0
239// AllergyIntolerance Duration
240
241  public static Extension makeAIDuration(Duration value) {
242    return new Extension(ExtensionConstants.EXT_AIDURATION).setValue(value);
243  }
244
245  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Duration value) {
246    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIDURATION, value);
247    return context;
248  }
249
250  public static Duration getAIDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
251    return ExtensionsUtils.getExtension(Duration.class, context, ExtensionConstants.EXT_AIDURATION);
252  }
253
254// -- AIReasonRefuted -------------------------------------
255// http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted|0.1.0
256// AllergyIntolerance Reason Refuted
257
258  public static Extension makeAIReasonRefuted(CodeableConcept value) {
259    return new Extension(ExtensionConstants.EXT_AIREASON_REFUTED).setValue(value);
260  }
261
262  public static AllergyIntolerance setAIReasonRefuted(AllergyIntolerance context, CodeableConcept value) {
263    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIREASON_REFUTED, value);
264    return context;
265  }
266
267  public static CodeableConcept getAIReasonRefuted(AllergyIntolerance context) {
268    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_AIREASON_REFUTED);
269  }
270
271// -- AIResolutionAge -------------------------------------
272// http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge|0.1.0
273// AllergyIntolerance Resolution Age
274
275  public static Extension makeAIResolutionAge(Age value) {
276    return new Extension(ExtensionConstants.EXT_AIRESOLUTION_AGE).setValue(value);
277  }
278
279  public static AllergyIntolerance setAIResolutionAge(AllergyIntolerance context, Age value) {
280    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIRESOLUTION_AGE, value);
281    return context;
282  }
283
284  public static Age getAIResolutionAge(AllergyIntolerance context) {
285    return ExtensionsUtils.getExtension(Age.class, context, ExtensionConstants.EXT_AIRESOLUTION_AGE);
286  }
287
288// -- AlternateCanonical -------------------------------------
289// http://hl7.org/fhir/StructureDefinition/alternate-canonical|0.1.0
290// Alternate Canonical
291
292  public static Extension makeAlternateCanonical(String value) {
293    return new Extension(ExtensionConstants.EXT_ALTERNATE_CANONICAL).setValue(new CanonicalType(value));
294  }
295
296  public static CanonicalType setAlternateCanonical(CanonicalType context, String value) {
297    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALTERNATE_CANONICAL, new CanonicalType(value));
298    return context;
299  }
300
301  public static String getAlternateCanonical(CanonicalType context) {
302    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ALTERNATE_CANONICAL);
303  }
304
305// -- AlternateCodes -------------------------------------
306// http://hl7.org/fhir/StructureDefinition/alternate-codes|0.1.0
307// Alternate Codes
308
309  public static Extension makeAlternateCodes(CodeableConcept value) {
310    return new Extension(ExtensionConstants.EXT_ALTERNATE_CODES).setValue(value);
311  }
312
313  public static CodeType addAlternateCodes(CodeType context, CodeableConcept value) {
314    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ALTERNATE_CODES, value);
315    return context;
316  }
317
318  public static List<CodeableConcept> getAlternateCodesList(CodeType context) {
319    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_ALTERNATE_CODES);
320  }
321
322// -- AlternateReference -------------------------------------
323// http://hl7.org/fhir/StructureDefinition/alternate-reference|0.1.0
324// Alternate Reference
325
326  public static Extension makeAlternateReference(Reference value) {
327    return new Extension(ExtensionConstants.EXT_ALTERNATE_REFERENCE).setValue(value);
328  }
329
330  public static Reference setAlternateReference(Reference context, Reference value) {
331    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALTERNATE_REFERENCE, value);
332    return context;
333  }
334
335  public static Reference getAlternateReference(Reference context) {
336    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_ALTERNATE_REFERENCE);
337  }
338
339// -- ArtifactAuthor -------------------------------------
340// http://hl7.org/fhir/StructureDefinition/artifact-author|0.1.0
341// Artifact Author
342
343  public static Extension makeArtifactAuthor(ContactDetail value) {
344    return new Extension(ExtensionConstants.EXT_ARTIFACT_AUTHOR).setValue(value);
345  }
346
347  public static DomainResource addArtifactAuthor(DomainResource context, ContactDetail value) {
348    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_AUTHOR, value);
349    return context;
350  }
351
352  public static List<ContactDetail> getArtifactAuthorList(DomainResource context) {
353    return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_AUTHOR);
354  }
355
356// -- ArtifactContact -------------------------------------
357// http://hl7.org/fhir/StructureDefinition/artifact-contact|0.1.0
358// Artifact Contact
359
360  public static Extension makeArtifactContact(ContactDetail value) {
361    return new Extension(ExtensionConstants.EXT_ARTIFACT_CONTACT).setValue(value);
362  }
363
364  public static Element addArtifactContact(Element context, ContactDetail value) {
365    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_CONTACT, value);
366    return context;
367  }
368
369  public static List<ContactDetail> getArtifactContactList(Element context) {
370    return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_CONTACT);
371  }
372
373// -- ContactDetailReference -------------------------------------
374// http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference|0.1.0
375// contact detail reference
376
377  public static Extension makeContactDetailReference(Reference value) {
378    return new Extension(ExtensionConstants.EXT_CONTACT_DETAIL_REFERENCE).setValue(value);
379  }
380
381  public static ContactDetail setContactDetailReference(ContactDetail context, Reference value) {
382    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_DETAIL_REFERENCE, value);
383    return context;
384  }
385
386  public static Reference getContactDetailReference(ContactDetail context) {
387    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONTACT_DETAIL_REFERENCE);
388  }
389
390// -- ArtifactCopyright -------------------------------------
391// http://hl7.org/fhir/StructureDefinition/artifact-copyright|0.1.0
392// Artifact Copyright
393
394  public static Extension makeArtifactCopyright(String value) {
395    return new Extension(ExtensionConstants.EXT_ARTIFACT_COPYRIGHT).setValue(new MarkdownType(value));
396  }
397
398  public static Element setArtifactCopyright(Element context, String value) {
399    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_COPYRIGHT, new MarkdownType(value));
400    return context;
401  }
402
403  public static String getArtifactCopyright(Element context) {
404    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_COPYRIGHT);
405  }
406
407// -- ArtifactCopyrightLabel -------------------------------------
408// http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel|0.1.0
409// Artifact Copyright Label
410
411  public static Extension makeArtifactCopyrightLabel(String value) {
412    return new Extension(ExtensionConstants.EXT_ARTIFACT_COPYRIGHT_LABEL).setValue(new StringType(value));
413  }
414
415  public static Element setArtifactCopyrightLabel(Element context, String value) {
416    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_COPYRIGHT_LABEL, new StringType(value));
417    return context;
418  }
419
420  public static String getArtifactCopyrightLabel(Element context) {
421    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_COPYRIGHT_LABEL);
422  }
423
424// -- ArtifactDate -------------------------------------
425// http://hl7.org/fhir/StructureDefinition/artifact-date|0.1.0
426// Artifact Date
427
428  public static Extension makeArtifactDate(String value) {
429    return new Extension(ExtensionConstants.EXT_ARTIFACT_DATE).setValue(new DateTimeType(value));
430  }
431
432  public static Element setArtifactDate(Element context, String value) {
433    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_DATE, new DateTimeType(value));
434    return context;
435  }
436
437  public static String getArtifactDate(Element context) {
438    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_DATE);
439  }
440
441// -- ArtifactDescription -------------------------------------
442// http://hl7.org/fhir/StructureDefinition/artifact-description|0.1.0
443// Artifact Description
444
445  public static Extension makeArtifactDescription(String value) {
446    return new Extension(ExtensionConstants.EXT_ARTIFACT_DESCRIPTION).setValue(new MarkdownType(value));
447  }
448
449  public static Element setArtifactDescription(Element context, String value) {
450    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_DESCRIPTION, new MarkdownType(value));
451    return context;
452  }
453
454  public static String getArtifactDescription(Element context) {
455    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_DESCRIPTION);
456  }
457
458// -- ArtifactEditor -------------------------------------
459// http://hl7.org/fhir/StructureDefinition/artifact-editor|0.1.0
460// Artifact Editor
461
462  public static Extension makeArtifactEditor(ContactDetail value) {
463    return new Extension(ExtensionConstants.EXT_ARTIFACT_EDITOR).setValue(value);
464  }
465
466  public static Element addArtifactEditor(Element context, ContactDetail value) {
467    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_EDITOR, value);
468    return context;
469  }
470
471  public static List<ContactDetail> getArtifactEditorList(Element context) {
472    return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_EDITOR);
473  }
474
475// -- ArtifactEndorser -------------------------------------
476// http://hl7.org/fhir/StructureDefinition/artifact-endorser|0.1.0
477// Artifact Endorser
478
479  public static Extension makeArtifactEndorser(ContactDetail value) {
480    return new Extension(ExtensionConstants.EXT_ARTIFACT_ENDORSER).setValue(value);
481  }
482
483  public static Element addArtifactEndorser(Element context, ContactDetail value) {
484    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_ENDORSER, value);
485    return context;
486  }
487
488  public static List<ContactDetail> getArtifactEndorserList(Element context) {
489    return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_ENDORSER);
490  }
491
492// -- ArtifactExperimental -------------------------------------
493// http://hl7.org/fhir/StructureDefinition/artifact-experimental|0.1.0
494// Artifact Experimental
495
496  public static Extension makeArtifactExperimental(boolean value) {
497    return new Extension(ExtensionConstants.EXT_ARTIFACT_EXPERIMENTAL).setValue(new BooleanType(value));
498  }
499
500  public static Element setArtifactExperimental(Element context, boolean value) {
501    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_EXPERIMENTAL, new BooleanType(value));
502    return context;
503  }
504
505  public static Boolean getArtifactExperimental(Element context) {
506    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_ARTIFACT_EXPERIMENTAL);
507  }
508
509// -- ArtifactIdentifier -------------------------------------
510// http://hl7.org/fhir/StructureDefinition/artifact-identifier|0.1.0
511// Artifact Identifier
512
513  public static Extension makeArtifactIdentifier(Identifier value) {
514    return new Extension(ExtensionConstants.EXT_ARTIFACT_IDENTIFIER).setValue(value);
515  }
516
517  public static Element addArtifactIdentifier(Element context, Identifier value) {
518    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_IDENTIFIER, value);
519    return context;
520  }
521
522  public static List<Identifier> getArtifactIdentifierList(Element context) {
523    return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_ARTIFACT_IDENTIFIER);
524  }
525
526// -- ArtifactJurisdiction -------------------------------------
527// http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction|0.1.0
528// Artifact Jurisdiction
529
530  public static Extension makeArtifactJurisdiction(CodeableConcept value) {
531    return new Extension(ExtensionConstants.EXT_ARTIFACT_JURISDICTION).setValue(value);
532  }
533
534  public static Element addArtifactJurisdiction(Element context, CodeableConcept value) {
535    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_JURISDICTION, value);
536    return context;
537  }
538
539  public static List<CodeableConcept> getArtifactJurisdictionList(Element context) {
540    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_ARTIFACT_JURISDICTION);
541  }
542
543// -- KnowledgeCapability -------------------------------------
544// http://hl7.org/fhir/StructureDefinition/artifact-knowledgeCapability|0.1.0
545// knowledge capability
546
547  public static Extension makeKnowledgeCapability(String value) {
548    return new Extension(ExtensionConstants.EXT_KNOWLEDGE_CAPABILITY).setValue(new CodeType(value));
549  }
550
551  public static Element addKnowledgeCapability(Element context, String value) {
552    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_KNOWLEDGE_CAPABILITY, new CodeType(value));
553    return context;
554  }
555
556  public static List<String> getKnowledgeCapabilityList(Element context) {
557    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_KNOWLEDGE_CAPABILITY);
558  }
559
560// -- KnowledgeRepresentationLevel -------------------------------------
561// http://hl7.org/fhir/StructureDefinition/artifact-knowledgeRepresentationLevel|0.1.0
562// knowledge representation level
563
564  public static Extension makeKnowledgeRepresentationLevel(String value) {
565    return new Extension(ExtensionConstants.EXT_KNOWLEDGE_REPRESENTATION_LEVEL).setValue(new CodeType(value));
566  }
567
568  public static Element addKnowledgeRepresentationLevel(Element context, String value) {
569    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_KNOWLEDGE_REPRESENTATION_LEVEL, new CodeType(value));
570    return context;
571  }
572
573  public static List<String> getKnowledgeRepresentationLevelList(Element context) {
574    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_KNOWLEDGE_REPRESENTATION_LEVEL);
575  }
576
577// -- ArtifactName -------------------------------------
578// http://hl7.org/fhir/StructureDefinition/artifact-name|0.1.0
579// ArtifactName
580
581  public static Extension makeArtifactName(String value) {
582    return new Extension(ExtensionConstants.EXT_ARTIFACT_NAME).setValue(new StringType(value));
583  }
584
585  public static Element setArtifactName(Element context, String value) {
586    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_NAME, new StringType(value));
587    return context;
588  }
589
590  public static String getArtifactName(Element context) {
591    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_NAME);
592  }
593
594// -- PeriodDuration -------------------------------------
595// http://hl7.org/fhir/StructureDefinition/artifact-periodDuration|0.1.0
596// period duration
597
598  public static Extension makePeriodDuration(Duration value) {
599    return new Extension(ExtensionConstants.EXT_PERIOD_DURATION).setValue(value);
600  }
601
602  public static Period setPeriodDuration(Period context, Duration value) {
603    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PERIOD_DURATION, value);
604    return context;
605  }
606
607  public static Duration getPeriodDuration(Period context) {
608    return ExtensionsUtils.getExtension(Duration.class, context, ExtensionConstants.EXT_PERIOD_DURATION);
609  }
610
611// -- ArtifactPublisher -------------------------------------
612// http://hl7.org/fhir/StructureDefinition/artifact-publisher|0.1.0
613// Artifact Publisher
614
615  public static Extension makeArtifactPublisher(String value) {
616    return new Extension(ExtensionConstants.EXT_ARTIFACT_PUBLISHER).setValue(new StringType(value));
617  }
618
619  public static Element setArtifactPublisher(Element context, String value) {
620    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_PUBLISHER, new StringType(value));
621    return context;
622  }
623
624  public static String getArtifactPublisher(Element context) {
625    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_PUBLISHER);
626  }
627
628// -- ArtifactPurpose -------------------------------------
629// http://hl7.org/fhir/StructureDefinition/artifact-purpose|0.1.0
630// Artifact Purpose
631
632  public static Extension makeArtifactPurpose(String value) {
633    return new Extension(ExtensionConstants.EXT_ARTIFACT_PURPOSE).setValue(new MarkdownType(value));
634  }
635
636  public static Element setArtifactPurpose(Element context, String value) {
637    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_PURPOSE, new MarkdownType(value));
638    return context;
639  }
640
641  public static String getArtifactPurpose(Element context) {
642    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_PURPOSE);
643  }
644
645// -- ArtifactRelatedArtifact -------------------------------------
646// http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact|0.1.0
647// Artifact related artifact
648
649  public static Extension makeArtifactRelatedArtifact(RelatedArtifact value) {
650    return new Extension(ExtensionConstants.EXT_ARTIFACT_RELATED_ARTIFACT).setValue(value);
651  }
652
653  public static Element addArtifactRelatedArtifact(Element context, RelatedArtifact value) {
654    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_RELATED_ARTIFACT, value);
655    return context;
656  }
657
658  public static List<RelatedArtifact> getArtifactRelatedArtifactList(Element context) {
659    return ExtensionsUtils.getExtensionList(RelatedArtifact.class, context, ExtensionConstants.EXT_ARTIFACT_RELATED_ARTIFACT);
660  }
661
662// -- ArtifactReviewer -------------------------------------
663// http://hl7.org/fhir/StructureDefinition/artifact-reviewer|0.1.0
664// Artifact Reviewer
665
666  public static Extension makeArtifactReviewer(ContactDetail value) {
667    return new Extension(ExtensionConstants.EXT_ARTIFACT_REVIEWER).setValue(value);
668  }
669
670  public static Element addArtifactReviewer(Element context, ContactDetail value) {
671    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_REVIEWER, value);
672    return context;
673  }
674
675  public static List<ContactDetail> getArtifactReviewerList(Element context) {
676    return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_REVIEWER);
677  }
678
679// -- ArtifactStatus -------------------------------------
680// http://hl7.org/fhir/StructureDefinition/artifact-status|0.1.0
681// Artifact Status
682
683  public static Extension makeArtifactStatus(String value) {
684    return new Extension(ExtensionConstants.EXT_ARTIFACT_STATUS).setValue(new CodeType(value));
685  }
686
687  public static Element setArtifactStatus(Element context, String value) {
688    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_STATUS, new CodeType(value));
689    return context;
690  }
691
692  public static String getArtifactStatus(Element context) {
693    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_STATUS);
694  }
695
696// -- ArtifactTitle -------------------------------------
697// http://hl7.org/fhir/StructureDefinition/artifact-title|0.1.0
698// Artifact Title
699
700  public static Extension makeArtifactTitle(String value) {
701    return new Extension(ExtensionConstants.EXT_ARTIFACT_TITLE).setValue(new StringType(value));
702  }
703
704  public static Element setArtifactTitle(Element context, String value) {
705    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_TITLE, new StringType(value));
706    return context;
707  }
708
709  public static String getArtifactTitle(Element context) {
710    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_TITLE);
711  }
712
713// -- ArtifactTopic -------------------------------------
714// http://hl7.org/fhir/StructureDefinition/artifact-topic|0.1.0
715// Artifact Topic
716
717  public static Extension makeArtifactTopic(CodeableConcept value) {
718    return new Extension(ExtensionConstants.EXT_ARTIFACT_TOPIC).setValue(value);
719  }
720
721  public static Element addArtifactTopic(Element context, CodeableConcept value) {
722    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_TOPIC, value);
723    return context;
724  }
725
726  public static List<CodeableConcept> getArtifactTopicList(Element context) {
727    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_ARTIFACT_TOPIC);
728  }
729
730// -- ArtifactUrl -------------------------------------
731// http://hl7.org/fhir/StructureDefinition/artifact-url|0.1.0
732// Artifact URL
733
734  public static Extension makeArtifactUrl(String value) {
735    return new Extension(ExtensionConstants.EXT_ARTIFACT_URL).setValue(new UriType(value));
736  }
737
738  public static Element setArtifactUrl(Element context, String value) {
739    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_URL, new UriType(value));
740    return context;
741  }
742
743  public static String getArtifactUrl(Element context) {
744    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_URL);
745  }
746
747// -- ArtifactUseContext -------------------------------------
748// http://hl7.org/fhir/StructureDefinition/artifact-useContext|0.1.0
749// Artifact use context
750
751  public static Extension makeArtifactUseContext(UsageContext value) {
752    return new Extension(ExtensionConstants.EXT_ARTIFACT_USE_CONTEXT).setValue(value);
753  }
754
755  public static Element addArtifactUseContext(Element context, UsageContext value) {
756    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_USE_CONTEXT, value);
757    return context;
758  }
759
760  public static List<UsageContext> getArtifactUseContextList(Element context) {
761    return ExtensionsUtils.getExtensionList(UsageContext.class, context, ExtensionConstants.EXT_ARTIFACT_USE_CONTEXT);
762  }
763
764// -- ArtifactVersion -------------------------------------
765// http://hl7.org/fhir/StructureDefinition/artifact-version|0.1.0
766// ArtifactVersion
767
768  public static Extension makeArtifactVersion(String value) {
769    return new Extension(ExtensionConstants.EXT_ARTIFACT_VERSION).setValue(new StringType(value));
770  }
771
772  public static Element setArtifactVersion(Element context, String value) {
773    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_VERSION, new StringType(value));
774    return context;
775  }
776
777  public static String getArtifactVersion(Element context) {
778    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_VERSION);
779  }
780
781// -- ArtifactVersionAlgorithm -------------------------------------
782// http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm|0.1.0
783// Artifact Version Algorithm
784
785  public static Extension makeArtifactVersionAlgorithm(String value) {
786    return new Extension(ExtensionConstants.EXT_ARTIFACT_VERSION_ALGORITHM).setValue(new StringType(value));
787  }
788
789  public static Element setArtifactVersionAlgorithm(Element context, String value) {
790    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_VERSION_ALGORITHM, new StringType(value));
791    return context;
792  }
793
794  public static String getArtifactVersionAlgorithm(Element context) {
795    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_VERSION_ALGORITHM);
796  }
797
798// -- AEAccession -------------------------------------
799// http://hl7.org/fhir/StructureDefinition/auditevent-Accession|0.1.0
800// AuditEvent Accession
801
802  public static Extension makeAEAccession(Identifier value) {
803    return new Extension(ExtensionConstants.EXT_AEACCESSION).setValue(value);
804  }
805
806  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEAccession(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) {
807    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AEACCESSION, value);
808    return context;
809  }
810
811  public static List<Identifier> getAEAccessionList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
812    return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_AEACCESSION);
813  }
814
815// -- AEAlternativeUserID -------------------------------------
816// http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID|0.1.0
817// AuditEvent Alternative User ID
818
819  public static Extension makeAEAlternativeUserID(Identifier value) {
820    return new Extension(ExtensionConstants.EXT_AEALTERNATIVE_USER_I_D).setValue(value);
821  }
822
823  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent addAEAlternativeUserID(org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent context, Identifier value) {
824    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AEALTERNATIVE_USER_I_D, value);
825    return context;
826  }
827
828  public static List<Identifier> getAEAlternativeUserIDList(org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent context) {
829    return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_AEALTERNATIVE_USER_I_D);
830  }
831
832// -- AEAnonymized -------------------------------------
833// http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized|0.1.0
834// AuditEvent Anonymized
835
836  public static Extension makeAEAnonymized(boolean value) {
837    return new Extension(ExtensionConstants.EXT_AEANONYMIZED).setValue(new BooleanType(value));
838  }
839
840  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEAnonymized(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, boolean value) {
841    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AEANONYMIZED, new BooleanType(value));
842    return context;
843  }
844
845  public static Boolean getAEAnonymized(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
846    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_AEANONYMIZED);
847  }
848
849// -- AEEncrypted -------------------------------------
850// http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted|0.1.0
851// AuditEvent Encrypted
852
853  public static Extension makeAEEncrypted(boolean value) {
854    return new Extension(ExtensionConstants.EXT_AEENCRYPTED).setValue(new BooleanType(value));
855  }
856
857  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEEncrypted(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, boolean value) {
858    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AEENCRYPTED, new BooleanType(value));
859    return context;
860  }
861
862  public static Boolean getAEEncrypted(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
863    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_AEENCRYPTED);
864  }
865
866// -- AEInstance -------------------------------------
867// http://hl7.org/fhir/StructureDefinition/auditevent-Instance|0.1.0
868// AuditEvent Instance
869
870  public static Extension makeAEInstance(Identifier value) {
871    return new Extension(ExtensionConstants.EXT_AEINSTANCE).setValue(value);
872  }
873
874  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEInstance(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) {
875    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AEINSTANCE, value);
876    return context;
877  }
878
879  public static List<Identifier> getAEInstanceList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
880    return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_AEINSTANCE);
881  }
882
883// -- AELifecycle -------------------------------------
884// http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle|0.1.0
885// AuditEvent Lifecycle
886
887  public static Extension makeAELifecycle(CodeableConcept value) {
888    return new Extension(ExtensionConstants.EXT_AELIFECYCLE).setValue(value);
889  }
890
891  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAELifecycle(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, CodeableConcept value) {
892    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AELIFECYCLE, value);
893    return context;
894  }
895
896  public static List<CodeableConcept> getAELifecycleList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
897    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_AELIFECYCLE);
898  }
899
900// -- AEMPPS -------------------------------------
901// http://hl7.org/fhir/StructureDefinition/auditevent-MPPS|0.1.0
902// AuditEvent MPPS
903
904  public static Extension makeAEMPPS(Identifier value) {
905    return new Extension(ExtensionConstants.EXT_AEMPPS).setValue(value);
906  }
907
908  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEMPPS(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) {
909    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AEMPPS, value);
910    return context;
911  }
912
913  public static List<Identifier> getAEMPPSList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
914    return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_AEMPPS);
915  }
916
917// -- AENumberOfInstances -------------------------------------
918// http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances|0.1.0
919// AuditEvent Number Of Instances
920
921  public static Extension makeAENumberOfInstances(int value) {
922    return new Extension(ExtensionConstants.EXT_AENUMBER_OF_INSTANCES).setValue(new IntegerType(value));
923  }
924
925  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAENumberOfInstances(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, int value) {
926    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AENUMBER_OF_INSTANCES, new IntegerType(value));
927    return context;
928  }
929
930  public static Integer getAENumberOfInstances(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
931    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_AENUMBER_OF_INSTANCES);
932  }
933
934// -- AEParticipantObjectContainsStudy -------------------------------------
935// http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy|0.1.0
936// AuditEvent Participant Object Contains Study
937
938  public static Extension makeAEParticipantObjectContainsStudy(Identifier value) {
939    return new Extension(ExtensionConstants.EXT_AEPARTICIPANT_OBJECT_CONTAINS_STUDY).setValue(value);
940  }
941
942  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEParticipantObjectContainsStudy(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) {
943    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AEPARTICIPANT_OBJECT_CONTAINS_STUDY, value);
944    return context;
945  }
946
947  public static Identifier getAEParticipantObjectContainsStudy(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
948    return ExtensionsUtils.getExtension(Identifier.class, context, ExtensionConstants.EXT_AEPARTICIPANT_OBJECT_CONTAINS_STUDY);
949  }
950
951// -- AESOPClass -------------------------------------
952// http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass|0.1.0
953// AuditEvent SOPClass
954
955  public static Extension makeAESOPClass(Reference value) {
956    return new Extension(ExtensionConstants.EXT_AESOPCLASS).setValue(value);
957  }
958
959  public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAESOPClass(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Reference value) {
960    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AESOPCLASS, value);
961    return context;
962  }
963
964  public static List<Reference> getAESOPClassList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) {
965    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_AESOPCLASS);
966  }
967
968// -- BDPCollectionProcedure -------------------------------------
969// http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure|0.1.0
970// BiologicallyDerivedProduct Collection Procedure
971
972  public static Extension makeBDPCollectionProcedure(Reference value) {
973    return new Extension(ExtensionConstants.EXT_BDPCOLLECTION_PROCEDURE).setValue(value);
974  }
975
976  public static org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent addBDPCollectionProcedure(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent context, Reference value) {
977    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BDPCOLLECTION_PROCEDURE, value);
978    return context;
979  }
980
981  public static List<Reference> getBDPCollectionProcedureList(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent context) {
982    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BDPCOLLECTION_PROCEDURE);
983  }
984
985// -- BDPManipulation -------------------------------------
986// http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation|0.1.0
987// BiologicallyDerivedProduct Manipulation
988
989  public static Extension makeBDPManipulation(DataType value) {
990    return new Extension(ExtensionConstants.EXT_BDPMANIPULATION).setValue(value);
991  }
992
993  public static BiologicallyDerivedProduct setBDPManipulation(BiologicallyDerivedProduct context, DataType value) {
994    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BDPMANIPULATION, value);
995    return context;
996  }
997
998  public static DataType getBDPManipulation(BiologicallyDerivedProduct context) {
999    return ExtensionsUtils.getExtension(DataType.class, context, ExtensionConstants.EXT_BDPMANIPULATION);
1000  }
1001
1002// -- BDPProcessing -------------------------------------
1003// http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing|0.1.0
1004// BiologicallyDerivedProduct Processing
1005
1006  public static Extension makeBDPProcessing(DataType value) {
1007    return new Extension(ExtensionConstants.EXT_BDPPROCESSING).setValue(value);
1008  }
1009
1010  public static BiologicallyDerivedProduct addBDPProcessing(BiologicallyDerivedProduct context, DataType value) {
1011    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BDPPROCESSING, value);
1012    return context;
1013  }
1014
1015  public static List<DataType> getBDPProcessingList(BiologicallyDerivedProduct context) {
1016    return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_BDPPROCESSING);
1017  }
1018
1019// -- BodyStructureReference -------------------------------------
1020// http://hl7.org/fhir/StructureDefinition/bodySite|0.1.0
1021// BodyStructure Reference
1022
1023  public static Extension makeBodyStructureReference(Reference value) {
1024    return new Extension(ExtensionConstants.EXT_BODY_STRUCTURE_REFERENCE).setValue(value);
1025  }
1026
1027  public static Element setBodyStructureReference(Element context, Reference value) {
1028    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BODY_STRUCTURE_REFERENCE, value);
1029    return context;
1030  }
1031
1032  public static Reference getBodyStructureReference(Element context) {
1033    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_BODY_STRUCTURE_REFERENCE);
1034  }
1035
1036// -- CRShortDescription -------------------------------------
1037// http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description|0.1.0
1038// CanonicalResource Short Description
1039
1040  public static Extension makeCRShortDescription(String value) {
1041    return new Extension(ExtensionConstants.EXT_CRSHORT_DESCRIPTION).setValue(new StringType(value));
1042  }
1043
1044  public static CanonicalResource addCRShortDescription(CanonicalResource context, String value) {
1045    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CRSHORT_DESCRIPTION, new StringType(value));
1046    return context;
1047  }
1048
1049  public static List<String> getCRShortDescriptionList(CanonicalResource context) {
1050    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CRSHORT_DESCRIPTION);
1051  }
1052
1053// -- CSDeclaredProfile -------------------------------------
1054// http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile|0.1.0
1055// CapabilityStatement Declared Profile
1056
1057  public static Extension makeCSDeclaredProfile(String value) {
1058    return new Extension(ExtensionConstants.EXT_CSDECLARED_PROFILE).setValue(new CanonicalType(value));
1059  }
1060
1061// -- CSExpectation -------------------------------------
1062// http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation|0.1.0
1063// CapabilityStatement Expectation
1064
1065  public static Extension makeCSExpectation(String value) {
1066    return new Extension(ExtensionConstants.EXT_CSEXPECTATION).setValue(new CodeType(value));
1067  }
1068
1069  public static CanonicalType setCSExpectation(CanonicalType context, String value) {
1070    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSEXPECTATION, new CodeType(value));
1071    return context;
1072  }
1073
1074  public static String getCSExpectation(CanonicalType context) {
1075    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSEXPECTATION);
1076  }
1077
1078  public static CodeType setCSExpectation(CodeType context, String value) {
1079    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSEXPECTATION, new CodeType(value));
1080    return context;
1081  }
1082
1083  public static String getCSExpectation(CodeType context) {
1084    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSEXPECTATION);
1085  }
1086
1087  public static Extension setCSExpectation(Extension context, String value) {
1088    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSEXPECTATION, new CodeType(value));
1089    return context;
1090  }
1091
1092  public static String getCSExpectation(Extension context) {
1093    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSEXPECTATION);
1094  }
1095
1096  public static org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent setCSExpectation(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context, String value) {
1097    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSEXPECTATION, new CodeType(value));
1098    return context;
1099  }
1100
1101  public static String getCSExpectation(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context) {
1102    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSEXPECTATION);
1103  }
1104
1105// -- CSProhibited -------------------------------------
1106// http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited|0.1.0
1107// CapabilityStatement Prohibition
1108
1109  public static Extension makeCSProhibited(boolean value) {
1110    return new Extension(ExtensionConstants.EXT_CSPROHIBITED).setValue(new BooleanType(value));
1111  }
1112
1113  public static org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent setCSProhibited(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context, boolean value) {
1114    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSPROHIBITED, new BooleanType(value));
1115    return context;
1116  }
1117
1118  public static Boolean getCSProhibited(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context) {
1119    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_CSPROHIBITED);
1120  }
1121
1122// -- CSSearchMode -------------------------------------
1123// http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode|0.1.0
1124// CapabilityStatement Search Mode
1125
1126  public static Extension makeCSSearchMode(String value) {
1127    return new Extension(ExtensionConstants.EXT_CSSEARCH_MODE).setValue(new CodeType(value));
1128  }
1129
1130// -- CSSupportedSystem -------------------------------------
1131// http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system|0.1.0
1132// CapabilityStatement Supported CodeSystem
1133
1134  public static Extension makeCSSupportedSystem(String value) {
1135    return new Extension(ExtensionConstants.EXT_CSSUPPORTED_SYSTEM).setValue(new UriType(value));
1136  }
1137
1138  public static CapabilityStatement addCSSupportedSystem(CapabilityStatement context, String value) {
1139    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CSSUPPORTED_SYSTEM, new UriType(value));
1140    return context;
1141  }
1142
1143  public static List<String> getCSSupportedSystemList(CapabilityStatement context) {
1144    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CSSUPPORTED_SYSTEM);
1145  }
1146
1147// -- CSWebsocket -------------------------------------
1148// http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket|0.1.0
1149// CapabilityStatement WebSocket
1150
1151  public static Extension makeCSWebsocket(String value) {
1152    return new Extension(ExtensionConstants.EXT_CSWEBSOCKET).setValue(new UriType(value));
1153  }
1154
1155  public static org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent setCSWebsocket(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context, String value) {
1156    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSWEBSOCKET, new UriType(value));
1157    return context;
1158  }
1159
1160  public static String getCSWebsocket(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context) {
1161    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSWEBSOCKET);
1162  }
1163
1164// -- CPActivityTitle -------------------------------------
1165// http://hl7.org/fhir/StructureDefinition/careplan-activity-title|0.1.0
1166// CarePlan Activity Title
1167
1168  public static Extension makeCPActivityTitle(String value) {
1169    return new Extension(ExtensionConstants.EXT_CPACTIVITY_TITLE).setValue(new StringType(value));
1170  }
1171
1172  public static org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent setCPActivityTitle(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, String value) {
1173    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CPACTIVITY_TITLE, new StringType(value));
1174    return context;
1175  }
1176
1177  public static String getCPActivityTitle(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) {
1178    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CPACTIVITY_TITLE);
1179  }
1180
1181// -- CTAlias -------------------------------------
1182// http://hl7.org/fhir/StructureDefinition/careteam-alias|0.1.0
1183// CareTeam Alias
1184
1185  public static Extension makeCTAlias(String value) {
1186    return new Extension(ExtensionConstants.EXT_CTALIAS).setValue(new StringType(value));
1187  }
1188
1189  public static CareTeam addCTAlias(CareTeam context, String value) {
1190    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CTALIAS, new StringType(value));
1191    return context;
1192  }
1193
1194  public static List<String> getCTAliasList(CareTeam context) {
1195    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CTALIAS);
1196  }
1197
1198// -- CharacteristicExpression -------------------------------------
1199// http://hl7.org/fhir/StructureDefinition/characteristicExpression|0.1.0
1200// Characteristic Expression
1201
1202  public static Extension makeCharacteristicExpression(Expression value) {
1203    return new Extension(ExtensionConstants.EXT_CHARACTERISTIC_EXPRESSION).setValue(value);
1204  }
1205
1206  public static Group setCharacteristicExpression(Group context, Expression value) {
1207    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CHARACTERISTIC_EXPRESSION, value);
1208    return context;
1209  }
1210
1211  public static Expression getCharacteristicExpression(Group context) {
1212    return ExtensionsUtils.getExtension(Expression.class, context, ExtensionConstants.EXT_CHARACTERISTIC_EXPRESSION);
1213  }
1214
1215// -- CSAuthoritativeSource -------------------------------------
1216// http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource|0.1.0
1217// CodeSystem Authoritative Source
1218
1219  public static Extension makeCSAuthoritativeSource(String value) {
1220    return new Extension(ExtensionConstants.EXT_CSAUTHORITATIVE_SOURCE).setValue(new UriType(value));
1221  }
1222
1223  public static CodeSystem setCSAuthoritativeSource(CodeSystem context, String value) {
1224    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSAUTHORITATIVE_SOURCE, new UriType(value));
1225    return context;
1226  }
1227
1228  public static String getCSAuthoritativeSource(CodeSystem context) {
1229    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSAUTHORITATIVE_SOURCE);
1230  }
1231
1232// -- CSConceptComments -------------------------------------
1233// http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments|0.1.0
1234// CodeSystem Concept Comment
1235
1236  public static Extension makeCSConceptComments(String value) {
1237    return new Extension(ExtensionConstants.EXT_CSCONCEPT_COMMENTS).setValue(new StringType(value));
1238  }
1239
1240  public static org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSConceptComments(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, String value) {
1241    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSCONCEPT_COMMENTS, new StringType(value));
1242    return context;
1243  }
1244
1245  public static String getCSConceptComments(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) {
1246    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSCONCEPT_COMMENTS);
1247  }
1248
1249// -- CSConceptOrder -------------------------------------
1250// http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder|0.1.0
1251// CodeSystem ConceptOrder
1252
1253  public static Extension makeCSConceptOrder(int value) {
1254    return new Extension(ExtensionConstants.EXT_CSCONCEPT_ORDER).setValue(new IntegerType(value));
1255  }
1256
1257  public static org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSConceptOrder(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, int value) {
1258    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSCONCEPT_ORDER, new IntegerType(value));
1259    return context;
1260  }
1261
1262  public static Integer getCSConceptOrder(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) {
1263    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_CSCONCEPT_ORDER);
1264  }
1265
1266// -- CSKeyWord -------------------------------------
1267// http://hl7.org/fhir/StructureDefinition/codesystem-keyWord|0.1.0
1268// CodeSystem KeyWord
1269
1270  public static Extension makeCSKeyWord(String value) {
1271    return new Extension(ExtensionConstants.EXT_CSKEY_WORD).setValue(new StringType(value));
1272  }
1273
1274  public static CodeSystem addCSKeyWord(CodeSystem context, String value) {
1275    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CSKEY_WORD, new StringType(value));
1276    return context;
1277  }
1278
1279  public static List<String> getCSKeyWordList(CodeSystem context) {
1280    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CSKEY_WORD);
1281  }
1282
1283// -- CSLabel -------------------------------------
1284// http://hl7.org/fhir/StructureDefinition/codesystem-label|0.1.0
1285// CodeSystem Label
1286
1287  public static Extension makeCSLabel(String value) {
1288    return new Extension(ExtensionConstants.EXT_CSLABEL).setValue(new StringType(value));
1289  }
1290
1291  public static org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSLabel(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, String value) {
1292    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSLABEL, new StringType(value));
1293    return context;
1294  }
1295
1296  public static String getCSLabel(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) {
1297    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSLABEL);
1298  }
1299
1300// -- CSMap -------------------------------------
1301// http://hl7.org/fhir/StructureDefinition/codesystem-map|0.1.0
1302// CodeSystem Map
1303
1304  public static Extension makeCSMap(String value) {
1305    return new Extension(ExtensionConstants.EXT_CSMAP).setValue(new CanonicalType(value));
1306  }
1307
1308  public static CodeSystem setCSMap(CodeSystem context, String value) {
1309    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSMAP, new CanonicalType(value));
1310    return context;
1311  }
1312
1313  public static String getCSMap(CodeSystem context) {
1314    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSMAP);
1315  }
1316
1317// -- CSPropertiesMode -------------------------------------
1318// http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode|0.1.0
1319// CodeSystem Properties Mode
1320
1321  public static Extension makeCSPropertiesMode(String value) {
1322    return new Extension(ExtensionConstants.EXT_CSPROPERTIES_MODE).setValue(new CodeType(value));
1323  }
1324
1325  public static CodeSystem setCSPropertiesMode(CodeSystem context, String value) {
1326    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSPROPERTIES_MODE, new CodeType(value));
1327    return context;
1328  }
1329
1330  public static String getCSPropertiesMode(CodeSystem context) {
1331    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSPROPERTIES_MODE);
1332  }
1333
1334// -- CSReplacedby -------------------------------------
1335// http://hl7.org/fhir/StructureDefinition/codesystem-replacedby|0.1.0
1336// CodeSystem Replacedby
1337
1338  public static Extension makeCSReplacedby(Coding value) {
1339    return new Extension(ExtensionConstants.EXT_CSREPLACEDBY).setValue(value);
1340  }
1341
1342  public static org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSReplacedby(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, Coding value) {
1343    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSREPLACEDBY, value);
1344    return context;
1345  }
1346
1347  public static Coding getCSReplacedby(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) {
1348    return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_CSREPLACEDBY);
1349  }
1350
1351// -- CSSourceReference -------------------------------------
1352// http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference|0.1.0
1353// CodeSystem Source Reference
1354
1355  public static Extension makeCSSourceReference(String value) {
1356    return new Extension(ExtensionConstants.EXT_CSSOURCE_REFERENCE).setValue(new UriType(value));
1357  }
1358
1359  public static CodeSystem setCSSourceReference(CodeSystem context, String value) {
1360    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSSOURCE_REFERENCE, new UriType(value));
1361    return context;
1362  }
1363
1364  public static String getCSSourceReference(CodeSystem context) {
1365    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSSOURCE_REFERENCE);
1366  }
1367
1368// -- CSTrustedExpansion -------------------------------------
1369// http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion|0.1.0
1370// CodeSystem Trusted Expansion
1371
1372  public static Extension makeCSTrustedExpansion(String value) {
1373    return new Extension(ExtensionConstants.EXT_CSTRUSTED_EXPANSION).setValue(new UriType(value));
1374  }
1375
1376  public static CodeSystem addCSTrustedExpansion(CodeSystem context, String value) {
1377    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CSTRUSTED_EXPANSION, new UriType(value));
1378    return context;
1379  }
1380
1381  public static List<String> getCSTrustedExpansionList(CodeSystem context) {
1382    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CSTRUSTED_EXPANSION);
1383  }
1384
1385// -- CSUseMarkdown -------------------------------------
1386// http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown|0.1.0
1387// CodeSystem Use Markdown
1388
1389  public static Extension makeCSUseMarkdown(boolean value) {
1390    return new Extension(ExtensionConstants.EXT_CSUSE_MARKDOWN).setValue(new BooleanType(value));
1391  }
1392
1393  public static CodeSystem setCSUseMarkdown(CodeSystem context, boolean value) {
1394    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSUSE_MARKDOWN, new BooleanType(value));
1395    return context;
1396  }
1397
1398  public static Boolean getCSUseMarkdown(CodeSystem context) {
1399    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_CSUSE_MARKDOWN);
1400  }
1401
1402// -- CSWarning -------------------------------------
1403// http://hl7.org/fhir/StructureDefinition/codesystem-warning|0.1.0
1404// CodeSystem Warning
1405
1406  public static Extension makeCSWarning(String value) {
1407    return new Extension(ExtensionConstants.EXT_CSWARNING).setValue(new MarkdownType(value));
1408  }
1409
1410  public static CodeSystem setCSWarning(CodeSystem context, String value) {
1411    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSWARNING, new MarkdownType(value));
1412    return context;
1413  }
1414
1415  public static String getCSWarning(CodeSystem context) {
1416    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSWARNING);
1417  }
1418
1419// -- CSWorkflowStatus -------------------------------------
1420// http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus|0.1.0
1421// CodeSystem Workflow Status
1422
1423  public static Extension makeCSWorkflowStatus(String value) {
1424    return new Extension(ExtensionConstants.EXT_CSWORKFLOW_STATUS).setValue(new StringType(value));
1425  }
1426
1427  public static CodeSystem setCSWorkflowStatus(CodeSystem context, String value) {
1428    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSWORKFLOW_STATUS, new StringType(value));
1429    return context;
1430  }
1431
1432  public static String getCSWorkflowStatus(CodeSystem context) {
1433    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSWORKFLOW_STATUS);
1434  }
1435
1436// -- CodingConformance -------------------------------------
1437// http://hl7.org/fhir/StructureDefinition/coding-conformance|0.1.0
1438// Coding Conformance
1439
1440  public static Extension makeCodingConformance(String value) {
1441    return new Extension(ExtensionConstants.EXT_CODING_CONFORMANCE).setValue(new CanonicalType(value));
1442  }
1443
1444  public static Coding addCodingConformance(Coding context, String value) {
1445    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CODING_CONFORMANCE, new CanonicalType(value));
1446    return context;
1447  }
1448
1449  public static List<String> getCodingConformanceList(Coding context) {
1450    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CODING_CONFORMANCE);
1451  }
1452
1453// -- CodingPurpose -------------------------------------
1454// http://hl7.org/fhir/StructureDefinition/coding-purpose|0.1.0
1455// Coding Purpose
1456
1457  public static Extension makeCodingPurpose(Coding value) {
1458    return new Extension(ExtensionConstants.EXT_CODING_PURPOSE).setValue(value);
1459  }
1460
1461  public static Coding addCodingPurpose(Coding context, Coding value) {
1462    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CODING_PURPOSE, value);
1463    return context;
1464  }
1465
1466  public static List<Coding> getCodingPurposeList(Coding context) {
1467    return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_CODING_PURPOSE);
1468  }
1469
1470// -- Sctdescid -------------------------------------
1471// http://hl7.org/fhir/StructureDefinition/coding-sctdescid|0.1.0
1472// SNOMED CT Description Id
1473
1474  public static Extension makeSctdescid(String value) {
1475    return new Extension(ExtensionConstants.EXT_SCTDESCID).setValue(new IdType(value));
1476  }
1477
1478  public static Coding setSctdescid(Coding context, String value) {
1479    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SCTDESCID, new IdType(value));
1480    return context;
1481  }
1482
1483  public static String getSctdescid(Coding context) {
1484    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SCTDESCID);
1485  }
1486
1487// -- CMedia -------------------------------------
1488// http://hl7.org/fhir/StructureDefinition/communication-media|0.1.0
1489// Communication Media
1490
1491  public static Extension makeCMedia(Attachment value) {
1492    return new Extension(ExtensionConstants.EXT_CMEDIA).setValue(value);
1493  }
1494
1495  public static Communication addCMedia(Communication context, Attachment value) {
1496    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CMEDIA, value);
1497    return context;
1498  }
1499
1500  public static List<Attachment> getCMediaList(Communication context) {
1501    return ExtensionsUtils.getExtensionList(Attachment.class, context, ExtensionConstants.EXT_CMEDIA);
1502  }
1503
1504// -- CRInitiatingLocation -------------------------------------
1505// http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation|0.1.0
1506// CommunicationRequest Initiating Location
1507
1508  public static Extension makeCRInitiatingLocation(Reference value) {
1509    return new Extension(ExtensionConstants.EXT_CRINITIATING_LOCATION).setValue(value);
1510  }
1511
1512  public static CommunicationRequest setCRInitiatingLocation(CommunicationRequest context, Reference value) {
1513    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CRINITIATING_LOCATION, value);
1514    return context;
1515  }
1516
1517  public static Reference getCRInitiatingLocation(CommunicationRequest context) {
1518    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CRINITIATING_LOCATION);
1519  }
1520
1521// -- COtherConfidentiality -------------------------------------
1522// http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality|0.1.0
1523// Composition Other Confidentiality
1524
1525  public static Extension makeCOtherConfidentiality(Coding value) {
1526    return new Extension(ExtensionConstants.EXT_COTHER_CONFIDENTIALITY).setValue(value);
1527  }
1528
1529  public static Composition addCOtherConfidentiality(Composition context, Coding value) {
1530    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COTHER_CONFIDENTIALITY, value);
1531    return context;
1532  }
1533
1534  public static List<Coding> getCOtherConfidentialityList(Composition context) {
1535    return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_COTHER_CONFIDENTIALITY);
1536  }
1537
1538// -- CDVersionNumber -------------------------------------
1539// http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber|0.1.0
1540// Composition Version Number
1541
1542  public static Extension makeCDVersionNumber(String value) {
1543    return new Extension(ExtensionConstants.EXT_CDVERSION_NUMBER).setValue(new StringType(value));
1544  }
1545
1546  public static Composition setCDVersionNumber(Composition context, String value) {
1547    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CDVERSION_NUMBER, new StringType(value));
1548    return context;
1549  }
1550
1551  public static String getCDVersionNumber(Composition context) {
1552    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CDVERSION_NUMBER);
1553  }
1554
1555// -- CSectionSubject -------------------------------------
1556// http://hl7.org/fhir/StructureDefinition/composition-section-subject|0.1.0
1557// Composition Section Subject
1558
1559  public static Extension makeCSectionSubject(String value) {
1560    return new Extension(ExtensionConstants.EXT_CSECTION_SUBJECT).setValue(new StringType(value));
1561  }
1562
1563  public static org.hl7.fhir.r5.model.Composition.SectionComponent setCSectionSubject(org.hl7.fhir.r5.model.Composition.SectionComponent context, String value) {
1564    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSECTION_SUBJECT, new StringType(value));
1565    return context;
1566  }
1567
1568  public static String getCSectionSubject(org.hl7.fhir.r5.model.Composition.SectionComponent context) {
1569    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSECTION_SUBJECT);
1570  }
1571
1572// -- CMBidirectional -------------------------------------
1573// http://hl7.org/fhir/StructureDefinition/concept-bidirectional|0.1.0
1574// ConceptMap Bi-directional
1575
1576  public static Extension makeCMBidirectional(boolean value) {
1577    return new Extension(ExtensionConstants.EXT_CMBIDIRECTIONAL).setValue(new BooleanType(value));
1578  }
1579
1580  public static ConceptMap setCMBidirectional(ConceptMap context, boolean value) {
1581    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CMBIDIRECTIONAL, new BooleanType(value));
1582    return context;
1583  }
1584
1585  public static Boolean getCMBidirectional(ConceptMap context) {
1586    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_CMBIDIRECTIONAL);
1587  }
1588
1589// -- ConditionAssertedDate -------------------------------------
1590// http://hl7.org/fhir/StructureDefinition/condition-assertedDate|0.1.0
1591// Condition Asserted Date
1592
1593  public static Extension makeConditionAssertedDate(String value) {
1594    return new Extension(ExtensionConstants.EXT_CONDITION_ASSERTED_DATE).setValue(new DateTimeType(value));
1595  }
1596
1597  public static Condition setConditionAssertedDate(Condition context, String value) {
1598    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONDITION_ASSERTED_DATE, new DateTimeType(value));
1599    return context;
1600  }
1601
1602  public static String getConditionAssertedDate(Condition context) {
1603    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONDITION_ASSERTED_DATE);
1604  }
1605
1606// -- ConditionDiseaseCourse -------------------------------------
1607// http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse|0.1.0
1608// Condition Disease Course
1609
1610  public static Extension makeConditionDiseaseCourse(CodeableConcept value) {
1611    return new Extension(ExtensionConstants.EXT_CONDITION_DISEASE_COURSE).setValue(value);
1612  }
1613
1614  public static Condition setConditionDiseaseCourse(Condition context, CodeableConcept value) {
1615    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONDITION_DISEASE_COURSE, value);
1616    return context;
1617  }
1618
1619  public static CodeableConcept getConditionDiseaseCourse(Condition context) {
1620    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_CONDITION_DISEASE_COURSE);
1621  }
1622
1623// -- ConditionDueTo -------------------------------------
1624// http://hl7.org/fhir/StructureDefinition/condition-dueTo|0.1.0
1625// Condition Due To
1626
1627  public static Extension makeConditionDueTo(CodeableConcept value) {
1628    return new Extension(ExtensionConstants.EXT_CONDITION_DUE_TO).setValue(value);
1629  }
1630
1631  public static Extension makeConditionDueTo(Reference value) {
1632    return new Extension(ExtensionConstants.EXT_CONDITION_DUE_TO).setValue(value);
1633  }
1634
1635  public static Condition addConditionDueTo(Condition context, CodeableConcept value) {
1636    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_DUE_TO, value);
1637    return context;
1638  }
1639
1640  public static List<CodeableConcept> getConditionDueToCodeableConceptList(Condition context) {
1641    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_CONDITION_DUE_TO);
1642  }
1643
1644  public static Condition addConditionDueTo(Condition context, Reference value) {
1645    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_DUE_TO, value);
1646    return context;
1647  }
1648
1649  public static List<Reference> getConditionDueToReferenceList(Condition context) {
1650    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONDITION_DUE_TO);
1651  }
1652
1653// -- ConditionOccurredFollowing -------------------------------------
1654// http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing|0.1.0
1655// Condition Occurred Following
1656
1657  public static Extension makeConditionOccurredFollowing(CodeableConcept value) {
1658    return new Extension(ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING).setValue(value);
1659  }
1660
1661  public static Extension makeConditionOccurredFollowing(Reference value) {
1662    return new Extension(ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING).setValue(value);
1663  }
1664
1665  public static Condition addConditionOccurredFollowing(Condition context, CodeableConcept value) {
1666    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING, value);
1667    return context;
1668  }
1669
1670  public static List<CodeableConcept> getConditionOccurredFollowingCodeableConceptList(Condition context) {
1671    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING);
1672  }
1673
1674  public static Condition addConditionOccurredFollowing(Condition context, Reference value) {
1675    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING, value);
1676    return context;
1677  }
1678
1679  public static List<Reference> getConditionOccurredFollowingReferenceList(Condition context) {
1680    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING);
1681  }
1682
1683// -- ConditionOutcome -------------------------------------
1684// http://hl7.org/fhir/StructureDefinition/condition-outcome|0.1.0
1685// Condition Outcome
1686
1687  public static Extension makeConditionOutcome(CodeableConcept value) {
1688    return new Extension(ExtensionConstants.EXT_CONDITION_OUTCOME).setValue(value);
1689  }
1690
1691  public static Condition setConditionOutcome(Condition context, CodeableConcept value) {
1692    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONDITION_OUTCOME, value);
1693    return context;
1694  }
1695
1696  public static CodeableConcept getConditionOutcome(Condition context) {
1697    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_CONDITION_OUTCOME);
1698  }
1699
1700// -- ConditionRelated -------------------------------------
1701// http://hl7.org/fhir/StructureDefinition/condition-related|0.1.0
1702// Condition Related
1703
1704  public static Extension makeConditionRelated(Reference value) {
1705    return new Extension(ExtensionConstants.EXT_CONDITION_RELATED).setValue(value);
1706  }
1707
1708  public static Condition addConditionRelated(Condition context, Reference value) {
1709    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_RELATED, value);
1710    return context;
1711  }
1712
1713  public static List<Reference> getConditionRelatedList(Condition context) {
1714    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONDITION_RELATED);
1715  }
1716
1717// -- ConditionReviewed -------------------------------------
1718// http://hl7.org/fhir/StructureDefinition/condition-reviewed|0.1.0
1719// Condition Reviewed
1720
1721  public static Extension makeConditionReviewed(String value) {
1722    return new Extension(ExtensionConstants.EXT_CONDITION_REVIEWED).setValue(new DateTimeType(value));
1723  }
1724
1725  public static Condition setConditionReviewed(Condition context, String value) {
1726    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONDITION_REVIEWED, new DateTimeType(value));
1727    return context;
1728  }
1729
1730  public static String getConditionReviewed(Condition context) {
1731    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONDITION_REVIEWED);
1732  }
1733
1734// -- ConditionRuledOut -------------------------------------
1735// http://hl7.org/fhir/StructureDefinition/condition-ruledOut|0.1.0
1736// Condition Ruled Out
1737
1738  public static Extension makeConditionRuledOut(Reference value) {
1739    return new Extension(ExtensionConstants.EXT_CONDITION_RULED_OUT).setValue(value);
1740  }
1741
1742  public static Condition addConditionRuledOut(Condition context, Reference value) {
1743    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_RULED_OUT, value);
1744    return context;
1745  }
1746
1747  public static List<Reference> getConditionRuledOutList(Condition context) {
1748    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONDITION_RULED_OUT);
1749  }
1750
1751// -- ConsentNotificationEndpoint -------------------------------------
1752// http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint|0.1.0
1753// Consent Disclosure Notification Endpoint
1754
1755  public static Extension makeConsentNotificationEndpoint(String value) {
1756    return new Extension(ExtensionConstants.EXT_CONSENT_NOTIFICATION_ENDPOINT).setValue(new UriType(value));
1757  }
1758
1759  public static Consent setConsentNotificationEndpoint(Consent context, String value) {
1760    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONSENT_NOTIFICATION_ENDPOINT, new UriType(value));
1761    return context;
1762  }
1763
1764  public static String getConsentNotificationEndpoint(Consent context) {
1765    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONSENT_NOTIFICATION_ENDPOINT);
1766  }
1767
1768// -- ConsentResearchStudyContext -------------------------------------
1769// http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext|0.1.0
1770// Consent Research Study Context
1771
1772  public static Extension makeConsentResearchStudyContext(Reference value) {
1773    return new Extension(ExtensionConstants.EXT_CONSENT_RESEARCH_STUDY_CONTEXT).setValue(value);
1774  }
1775
1776  public static org.hl7.fhir.r5.model.Consent.ProvisionComponent setConsentResearchStudyContext(org.hl7.fhir.r5.model.Consent.ProvisionComponent context, Reference value) {
1777    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONSENT_RESEARCH_STUDY_CONTEXT, value);
1778    return context;
1779  }
1780
1781  public static Reference getConsentResearchStudyContext(org.hl7.fhir.r5.model.Consent.ProvisionComponent context) {
1782    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONSENT_RESEARCH_STUDY_CONTEXT);
1783  }
1784
1785// -- ConsentTranscriber -------------------------------------
1786// http://hl7.org/fhir/StructureDefinition/consent-Transcriber|0.1.0
1787// Consent Transcriber
1788
1789  public static Extension makeConsentTranscriber(Reference value) {
1790    return new Extension(ExtensionConstants.EXT_CONSENT_TRANSCRIBER).setValue(value);
1791  }
1792
1793  public static Consent setConsentTranscriber(Consent context, Reference value) {
1794    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONSENT_TRANSCRIBER, value);
1795    return context;
1796  }
1797
1798  public static Reference getConsentTranscriber(Consent context) {
1799    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONSENT_TRANSCRIBER);
1800  }
1801
1802// -- ConsentWitness -------------------------------------
1803// http://hl7.org/fhir/StructureDefinition/consent-Witness|0.1.0
1804// Consent Witness
1805
1806  public static Extension makeConsentWitness(Reference value) {
1807    return new Extension(ExtensionConstants.EXT_CONSENT_WITNESS).setValue(value);
1808  }
1809
1810  public static Consent setConsentWitness(Consent context, Reference value) {
1811    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONSENT_WITNESS, value);
1812    return context;
1813  }
1814
1815  public static Reference getConsentWitness(Consent context) {
1816    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONSENT_WITNESS);
1817  }
1818
1819// -- ConsentLocation -------------------------------------
1820// http://hl7.org/fhir/StructureDefinition/consent-location|0.1.0
1821// Consent Location of Access restriction
1822
1823  public static Extension makeConsentLocation(Reference value) {
1824    return new Extension(ExtensionConstants.EXT_CONSENT_LOCATION).setValue(value);
1825  }
1826
1827  public static org.hl7.fhir.r5.model.Consent.ProvisionComponent addConsentLocation(org.hl7.fhir.r5.model.Consent.ProvisionComponent context, Reference value) {
1828    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONSENT_LOCATION, value);
1829    return context;
1830  }
1831
1832  public static List<Reference> getConsentLocationList(org.hl7.fhir.r5.model.Consent.ProvisionComponent context) {
1833    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONSENT_LOCATION);
1834  }
1835
1836// -- ContactPointArea -------------------------------------
1837// http://hl7.org/fhir/StructureDefinition/contactpoint-area|0.1.0
1838// ContactPoint Area
1839
1840  public static Extension makeContactPointArea(String value) {
1841    return new Extension(ExtensionConstants.EXT_CONTACT_POINT_AREA).setValue(new StringType(value));
1842  }
1843
1844  public static ContactPoint setContactPointArea(ContactPoint context, String value) {
1845    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_AREA, new StringType(value));
1846    return context;
1847  }
1848
1849  public static String getContactPointArea(ContactPoint context) {
1850    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_AREA);
1851  }
1852
1853// -- ContactPointComment -------------------------------------
1854// http://hl7.org/fhir/StructureDefinition/contactpoint-comment|0.1.0
1855// ContactPoint Comment
1856
1857  public static Extension makeContactPointComment(String value) {
1858    return new Extension(ExtensionConstants.EXT_CONTACT_POINT_COMMENT).setValue(new StringType(value));
1859  }
1860
1861  public static ContactPoint setContactPointComment(ContactPoint context, String value) {
1862    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_COMMENT, new StringType(value));
1863    return context;
1864  }
1865
1866  public static String getContactPointComment(ContactPoint context) {
1867    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_COMMENT);
1868  }
1869
1870  public static ExtendedContactDetail setContactPointComment(ExtendedContactDetail context, String value) {
1871    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_COMMENT, new StringType(value));
1872    return context;
1873  }
1874
1875  public static String getContactPointComment(ExtendedContactDetail context) {
1876    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_COMMENT);
1877  }
1878
1879// -- ContactPointCountry -------------------------------------
1880// http://hl7.org/fhir/StructureDefinition/contactpoint-country|0.1.0
1881// ContactPoint Country
1882
1883  public static Extension makeContactPointCountry(String value) {
1884    return new Extension(ExtensionConstants.EXT_CONTACT_POINT_COUNTRY).setValue(new StringType(value));
1885  }
1886
1887  public static ContactPoint setContactPointCountry(ContactPoint context, String value) {
1888    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_COUNTRY, new StringType(value));
1889    return context;
1890  }
1891
1892  public static String getContactPointCountry(ContactPoint context) {
1893    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_COUNTRY);
1894  }
1895
1896// -- ContactPointExtension -------------------------------------
1897// http://hl7.org/fhir/StructureDefinition/contactpoint-extension|0.1.0
1898// ContactPoint Extension
1899
1900  public static Extension makeContactPointExtension(String value) {
1901    return new Extension(ExtensionConstants.EXT_CONTACT_POINT_EXTENSION).setValue(new StringType(value));
1902  }
1903
1904  public static ContactPoint setContactPointExtension(ContactPoint context, String value) {
1905    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_EXTENSION, new StringType(value));
1906    return context;
1907  }
1908
1909  public static String getContactPointExtension(ContactPoint context) {
1910    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_EXTENSION);
1911  }
1912
1913// -- ContactPointLocal -------------------------------------
1914// http://hl7.org/fhir/StructureDefinition/contactpoint-local|0.1.0
1915// ContactPoint Local
1916
1917  public static Extension makeContactPointLocal(String value) {
1918    return new Extension(ExtensionConstants.EXT_CONTACT_POINT_LOCAL).setValue(new StringType(value));
1919  }
1920
1921  public static ContactPoint setContactPointLocal(ContactPoint context, String value) {
1922    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_LOCAL, new StringType(value));
1923    return context;
1924  }
1925
1926  public static String getContactPointLocal(ContactPoint context) {
1927    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_LOCAL);
1928  }
1929
1930// -- AlternativeExpression -------------------------------------
1931// http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression|0.1.0
1932// Alternative expression
1933
1934  public static Extension makeAlternativeExpression(Expression value) {
1935    return new Extension(ExtensionConstants.EXT_ALTERNATIVE_EXPRESSION).setValue(value);
1936  }
1937
1938  public static Expression setAlternativeExpression(Expression context, Expression value) {
1939    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALTERNATIVE_EXPRESSION, value);
1940    return context;
1941  }
1942
1943  public static Expression getAlternativeExpression(Expression context) {
1944    return ExtensionsUtils.getExtension(Expression.class, context, ExtensionConstants.EXT_ALTERNATIVE_EXPRESSION);
1945  }
1946
1947// -- CalculatedValue -------------------------------------
1948// http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue|0.1.0
1949// calculated value
1950
1951  public static Extension makeCalculatedValue(Expression value) {
1952    return new Extension(ExtensionConstants.EXT_CALCULATED_VALUE).setValue(value);
1953  }
1954
1955  public static Element addCalculatedValue(Element context, Expression value) {
1956    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CALCULATED_VALUE, value);
1957    return context;
1958  }
1959
1960  public static List<Expression> getCalculatedValueList(Element context) {
1961    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_CALCULATED_VALUE);
1962  }
1963
1964// -- CdsHooksEndpoint -------------------------------------
1965// http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint|0.1.0
1966// cds hooks endpoint
1967
1968  public static Extension makeCdsHooksEndpoint(String value) {
1969    return new Extension(ExtensionConstants.EXT_CDS_HOOKS_ENDPOINT).setValue(new UriType(value));
1970  }
1971
1972  public static PlanDefinition setCdsHooksEndpoint(PlanDefinition context, String value) {
1973    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CDS_HOOKS_ENDPOINT, new UriType(value));
1974    return context;
1975  }
1976
1977  public static String getCdsHooksEndpoint(PlanDefinition context) {
1978    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CDS_HOOKS_ENDPOINT);
1979  }
1980
1981// -- CQFCitation -------------------------------------
1982// http://hl7.org/fhir/StructureDefinition/cqf-citation|0.1.0
1983// CQF Citation
1984
1985  public static Extension makeCQFCitation(String value) {
1986    return new Extension(ExtensionConstants.EXT_CQFCITATION).setValue(new StringType(value));
1987  }
1988
1989  public static Element setCQFCitation(Element context, String value) {
1990    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CQFCITATION, new StringType(value));
1991    return context;
1992  }
1993
1994  public static String getCQFCitation(Element context) {
1995    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CQFCITATION);
1996  }
1997
1998// -- ContactAddress -------------------------------------
1999// http://hl7.org/fhir/StructureDefinition/cqf-contactAddress|0.1.0
2000// Contact address
2001
2002  public static Extension makeContactAddress(Address value) {
2003    return new Extension(ExtensionConstants.EXT_CONTACT_ADDRESS).setValue(value);
2004  }
2005
2006  public static ContactDetail setContactAddress(ContactDetail context, Address value) {
2007    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_ADDRESS, value);
2008    return context;
2009  }
2010
2011  public static Address getContactAddress(ContactDetail context) {
2012    return ExtensionsUtils.getExtension(Address.class, context, ExtensionConstants.EXT_CONTACT_ADDRESS);
2013  }
2014
2015// -- ContactReference -------------------------------------
2016// http://hl7.org/fhir/StructureDefinition/cqf-contactReference|0.1.0
2017// Contact Reference
2018
2019  public static Extension makeContactReference(Reference value) {
2020    return new Extension(ExtensionConstants.EXT_CONTACT_REFERENCE).setValue(value);
2021  }
2022
2023  public static ContactDetail setContactReference(ContactDetail context, Reference value) {
2024    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_REFERENCE, value);
2025    return context;
2026  }
2027
2028  public static Reference getContactReference(ContactDetail context) {
2029    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONTACT_REFERENCE);
2030  }
2031
2032// -- ContributionTime -------------------------------------
2033// http://hl7.org/fhir/StructureDefinition/cqf-contributionTime|0.1.0
2034// Contribution time
2035
2036  public static Extension makeContributionTime(String value) {
2037    return new Extension(ExtensionConstants.EXT_CONTRIBUTION_TIME).setValue(new DateTimeType(value));
2038  }
2039
2040  public static ContactDetail setContributionTime(ContactDetail context, String value) {
2041    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTRIBUTION_TIME, new DateTimeType(value));
2042    return context;
2043  }
2044
2045  public static String getContributionTime(ContactDetail context) {
2046    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTRIBUTION_TIME);
2047  }
2048
2049// -- CQFCQLOptions -------------------------------------
2050// http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions|0.1.0
2051// CQF CQL Options
2052
2053  public static Extension makeCQFCQLOptions(Reference value) {
2054    return new Extension(ExtensionConstants.EXT_CQFCQLOPTIONS).setValue(value);
2055  }
2056
2057  public static Library setCQFCQLOptions(Library context, Reference value) {
2058    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CQFCQLOPTIONS, value);
2059    return context;
2060  }
2061
2062  public static Reference getCQFCQLOptions(Library context) {
2063    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CQFCQLOPTIONS);
2064  }
2065
2066// -- DirectReferenceCode -------------------------------------
2067// http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode|0.1.0
2068// direct reference code
2069
2070  public static Extension makeDirectReferenceCode(Coding value) {
2071    return new Extension(ExtensionConstants.EXT_DIRECT_REFERENCE_CODE).setValue(value);
2072  }
2073
2074  public static Element addDirectReferenceCode(Element context, Coding value) {
2075    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DIRECT_REFERENCE_CODE, value);
2076    return context;
2077  }
2078
2079  public static List<Coding> getDirectReferenceCodeList(Element context) {
2080    return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_DIRECT_REFERENCE_CODE);
2081  }
2082
2083// -- EncounterClass -------------------------------------
2084// http://hl7.org/fhir/StructureDefinition/cqf-encounterClass|0.1.0
2085// encounter class
2086
2087  public static Extension makeEncounterClass(CodeableConcept value) {
2088    return new Extension(ExtensionConstants.EXT_ENCOUNTER_CLASS).setValue(value);
2089  }
2090
2091  public static Basic setEncounterClass(Basic context, CodeableConcept value) {
2092    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENCOUNTER_CLASS, value);
2093    return context;
2094  }
2095
2096  public static CodeableConcept getEncounterClass(Basic context) {
2097    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_ENCOUNTER_CLASS);
2098  }
2099
2100// -- EncounterType -------------------------------------
2101// http://hl7.org/fhir/StructureDefinition/cqf-encounterType|0.1.0
2102// encounter type
2103
2104  public static Extension makeEncounterType(CodeableConcept value) {
2105    return new Extension(ExtensionConstants.EXT_ENCOUNTER_TYPE).setValue(value);
2106  }
2107
2108  public static Basic setEncounterType(Basic context, CodeableConcept value) {
2109    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENCOUNTER_TYPE, value);
2110    return context;
2111  }
2112
2113  public static CodeableConcept getEncounterType(Basic context) {
2114    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_ENCOUNTER_TYPE);
2115  }
2116
2117// -- CQFExpression -------------------------------------
2118// http://hl7.org/fhir/StructureDefinition/cqf-expression|0.1.0
2119// CQF Expression
2120
2121  public static Extension makeCQFExpression(Expression value) {
2122    return new Extension(ExtensionConstants.EXT_CQFEXPRESSION).setValue(value);
2123  }
2124
2125  public static Element setCQFExpression(Element context, Expression value) {
2126    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CQFEXPRESSION, value);
2127    return context;
2128  }
2129
2130  public static Expression getCQFExpression(Element context) {
2131    return ExtensionsUtils.getExtension(Expression.class, context, ExtensionConstants.EXT_CQFEXPRESSION);
2132  }
2133
2134// -- InitialValue -------------------------------------
2135// http://hl7.org/fhir/StructureDefinition/cqf-initialValue|0.1.0
2136// initial value
2137
2138  public static Extension makeInitialValue(Expression value) {
2139    return new Extension(ExtensionConstants.EXT_INITIAL_VALUE).setValue(value);
2140  }
2141
2142  public static Element addInitialValue(Element context, Expression value) {
2143    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_INITIAL_VALUE, value);
2144    return context;
2145  }
2146
2147  public static List<Expression> getInitialValueList(Element context) {
2148    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_INITIAL_VALUE);
2149  }
2150
2151// -- InitiatingOrganization -------------------------------------
2152// http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization|0.1.0
2153// initiating organization
2154
2155  public static Extension makeInitiatingOrganization(Reference value) {
2156    return new Extension(ExtensionConstants.EXT_INITIATING_ORGANIZATION).setValue(value);
2157  }
2158
2159  public static Basic setInitiatingOrganization(Basic context, Reference value) {
2160    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_INITIATING_ORGANIZATION, value);
2161    return context;
2162  }
2163
2164  public static Reference getInitiatingOrganization(Basic context) {
2165    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_INITIATING_ORGANIZATION);
2166  }
2167
2168// -- InitiatingPerson -------------------------------------
2169// http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson|0.1.0
2170// initiating person
2171
2172  public static Extension makeInitiatingPerson(Reference value) {
2173    return new Extension(ExtensionConstants.EXT_INITIATING_PERSON).setValue(value);
2174  }
2175
2176  public static Basic setInitiatingPerson(Basic context, Reference value) {
2177    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_INITIATING_PERSON, value);
2178    return context;
2179  }
2180
2181  public static Reference getInitiatingPerson(Basic context) {
2182    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_INITIATING_PERSON);
2183  }
2184
2185// -- InputParameters -------------------------------------
2186// http://hl7.org/fhir/StructureDefinition/cqf-inputParameters|0.1.0
2187// input parameters
2188
2189  public static Extension makeInputParameters(Reference value) {
2190    return new Extension(ExtensionConstants.EXT_INPUT_PARAMETERS).setValue(value);
2191  }
2192
2193  public static Element setInputParameters(Element context, Reference value) {
2194    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_INPUT_PARAMETERS, value);
2195    return context;
2196  }
2197
2198  public static Reference getInputParameters(Element context) {
2199    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_INPUT_PARAMETERS);
2200  }
2201
2202// -- IsPrefetchToken -------------------------------------
2203// http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken|0.1.0
2204// Is prefetch token
2205
2206  public static Extension makeIsPrefetchToken(boolean value) {
2207    return new Extension(ExtensionConstants.EXT_IS_PREFETCH_TOKEN).setValue(new BooleanType(value));
2208  }
2209
2210  public static ParameterDefinition setIsPrefetchToken(ParameterDefinition context, boolean value) {
2211    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_IS_PREFETCH_TOKEN, new BooleanType(value));
2212    return context;
2213  }
2214
2215  public static Boolean getIsPrefetchToken(ParameterDefinition context) {
2216    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_IS_PREFETCH_TOKEN);
2217  }
2218
2219// -- CQFKnowledgeCapability -------------------------------------
2220// http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability|0.1.0
2221// knowledge capability
2222
2223  public static Extension makeCQFKnowledgeCapability(String value) {
2224    return new Extension(ExtensionConstants.EXT_CQFKNOWLEDGE_CAPABILITY).setValue(new CodeType(value));
2225  }
2226
2227  public static Element addCQFKnowledgeCapability(Element context, String value) {
2228    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CQFKNOWLEDGE_CAPABILITY, new CodeType(value));
2229    return context;
2230  }
2231
2232  public static List<String> getCQFKnowledgeCapabilityList(Element context) {
2233    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CQFKNOWLEDGE_CAPABILITY);
2234  }
2235
2236// -- CQFKnowledgeRepresentationLevel -------------------------------------
2237// http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel|0.1.0
2238// knowledge representation level
2239
2240  public static Extension makeCQFKnowledgeRepresentationLevel(String value) {
2241    return new Extension(ExtensionConstants.EXT_CQFKNOWLEDGE_REPRESENTATION_LEVEL).setValue(new CodeType(value));
2242  }
2243
2244  public static Element addCQFKnowledgeRepresentationLevel(Element context, String value) {
2245    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CQFKNOWLEDGE_REPRESENTATION_LEVEL, new CodeType(value));
2246    return context;
2247  }
2248
2249  public static List<String> getCQFKnowledgeRepresentationLevelList(Element context) {
2250    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CQFKNOWLEDGE_REPRESENTATION_LEVEL);
2251  }
2252
2253// -- CQFLibrary -------------------------------------
2254// http://hl7.org/fhir/StructureDefinition/cqf-library|0.1.0
2255// CQF Library
2256
2257  public static Extension makeCQFLibrary(String value) {
2258    return new Extension(ExtensionConstants.EXT_CQFLIBRARY).setValue(new CanonicalType(value));
2259  }
2260
2261  public static Element addCQFLibrary(Element context, String value) {
2262    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CQFLIBRARY, new CanonicalType(value));
2263    return context;
2264  }
2265
2266  public static List<String> getCQFLibraryList(Element context) {
2267    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CQFLIBRARY);
2268  }
2269
2270// -- ParameterDefinition -------------------------------------
2271// http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition|0.1.0
2272// Parameter definition
2273
2274  public static Extension makeParameterDefinition(ParameterDefinition value) {
2275    return new Extension(ExtensionConstants.EXT_PARAMETER_DEFINITION).setValue(value);
2276  }
2277
2278  public static TriggerDefinition addParameterDefinition(TriggerDefinition context, ParameterDefinition value) {
2279    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PARAMETER_DEFINITION, value);
2280    return context;
2281  }
2282
2283  public static List<ParameterDefinition> getParameterDefinitionList(TriggerDefinition context) {
2284    return ExtensionsUtils.getExtensionList(ParameterDefinition.class, context, ExtensionConstants.EXT_PARAMETER_DEFINITION);
2285  }
2286
2287// -- QualityOfEvidence -------------------------------------
2288// http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence|0.1.0
2289// quality of evidence
2290
2291  public static Extension makeQualityOfEvidence(CodeableConcept value) {
2292    return new Extension(ExtensionConstants.EXT_QUALITY_OF_EVIDENCE).setValue(value);
2293  }
2294
2295  public static Element setQualityOfEvidence(Element context, CodeableConcept value) {
2296    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QUALITY_OF_EVIDENCE, value);
2297    return context;
2298  }
2299
2300  public static CodeableConcept getQualityOfEvidence(Element context) {
2301    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QUALITY_OF_EVIDENCE);
2302  }
2303
2304// -- ReceivingOrganization -------------------------------------
2305// http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization|0.1.0
2306// receiving organization
2307
2308  public static Extension makeReceivingOrganization(Reference value) {
2309    return new Extension(ExtensionConstants.EXT_RECEIVING_ORGANIZATION).setValue(value);
2310  }
2311
2312  public static Basic setReceivingOrganization(Basic context, Reference value) {
2313    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RECEIVING_ORGANIZATION, value);
2314    return context;
2315  }
2316
2317  public static Reference getReceivingOrganization(Basic context) {
2318    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_RECEIVING_ORGANIZATION);
2319  }
2320
2321// -- ReceivingPerson -------------------------------------
2322// http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson|0.1.0
2323// receiving person
2324
2325  public static Extension makeReceivingPerson(Reference value) {
2326    return new Extension(ExtensionConstants.EXT_RECEIVING_PERSON).setValue(value);
2327  }
2328
2329  public static Basic setReceivingPerson(Basic context, Reference value) {
2330    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RECEIVING_PERSON, value);
2331    return context;
2332  }
2333
2334  public static Reference getReceivingPerson(Basic context) {
2335    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_RECEIVING_PERSON);
2336  }
2337
2338// -- RecipientLanguage -------------------------------------
2339// http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage|0.1.0
2340// recipient language
2341
2342  public static Extension makeRecipientLanguage(CodeableConcept value) {
2343    return new Extension(ExtensionConstants.EXT_RECIPIENT_LANGUAGE).setValue(value);
2344  }
2345
2346  public static Basic setRecipientLanguage(Basic context, CodeableConcept value) {
2347    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RECIPIENT_LANGUAGE, value);
2348    return context;
2349  }
2350
2351  public static CodeableConcept getRecipientLanguage(Basic context) {
2352    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_RECIPIENT_LANGUAGE);
2353  }
2354
2355// -- RecipientType -------------------------------------
2356// http://hl7.org/fhir/StructureDefinition/cqf-recipientType|0.1.0
2357// recipient type
2358
2359  public static Extension makeRecipientType(CodeableConcept value) {
2360    return new Extension(ExtensionConstants.EXT_RECIPIENT_TYPE).setValue(value);
2361  }
2362
2363  public static Basic setRecipientType(Basic context, CodeableConcept value) {
2364    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RECIPIENT_TYPE, value);
2365    return context;
2366  }
2367
2368  public static CodeableConcept getRecipientType(Basic context) {
2369    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_RECIPIENT_TYPE);
2370  }
2371
2372// -- StrengthOfRecommendation -------------------------------------
2373// http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation|0.1.0
2374// strength of recommendation
2375
2376  public static Extension makeStrengthOfRecommendation(CodeableConcept value) {
2377    return new Extension(ExtensionConstants.EXT_STRENGTH_OF_RECOMMENDATION).setValue(value);
2378  }
2379
2380  public static Element setStrengthOfRecommendation(Element context, CodeableConcept value) {
2381    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_STRENGTH_OF_RECOMMENDATION, value);
2382    return context;
2383  }
2384
2385  public static CodeableConcept getStrengthOfRecommendation(Element context) {
2386    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_STRENGTH_OF_RECOMMENDATION);
2387  }
2388
2389// -- SupportedCqlVersion -------------------------------------
2390// http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion|0.1.0
2391// supported cql version
2392
2393  public static Extension makeSupportedCqlVersion(String value) {
2394    return new Extension(ExtensionConstants.EXT_SUPPORTED_CQL_VERSION).setValue(new StringType(value));
2395  }
2396
2397  public static org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent addSupportedCqlVersion(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context, String value) {
2398    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTED_CQL_VERSION, new StringType(value));
2399    return context;
2400  }
2401
2402  public static List<String> getSupportedCqlVersionList(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context) {
2403    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SUPPORTED_CQL_VERSION);
2404  }
2405
2406// -- SystemUserLanguage -------------------------------------
2407// http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage|0.1.0
2408// system user language
2409
2410  public static Extension makeSystemUserLanguage(CodeableConcept value) {
2411    return new Extension(ExtensionConstants.EXT_SYSTEM_USER_LANGUAGE).setValue(value);
2412  }
2413
2414  public static Basic setSystemUserLanguage(Basic context, CodeableConcept value) {
2415    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SYSTEM_USER_LANGUAGE, value);
2416    return context;
2417  }
2418
2419  public static CodeableConcept getSystemUserLanguage(Basic context) {
2420    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SYSTEM_USER_LANGUAGE);
2421  }
2422
2423// -- SystemUserTaskContext -------------------------------------
2424// http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext|0.1.0
2425// system user task context
2426
2427  public static Extension makeSystemUserTaskContext(CodeableConcept value) {
2428    return new Extension(ExtensionConstants.EXT_SYSTEM_USER_TASK_CONTEXT).setValue(value);
2429  }
2430
2431  public static Basic setSystemUserTaskContext(Basic context, CodeableConcept value) {
2432    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SYSTEM_USER_TASK_CONTEXT, value);
2433    return context;
2434  }
2435
2436  public static CodeableConcept getSystemUserTaskContext(Basic context) {
2437    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SYSTEM_USER_TASK_CONTEXT);
2438  }
2439
2440// -- SystemUserType -------------------------------------
2441// http://hl7.org/fhir/StructureDefinition/cqf-systemUserType|0.1.0
2442// system user type
2443
2444  public static Extension makeSystemUserType(CodeableConcept value) {
2445    return new Extension(ExtensionConstants.EXT_SYSTEM_USER_TYPE).setValue(value);
2446  }
2447
2448  public static Basic setSystemUserType(Basic context, CodeableConcept value) {
2449    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SYSTEM_USER_TYPE, value);
2450    return context;
2451  }
2452
2453  public static CodeableConcept getSystemUserType(Basic context) {
2454    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SYSTEM_USER_TYPE);
2455  }
2456
2457// -- CValidityPeriod -------------------------------------
2458// http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod|0.1.0
2459// Composition Validity Period
2460
2461  public static Extension makeCValidityPeriod(String value) {
2462    return new Extension(ExtensionConstants.EXT_CVALIDITY_PERIOD).setValue(new DateTimeType(value));
2463  }
2464
2465  public static Composition setCValidityPeriod(Composition context, String value) {
2466    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CVALIDITY_PERIOD, new DateTimeType(value));
2467    return context;
2468  }
2469
2470  public static String getCValidityPeriod(Composition context) {
2471    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CVALIDITY_PERIOD);
2472  }
2473
2474// -- DataAbsentReason -------------------------------------
2475// http://hl7.org/fhir/StructureDefinition/data-absent-reason|0.1.0
2476// Data Absent Reason
2477
2478  public static Extension makeDataAbsentReason(String value) {
2479    return new Extension(ExtensionConstants.EXT_DATA_ABSENT_REASON).setValue(new CodeType(value));
2480  }
2481
2482  public static Element setDataAbsentReason(Element context, String value) {
2483    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DATA_ABSENT_REASON, new CodeType(value));
2484    return context;
2485  }
2486
2487  public static String getDataAbsentReason(Element context) {
2488    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DATA_ABSENT_REASON);
2489  }
2490
2491// -- DesignNote -------------------------------------
2492// http://hl7.org/fhir/StructureDefinition/designNote|0.1.0
2493// Design Note
2494
2495  public static Extension makeDesignNote(String value) {
2496    return new Extension(ExtensionConstants.EXT_DESIGN_NOTE).setValue(new MarkdownType(value));
2497  }
2498
2499  public static ElementDefinition setDesignNote(ElementDefinition context, String value) {
2500    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DESIGN_NOTE, new MarkdownType(value));
2501    return context;
2502  }
2503
2504  public static String getDesignNote(ElementDefinition context) {
2505    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DESIGN_NOTE);
2506  }
2507
2508  public static Questionnaire setDesignNote(Questionnaire context, String value) {
2509    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DESIGN_NOTE, new MarkdownType(value));
2510    return context;
2511  }
2512
2513  public static String getDesignNote(Questionnaire context) {
2514    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DESIGN_NOTE);
2515  }
2516
2517  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setDesignNote(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
2518    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DESIGN_NOTE, new MarkdownType(value));
2519    return context;
2520  }
2521
2522  public static String getDesignNote(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
2523    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DESIGN_NOTE);
2524  }
2525
2526// -- DevCommercialBrand -------------------------------------
2527// http://hl7.org/fhir/StructureDefinition/device-commercialBrand|0.1.0
2528// Device Commercial Brand
2529
2530  public static Extension makeDevCommercialBrand(String value) {
2531    return new Extension(ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND).setValue(new StringType(value));
2532  }
2533
2534  public static Device setDevCommercialBrand(Device context, String value) {
2535    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND, new StringType(value));
2536    return context;
2537  }
2538
2539  public static String getDevCommercialBrand(Device context) {
2540    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND);
2541  }
2542
2543  public static DeviceDefinition setDevCommercialBrand(DeviceDefinition context, String value) {
2544    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND, new StringType(value));
2545    return context;
2546  }
2547
2548  public static String getDevCommercialBrand(DeviceDefinition context) {
2549    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND);
2550  }
2551
2552// -- DevImplantStatus -------------------------------------
2553// http://hl7.org/fhir/StructureDefinition/device-implantStatus|0.1.0
2554// Device Implantable Status
2555
2556  public static Extension makeDevImplantStatus(String value) {
2557    return new Extension(ExtensionConstants.EXT_DEV_IMPLANT_STATUS).setValue(new CodeType(value));
2558  }
2559
2560  public static Device setDevImplantStatus(Device context, String value) {
2561    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DEV_IMPLANT_STATUS, new CodeType(value));
2562    return context;
2563  }
2564
2565  public static String getDevImplantStatus(Device context) {
2566    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DEV_IMPLANT_STATUS);
2567  }
2568
2569// -- DRAddendumOf -------------------------------------
2570// http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf|0.1.0
2571// DiagnosticReport Addendum Of
2572
2573  public static Extension makeDRAddendumOf(Reference value) {
2574    return new Extension(ExtensionConstants.EXT_DRADDENDUM_OF).setValue(value);
2575  }
2576
2577  public static DiagnosticReport setDRAddendumOf(DiagnosticReport context, Reference value) {
2578    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRADDENDUM_OF, value);
2579    return context;
2580  }
2581
2582  public static Reference getDRAddendumOf(DiagnosticReport context) {
2583    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRADDENDUM_OF);
2584  }
2585
2586// -- DRExtends -------------------------------------
2587// http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends|0.1.0
2588// DiagnosticReport Extends
2589
2590  public static Extension makeDRExtends(Reference value) {
2591    return new Extension(ExtensionConstants.EXT_DREXTENDS).setValue(value);
2592  }
2593
2594  public static DiagnosticReport setDRExtends(DiagnosticReport context, Reference value) {
2595    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DREXTENDS, value);
2596    return context;
2597  }
2598
2599  public static Reference getDRExtends(DiagnosticReport context) {
2600    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DREXTENDS);
2601  }
2602
2603// -- DRFocus -------------------------------------
2604// http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus|0.1.0
2605// DiagnosticReport Delta
2606
2607  public static Extension makeDRFocus(Reference value) {
2608    return new Extension(ExtensionConstants.EXT_DRFOCUS).setValue(value);
2609  }
2610
2611  public static DiagnosticReport addDRFocus(DiagnosticReport context, Reference value) {
2612    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DRFOCUS, value);
2613    return context;
2614  }
2615
2616  public static List<Reference> getDRFocusList(DiagnosticReport context) {
2617    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_DRFOCUS);
2618  }
2619
2620// -- DRLocationPerformed -------------------------------------
2621// http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed|0.1.0
2622// DiagnosticReport Location Performed
2623
2624  public static Extension makeDRLocationPerformed(Reference value) {
2625    return new Extension(ExtensionConstants.EXT_DRLOCATION_PERFORMED).setValue(value);
2626  }
2627
2628  public static DiagnosticReport setDRLocationPerformed(DiagnosticReport context, Reference value) {
2629    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRLOCATION_PERFORMED, value);
2630    return context;
2631  }
2632
2633  public static Reference getDRLocationPerformed(DiagnosticReport context) {
2634    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRLOCATION_PERFORMED);
2635  }
2636
2637// -- DRReplaces -------------------------------------
2638// http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces|0.1.0
2639// DiagnosticReport Replaces
2640
2641  public static Extension makeDRReplaces(Reference value) {
2642    return new Extension(ExtensionConstants.EXT_DRREPLACES).setValue(value);
2643  }
2644
2645  public static DiagnosticReport setDRReplaces(DiagnosticReport context, Reference value) {
2646    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRREPLACES, value);
2647    return context;
2648  }
2649
2650  public static Reference getDRReplaces(DiagnosticReport context) {
2651    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRREPLACES);
2652  }
2653
2654// -- DRRisk -------------------------------------
2655// http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk|0.1.0
2656// DiagnosticReport Risk
2657
2658  public static Extension makeDRRisk(Reference value) {
2659    return new Extension(ExtensionConstants.EXT_DRRISK).setValue(value);
2660  }
2661
2662  public static DiagnosticReport addDRRisk(DiagnosticReport context, Reference value) {
2663    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DRRISK, value);
2664    return context;
2665  }
2666
2667  public static List<Reference> getDRRiskList(DiagnosticReport context) {
2668    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_DRRISK);
2669  }
2670
2671  public static Observation addDRRisk(Observation context, Reference value) {
2672    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DRRISK, value);
2673    return context;
2674  }
2675
2676  public static List<Reference> getDRRiskList(Observation context) {
2677    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_DRRISK);
2678  }
2679
2680// -- DRSummaryOf -------------------------------------
2681// http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf|0.1.0
2682// DocumentReference Summary Of
2683
2684  public static Extension makeDRSummaryOf(Reference value) {
2685    return new Extension(ExtensionConstants.EXT_DRSUMMARY_OF).setValue(value);
2686  }
2687
2688  public static DiagnosticReport setDRSummaryOf(DiagnosticReport context, Reference value) {
2689    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRSUMMARY_OF, value);
2690    return context;
2691  }
2692
2693  public static Reference getDRSummaryOf(DiagnosticReport context) {
2694    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRSUMMARY_OF);
2695  }
2696
2697// -- DisplayName -------------------------------------
2698// http://hl7.org/fhir/StructureDefinition/display|0.1.0
2699// Display Name
2700
2701  public static Extension makeDisplayName(String value) {
2702    return new Extension(ExtensionConstants.EXT_DISPLAY_NAME).setValue(new StringType(value));
2703  }
2704
2705  public static CanonicalType setDisplayName(CanonicalType context, String value) {
2706    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DISPLAY_NAME, new StringType(value));
2707    return context;
2708  }
2709
2710  public static String getDisplayName(CanonicalType context) {
2711    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DISPLAY_NAME);
2712  }
2713
2714// -- DRSourcepatient -------------------------------------
2715// http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient|0.1.0
2716// DocumentReference Source Patient
2717
2718  public static Extension makeDRSourcepatient(Reference value) {
2719    return new Extension(ExtensionConstants.EXT_DRSOURCEPATIENT).setValue(value);
2720  }
2721
2722  public static DocumentReference setDRSourcepatient(DocumentReference context, Reference value) {
2723    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRSOURCEPATIENT, value);
2724    return context;
2725  }
2726
2727  public static Reference getDRSourcepatient(DocumentReference context) {
2728    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRSOURCEPATIENT);
2729  }
2730
2731// -- DRThumbnail -------------------------------------
2732// http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail|0.1.0
2733// DocumentReference Thumbnail
2734
2735  public static Extension makeDRThumbnail(boolean value) {
2736    return new Extension(ExtensionConstants.EXT_DRTHUMBNAIL).setValue(new BooleanType(value));
2737  }
2738
2739  public static org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent setDRThumbnail(org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent context, boolean value) {
2740    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRTHUMBNAIL, new BooleanType(value));
2741    return context;
2742  }
2743
2744  public static Boolean getDRThumbnail(org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent context) {
2745    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_DRTHUMBNAIL);
2746  }
2747
2748// -- AllowedUnits -------------------------------------
2749// http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits|0.1.0
2750// Allowed Units
2751
2752  public static Extension makeAllowedUnits(CodeableConcept value) {
2753    return new Extension(ExtensionConstants.EXT_ALLOWED_UNITS).setValue(value);
2754  }
2755
2756  public static Extension makeAllowedUnits(String value) {
2757    return new Extension(ExtensionConstants.EXT_ALLOWED_UNITS).setValue(new CanonicalType(value));
2758  }
2759
2760  public static ElementDefinition setAllowedUnits(ElementDefinition context, CodeableConcept value) {
2761    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALLOWED_UNITS, value);
2762    return context;
2763  }
2764
2765  public static CodeableConcept getAllowedUnitsCodeableConcept(ElementDefinition context) {
2766    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_ALLOWED_UNITS);
2767  }
2768
2769  public static ElementDefinition setAllowedUnits(ElementDefinition context, String value) {
2770    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALLOWED_UNITS, new CanonicalType(value));
2771    return context;
2772  }
2773
2774  public static String getAllowedUnitsString(ElementDefinition context) {
2775    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ALLOWED_UNITS);
2776  }
2777
2778// -- BestPractice -------------------------------------
2779// http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice|0.1.0
2780// Best Practice
2781
2782  public static Extension makeBestPractice(boolean value) {
2783    return new Extension(ExtensionConstants.EXT_BEST_PRACTICE).setValue(new BooleanType(value));
2784  }
2785
2786  public static Extension makeBestPractice(CodeableConcept value) {
2787    return new Extension(ExtensionConstants.EXT_BEST_PRACTICE).setValue(value);
2788  }
2789
2790  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPractice(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, boolean value) {
2791    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BEST_PRACTICE, new BooleanType(value));
2792    return context;
2793  }
2794
2795  public static Boolean getBestPracticeBoolean(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) {
2796    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_BEST_PRACTICE);
2797  }
2798
2799  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPractice(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, CodeableConcept value) {
2800    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BEST_PRACTICE, value);
2801    return context;
2802  }
2803
2804  public static CodeableConcept getBestPracticeCodeableConcept(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) {
2805    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_BEST_PRACTICE);
2806  }
2807
2808// -- BestPracticeExplanation -------------------------------------
2809// http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation|0.1.0
2810// Best Practice Explanation
2811
2812  public static Extension makeBestPracticeExplanation(String value) {
2813    return new Extension(ExtensionConstants.EXT_BEST_PRACTICE_EXPLANATION).setValue(new MarkdownType(value));
2814  }
2815
2816  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPracticeExplanation(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, String value) {
2817    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BEST_PRACTICE_EXPLANATION, new MarkdownType(value));
2818    return context;
2819  }
2820
2821  public static String getBestPracticeExplanation(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) {
2822    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_BEST_PRACTICE_EXPLANATION);
2823  }
2824
2825// -- BindingName -------------------------------------
2826// http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName|0.1.0
2827// Binding name
2828
2829  public static Extension makeBindingName(String value) {
2830    return new Extension(ExtensionConstants.EXT_BINDING_NAME).setValue(new StringType(value));
2831  }
2832
2833  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setBindingName(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) {
2834    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BINDING_NAME, new StringType(value));
2835    return context;
2836  }
2837
2838  public static String getBindingName(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) {
2839    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_BINDING_NAME);
2840  }
2841
2842// -- Conceptmap -------------------------------------
2843// http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap|0.1.0
2844// Conceptmap
2845
2846  public static Extension makeConceptmap(String value) {
2847    return new Extension(ExtensionConstants.EXT_CONCEPTMAP).setValue(new CanonicalType(value));
2848  }
2849
2850// -- DefaultType -------------------------------------
2851// http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype|0.1.0
2852// Default Type
2853
2854  public static Extension makeDefaultType(String value) {
2855    return new Extension(ExtensionConstants.EXT_DEFAULT_TYPE).setValue(new CanonicalType(value));
2856  }
2857
2858  public static ElementDefinition setDefaultType(ElementDefinition context, String value) {
2859    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DEFAULT_TYPE, new CanonicalType(value));
2860    return context;
2861  }
2862
2863  public static String getDefaultType(ElementDefinition context) {
2864    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DEFAULT_TYPE);
2865  }
2866
2867// -- Equivalence -------------------------------------
2868// http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence|0.1.0
2869// Equivalence
2870
2871  public static Extension makeEquivalence(String value) {
2872    return new Extension(ExtensionConstants.EXT_EQUIVALENCE).setValue(new CodeType(value));
2873  }
2874
2875  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setEquivalence(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, String value) {
2876    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EQUIVALENCE, new CodeType(value));
2877    return context;
2878  }
2879
2880  public static String getEquivalence(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) {
2881    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_EQUIVALENCE);
2882  }
2883
2884// -- GraphConstraint -------------------------------------
2885// http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint|0.1.0
2886// Graph constraint
2887
2888  public static Extension makeGraphConstraint(String value) {
2889    return new Extension(ExtensionConstants.EXT_GRAPH_CONSTRAINT).setValue(new CanonicalType(value));
2890  }
2891
2892// -- Identifier -------------------------------------
2893// http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier|0.1.0
2894// Identifier
2895
2896  public static Extension makeIdentifier(Identifier value) {
2897    return new Extension(ExtensionConstants.EXT_IDENTIFIER).setValue(value);
2898  }
2899
2900  public static ElementDefinition addIdentifier(ElementDefinition context, Identifier value) {
2901    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_IDENTIFIER, value);
2902    return context;
2903  }
2904
2905  public static List<Identifier> getIdentifierList(ElementDefinition context) {
2906    return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_IDENTIFIER);
2907  }
2908
2909// -- InheritedExtensibleValueSet -------------------------------------
2910// http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet|0.1.0
2911// Inherited extensible value set
2912
2913  public static Extension makeInheritedExtensibleValueSetUri(String value) {
2914    return new Extension(ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET).setValue(new UriType(value));
2915  }
2916
2917  public static Extension makeInheritedExtensibleValueSetCanonical(String value) {
2918    return new Extension(ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET).setValue(new CanonicalType(value));
2919  }
2920
2921  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addInheritedExtensibleValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) {
2922    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET, new UriType(value));
2923    return context;
2924  }
2925
2926  public static List<String> getInheritedExtensibleValueSetStringList(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) {
2927    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET);
2928  }
2929
2930  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addInheritedExtensibleValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) {
2931    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET, new CanonicalType(value));
2932    return context;
2933  }
2934
2935// -- IsCommonBinding -------------------------------------
2936// http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding|0.1.0
2937// Is common binding
2938
2939  public static Extension makeIsCommonBinding(boolean value) {
2940    return new Extension(ExtensionConstants.EXT_IS_COMMON_BINDING).setValue(new BooleanType(value));
2941  }
2942
2943  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setIsCommonBinding(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, boolean value) {
2944    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_IS_COMMON_BINDING, new BooleanType(value));
2945    return context;
2946  }
2947
2948  public static Boolean getIsCommonBinding(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) {
2949    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_IS_COMMON_BINDING);
2950  }
2951
2952// -- MaxValueSet -------------------------------------
2953// http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet|0.1.0
2954// Max value set
2955
2956  public static Extension makeMaxValueSetUri(String value) {
2957    return new Extension(ExtensionConstants.EXT_MAX_VALUE_SET).setValue(new UriType(value));
2958  }
2959
2960  public static Extension makeMaxValueSetCanonical(String value) {
2961    return new Extension(ExtensionConstants.EXT_MAX_VALUE_SET).setValue(new CanonicalType(value));
2962  }
2963
2964  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMaxValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) {
2965    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_VALUE_SET, new UriType(value));
2966    return context;
2967  }
2968
2969  public static String getMaxValueSetString(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) {
2970    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_MAX_VALUE_SET);
2971  }
2972
2973  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMaxValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) {
2974    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_VALUE_SET, new CanonicalType(value));
2975    return context;
2976  }
2977
2978// -- MinValueSet -------------------------------------
2979// http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet|0.1.0
2980// Min value set
2981
2982  public static Extension makeMinValueSetUri(String value) {
2983    return new Extension(ExtensionConstants.EXT_MIN_VALUE_SET).setValue(new UriType(value));
2984  }
2985
2986  public static Extension makeMinValueSetCanonical(String value) {
2987    return new Extension(ExtensionConstants.EXT_MIN_VALUE_SET).setValue(new CanonicalType(value));
2988  }
2989
2990  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMinValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) {
2991    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_VALUE_SET, new UriType(value));
2992    return context;
2993  }
2994
2995  public static String getMinValueSetString(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) {
2996    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_MIN_VALUE_SET);
2997  }
2998
2999  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMinValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) {
3000    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_VALUE_SET, new CanonicalType(value));
3001    return context;
3002  }
3003
3004// -- Namespace -------------------------------------
3005// http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace|0.1.0
3006// Namespace
3007
3008  public static Extension makeNamespace(String value) {
3009    return new Extension(ExtensionConstants.EXT_NAMESPACE).setValue(new UriType(value));
3010  }
3011
3012  public static ElementDefinition setNamespace(ElementDefinition context, String value) {
3013    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NAMESPACE, new UriType(value));
3014    return context;
3015  }
3016
3017  public static String getNamespace(ElementDefinition context) {
3018    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NAMESPACE);
3019  }
3020
3021  public static StructureDefinition setNamespace(StructureDefinition context, String value) {
3022    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NAMESPACE, new UriType(value));
3023    return context;
3024  }
3025
3026  public static String getNamespace(StructureDefinition context) {
3027    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NAMESPACE);
3028  }
3029
3030// -- Pattern -------------------------------------
3031// http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern|0.1.0
3032// Pattern
3033
3034  public static Extension makePattern(String value) {
3035    return new Extension(ExtensionConstants.EXT_PATTERN).setValue(new CanonicalType(value));
3036  }
3037
3038  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setPattern(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) {
3039    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PATTERN, new CanonicalType(value));
3040    return context;
3041  }
3042
3043  public static String getPattern(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
3044    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PATTERN);
3045  }
3046
3047// -- ProfileElement -------------------------------------
3048// http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element|0.1.0
3049// Profile Element
3050
3051  public static Extension makeProfileElement(String value) {
3052    return new Extension(ExtensionConstants.EXT_PROFILE_ELEMENT).setValue(new StringType(value));
3053  }
3054
3055// -- Question -------------------------------------
3056// http://hl7.org/fhir/StructureDefinition/elementdefinition-question|0.1.0
3057// Question
3058
3059  public static Extension makeQuestion(String value) {
3060    return new Extension(ExtensionConstants.EXT_QUESTION).setValue(new StringType(value));
3061  }
3062
3063  public static ElementDefinition addQuestion(ElementDefinition context, String value) {
3064    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QUESTION, new StringType(value));
3065    return context;
3066  }
3067
3068  public static List<String> getQuestionList(ElementDefinition context) {
3069    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QUESTION);
3070  }
3071
3072// -- Selector -------------------------------------
3073// http://hl7.org/fhir/StructureDefinition/elementdefinition-selector|0.1.0
3074// Selector
3075
3076  public static Extension makeSelector(String value) {
3077    return new Extension(ExtensionConstants.EXT_SELECTOR).setValue(new StringType(value));
3078  }
3079
3080  public static ElementDefinition setSelector(ElementDefinition context, String value) {
3081    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SELECTOR, new StringType(value));
3082    return context;
3083  }
3084
3085  public static String getSelector(ElementDefinition context) {
3086    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SELECTOR);
3087  }
3088
3089// -- Suppress -------------------------------------
3090// http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress|0.1.0
3091// Suppress
3092
3093  public static Extension makeSuppress(boolean value) {
3094    return new Extension(ExtensionConstants.EXT_SUPPRESS).setValue(new BooleanType(value));
3095  }
3096
3097  public static Coding setSuppress(Coding context, boolean value) {
3098    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value));
3099    return context;
3100  }
3101
3102  public static Boolean getSuppress(Coding context) {
3103    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS);
3104  }
3105
3106  public static MarkdownType setSuppress(MarkdownType context, boolean value) {
3107    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value));
3108    return context;
3109  }
3110
3111  public static Boolean getSuppress(MarkdownType context) {
3112    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS);
3113  }
3114
3115  public static StringType setSuppress(StringType context, boolean value) {
3116    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value));
3117    return context;
3118  }
3119
3120  public static Boolean getSuppress(StringType context) {
3121    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS);
3122  }
3123
3124  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent setSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent context, boolean value) {
3125    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value));
3126    return context;
3127  }
3128
3129  public static Boolean getSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent context) {
3130    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS);
3131  }
3132
3133  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, boolean value) {
3134    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value));
3135    return context;
3136  }
3137
3138  public static Boolean getSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) {
3139    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS);
3140  }
3141
3142// -- Translatable -------------------------------------
3143// http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable|0.1.0
3144// Translatable
3145
3146  public static Extension makeTranslatable(boolean value) {
3147    return new Extension(ExtensionConstants.EXT_TRANSLATABLE).setValue(new BooleanType(value));
3148  }
3149
3150  public static ElementDefinition setTranslatable(ElementDefinition context, boolean value) {
3151    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRANSLATABLE, new BooleanType(value));
3152    return context;
3153  }
3154
3155  public static Boolean getTranslatable(ElementDefinition context) {
3156    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_TRANSLATABLE);
3157  }
3158
3159// -- TypeMustSupport -------------------------------------
3160// http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support|0.1.0
3161// Type must support
3162
3163  public static Extension makeTypeMustSupport(boolean value) {
3164    return new Extension(ExtensionConstants.EXT_TYPE_MUST_SUPPORT).setValue(new BooleanType(value));
3165  }
3166
3167  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setTypeMustSupport(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) {
3168    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TYPE_MUST_SUPPORT, new BooleanType(value));
3169    return context;
3170  }
3171
3172  public static Boolean getTypeMustSupport(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
3173    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_TYPE_MUST_SUPPORT);
3174  }
3175
3176// -- EncAssociatedEncounter -------------------------------------
3177// http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter|0.1.0
3178// Encounter Associated Encounter
3179
3180  public static Extension makeEncAssociatedEncounter(Reference value) {
3181    return new Extension(ExtensionConstants.EXT_ENC_ASSOCIATED_ENCOUNTER).setValue(value);
3182  }
3183
3184  public static Encounter setEncAssociatedEncounter(Encounter context, Reference value) {
3185    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENC_ASSOCIATED_ENCOUNTER, value);
3186    return context;
3187  }
3188
3189  public static Reference getEncAssociatedEncounter(Encounter context) {
3190    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_ENC_ASSOCIATED_ENCOUNTER);
3191  }
3192
3193// -- EncModeOfArrival -------------------------------------
3194// http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival|0.1.0
3195// Encounter Mode Of Arrival
3196
3197  public static Extension makeEncModeOfArrival(Coding value) {
3198    return new Extension(ExtensionConstants.EXT_ENC_MODE_OF_ARRIVAL).setValue(value);
3199  }
3200
3201  public static Encounter setEncModeOfArrival(Encounter context, Coding value) {
3202    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENC_MODE_OF_ARRIVAL, value);
3203    return context;
3204  }
3205
3206  public static Coding getEncModeOfArrival(Encounter context) {
3207    return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_ENC_MODE_OF_ARRIVAL);
3208  }
3209
3210// -- EncReasonCancelled -------------------------------------
3211// http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled|0.1.0
3212// Encounter Reason Cancelled
3213
3214  public static Extension makeEncReasonCancelled(CodeableConcept value) {
3215    return new Extension(ExtensionConstants.EXT_ENC_REASON_CANCELLED).setValue(value);
3216  }
3217
3218  public static Encounter setEncReasonCancelled(Encounter context, CodeableConcept value) {
3219    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENC_REASON_CANCELLED, value);
3220    return context;
3221  }
3222
3223  public static CodeableConcept getEncReasonCancelled(Encounter context) {
3224    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_ENC_REASON_CANCELLED);
3225  }
3226
3227// -- EntryFormat -------------------------------------
3228// http://hl7.org/fhir/StructureDefinition/entryFormat|0.1.0
3229// entry format
3230
3231  public static Extension makeEntryFormat(String value) {
3232    return new Extension(ExtensionConstants.EXT_ENTRY_FORMAT).setValue(new StringType(value));
3233  }
3234
3235  public static ElementDefinition setEntryFormat(ElementDefinition context, String value) {
3236    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENTRY_FORMAT, new StringType(value));
3237    return context;
3238  }
3239
3240  public static String getEntryFormat(ElementDefinition context) {
3241    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ENTRY_FORMAT);
3242  }
3243
3244  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setEntryFormat(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
3245    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENTRY_FORMAT, new StringType(value));
3246    return context;
3247  }
3248
3249  public static String getEntryFormat(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
3250    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ENTRY_FORMAT);
3251  }
3252
3253// -- BasedOn -------------------------------------
3254// http://hl7.org/fhir/StructureDefinition/event-basedOn|0.1.0
3255// based on
3256
3257  public static Extension makeBasedOn(Reference value) {
3258    return new Extension(ExtensionConstants.EXT_BASED_ON).setValue(value);
3259  }
3260
3261  public static ChargeItem addBasedOn(ChargeItem context, Reference value) {
3262    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3263    return context;
3264  }
3265
3266  public static List<Reference> getBasedOnList(ChargeItem context) {
3267    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3268  }
3269
3270  public static ClinicalImpression addBasedOn(ClinicalImpression context, Reference value) {
3271    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3272    return context;
3273  }
3274
3275  public static List<Reference> getBasedOnList(ClinicalImpression context) {
3276    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3277  }
3278
3279  public static Composition addBasedOn(Composition context, Reference value) {
3280    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3281    return context;
3282  }
3283
3284  public static List<Reference> getBasedOnList(Composition context) {
3285    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3286  }
3287
3288  public static Condition addBasedOn(Condition context, Reference value) {
3289    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3290    return context;
3291  }
3292
3293  public static List<Reference> getBasedOnList(Condition context) {
3294    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3295  }
3296
3297  public static Consent addBasedOn(Consent context, Reference value) {
3298    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3299    return context;
3300  }
3301
3302  public static List<Reference> getBasedOnList(Consent context) {
3303    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3304  }
3305
3306  public static Coverage addBasedOn(Coverage context, Reference value) {
3307    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3308    return context;
3309  }
3310
3311  public static List<Reference> getBasedOnList(Coverage context) {
3312    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3313  }
3314
3315  public static DetectedIssue addBasedOn(DetectedIssue context, Reference value) {
3316    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3317    return context;
3318  }
3319
3320  public static List<Reference> getBasedOnList(DetectedIssue context) {
3321    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3322  }
3323
3324  public static EpisodeOfCare addBasedOn(EpisodeOfCare context, Reference value) {
3325    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3326    return context;
3327  }
3328
3329  public static List<Reference> getBasedOnList(EpisodeOfCare context) {
3330    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3331  }
3332
3333  public static ExplanationOfBenefit addBasedOn(ExplanationOfBenefit context, Reference value) {
3334    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3335    return context;
3336  }
3337
3338  public static List<Reference> getBasedOnList(ExplanationOfBenefit context) {
3339    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3340  }
3341
3342  public static FamilyMemberHistory addBasedOn(FamilyMemberHistory context, Reference value) {
3343    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3344    return context;
3345  }
3346
3347  public static List<Reference> getBasedOnList(FamilyMemberHistory context) {
3348    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3349  }
3350
3351  public static ImmunizationEvaluation addBasedOn(ImmunizationEvaluation context, Reference value) {
3352    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3353    return context;
3354  }
3355
3356  public static List<Reference> getBasedOnList(ImmunizationEvaluation context) {
3357    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3358  }
3359
3360  public static InventoryReport addBasedOn(InventoryReport context, Reference value) {
3361    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3362    return context;
3363  }
3364
3365  public static List<Reference> getBasedOnList(InventoryReport context) {
3366    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3367  }
3368
3369  public static MedicationStatement addBasedOn(MedicationStatement context, Reference value) {
3370    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3371    return context;
3372  }
3373
3374  public static List<Reference> getBasedOnList(MedicationStatement context) {
3375    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3376  }
3377
3378  public static PaymentNotice addBasedOn(PaymentNotice context, Reference value) {
3379    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3380    return context;
3381  }
3382
3383  public static List<Reference> getBasedOnList(PaymentNotice context) {
3384    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3385  }
3386
3387  public static PaymentReconciliation addBasedOn(PaymentReconciliation context, Reference value) {
3388    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value);
3389    return context;
3390  }
3391
3392  public static List<Reference> getBasedOnList(PaymentReconciliation context) {
3393    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON);
3394  }
3395
3396// -- EventHistory -------------------------------------
3397// http://hl7.org/fhir/StructureDefinition/event-eventHistory|0.1.0
3398// event history
3399
3400  public static Extension makeEventHistory(Reference value) {
3401    return new Extension(ExtensionConstants.EXT_EVENT_HISTORY).setValue(value);
3402  }
3403
3404  public static DeviceUsage addEventHistory(DeviceUsage context, Reference value) {
3405    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value);
3406    return context;
3407  }
3408
3409  public static List<Reference> getEventHistoryList(DeviceUsage context) {
3410    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY);
3411  }
3412
3413  public static DiagnosticReport addEventHistory(DiagnosticReport context, Reference value) {
3414    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value);
3415    return context;
3416  }
3417
3418  public static List<Reference> getEventHistoryList(DiagnosticReport context) {
3419    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY);
3420  }
3421
3422  public static Observation addEventHistory(Observation context, Reference value) {
3423    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value);
3424    return context;
3425  }
3426
3427  public static List<Reference> getEventHistoryList(Observation context) {
3428    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY);
3429  }
3430
3431  public static SupplyDelivery addEventHistory(SupplyDelivery context, Reference value) {
3432    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value);
3433    return context;
3434  }
3435
3436  public static List<Reference> getEventHistoryList(SupplyDelivery context) {
3437    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY);
3438  }
3439
3440  public static Task addEventHistory(Task context, Reference value) {
3441    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value);
3442    return context;
3443  }
3444
3445  public static List<Reference> getEventHistoryList(Task context) {
3446    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY);
3447  }
3448
3449// -- EventLocation -------------------------------------
3450// http://hl7.org/fhir/StructureDefinition/event-location|0.1.0
3451// Event Location
3452
3453  public static Extension makeEventLocation(Reference value) {
3454    return new Extension(ExtensionConstants.EXT_EVENT_LOCATION).setValue(value);
3455  }
3456
3457  public static DiagnosticReport setEventLocation(DiagnosticReport context, Reference value) {
3458    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_LOCATION, value);
3459    return context;
3460  }
3461
3462  public static Reference getEventLocation(DiagnosticReport context) {
3463    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_EVENT_LOCATION);
3464  }
3465
3466  public static DocumentReference setEventLocation(DocumentReference context, Reference value) {
3467    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_LOCATION, value);
3468    return context;
3469  }
3470
3471  public static Reference getEventLocation(DocumentReference context) {
3472    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_EVENT_LOCATION);
3473  }
3474
3475  public static Observation setEventLocation(Observation context, Reference value) {
3476    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_LOCATION, value);
3477    return context;
3478  }
3479
3480  public static Reference getEventLocation(Observation context) {
3481    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_EVENT_LOCATION);
3482  }
3483
3484  public static SupplyDelivery setEventLocation(SupplyDelivery context, Reference value) {
3485    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_LOCATION, value);
3486    return context;
3487  }
3488
3489  public static Reference getEventLocation(SupplyDelivery context) {
3490    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_EVENT_LOCATION);
3491  }
3492
3493// -- PartOf -------------------------------------
3494// http://hl7.org/fhir/StructureDefinition/event-partOf|0.1.0
3495// part of
3496
3497  public static Extension makePartOf(Reference value) {
3498    return new Extension(ExtensionConstants.EXT_PART_OF).setValue(value);
3499  }
3500
3501  public static Condition addPartOf(Condition context, Reference value) {
3502    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PART_OF, value);
3503    return context;
3504  }
3505
3506  public static List<Reference> getPartOfList(Condition context) {
3507    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PART_OF);
3508  }
3509
3510  public static DiagnosticReport addPartOf(DiagnosticReport context, Reference value) {
3511    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PART_OF, value);
3512    return context;
3513  }
3514
3515  public static List<Reference> getPartOfList(DiagnosticReport context) {
3516    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PART_OF);
3517  }
3518
3519// -- PerformerFunction -------------------------------------
3520// http://hl7.org/fhir/StructureDefinition/event-performerFunction|0.1.0
3521// performer function
3522
3523  public static Extension makePerformerFunction(CodeableConcept value) {
3524    return new Extension(ExtensionConstants.EXT_PERFORMER_FUNCTION).setValue(value);
3525  }
3526
3527  public static Reference setPerformerFunction(Reference context, CodeableConcept value) {
3528    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PERFORMER_FUNCTION, value);
3529    return context;
3530  }
3531
3532  public static CodeableConcept getPerformerFunction(Reference context) {
3533    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PERFORMER_FUNCTION);
3534  }
3535
3536// -- EventStatusReason -------------------------------------
3537// http://hl7.org/fhir/StructureDefinition/event-statusReason|0.1.0
3538// status reason
3539
3540  public static Extension makeEventStatusReason(CodeableConcept value) {
3541    return new Extension(ExtensionConstants.EXT_EVENT_STATUS_REASON).setValue(value);
3542  }
3543
3544  public static DeviceUsage setEventStatusReason(DeviceUsage context, CodeableConcept value) {
3545    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value);
3546    return context;
3547  }
3548
3549  public static CodeableConcept getEventStatusReason(DeviceUsage context) {
3550    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON);
3551  }
3552
3553  public static DiagnosticReport setEventStatusReason(DiagnosticReport context, CodeableConcept value) {
3554    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value);
3555    return context;
3556  }
3557
3558  public static CodeableConcept getEventStatusReason(DiagnosticReport context) {
3559    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON);
3560  }
3561
3562  public static DocumentReference setEventStatusReason(DocumentReference context, CodeableConcept value) {
3563    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value);
3564    return context;
3565  }
3566
3567  public static CodeableConcept getEventStatusReason(DocumentReference context) {
3568    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON);
3569  }
3570
3571  public static Observation setEventStatusReason(Observation context, CodeableConcept value) {
3572    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value);
3573    return context;
3574  }
3575
3576  public static CodeableConcept getEventStatusReason(Observation context) {
3577    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON);
3578  }
3579
3580  public static SupplyDelivery setEventStatusReason(SupplyDelivery context, CodeableConcept value) {
3581    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value);
3582    return context;
3583  }
3584
3585  public static CodeableConcept getEventStatusReason(SupplyDelivery context) {
3586    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON);
3587  }
3588
3589// -- ExtendedContactAvailability -------------------------------------
3590// http://hl7.org/fhir/StructureDefinition/extended-contact-availability|0.1.0
3591// Extended Contact Availability
3592
3593  public static Extension makeExtendedContactAvailability(Availability value) {
3594    return new Extension(ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY).setValue(value);
3595  }
3596
3597  public static Address setExtendedContactAvailability(Address context, Availability value) {
3598    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY, value);
3599    return context;
3600  }
3601
3602  public static Availability getExtendedContactAvailability(Address context) {
3603    return ExtensionsUtils.getExtension(Availability.class, context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY);
3604  }
3605
3606  public static ContactDetail setExtendedContactAvailability(ContactDetail context, Availability value) {
3607    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY, value);
3608    return context;
3609  }
3610
3611  public static Availability getExtendedContactAvailability(ContactDetail context) {
3612    return ExtensionsUtils.getExtension(Availability.class, context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY);
3613  }
3614
3615  public static ExtendedContactDetail setExtendedContactAvailability(ExtendedContactDetail context, Availability value) {
3616    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY, value);
3617    return context;
3618  }
3619
3620  public static Availability getExtendedContactAvailability(ExtendedContactDetail context) {
3621    return ExtensionsUtils.getExtension(Availability.class, context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY);
3622  }
3623
3624// -- QuantityTranslation -------------------------------------
3625// http://hl7.org/fhir/StructureDefinition/extension-quantity-translation|0.1.0
3626// Quantity Translation
3627
3628  public static Extension makeQuantityTranslation(Quantity value) {
3629    return new Extension(ExtensionConstants.EXT_QUANTITY_TRANSLATION).setValue(value);
3630  }
3631
3632  public static Quantity addQuantityTranslation(Quantity context, Quantity value) {
3633    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QUANTITY_TRANSLATION, value);
3634    return context;
3635  }
3636
3637  public static List<Quantity> getQuantityTranslationList(Quantity context) {
3638    return ExtensionsUtils.getExtensionList(Quantity.class, context, ExtensionConstants.EXT_QUANTITY_TRANSLATION);
3639  }
3640
3641// -- FMHObservation -------------------------------------
3642// http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation|0.1.0
3643// FamilyMemberHistory Observation
3644
3645  public static Extension makeFMHObservation(Reference value) {
3646    return new Extension(ExtensionConstants.EXT_FMHOBSERVATION).setValue(value);
3647  }
3648
3649  public static FamilyMemberHistory addFMHObservation(FamilyMemberHistory context, Reference value) {
3650    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FMHOBSERVATION, value);
3651    return context;
3652  }
3653
3654  public static List<Reference> getFMHObservationList(FamilyMemberHistory context) {
3655    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FMHOBSERVATION);
3656  }
3657
3658// -- FMHAbatement -------------------------------------
3659// http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement|0.1.0
3660// FamilyMemberHistory Abatement
3661
3662  public static Extension makeFMHAbatement(String value) {
3663    return new Extension(ExtensionConstants.EXT_FMHABATEMENT).setValue(new DateType(value));
3664  }
3665
3666  public static Extension makeFMHAbatement(Age value) {
3667    return new Extension(ExtensionConstants.EXT_FMHABATEMENT).setValue(value);
3668  }
3669
3670  public static Extension makeFMHAbatement(boolean value) {
3671    return new Extension(ExtensionConstants.EXT_FMHABATEMENT).setValue(new BooleanType(value));
3672  }
3673
3674  public static org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, String value) {
3675    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHABATEMENT, new DateType(value));
3676    return context;
3677  }
3678
3679  public static String getFMHAbatementString(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) {
3680    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_FMHABATEMENT);
3681  }
3682
3683  public static org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, Age value) {
3684    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHABATEMENT, value);
3685    return context;
3686  }
3687
3688  public static Age getFMHAbatementAge(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) {
3689    return ExtensionsUtils.getExtension(Age.class, context, ExtensionConstants.EXT_FMHABATEMENT);
3690  }
3691
3692  public static org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, boolean value) {
3693    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHABATEMENT, new BooleanType(value));
3694    return context;
3695  }
3696
3697  public static Boolean getFMHAbatementBoolean(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) {
3698    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_FMHABATEMENT);
3699  }
3700
3701// -- FMHPatientRecord -------------------------------------
3702// http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record|0.1.0
3703// FamilyMemberHistory Patient Record
3704
3705  public static Extension makeFMHPatientRecord(Reference value) {
3706    return new Extension(ExtensionConstants.EXT_FMHPATIENT_RECORD).setValue(value);
3707  }
3708
3709  public static FamilyMemberHistory addFMHPatientRecord(FamilyMemberHistory context, Reference value) {
3710    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FMHPATIENT_RECORD, value);
3711    return context;
3712  }
3713
3714  public static List<Reference> getFMHPatientRecordList(FamilyMemberHistory context) {
3715    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FMHPATIENT_RECORD);
3716  }
3717
3718// -- FMHSeverity -------------------------------------
3719// http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity|0.1.0
3720// FamilyMemberHistory Severity
3721
3722  public static Extension makeFMHSeverity(CodeableConcept value) {
3723    return new Extension(ExtensionConstants.EXT_FMHSEVERITY).setValue(value);
3724  }
3725
3726  public static org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHSeverity(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, CodeableConcept value) {
3727    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHSEVERITY, value);
3728    return context;
3729  }
3730
3731  public static CodeableConcept getFMHSeverity(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) {
3732    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_FMHSEVERITY);
3733  }
3734
3735// -- FMHType -------------------------------------
3736// http://hl7.org/fhir/StructureDefinition/familymemberhistory-type|0.1.0
3737// FamilyMemberHistory Type
3738
3739  public static Extension makeFMHType(CodeableConcept value) {
3740    return new Extension(ExtensionConstants.EXT_FMHTYPE).setValue(value);
3741  }
3742
3743  public static FamilyMemberHistory setFMHType(FamilyMemberHistory context, CodeableConcept value) {
3744    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHTYPE, value);
3745    return context;
3746  }
3747
3748  public static CodeableConcept getFMHType(FamilyMemberHistory context) {
3749    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_FMHTYPE);
3750  }
3751
3752// -- FirstCreated -------------------------------------
3753// http://hl7.org/fhir/StructureDefinition/firstCreated|0.1.0
3754// First created
3755
3756  public static Extension makeFirstCreated(String value) {
3757    return new Extension(ExtensionConstants.EXT_FIRST_CREATED).setValue(new InstantType(value));
3758  }
3759
3760  public static Meta setFirstCreated(Meta context, String value) {
3761    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FIRST_CREATED, new InstantType(value));
3762    return context;
3763  }
3764
3765  public static String getFirstCreated(Meta context) {
3766    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_FIRST_CREATED);
3767  }
3768
3769// -- FlagDetail -------------------------------------
3770// http://hl7.org/fhir/StructureDefinition/flag-detail|0.1.0
3771// Flag details
3772
3773  public static Extension makeFlagDetail(Reference value) {
3774    return new Extension(ExtensionConstants.EXT_FLAG_DETAIL).setValue(value);
3775  }
3776
3777  public static Flag addFlagDetail(Flag context, Reference value) {
3778    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FLAG_DETAIL, value);
3779    return context;
3780  }
3781
3782  public static List<Reference> getFlagDetailList(Flag context) {
3783    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FLAG_DETAIL);
3784  }
3785
3786// -- FlagPriority -------------------------------------
3787// http://hl7.org/fhir/StructureDefinition/flag-priority|0.1.0
3788// Flag Priority
3789
3790  public static Extension makeFlagPriority(CodeableConcept value) {
3791    return new Extension(ExtensionConstants.EXT_FLAG_PRIORITY).setValue(value);
3792  }
3793
3794  public static Flag setFlagPriority(Flag context, CodeableConcept value) {
3795    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FLAG_PRIORITY, value);
3796    return context;
3797  }
3798
3799  public static CodeableConcept getFlagPriority(Flag context) {
3800    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_FLAG_PRIORITY);
3801  }
3802
3803// -- GoalReasonRejected -------------------------------------
3804// http://hl7.org/fhir/StructureDefinition/goal-reasonRejected|0.1.0
3805// Goal Reason Rejected
3806
3807  public static Extension makeGoalReasonRejected(CodeableConcept value) {
3808    return new Extension(ExtensionConstants.EXT_GOAL_REASON_REJECTED).setValue(value);
3809  }
3810
3811  public static Goal setGoalReasonRejected(Goal context, CodeableConcept value) {
3812    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GOAL_REASON_REJECTED, value);
3813    return context;
3814  }
3815
3816  public static CodeableConcept getGoalReasonRejected(Goal context) {
3817    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_GOAL_REASON_REJECTED);
3818  }
3819
3820// -- BundleHttpResponseHeader -------------------------------------
3821// http://hl7.org/fhir/StructureDefinition/http-response-header|0.1.0
3822// Bundle HTTP Response header
3823
3824  public static Extension makeBundleHttpResponseHeader(String value) {
3825    return new Extension(ExtensionConstants.EXT_BUNDLE_HTTP_RESPONSE_HEADER).setValue(new StringType(value));
3826  }
3827
3828// -- AssemblyOrder -------------------------------------
3829// http://hl7.org/fhir/StructureDefinition/humanname-assembly-order|0.1.0
3830// Assembly Order
3831
3832  public static Extension makeAssemblyOrder(String value) {
3833    return new Extension(ExtensionConstants.EXT_ASSEMBLY_ORDER).setValue(new CodeType(value));
3834  }
3835
3836  public static HumanName setAssemblyOrder(HumanName context, String value) {
3837    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ASSEMBLY_ORDER, new CodeType(value));
3838    return context;
3839  }
3840
3841  public static String getAssemblyOrder(HumanName context) {
3842    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ASSEMBLY_ORDER);
3843  }
3844
3845// -- FathersFamily -------------------------------------
3846// http://hl7.org/fhir/StructureDefinition/humanname-fathers-family|0.1.0
3847// Fathers Family
3848
3849  public static Extension makeFathersFamily(String value) {
3850    return new Extension(ExtensionConstants.EXT_FATHERS_FAMILY).setValue(new StringType(value));
3851  }
3852
3853  public static StringType addFathersFamily(StringType context, String value) {
3854    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FATHERS_FAMILY, new StringType(value));
3855    return context;
3856  }
3857
3858  public static List<String> getFathersFamilyList(StringType context) {
3859    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_FATHERS_FAMILY);
3860  }
3861
3862// -- MothersFamily -------------------------------------
3863// http://hl7.org/fhir/StructureDefinition/humanname-mothers-family|0.1.0
3864// Mothers Family
3865
3866  public static Extension makeMothersFamily(String value) {
3867    return new Extension(ExtensionConstants.EXT_MOTHERS_FAMILY).setValue(new StringType(value));
3868  }
3869
3870  public static StringType addMothersFamily(StringType context, String value) {
3871    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_MOTHERS_FAMILY, new StringType(value));
3872    return context;
3873  }
3874
3875  public static List<String> getMothersFamilyList(StringType context) {
3876    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_MOTHERS_FAMILY);
3877  }
3878
3879// -- OwnName -------------------------------------
3880// http://hl7.org/fhir/StructureDefinition/humanname-own-name|0.1.0
3881// Own Name
3882
3883  public static Extension makeOwnName(String value) {
3884    return new Extension(ExtensionConstants.EXT_OWN_NAME).setValue(new StringType(value));
3885  }
3886
3887  public static StringType setOwnName(StringType context, String value) {
3888    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OWN_NAME, new StringType(value));
3889    return context;
3890  }
3891
3892  public static String getOwnName(StringType context) {
3893    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OWN_NAME);
3894  }
3895
3896// -- OwnPrefix -------------------------------------
3897// http://hl7.org/fhir/StructureDefinition/humanname-own-prefix|0.1.0
3898// Own Prefix
3899
3900  public static Extension makeOwnPrefix(String value) {
3901    return new Extension(ExtensionConstants.EXT_OWN_PREFIX).setValue(new StringType(value));
3902  }
3903
3904  public static StringType setOwnPrefix(StringType context, String value) {
3905    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OWN_PREFIX, new StringType(value));
3906    return context;
3907  }
3908
3909  public static String getOwnPrefix(StringType context) {
3910    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OWN_PREFIX);
3911  }
3912
3913// -- PartnerName -------------------------------------
3914// http://hl7.org/fhir/StructureDefinition/humanname-partner-name|0.1.0
3915// Partner Name
3916
3917  public static Extension makePartnerName(String value) {
3918    return new Extension(ExtensionConstants.EXT_PARTNER_NAME).setValue(new StringType(value));
3919  }
3920
3921  public static StringType setPartnerName(StringType context, String value) {
3922    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PARTNER_NAME, new StringType(value));
3923    return context;
3924  }
3925
3926  public static String getPartnerName(StringType context) {
3927    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PARTNER_NAME);
3928  }
3929
3930// -- PartnerPrefix -------------------------------------
3931// http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix|0.1.0
3932// Partner Prefix
3933
3934  public static Extension makePartnerPrefix(String value) {
3935    return new Extension(ExtensionConstants.EXT_PARTNER_PREFIX).setValue(new StringType(value));
3936  }
3937
3938  public static StringType setPartnerPrefix(StringType context, String value) {
3939    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PARTNER_PREFIX, new StringType(value));
3940    return context;
3941  }
3942
3943  public static String getPartnerPrefix(StringType context) {
3944    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PARTNER_PREFIX);
3945  }
3946
3947// -- IDCheckDigit -------------------------------------
3948// http://hl7.org/fhir/StructureDefinition/identifier-checkDigit|0.1.0
3949// ID Check digit
3950
3951  public static Extension makeIDCheckDigit(String value) {
3952    return new Extension(ExtensionConstants.EXT_IDCHECK_DIGIT).setValue(new StringType(value));
3953  }
3954
3955  public static Identifier setIDCheckDigit(Identifier context, String value) {
3956    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_IDCHECK_DIGIT, new StringType(value));
3957    return context;
3958  }
3959
3960  public static String getIDCheckDigit(Identifier context) {
3961    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_IDCHECK_DIGIT);
3962  }
3963
3964// -- ValidDate -------------------------------------
3965// http://hl7.org/fhir/StructureDefinition/identifier-validDate|0.1.0
3966// Valid date
3967
3968  public static Extension makeValidDate(String value) {
3969    return new Extension(ExtensionConstants.EXT_VALID_DATE).setValue(new DateTimeType(value));
3970  }
3971
3972  public static Identifier addValidDate(Identifier context, String value) {
3973    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VALID_DATE, new DateTimeType(value));
3974    return context;
3975  }
3976
3977  public static List<String> getValidDateList(Identifier context) {
3978    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VALID_DATE);
3979  }
3980
3981// -- ImmProcedure -------------------------------------
3982// http://hl7.org/fhir/StructureDefinition/immunization-procedure|0.1.0
3983// Immunization Procedure
3984
3985  public static Extension makeImmProcedure(CodeableReference value) {
3986    return new Extension(ExtensionConstants.EXT_IMM_PROCEDURE).setValue(value);
3987  }
3988
3989  public static Immunization setImmProcedure(Immunization context, CodeableReference value) {
3990    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_IMM_PROCEDURE, value);
3991    return context;
3992  }
3993
3994  public static CodeableReference getImmProcedure(Immunization context) {
3995    return ExtensionsUtils.getExtension(CodeableReference.class, context, ExtensionConstants.EXT_IMM_PROCEDURE);
3996  }
3997
3998// -- ADUse -------------------------------------
3999// http://hl7.org/fhir/StructureDefinition/iso21090-AD-use|0.1.0
4000// AD Use
4001
4002  public static Extension makeADUse(String value) {
4003    return new Extension(ExtensionConstants.EXT_ADUSE).setValue(new CodeType(value));
4004  }
4005
4006  public static Address setADUse(Address context, String value) {
4007    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ADUSE, new CodeType(value));
4008    return context;
4009  }
4010
4011  public static String getADUse(Address context) {
4012    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ADUSE);
4013  }
4014
4015// -- ADXPAdditionalLocator -------------------------------------
4016// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator|0.1.0
4017// ADXP Additional Locator
4018
4019  public static Extension makeADXPAdditionalLocator(String value) {
4020    return new Extension(ExtensionConstants.EXT_ADXPADDITIONAL_LOCATOR).setValue(new StringType(value));
4021  }
4022
4023  public static StringType addADXPAdditionalLocator(StringType context, String value) {
4024    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPADDITIONAL_LOCATOR, new StringType(value));
4025    return context;
4026  }
4027
4028  public static List<String> getADXPAdditionalLocatorList(StringType context) {
4029    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPADDITIONAL_LOCATOR);
4030  }
4031
4032// -- ADXPBuildingNumberSuffix -------------------------------------
4033// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix|0.1.0
4034// ADXP Building Number Suffix
4035
4036  public static Extension makeADXPBuildingNumberSuffix(String value) {
4037    return new Extension(ExtensionConstants.EXT_ADXPBUILDING_NUMBER_SUFFIX).setValue(new StringType(value));
4038  }
4039
4040  public static StringType addADXPBuildingNumberSuffix(StringType context, String value) {
4041    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPBUILDING_NUMBER_SUFFIX, new StringType(value));
4042    return context;
4043  }
4044
4045  public static List<String> getADXPBuildingNumberSuffixList(StringType context) {
4046    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPBUILDING_NUMBER_SUFFIX);
4047  }
4048
4049// -- ADXPCareOf -------------------------------------
4050// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf|0.1.0
4051// ADXP Care Of
4052
4053  public static Extension makeADXPCareOf(String value) {
4054    return new Extension(ExtensionConstants.EXT_ADXPCARE_OF).setValue(new StringType(value));
4055  }
4056
4057  public static StringType addADXPCareOf(StringType context, String value) {
4058    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPCARE_OF, new StringType(value));
4059    return context;
4060  }
4061
4062  public static List<String> getADXPCareOfList(StringType context) {
4063    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPCARE_OF);
4064  }
4065
4066// -- ADXPCensusTract -------------------------------------
4067// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract|0.1.0
4068// ADXP Census Tract
4069
4070  public static Extension makeADXPCensusTract(String value) {
4071    return new Extension(ExtensionConstants.EXT_ADXPCENSUS_TRACT).setValue(new StringType(value));
4072  }
4073
4074  public static StringType addADXPCensusTract(StringType context, String value) {
4075    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPCENSUS_TRACT, new StringType(value));
4076    return context;
4077  }
4078
4079  public static List<String> getADXPCensusTractList(StringType context) {
4080    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPCENSUS_TRACT);
4081  }
4082
4083// -- ADXPDelimiter -------------------------------------
4084// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter|0.1.0
4085// ADXP Delimiter
4086
4087  public static Extension makeADXPDelimiter(String value) {
4088    return new Extension(ExtensionConstants.EXT_ADXPDELIMITER).setValue(new StringType(value));
4089  }
4090
4091  public static StringType addADXPDelimiter(StringType context, String value) {
4092    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIMITER, new StringType(value));
4093    return context;
4094  }
4095
4096  public static List<String> getADXPDelimiterList(StringType context) {
4097    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIMITER);
4098  }
4099
4100// -- ADXPDeliveryAddressLine -------------------------------------
4101// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine|0.1.0
4102// ADXP Delivery Address Line
4103
4104  public static Extension makeADXPDeliveryAddressLine(String value) {
4105    return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_ADDRESS_LINE).setValue(new StringType(value));
4106  }
4107
4108  public static StringType addADXPDeliveryAddressLine(StringType context, String value) {
4109    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_ADDRESS_LINE, new StringType(value));
4110    return context;
4111  }
4112
4113  public static List<String> getADXPDeliveryAddressLineList(StringType context) {
4114    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_ADDRESS_LINE);
4115  }
4116
4117// -- ADXPDeliveryInstallationArea -------------------------------------
4118// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea|0.1.0
4119// ADXP Delivery Installation Area
4120
4121  public static Extension makeADXPDeliveryInstallationArea(String value) {
4122    return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_AREA).setValue(new StringType(value));
4123  }
4124
4125  public static StringType addADXPDeliveryInstallationArea(StringType context, String value) {
4126    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_AREA, new StringType(value));
4127    return context;
4128  }
4129
4130  public static List<String> getADXPDeliveryInstallationAreaList(StringType context) {
4131    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_AREA);
4132  }
4133
4134// -- ADXPDeliveryInstallationQualifier -------------------------------------
4135// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier|0.1.0
4136// ADXP Delivery Installation Qualifier
4137
4138  public static Extension makeADXPDeliveryInstallationQualifier(String value) {
4139    return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_QUALIFIER).setValue(new StringType(value));
4140  }
4141
4142  public static StringType addADXPDeliveryInstallationQualifier(StringType context, String value) {
4143    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_QUALIFIER, new StringType(value));
4144    return context;
4145  }
4146
4147  public static List<String> getADXPDeliveryInstallationQualifierList(StringType context) {
4148    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_QUALIFIER);
4149  }
4150
4151// -- ADXPDeliveryInstallationType -------------------------------------
4152// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType|0.1.0
4153// ADXP Delivery Installation Type
4154
4155  public static Extension makeADXPDeliveryInstallationType(String value) {
4156    return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_TYPE).setValue(new StringType(value));
4157  }
4158
4159  public static StringType addADXPDeliveryInstallationType(StringType context, String value) {
4160    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_TYPE, new StringType(value));
4161    return context;
4162  }
4163
4164  public static List<String> getADXPDeliveryInstallationTypeList(StringType context) {
4165    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_TYPE);
4166  }
4167
4168// -- ADXPDeliveryMode -------------------------------------
4169// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode|0.1.0
4170// ADXP Delivery Mode
4171
4172  public static Extension makeADXPDeliveryMode(String value) {
4173    return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_MODE).setValue(new StringType(value));
4174  }
4175
4176  public static StringType addADXPDeliveryMode(StringType context, String value) {
4177    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_MODE, new StringType(value));
4178    return context;
4179  }
4180
4181  public static List<String> getADXPDeliveryModeList(StringType context) {
4182    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_MODE);
4183  }
4184
4185// -- ADXPDeliveryModeIdentifier -------------------------------------
4186// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier|0.1.0
4187// ADXP Delivery Mode Identifier
4188
4189  public static Extension makeADXPDeliveryModeIdentifier(String value) {
4190    return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_MODE_IDENTIFIER).setValue(new StringType(value));
4191  }
4192
4193  public static StringType addADXPDeliveryModeIdentifier(StringType context, String value) {
4194    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_MODE_IDENTIFIER, new StringType(value));
4195    return context;
4196  }
4197
4198  public static List<String> getADXPDeliveryModeIdentifierList(StringType context) {
4199    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_MODE_IDENTIFIER);
4200  }
4201
4202// -- ADXPDirection -------------------------------------
4203// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction|0.1.0
4204// ADXP Direction
4205
4206  public static Extension makeADXPDirection(String value) {
4207    return new Extension(ExtensionConstants.EXT_ADXPDIRECTION).setValue(new StringType(value));
4208  }
4209
4210  public static StringType addADXPDirection(StringType context, String value) {
4211    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDIRECTION, new StringType(value));
4212    return context;
4213  }
4214
4215  public static List<String> getADXPDirectionList(StringType context) {
4216    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDIRECTION);
4217  }
4218
4219// -- ADXPHouseNumber -------------------------------------
4220// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber|0.1.0
4221// ADXP House Number
4222
4223  public static Extension makeADXPHouseNumber(String value) {
4224    return new Extension(ExtensionConstants.EXT_ADXPHOUSE_NUMBER).setValue(new StringType(value));
4225  }
4226
4227  public static StringType addADXPHouseNumber(StringType context, String value) {
4228    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPHOUSE_NUMBER, new StringType(value));
4229    return context;
4230  }
4231
4232  public static List<String> getADXPHouseNumberList(StringType context) {
4233    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPHOUSE_NUMBER);
4234  }
4235
4236// -- ADXPHouseNumberNumeric -------------------------------------
4237// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric|0.1.0
4238// ADXP House Number Numeric
4239
4240  public static Extension makeADXPHouseNumberNumeric(String value) {
4241    return new Extension(ExtensionConstants.EXT_ADXPHOUSE_NUMBER_NUMERIC).setValue(new StringType(value));
4242  }
4243
4244  public static StringType addADXPHouseNumberNumeric(StringType context, String value) {
4245    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPHOUSE_NUMBER_NUMERIC, new StringType(value));
4246    return context;
4247  }
4248
4249  public static List<String> getADXPHouseNumberNumericList(StringType context) {
4250    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPHOUSE_NUMBER_NUMERIC);
4251  }
4252
4253// -- ADXPPostBox -------------------------------------
4254// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox|0.1.0
4255// ADXP Post Box
4256
4257  public static Extension makeADXPPostBox(String value) {
4258    return new Extension(ExtensionConstants.EXT_ADXPPOST_BOX).setValue(new StringType(value));
4259  }
4260
4261  public static StringType addADXPPostBox(StringType context, String value) {
4262    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPPOST_BOX, new StringType(value));
4263    return context;
4264  }
4265
4266  public static List<String> getADXPPostBoxList(StringType context) {
4267    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPPOST_BOX);
4268  }
4269
4270// -- ADXPPrecinct -------------------------------------
4271// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct|0.1.0
4272// ADXP Precinct
4273
4274  public static Extension makeADXPPrecinct(String value) {
4275    return new Extension(ExtensionConstants.EXT_ADXPPRECINCT).setValue(new StringType(value));
4276  }
4277
4278  public static Address addADXPPrecinct(Address context, String value) {
4279    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPPRECINCT, new StringType(value));
4280    return context;
4281  }
4282
4283  public static List<String> getADXPPrecinctList(Address context) {
4284    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPPRECINCT);
4285  }
4286
4287// -- ADXPStreetAddressLine -------------------------------------
4288// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine|0.1.0
4289// ADXP Street Address Line
4290
4291  public static Extension makeADXPStreetAddressLine(String value) {
4292    return new Extension(ExtensionConstants.EXT_ADXPSTREET_ADDRESS_LINE).setValue(new StringType(value));
4293  }
4294
4295  public static StringType addADXPStreetAddressLine(StringType context, String value) {
4296    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPSTREET_ADDRESS_LINE, new StringType(value));
4297    return context;
4298  }
4299
4300  public static List<String> getADXPStreetAddressLineList(StringType context) {
4301    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPSTREET_ADDRESS_LINE);
4302  }
4303
4304// -- ADXPStreetName -------------------------------------
4305// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName|0.1.0
4306// ADXP Street Name
4307
4308  public static Extension makeADXPStreetName(String value) {
4309    return new Extension(ExtensionConstants.EXT_ADXPSTREET_NAME).setValue(new StringType(value));
4310  }
4311
4312  public static StringType addADXPStreetName(StringType context, String value) {
4313    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPSTREET_NAME, new StringType(value));
4314    return context;
4315  }
4316
4317  public static List<String> getADXPStreetNameList(StringType context) {
4318    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPSTREET_NAME);
4319  }
4320
4321// -- ADXPStreetNameBase -------------------------------------
4322// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase|0.1.0
4323// ADXP Street Name Base
4324
4325  public static Extension makeADXPStreetNameBase(String value) {
4326    return new Extension(ExtensionConstants.EXT_ADXPSTREET_NAME_BASE).setValue(new StringType(value));
4327  }
4328
4329  public static StringType addADXPStreetNameBase(StringType context, String value) {
4330    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPSTREET_NAME_BASE, new StringType(value));
4331    return context;
4332  }
4333
4334  public static List<String> getADXPStreetNameBaseList(StringType context) {
4335    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPSTREET_NAME_BASE);
4336  }
4337
4338// -- ADXPStreetNameType -------------------------------------
4339// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType|0.1.0
4340// ADXP Street Name Type
4341
4342  public static Extension makeADXPStreetNameType(String value) {
4343    return new Extension(ExtensionConstants.EXT_ADXPSTREET_NAME_TYPE).setValue(new StringType(value));
4344  }
4345
4346  public static StringType addADXPStreetNameType(StringType context, String value) {
4347    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPSTREET_NAME_TYPE, new StringType(value));
4348    return context;
4349  }
4350
4351  public static List<String> getADXPStreetNameTypeList(StringType context) {
4352    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPSTREET_NAME_TYPE);
4353  }
4354
4355// -- ADXPUnitID -------------------------------------
4356// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID|0.1.0
4357// ADXP Unit ID
4358
4359  public static Extension makeADXPUnitID(String value) {
4360    return new Extension(ExtensionConstants.EXT_ADXPUNIT_I_D).setValue(new StringType(value));
4361  }
4362
4363  public static StringType addADXPUnitID(StringType context, String value) {
4364    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPUNIT_I_D, new StringType(value));
4365    return context;
4366  }
4367
4368  public static List<String> getADXPUnitIDList(StringType context) {
4369    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPUNIT_I_D);
4370  }
4371
4372// -- ADXPUnitType -------------------------------------
4373// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType|0.1.0
4374// ADXP Unit Type
4375
4376  public static Extension makeADXPUnitType(String value) {
4377    return new Extension(ExtensionConstants.EXT_ADXPUNIT_TYPE).setValue(new StringType(value));
4378  }
4379
4380  public static StringType addADXPUnitType(StringType context, String value) {
4381    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPUNIT_TYPE, new StringType(value));
4382    return context;
4383  }
4384
4385  public static List<String> getADXPUnitTypeList(StringType context) {
4386    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPUNIT_TYPE);
4387  }
4388
4389// -- ENQualifier -------------------------------------
4390// http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier|0.1.0
4391// EN Qualifier
4392
4393  public static Extension makeENQualifier(String value) {
4394    return new Extension(ExtensionConstants.EXT_ENQUALIFIER).setValue(new CodeType(value));
4395  }
4396
4397  public static StringType addENQualifier(StringType context, String value) {
4398    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ENQUALIFIER, new CodeType(value));
4399    return context;
4400  }
4401
4402  public static List<String> getENQualifierList(StringType context) {
4403    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ENQUALIFIER);
4404  }
4405
4406// -- ENRepresentation -------------------------------------
4407// http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation|0.1.0
4408// EN Representation
4409
4410  public static Extension makeENRepresentation(String value) {
4411    return new Extension(ExtensionConstants.EXT_ENREPRESENTATION).setValue(new CodeType(value));
4412  }
4413
4414  public static HumanName setENRepresentation(HumanName context, String value) {
4415    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENREPRESENTATION, new CodeType(value));
4416    return context;
4417  }
4418
4419  public static String getENRepresentation(HumanName context) {
4420    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ENREPRESENTATION);
4421  }
4422
4423// -- ENUse -------------------------------------
4424// http://hl7.org/fhir/StructureDefinition/iso21090-EN-use|0.1.0
4425// EN use
4426
4427  public static Extension makeENUse(String value) {
4428    return new Extension(ExtensionConstants.EXT_ENUSE).setValue(new CodeType(value));
4429  }
4430
4431  public static HumanName setENUse(HumanName context, String value) {
4432    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENUSE, new CodeType(value));
4433    return context;
4434  }
4435
4436  public static String getENUse(HumanName context) {
4437    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ENUSE);
4438  }
4439
4440// -- TELAddress -------------------------------------
4441// http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address|0.1.0
4442// TEL address
4443
4444  public static Extension makeTELAddress(String value) {
4445    return new Extension(ExtensionConstants.EXT_TELADDRESS).setValue(new UrlType(value));
4446  }
4447
4448  public static ContactPoint setTELAddress(ContactPoint context, String value) {
4449    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TELADDRESS, new UrlType(value));
4450    return context;
4451  }
4452
4453  public static String getTELAddress(ContactPoint context) {
4454    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TELADDRESS);
4455  }
4456
4457// -- CodedString -------------------------------------
4458// http://hl7.org/fhir/StructureDefinition/iso21090-codedString|0.1.0
4459// Coded string
4460
4461  public static Extension makeCodedString(Coding value) {
4462    return new Extension(ExtensionConstants.EXT_CODED_STRING).setValue(value);
4463  }
4464
4465  public static StringType addCodedString(StringType context, Coding value) {
4466    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CODED_STRING, value);
4467    return context;
4468  }
4469
4470  public static List<Coding> getCodedStringList(StringType context) {
4471    return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_CODED_STRING);
4472  }
4473
4474// -- NullFlavor -------------------------------------
4475// http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor|0.1.0
4476// null flavor
4477
4478  public static Extension makeNullFlavor(String value) {
4479    return new Extension(ExtensionConstants.EXT_NULL_FLAVOR).setValue(new CodeType(value));
4480  }
4481
4482  public static Element setNullFlavor(Element context, String value) {
4483    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NULL_FLAVOR, new CodeType(value));
4484    return context;
4485  }
4486
4487  public static String getNullFlavor(Element context) {
4488    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NULL_FLAVOR);
4489  }
4490
4491// -- Preferred -------------------------------------
4492// http://hl7.org/fhir/StructureDefinition/iso21090-preferred|0.1.0
4493// Preferred
4494
4495  public static Extension makePreferred(boolean value) {
4496    return new Extension(ExtensionConstants.EXT_PREFERRED).setValue(new BooleanType(value));
4497  }
4498
4499  public static Address setPreferred(Address context, boolean value) {
4500    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PREFERRED, new BooleanType(value));
4501    return context;
4502  }
4503
4504  public static Boolean getPreferred(Address context) {
4505    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PREFERRED);
4506  }
4507
4508  public static ContactPoint setPreferred(ContactPoint context, boolean value) {
4509    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PREFERRED, new BooleanType(value));
4510    return context;
4511  }
4512
4513  public static Boolean getPreferred(ContactPoint context) {
4514    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PREFERRED);
4515  }
4516
4517  public static ExtendedContactDetail setPreferred(ExtendedContactDetail context, boolean value) {
4518    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PREFERRED, new BooleanType(value));
4519    return context;
4520  }
4521
4522  public static Boolean getPreferred(ExtendedContactDetail context) {
4523    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PREFERRED);
4524  }
4525
4526// -- Uncertainty -------------------------------------
4527// http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty|0.1.0
4528// Uncertainty
4529
4530  public static Extension makeUncertainty(float value) {
4531    return new Extension(ExtensionConstants.EXT_UNCERTAINTY).setValue(new DecimalType(value));
4532  }
4533
4534  public static Quantity setUncertainty(Quantity context, float value) {
4535    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAINTY, new DecimalType(value));
4536    return context;
4537  }
4538
4539  public static BigDecimal getUncertainty(Quantity context) {
4540    return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_UNCERTAINTY);
4541  }
4542
4543// -- UncertaintyType -------------------------------------
4544// http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|0.1.0
4545// Uncertainty type
4546
4547  public static Extension makeUncertaintyType(String value) {
4548    return new Extension(ExtensionConstants.EXT_UNCERTAINTY_TYPE).setValue(new CodeType(value));
4549  }
4550
4551  public static Quantity setUncertaintyType(Quantity context, String value) {
4552    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAINTY_TYPE, new CodeType(value));
4553    return context;
4554  }
4555
4556  public static String getUncertaintyType(Quantity context) {
4557    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_UNCERTAINTY_TYPE);
4558  }
4559
4560// -- ItemWeight -------------------------------------
4561// http://hl7.org/fhir/StructureDefinition/itemWeight|0.1.0
4562// Item Weight
4563
4564  public static Extension makeItemWeight(float value) {
4565    return new Extension(ExtensionConstants.EXT_ITEM_WEIGHT).setValue(new DecimalType(value));
4566  }
4567
4568  public static Coding setItemWeight(Coding context, float value) {
4569    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ITEM_WEIGHT, new DecimalType(value));
4570    return context;
4571  }
4572
4573  public static BigDecimal getItemWeight(Coding context) {
4574    return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_ITEM_WEIGHT);
4575  }
4576
4577// -- HumanLanguage -------------------------------------
4578// http://hl7.org/fhir/StructureDefinition/language|0.1.0
4579// Human Language
4580
4581  public static Extension makeHumanLanguage(String value) {
4582    return new Extension(ExtensionConstants.EXT_HUMAN_LANGUAGE).setValue(new CodeType(value));
4583  }
4584
4585  public static Address setHumanLanguage(Address context, String value) {
4586    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value));
4587    return context;
4588  }
4589
4590  public static String getHumanLanguage(Address context) {
4591    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE);
4592  }
4593
4594  public static Annotation setHumanLanguage(Annotation context, String value) {
4595    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value));
4596    return context;
4597  }
4598
4599  public static String getHumanLanguage(Annotation context) {
4600    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE);
4601  }
4602
4603  public static HumanName setHumanLanguage(HumanName context, String value) {
4604    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value));
4605    return context;
4606  }
4607
4608  public static String getHumanLanguage(HumanName context) {
4609    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE);
4610  }
4611
4612  public static MarkdownType setHumanLanguage(MarkdownType context, String value) {
4613    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value));
4614    return context;
4615  }
4616
4617  public static String getHumanLanguage(MarkdownType context) {
4618    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE);
4619  }
4620
4621  public static StringType setHumanLanguage(StringType context, String value) {
4622    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value));
4623    return context;
4624  }
4625
4626  public static String getHumanLanguage(StringType context) {
4627    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE);
4628  }
4629
4630// -- LargeValue -------------------------------------
4631// http://hl7.org/fhir/StructureDefinition/largeValue|0.1.0
4632// Large Value
4633
4634  public static Extension makeLargeValue(float value) {
4635    return new Extension(ExtensionConstants.EXT_LARGE_VALUE).setValue(new DecimalType(value));
4636  }
4637
4638  public static IntegerType setLargeValue(IntegerType context, float value) {
4639    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LARGE_VALUE, new DecimalType(value));
4640    return context;
4641  }
4642
4643  public static BigDecimal getLargeValue(IntegerType context) {
4644    return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_LARGE_VALUE);
4645  }
4646
4647// -- LastSourceSync -------------------------------------
4648// http://hl7.org/fhir/StructureDefinition/lastSourceSync|0.1.0
4649// Last source sync
4650
4651  public static Extension makeLastSourceSync(String value) {
4652    return new Extension(ExtensionConstants.EXT_LAST_SOURCE_SYNC).setValue(new DateTimeType(value));
4653  }
4654
4655  public static Meta setLastSourceSync(Meta context, String value) {
4656    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LAST_SOURCE_SYNC, new DateTimeType(value));
4657    return context;
4658  }
4659
4660  public static String getLastSourceSync(Meta context) {
4661    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_LAST_SOURCE_SYNC);
4662  }
4663
4664// -- ListCategory -------------------------------------
4665// http://hl7.org/fhir/StructureDefinition/list-category|0.1.0
4666// List Category
4667
4668  public static Extension makeListCategory(CodeableConcept value) {
4669    return new Extension(ExtensionConstants.EXT_LIST_CATEGORY).setValue(value);
4670  }
4671
4672  public static ListResource setListCategory(ListResource context, CodeableConcept value) {
4673    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LIST_CATEGORY, value);
4674    return context;
4675  }
4676
4677  public static CodeableConcept getListCategory(ListResource context) {
4678    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_LIST_CATEGORY);
4679  }
4680
4681// -- ListChangeBase -------------------------------------
4682// http://hl7.org/fhir/StructureDefinition/list-changeBase|0.1.0
4683// List Change Base
4684
4685  public static Extension makeListChangeBase(Reference value) {
4686    return new Extension(ExtensionConstants.EXT_LIST_CHANGE_BASE).setValue(value);
4687  }
4688
4689  public static ListResource setListChangeBase(ListResource context, Reference value) {
4690    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LIST_CHANGE_BASE, value);
4691    return context;
4692  }
4693
4694  public static Reference getListChangeBase(ListResource context) {
4695    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_LIST_CHANGE_BASE);
4696  }
4697
4698// -- ListFor -------------------------------------
4699// http://hl7.org/fhir/StructureDefinition/list-for|0.1.0
4700// List For Extension
4701
4702  public static Extension makeListFor(Reference value) {
4703    return new Extension(ExtensionConstants.EXT_LIST_FOR).setValue(value);
4704  }
4705
4706  public static ListResource addListFor(ListResource context, Reference value) {
4707    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_LIST_FOR, value);
4708    return context;
4709  }
4710
4711  public static List<Reference> getListForList(ListResource context) {
4712    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_LIST_FOR);
4713  }
4714
4715// -- LocBoundaryGeojson -------------------------------------
4716// http://hl7.org/fhir/StructureDefinition/location-boundary-geojson|0.1.0
4717// Location Boundary (GeoJSON)
4718
4719  public static Extension makeLocBoundaryGeojson(Attachment value) {
4720    return new Extension(ExtensionConstants.EXT_LOC_BOUNDARY_GEOJSON).setValue(value);
4721  }
4722
4723  public static Location setLocBoundaryGeojson(Location context, Attachment value) {
4724    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LOC_BOUNDARY_GEOJSON, value);
4725    return context;
4726  }
4727
4728  public static Attachment getLocBoundaryGeojson(Location context) {
4729    return ExtensionsUtils.getExtension(Attachment.class, context, ExtensionConstants.EXT_LOC_BOUNDARY_GEOJSON);
4730  }
4731
4732// -- LocCommunication -------------------------------------
4733// http://hl7.org/fhir/StructureDefinition/location-communication|0.1.0
4734// Location Communication
4735
4736  public static Extension makeLocCommunication(CodeableConcept value) {
4737    return new Extension(ExtensionConstants.EXT_LOC_COMMUNICATION).setValue(value);
4738  }
4739
4740  public static Location setLocCommunication(Location context, CodeableConcept value) {
4741    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LOC_COMMUNICATION, value);
4742    return context;
4743  }
4744
4745  public static CodeableConcept getLocCommunication(Location context) {
4746    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_LOC_COMMUNICATION);
4747  }
4748
4749// -- BundleLocationDistance -------------------------------------
4750// http://hl7.org/fhir/StructureDefinition/location-distance|0.1.0
4751// Bundle Location Distance
4752
4753  public static Extension makeBundleLocationDistance(Distance value) {
4754    return new Extension(ExtensionConstants.EXT_BUNDLE_LOCATION_DISTANCE).setValue(value);
4755  }
4756
4757// -- BundleMatchGrade -------------------------------------
4758// http://hl7.org/fhir/StructureDefinition/match-grade|0.1.0
4759// Bundle Match Grade
4760
4761  public static Extension makeBundleMatchGrade(String value) {
4762    return new Extension(ExtensionConstants.EXT_BUNDLE_MATCH_GRADE).setValue(new CodeType(value));
4763  }
4764
4765// -- MaxDecimalPlaces -------------------------------------
4766// http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces|0.1.0
4767// max decimal places
4768
4769  public static Extension makeMaxDecimalPlaces(int value) {
4770    return new Extension(ExtensionConstants.EXT_MAX_DECIMAL_PLACES).setValue(new IntegerType(value));
4771  }
4772
4773  public static ElementDefinition setMaxDecimalPlaces(ElementDefinition context, int value) {
4774    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_DECIMAL_PLACES, new IntegerType(value));
4775    return context;
4776  }
4777
4778  public static Integer getMaxDecimalPlaces(ElementDefinition context) {
4779    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MAX_DECIMAL_PLACES);
4780  }
4781
4782  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxDecimalPlaces(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) {
4783    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_DECIMAL_PLACES, new IntegerType(value));
4784    return context;
4785  }
4786
4787  public static Integer getMaxDecimalPlaces(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
4788    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MAX_DECIMAL_PLACES);
4789  }
4790
4791// -- MaxSize -------------------------------------
4792// http://hl7.org/fhir/StructureDefinition/maxSize|0.1.0
4793// max size
4794
4795  public static Extension makeMaxSize(float value) {
4796    return new Extension(ExtensionConstants.EXT_MAX_SIZE).setValue(new DecimalType(value));
4797  }
4798
4799  public static ElementDefinition setMaxSize(ElementDefinition context, float value) {
4800    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_SIZE, new DecimalType(value));
4801    return context;
4802  }
4803
4804  public static BigDecimal getMaxSize(ElementDefinition context) {
4805    return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_MAX_SIZE);
4806  }
4807
4808  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxSize(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, float value) {
4809    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_SIZE, new DecimalType(value));
4810    return context;
4811  }
4812
4813  public static BigDecimal getMaxSize(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
4814    return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_MAX_SIZE);
4815  }
4816
4817// -- MaxValue -------------------------------------
4818// http://hl7.org/fhir/StructureDefinition/maxValue|0.1.0
4819// max value
4820
4821  public static Extension makeMaxValue(DataType value) {
4822    return new Extension(ExtensionConstants.EXT_MAX_VALUE).setValue(value);
4823  }
4824
4825  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) {
4826    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_VALUE, value);
4827    return context;
4828  }
4829
4830  public static DataType getMaxValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
4831    return ExtensionsUtils.getExtension(DataType.class, context, ExtensionConstants.EXT_MAX_VALUE);
4832  }
4833
4834// -- MedQuantityRemaining -------------------------------------
4835// http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining|0.1.0
4836// MedicationDispense Quantity Remaining
4837
4838  public static Extension makeMedQuantityRemaining(Quantity value) {
4839    return new Extension(ExtensionConstants.EXT_MED_QUANTITY_REMAINING).setValue(value);
4840  }
4841
4842  public static MedicationDispense setMedQuantityRemaining(MedicationDispense context, Quantity value) {
4843    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MED_QUANTITY_REMAINING, value);
4844    return context;
4845  }
4846
4847  public static Quantity getMedQuantityRemaining(MedicationDispense context) {
4848    return ExtensionsUtils.getExtension(Quantity.class, context, ExtensionConstants.EXT_MED_QUANTITY_REMAINING);
4849  }
4850
4851// -- MedRefillsRemaining -------------------------------------
4852// http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining|0.1.0
4853// MedicationDispense Refills Remaining
4854
4855  public static Extension makeMedRefillsRemaining(int value) {
4856    return new Extension(ExtensionConstants.EXT_MED_REFILLS_REMAINING).setValue(new IntegerType(value));
4857  }
4858
4859  public static MedicationDispense setMedRefillsRemaining(MedicationDispense context, int value) {
4860    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MED_REFILLS_REMAINING, new IntegerType(value));
4861    return context;
4862  }
4863
4864  public static Integer getMedRefillsRemaining(MedicationDispense context) {
4865    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MED_REFILLS_REMAINING);
4866  }
4867
4868// -- MsgResponseRequest -------------------------------------
4869// http://hl7.org/fhir/StructureDefinition/messageheader-response-request|0.1.0
4870// MessageHeader Response Request
4871
4872  public static Extension makeMsgResponseRequest(String value) {
4873    return new Extension(ExtensionConstants.EXT_MSG_RESPONSE_REQUEST).setValue(new CodeType(value));
4874  }
4875
4876  public static MessageHeader setMsgResponseRequest(MessageHeader context, String value) {
4877    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MSG_RESPONSE_REQUEST, new CodeType(value));
4878    return context;
4879  }
4880
4881  public static String getMsgResponseRequest(MessageHeader context) {
4882    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_MSG_RESPONSE_REQUEST);
4883  }
4884
4885// -- MimeType -------------------------------------
4886// http://hl7.org/fhir/StructureDefinition/mimeType|0.1.0
4887// mime type
4888
4889  public static Extension makeMimeType(String value) {
4890    return new Extension(ExtensionConstants.EXT_MIME_TYPE).setValue(new CodeType(value));
4891  }
4892
4893  public static ElementDefinition addMimeType(ElementDefinition context, String value) {
4894    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_MIME_TYPE, new CodeType(value));
4895    return context;
4896  }
4897
4898  public static List<String> getMimeTypeList(ElementDefinition context) {
4899    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_MIME_TYPE);
4900  }
4901
4902  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addMimeType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
4903    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_MIME_TYPE, new CodeType(value));
4904    return context;
4905  }
4906
4907  public static List<String> getMimeTypeList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
4908    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_MIME_TYPE);
4909  }
4910
4911// -- MinLength -------------------------------------
4912// http://hl7.org/fhir/StructureDefinition/minLength|0.1.0
4913// min length
4914
4915  public static Extension makeMinLength(int value) {
4916    return new Extension(ExtensionConstants.EXT_MIN_LENGTH).setValue(new IntegerType(value));
4917  }
4918
4919  public static ElementDefinition setMinLength(ElementDefinition context, int value) {
4920    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_LENGTH, new IntegerType(value));
4921    return context;
4922  }
4923
4924  public static Integer getMinLength(ElementDefinition context) {
4925    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MIN_LENGTH);
4926  }
4927
4928  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMinLength(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) {
4929    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_LENGTH, new IntegerType(value));
4930    return context;
4931  }
4932
4933  public static Integer getMinLength(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
4934    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MIN_LENGTH);
4935  }
4936
4937// -- MinValue -------------------------------------
4938// http://hl7.org/fhir/StructureDefinition/minValue|0.1.0
4939// min value
4940
4941  public static Extension makeMinValue(DataType value) {
4942    return new Extension(ExtensionConstants.EXT_MIN_VALUE).setValue(value);
4943  }
4944
4945  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMinValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) {
4946    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_VALUE, value);
4947    return context;
4948  }
4949
4950  public static DataType getMinValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
4951    return ExtensionsUtils.getExtension(DataType.class, context, ExtensionConstants.EXT_MIN_VALUE);
4952  }
4953
4954// -- NSCheckDigit -------------------------------------
4955// http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit|0.1.0
4956// NamingSystem Check Digit
4957
4958  public static Extension makeNSCheckDigit(String value) {
4959    return new Extension(ExtensionConstants.EXT_NSCHECK_DIGIT).setValue(new StringType(value));
4960  }
4961
4962  public static NamingSystem setNSCheckDigit(NamingSystem context, String value) {
4963    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NSCHECK_DIGIT, new StringType(value));
4964    return context;
4965  }
4966
4967  public static String getNSCheckDigit(NamingSystem context) {
4968    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NSCHECK_DIGIT);
4969  }
4970
4971// -- NarrativeLink -------------------------------------
4972// http://hl7.org/fhir/StructureDefinition/narrativeLink|0.1.0
4973// Narrative Link
4974
4975  public static Extension makeNarrativeLink(String value) {
4976    return new Extension(ExtensionConstants.EXT_NARRATIVE_LINK).setValue(new UrlType(value));
4977  }
4978
4979  public static Element setNarrativeLink(Element context, String value) {
4980    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NARRATIVE_LINK, new UrlType(value));
4981    return context;
4982  }
4983
4984  public static String getNarrativeLink(Element context) {
4985    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NARRATIVE_LINK);
4986  }
4987
4988// -- PatNoFixedAddress -------------------------------------
4989// http://hl7.org/fhir/StructureDefinition/no-fixed-address|0.1.0
4990// Patient No Fixed Address
4991
4992  public static Extension makePatNoFixedAddress(boolean value) {
4993    return new Extension(ExtensionConstants.EXT_PAT_NO_FIXED_ADDRESS).setValue(new BooleanType(value));
4994  }
4995
4996  public static Address setPatNoFixedAddress(Address context, boolean value) {
4997    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_NO_FIXED_ADDRESS, new BooleanType(value));
4998    return context;
4999  }
5000
5001  public static Boolean getPatNoFixedAddress(Address context) {
5002    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PAT_NO_FIXED_ADDRESS);
5003  }
5004
5005// -- NttAdaptiveFeedingDevice -------------------------------------
5006// http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice|0.1.0
5007// NutritionOrder Adaptive Feeding Device
5008
5009  public static Extension makeNttAdaptiveFeedingDevice(CodeableConcept value) {
5010    return new Extension(ExtensionConstants.EXT_NTT_ADAPTIVE_FEEDING_DEVICE).setValue(value);
5011  }
5012
5013  public static org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent addNttAdaptiveFeedingDevice(org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent context, CodeableConcept value) {
5014    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_NTT_ADAPTIVE_FEEDING_DEVICE, value);
5015    return context;
5016  }
5017
5018  public static List<CodeableConcept> getNttAdaptiveFeedingDeviceList(org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent context) {
5019    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_NTT_ADAPTIVE_FEEDING_DEVICE);
5020  }
5021
5022// -- ObsBodyPosition -------------------------------------
5023// http://hl7.org/fhir/StructureDefinition/observation-bodyPosition|0.1.0
5024// Observation Body Position
5025
5026  public static Extension makeObsBodyPosition(CodeableConcept value) {
5027    return new Extension(ExtensionConstants.EXT_OBS_BODY_POSITION).setValue(value);
5028  }
5029
5030  public static Observation setObsBodyPosition(Observation context, CodeableConcept value) {
5031    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_BODY_POSITION, value);
5032    return context;
5033  }
5034
5035  public static CodeableConcept getObsBodyPosition(Observation context) {
5036    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_BODY_POSITION);
5037  }
5038
5039  public static org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent setObsBodyPosition(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) {
5040    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_BODY_POSITION, value);
5041    return context;
5042  }
5043
5044  public static CodeableConcept getObsBodyPosition(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) {
5045    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_BODY_POSITION);
5046  }
5047
5048// -- ObsDelta -------------------------------------
5049// http://hl7.org/fhir/StructureDefinition/observation-delta|0.1.0
5050// Observation Delta
5051
5052  public static Extension makeObsDelta(CodeableConcept value) {
5053    return new Extension(ExtensionConstants.EXT_OBS_DELTA).setValue(value);
5054  }
5055
5056  public static Observation setObsDelta(Observation context, CodeableConcept value) {
5057    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_DELTA, value);
5058    return context;
5059  }
5060
5061  public static CodeableConcept getObsDelta(Observation context) {
5062    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_DELTA);
5063  }
5064
5065// -- ObsDeviceCode -------------------------------------
5066// http://hl7.org/fhir/StructureDefinition/observation-deviceCode|0.1.0
5067// Observation Device Code
5068
5069  public static Extension makeObsDeviceCode(CodeableConcept value) {
5070    return new Extension(ExtensionConstants.EXT_OBS_DEVICE_CODE).setValue(value);
5071  }
5072
5073  public static Observation setObsDeviceCode(Observation context, CodeableConcept value) {
5074    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_DEVICE_CODE, value);
5075    return context;
5076  }
5077
5078  public static CodeableConcept getObsDeviceCode(Observation context) {
5079    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_DEVICE_CODE);
5080  }
5081
5082// -- ObsFocusCode -------------------------------------
5083// http://hl7.org/fhir/StructureDefinition/observation-focusCode|0.1.0
5084// Observation Focal Subject Code
5085
5086  public static Extension makeObsFocusCode(CodeableConcept value) {
5087    return new Extension(ExtensionConstants.EXT_OBS_FOCUS_CODE).setValue(value);
5088  }
5089
5090  public static Observation setObsFocusCode(Observation context, CodeableConcept value) {
5091    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_FOCUS_CODE, value);
5092    return context;
5093  }
5094
5095  public static CodeableConcept getObsFocusCode(Observation context) {
5096    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_FOCUS_CODE);
5097  }
5098
5099// -- ObsGatewayDevice -------------------------------------
5100// http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice|0.1.0
5101// Observation Gateway Device
5102
5103  public static Extension makeObsGatewayDevice(Reference value) {
5104    return new Extension(ExtensionConstants.EXT_OBS_GATEWAY_DEVICE).setValue(value);
5105  }
5106
5107  public static Observation setObsGatewayDevice(Observation context, Reference value) {
5108    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_GATEWAY_DEVICE, value);
5109    return context;
5110  }
5111
5112  public static Reference getObsGatewayDevice(Observation context) {
5113    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_OBS_GATEWAY_DEVICE);
5114  }
5115
5116// -- ObsPrecondition -------------------------------------
5117// http://hl7.org/fhir/StructureDefinition/observation-precondition|0.1.0
5118// Observation Precondition
5119
5120  public static Extension makeObsPrecondition(Reference value) {
5121    return new Extension(ExtensionConstants.EXT_OBS_PRECONDITION).setValue(value);
5122  }
5123
5124  public static Observation addObsPrecondition(Observation context, Reference value) {
5125    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_PRECONDITION, value);
5126    return context;
5127  }
5128
5129  public static List<Reference> getObsPreconditionList(Observation context) {
5130    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_OBS_PRECONDITION);
5131  }
5132
5133// -- ObsReagent -------------------------------------
5134// http://hl7.org/fhir/StructureDefinition/observation-reagent|0.1.0
5135// Observation Reagent
5136
5137  public static Extension makeObsReagent(Reference value) {
5138    return new Extension(ExtensionConstants.EXT_OBS_REAGENT).setValue(value);
5139  }
5140
5141  public static Observation addObsReagent(Observation context, Reference value) {
5142    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_REAGENT, value);
5143    return context;
5144  }
5145
5146  public static List<Reference> getObsReagentList(Observation context) {
5147    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_OBS_REAGENT);
5148  }
5149
5150// -- ObsReplaces -------------------------------------
5151// http://hl7.org/fhir/StructureDefinition/observation-replaces|0.1.0
5152// Observation Replaces
5153
5154  public static Extension makeObsReplaces(Reference value) {
5155    return new Extension(ExtensionConstants.EXT_OBS_REPLACES).setValue(value);
5156  }
5157
5158  public static Observation addObsReplaces(Observation context, Reference value) {
5159    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_REPLACES, value);
5160    return context;
5161  }
5162
5163  public static List<Reference> getObsReplacesList(Observation context) {
5164    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_OBS_REPLACES);
5165  }
5166
5167// -- ObsSecondaryFinding -------------------------------------
5168// http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding|0.1.0
5169// Observation Secondary Finding
5170
5171  public static Extension makeObsSecondaryFinding(CodeableConcept value) {
5172    return new Extension(ExtensionConstants.EXT_OBS_SECONDARY_FINDING).setValue(value);
5173  }
5174
5175  public static Observation setObsSecondaryFinding(Observation context, CodeableConcept value) {
5176    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_SECONDARY_FINDING, value);
5177    return context;
5178  }
5179
5180  public static CodeableConcept getObsSecondaryFinding(Observation context) {
5181    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_SECONDARY_FINDING);
5182  }
5183
5184// -- ObsSequelTo -------------------------------------
5185// http://hl7.org/fhir/StructureDefinition/observation-sequelTo|0.1.0
5186// Observation Sequel To
5187
5188  public static Extension makeObsSequelTo(Reference value) {
5189    return new Extension(ExtensionConstants.EXT_OBS_SEQUEL_TO).setValue(value);
5190  }
5191
5192  public static Observation addObsSequelTo(Observation context, Reference value) {
5193    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_SEQUEL_TO, value);
5194    return context;
5195  }
5196
5197  public static List<Reference> getObsSequelToList(Observation context) {
5198    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_OBS_SEQUEL_TO);
5199  }
5200
5201// -- ObsSpecimenCode -------------------------------------
5202// http://hl7.org/fhir/StructureDefinition/observation-specimenCode|0.1.0
5203// Observation Specimen Code
5204
5205  public static Extension makeObsSpecimenCode(CodeableConcept value) {
5206    return new Extension(ExtensionConstants.EXT_OBS_SPECIMEN_CODE).setValue(value);
5207  }
5208
5209  public static Observation setObsSpecimenCode(Observation context, CodeableConcept value) {
5210    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_SPECIMEN_CODE, value);
5211    return context;
5212  }
5213
5214  public static CodeableConcept getObsSpecimenCode(Observation context) {
5215    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_SPECIMEN_CODE);
5216  }
5217
5218// -- ObsTimeOffset -------------------------------------
5219// http://hl7.org/fhir/StructureDefinition/observation-timeOffset|0.1.0
5220// Observation Time Offset
5221
5222  public static Extension makeObsTimeOffset(int value) {
5223    return new Extension(ExtensionConstants.EXT_OBS_TIME_OFFSET).setValue(new IntegerType(value));
5224  }
5225
5226  public static org.hl7.fhir.r5.model.Observation.ObservationComponentComponent addObsTimeOffset(org.hl7.fhir.r5.model.Observation.ObservationComponentComponent context, int value) {
5227    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_TIME_OFFSET, new IntegerType(value));
5228    return context;
5229  }
5230
5231  public static List<Integer> getObsTimeOffsetList(org.hl7.fhir.r5.model.Observation.ObservationComponentComponent context) {
5232    return ExtensionsUtils.getExtensionIntList(context, ExtensionConstants.EXT_OBS_TIME_OFFSET);
5233  }
5234
5235// -- AIAdministration -------------------------------------
5236// http://hl7.org/fhir/StructureDefinition/openEHR-administration|0.1.0
5237// AllergyIntolerance Administration
5238
5239  public static Extension makeAIAdministration(Reference value) {
5240    return new Extension(ExtensionConstants.EXT_AIADMINISTRATION).setValue(value);
5241  }
5242
5243  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIAdministration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Reference value) {
5244    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIADMINISTRATION, value);
5245    return context;
5246  }
5247
5248  public static Reference getAIAdministration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
5249    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_AIADMINISTRATION);
5250  }
5251
5252// -- AICareplan -------------------------------------
5253// http://hl7.org/fhir/StructureDefinition/openEHR-careplan|0.1.0
5254// AllergyIntolerance Careplan
5255
5256  public static Extension makeAICareplan(Reference value) {
5257    return new Extension(ExtensionConstants.EXT_AICAREPLAN).setValue(value);
5258  }
5259
5260  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAICareplan(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Reference value) {
5261    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AICAREPLAN, value);
5262    return context;
5263  }
5264
5265  public static Reference getAICareplan(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
5266    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_AICAREPLAN);
5267  }
5268
5269// -- AIExposureDate -------------------------------------
5270// http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate|0.1.0
5271// AllergyIntolerance Exposure Date
5272
5273  public static Extension makeAIExposureDate(String value) {
5274    return new Extension(ExtensionConstants.EXT_AIEXPOSURE_DATE).setValue(new DateTimeType(value));
5275  }
5276
5277  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDate(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) {
5278    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIEXPOSURE_DATE, new DateTimeType(value));
5279    return context;
5280  }
5281
5282  public static String getAIExposureDate(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
5283    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_AIEXPOSURE_DATE);
5284  }
5285
5286// -- AIExposureDescription -------------------------------------
5287// http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription|0.1.0
5288// AllergyIntolerance ExposureDescription
5289
5290  public static Extension makeAIExposureDescription(String value) {
5291    return new Extension(ExtensionConstants.EXT_AIEXPOSURE_DESCRIPTION).setValue(new StringType(value));
5292  }
5293
5294  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDescription(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) {
5295    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIEXPOSURE_DESCRIPTION, new StringType(value));
5296    return context;
5297  }
5298
5299  public static String getAIExposureDescription(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
5300    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_AIEXPOSURE_DESCRIPTION);
5301  }
5302
5303// -- AIExposureDuration -------------------------------------
5304// http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration|0.1.0
5305// AllergyIntolerance Exposure Duration
5306
5307  public static Extension makeAIExposureDuration(Duration value) {
5308    return new Extension(ExtensionConstants.EXT_AIEXPOSURE_DURATION).setValue(value);
5309  }
5310
5311  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Duration value) {
5312    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIEXPOSURE_DURATION, value);
5313    return context;
5314  }
5315
5316  public static Duration getAIExposureDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
5317    return ExtensionsUtils.getExtension(Duration.class, context, ExtensionConstants.EXT_AIEXPOSURE_DURATION);
5318  }
5319
5320// -- AILocation -------------------------------------
5321// http://hl7.org/fhir/StructureDefinition/openEHR-location|0.1.0
5322// AllergyIntolerance Location
5323
5324  public static Extension makeAILocation(CodeableConcept value) {
5325    return new Extension(ExtensionConstants.EXT_AILOCATION).setValue(value);
5326  }
5327
5328  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent addAILocation(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, CodeableConcept value) {
5329    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AILOCATION, value);
5330    return context;
5331  }
5332
5333  public static List<CodeableConcept> getAILocationList(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
5334    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_AILOCATION);
5335  }
5336
5337// -- AIManagement -------------------------------------
5338// http://hl7.org/fhir/StructureDefinition/openEHR-management|0.1.0
5339// AllergyIntolerance Management
5340
5341  public static Extension makeAIManagement(String value) {
5342    return new Extension(ExtensionConstants.EXT_AIMANAGEMENT).setValue(new StringType(value));
5343  }
5344
5345  public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIManagement(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) {
5346    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIMANAGEMENT, new StringType(value));
5347    return context;
5348  }
5349
5350  public static String getAIManagement(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) {
5351    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_AIMANAGEMENT);
5352  }
5353
5354// -- ODProfile -------------------------------------
5355// http://hl7.org/fhir/StructureDefinition/operationdefinition-profile|0.1.0
5356// OperationDefinition Profile
5357
5358  public static Extension makeODProfile(String value) {
5359    return new Extension(ExtensionConstants.EXT_ODPROFILE).setValue(new UriType(value));
5360  }
5361
5362  public static org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent addODProfile(org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent context, String value) {
5363    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ODPROFILE, new UriType(value));
5364    return context;
5365  }
5366
5367  public static List<String> getODProfileList(org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent context) {
5368    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ODPROFILE);
5369  }
5370
5371// -- OOAuthority -------------------------------------
5372// http://hl7.org/fhir/StructureDefinition/operationoutcome-authority|0.1.0
5373// OperationOutcome Authority for Rule
5374
5375  public static Extension makeOOAuthority(String value) {
5376    return new Extension(ExtensionConstants.EXT_OOAUTHORITY).setValue(new UriType(value));
5377  }
5378
5379  public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOAuthority(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) {
5380    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOAUTHORITY, new UriType(value));
5381    return context;
5382  }
5383
5384  public static String getOOAuthority(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) {
5385    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOAUTHORITY);
5386  }
5387
5388// -- OODetectedIssue -------------------------------------
5389// http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue|0.1.0
5390// OperationOutcome Detected Clinical Issue
5391
5392  public static Extension makeOODetectedIssue(Reference value) {
5393    return new Extension(ExtensionConstants.EXT_OODETECTED_ISSUE).setValue(value);
5394  }
5395
5396  public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOODetectedIssue(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, Reference value) {
5397    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OODETECTED_ISSUE, value);
5398    return context;
5399  }
5400
5401  public static Reference getOODetectedIssue(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) {
5402    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_OODETECTED_ISSUE);
5403  }
5404
5405// -- OOSourceFile -------------------------------------
5406// http://hl7.org/fhir/StructureDefinition/operationoutcome-file|0.1.0
5407// OperationOutcome Source File
5408
5409  public static Extension makeOOSourceFile(String value) {
5410    return new Extension(ExtensionConstants.EXT_OOSOURCE_FILE).setValue(new StringType(value));
5411  }
5412
5413  public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOSourceFile(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) {
5414    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOSOURCE_FILE, new StringType(value));
5415    return context;
5416  }
5417
5418  public static String getOOSourceFile(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) {
5419    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOSOURCE_FILE);
5420  }
5421
5422// -- OOIssueCol -------------------------------------
5423// http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col|0.1.0
5424// OperationOutcome Column of Issue
5425
5426  public static Extension makeOOIssueCol(String value) {
5427    return new Extension(ExtensionConstants.EXT_OOISSUE_COL).setValue(new StringType(value));
5428  }
5429
5430  public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueCol(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) {
5431    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOISSUE_COL, new StringType(value));
5432    return context;
5433  }
5434
5435  public static String getOOIssueCol(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) {
5436    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOISSUE_COL);
5437  }
5438
5439// -- OOIssueline -------------------------------------
5440// http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line|0.1.0
5441// OperationOutcome Line of Issue
5442
5443  public static Extension makeOOIssueline(String value) {
5444    return new Extension(ExtensionConstants.EXT_OOISSUELINE).setValue(new StringType(value));
5445  }
5446
5447  public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueline(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) {
5448    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOISSUELINE, new StringType(value));
5449    return context;
5450  }
5451
5452  public static String getOOIssueline(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) {
5453    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOISSUELINE);
5454  }
5455
5456// -- OOIssuesource -------------------------------------
5457// http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source|0.1.0
5458// OperationOutcome Source of Issue
5459
5460  public static Extension makeOOIssuesource(String value) {
5461    return new Extension(ExtensionConstants.EXT_OOISSUESOURCE).setValue(new StringType(value));
5462  }
5463
5464  public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssuesource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) {
5465    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOISSUESOURCE, new StringType(value));
5466    return context;
5467  }
5468
5469  public static String getOOIssuesource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) {
5470    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOISSUESOURCE);
5471  }
5472
5473// -- OOIssueSource -------------------------------------
5474// http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id|0.1.0
5475// OperationOutcome Source of Issue
5476
5477  public static Extension makeOOIssueSource(String value) {
5478    return new Extension(ExtensionConstants.EXT_OOISSUE_SOURCE).setValue(new StringType(value));
5479  }
5480
5481  public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueSource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) {
5482    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOISSUE_SOURCE, new StringType(value));
5483    return context;
5484  }
5485
5486  public static String getOOIssueSource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) {
5487    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOISSUE_SOURCE);
5488  }
5489
5490// -- OrgPeriod -------------------------------------
5491// http://hl7.org/fhir/StructureDefinition/organization-period|0.1.0
5492// Organization Period
5493
5494  public static Extension makeOrgPeriod(Period value) {
5495    return new Extension(ExtensionConstants.EXT_ORG_PERIOD).setValue(value);
5496  }
5497
5498  public static Organization setOrgPeriod(Organization context, Period value) {
5499    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORG_PERIOD, value);
5500    return context;
5501  }
5502
5503  public static Period getOrgPeriod(Organization context) {
5504    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_ORG_PERIOD);
5505  }
5506
5507// -- OrgPreferredContact -------------------------------------
5508// http://hl7.org/fhir/StructureDefinition/organization-preferredContact|0.1.0
5509// Organization Preferred Contact
5510
5511  public static Extension makeOrgPreferredContact(boolean value) {
5512    return new Extension(ExtensionConstants.EXT_ORG_PREFERRED_CONTACT).setValue(new BooleanType(value));
5513  }
5514
5515  public static ExtendedContactDetail setOrgPreferredContact(ExtendedContactDetail context, boolean value) {
5516    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORG_PREFERRED_CONTACT, new BooleanType(value));
5517    return context;
5518  }
5519
5520  public static Boolean getOrgPreferredContact(ExtendedContactDetail context) {
5521    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_ORG_PREFERRED_CONTACT);
5522  }
5523
5524// -- OrgPrimaryInd -------------------------------------
5525// http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd|0.1.0
5526// Organization Primary Indicator
5527
5528  public static Extension makeOrgPrimaryInd(boolean value) {
5529    return new Extension(ExtensionConstants.EXT_ORG_PRIMARY_IND).setValue(new BooleanType(value));
5530  }
5531
5532  public static CodeableConcept setOrgPrimaryInd(CodeableConcept context, boolean value) {
5533    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORG_PRIMARY_IND, new BooleanType(value));
5534    return context;
5535  }
5536
5537  public static Boolean getOrgPrimaryInd(CodeableConcept context) {
5538    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_ORG_PRIMARY_IND);
5539  }
5540
5541// -- OriginalText -------------------------------------
5542// http://hl7.org/fhir/StructureDefinition/originalText|0.1.0
5543// Original Text
5544
5545  public static Extension makeOriginalTextString(String value) {
5546    return new Extension(ExtensionConstants.EXT_ORIGINAL_TEXT).setValue(new StringType(value));
5547  }
5548
5549  public static Extension makeOriginalTextUrl(String value) {
5550    return new Extension(ExtensionConstants.EXT_ORIGINAL_TEXT).setValue(new UrlType(value));
5551  }
5552
5553  public static Element setOriginalTextString(Element context, String value) {
5554    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORIGINAL_TEXT, new StringType(value));
5555    return context;
5556  }
5557
5558  public static String getOriginalTextString(Element context) {
5559    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ORIGINAL_TEXT);
5560  }
5561
5562  public static Element setOriginalTextUrl(Element context, String value) {
5563    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORIGINAL_TEXT, new UrlType(value));
5564    return context;
5565  }
5566
5567// -- ParametersDefinition -------------------------------------
5568// http://hl7.org/fhir/StructureDefinition/parameters-definition|0.1.0
5569// Parameters Definition for parameter
5570
5571  public static Extension makeParametersDefinition(ParameterDefinition value) {
5572    return new Extension(ExtensionConstants.EXT_PARAMETERS_DEFINITION).setValue(value);
5573  }
5574
5575  public static org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent setParametersDefinition(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context, ParameterDefinition value) {
5576    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PARAMETERS_DEFINITION, value);
5577    return context;
5578  }
5579
5580  public static ParameterDefinition getParametersDefinition(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context) {
5581    return ExtensionsUtils.getExtension(ParameterDefinition.class, context, ExtensionConstants.EXT_PARAMETERS_DEFINITION);
5582  }
5583
5584// -- ParamFullUrl -------------------------------------
5585// http://hl7.org/fhir/StructureDefinition/parameters-fullUrl|0.1.0
5586// Parameters FullUrl for resource
5587
5588  public static Extension makeParamFullUrl(String value) {
5589    return new Extension(ExtensionConstants.EXT_PARAM_FULL_URL).setValue(new UriType(value));
5590  }
5591
5592  public static org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent setParamFullUrl(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context, String value) {
5593    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PARAM_FULL_URL, new UriType(value));
5594    return context;
5595  }
5596
5597  public static String getParamFullUrl(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context) {
5598    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PARAM_FULL_URL);
5599  }
5600
5601// -- PatAdoptionInfo -------------------------------------
5602// http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo|0.1.0
5603// Patient Adoption Info
5604
5605  public static Extension makePatAdoptionInfo(CodeableConcept value) {
5606    return new Extension(ExtensionConstants.EXT_PAT_ADOPTION_INFO).setValue(value);
5607  }
5608
5609  public static Patient setPatAdoptionInfo(Patient context, CodeableConcept value) {
5610    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_ADOPTION_INFO, value);
5611    return context;
5612  }
5613
5614  public static CodeableConcept getPatAdoptionInfo(Patient context) {
5615    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PAT_ADOPTION_INFO);
5616  }
5617
5618// -- PatBirthPlace -------------------------------------
5619// http://hl7.org/fhir/StructureDefinition/patient-birthPlace|0.1.0
5620// Patient Birth Place
5621
5622  public static Extension makePatBirthPlace(Address value) {
5623    return new Extension(ExtensionConstants.EXT_PAT_BIRTH_PLACE).setValue(value);
5624  }
5625
5626  public static Patient setPatBirthPlace(Patient context, Address value) {
5627    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_BIRTH_PLACE, value);
5628    return context;
5629  }
5630
5631  public static Address getPatBirthPlace(Patient context) {
5632    return ExtensionsUtils.getExtension(Address.class, context, ExtensionConstants.EXT_PAT_BIRTH_PLACE);
5633  }
5634
5635// -- PatBirthTime -------------------------------------
5636// http://hl7.org/fhir/StructureDefinition/patient-birthTime|0.1.0
5637// Patient Birth Time
5638
5639  public static Extension makePatBirthTime(String value) {
5640    return new Extension(ExtensionConstants.EXT_PAT_BIRTH_TIME).setValue(new DateTimeType(value));
5641  }
5642
5643  public static DateType setPatBirthTime(DateType context, String value) {
5644    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_BIRTH_TIME, new DateTimeType(value));
5645    return context;
5646  }
5647
5648  public static String getPatBirthTime(DateType context) {
5649    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PAT_BIRTH_TIME);
5650  }
5651
5652// -- PatCadavericDonor -------------------------------------
5653// http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor|0.1.0
5654// Patient Is-Cadaveric Donor
5655
5656  public static Extension makePatCadavericDonor(boolean value) {
5657    return new Extension(ExtensionConstants.EXT_PAT_CADAVERIC_DONOR).setValue(new BooleanType(value));
5658  }
5659
5660  public static Patient setPatCadavericDonor(Patient context, boolean value) {
5661    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_CADAVERIC_DONOR, new BooleanType(value));
5662    return context;
5663  }
5664
5665  public static Boolean getPatCadavericDonor(Patient context) {
5666    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PAT_CADAVERIC_DONOR);
5667  }
5668
5669// -- PatCongregation -------------------------------------
5670// http://hl7.org/fhir/StructureDefinition/patient-congregation|0.1.0
5671// Patient Congregation
5672
5673  public static Extension makePatCongregation(String value) {
5674    return new Extension(ExtensionConstants.EXT_PAT_CONGREGATION).setValue(new StringType(value));
5675  }
5676
5677  public static Patient setPatCongregation(Patient context, String value) {
5678    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_CONGREGATION, new StringType(value));
5679    return context;
5680  }
5681
5682  public static String getPatCongregation(Patient context) {
5683    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PAT_CONGREGATION);
5684  }
5685
5686// -- PatDisability -------------------------------------
5687// http://hl7.org/fhir/StructureDefinition/patient-disability|0.1.0
5688// Patient Disability
5689
5690  public static Extension makePatDisability(CodeableConcept value) {
5691    return new Extension(ExtensionConstants.EXT_PAT_DISABILITY).setValue(value);
5692  }
5693
5694  public static Patient addPatDisability(Patient context, CodeableConcept value) {
5695    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PAT_DISABILITY, value);
5696    return context;
5697  }
5698
5699  public static List<CodeableConcept> getPatDisabilityList(Patient context) {
5700    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_PAT_DISABILITY);
5701  }
5702
5703// -- PatImportance -------------------------------------
5704// http://hl7.org/fhir/StructureDefinition/patient-importance|0.1.0
5705// Patient Importance
5706
5707  public static Extension makePatImportance(CodeableConcept value) {
5708    return new Extension(ExtensionConstants.EXT_PAT_IMPORTANCE).setValue(value);
5709  }
5710
5711  public static Patient setPatImportance(Patient context, CodeableConcept value) {
5712    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_IMPORTANCE, value);
5713    return context;
5714  }
5715
5716  public static CodeableConcept getPatImportance(Patient context) {
5717    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PAT_IMPORTANCE);
5718  }
5719
5720// -- PatInterpreterRequired -------------------------------------
5721// http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired|0.1.0
5722// Patient Interpreter Required
5723
5724  public static Extension makePatInterpreterRequired(boolean value) {
5725    return new Extension(ExtensionConstants.EXT_PAT_INTERPRETER_REQUIRED).setValue(new BooleanType(value));
5726  }
5727
5728  public static Patient setPatInterpreterRequired(Patient context, boolean value) {
5729    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_INTERPRETER_REQUIRED, new BooleanType(value));
5730    return context;
5731  }
5732
5733  public static Boolean getPatInterpreterRequired(Patient context) {
5734    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PAT_INTERPRETER_REQUIRED);
5735  }
5736
5737// -- PatMothersMaidenName -------------------------------------
5738// http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName|0.1.0
5739// Patient Mother's Maiden Name
5740
5741  public static Extension makePatMothersMaidenName(String value) {
5742    return new Extension(ExtensionConstants.EXT_PAT_MOTHERS_MAIDEN_NAME).setValue(new StringType(value));
5743  }
5744
5745  public static Patient setPatMothersMaidenName(Patient context, String value) {
5746    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_MOTHERS_MAIDEN_NAME, new StringType(value));
5747    return context;
5748  }
5749
5750  public static String getPatMothersMaidenName(Patient context) {
5751    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PAT_MOTHERS_MAIDEN_NAME);
5752  }
5753
5754// -- PatMultipleBirthTotal -------------------------------------
5755// http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal|0.1.0
5756// Patient Multiple Birth Total
5757
5758  public static Extension makePatMultipleBirthTotal(int value) {
5759    return new Extension(ExtensionConstants.EXT_PAT_MULTIPLE_BIRTH_TOTAL).setValue(new PositiveIntType(value));
5760  }
5761
5762  public static DataType setPatMultipleBirthTotal(DataType context, int value) {
5763    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_MULTIPLE_BIRTH_TOTAL, new PositiveIntType(value));
5764    return context;
5765  }
5766
5767  public static Integer getPatMultipleBirthTotal(DataType context) {
5768    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_PAT_MULTIPLE_BIRTH_TOTAL);
5769  }
5770
5771// -- PatPreferenceType -------------------------------------
5772// http://hl7.org/fhir/StructureDefinition/patient-preferenceType|0.1.0
5773// Patient Preference Type
5774
5775  public static Extension makePatPreferenceType(Coding value) {
5776    return new Extension(ExtensionConstants.EXT_PAT_PREFERENCE_TYPE).setValue(value);
5777  }
5778
5779// -- PatRelatedPerson -------------------------------------
5780// http://hl7.org/fhir/StructureDefinition/patient-relatedPerson|0.1.0
5781// Patient Related Person
5782
5783  public static Extension makePatRelatedPerson(Reference value) {
5784    return new Extension(ExtensionConstants.EXT_PAT_RELATED_PERSON).setValue(value);
5785  }
5786
5787  public static org.hl7.fhir.r5.model.Patient.ContactComponent addPatRelatedPerson(org.hl7.fhir.r5.model.Patient.ContactComponent context, Reference value) {
5788    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PAT_RELATED_PERSON, value);
5789    return context;
5790  }
5791
5792  public static List<Reference> getPatRelatedPersonList(org.hl7.fhir.r5.model.Patient.ContactComponent context) {
5793    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PAT_RELATED_PERSON);
5794  }
5795
5796// -- PatReligion -------------------------------------
5797// http://hl7.org/fhir/StructureDefinition/patient-religion|0.1.0
5798// Patient Religion
5799
5800  public static Extension makePatReligion(CodeableConcept value) {
5801    return new Extension(ExtensionConstants.EXT_PAT_RELIGION).setValue(value);
5802  }
5803
5804  public static Patient addPatReligion(Patient context, CodeableConcept value) {
5805    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PAT_RELIGION, value);
5806    return context;
5807  }
5808
5809  public static List<CodeableConcept> getPatReligionList(Patient context) {
5810    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_PAT_RELIGION);
5811  }
5812
5813// -- PRAnimalSpecies -------------------------------------
5814// http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies|0.1.0
5815// Practitioner Animal Species
5816
5817  public static Extension makePRAnimalSpecies(CodeableConcept value) {
5818    return new Extension(ExtensionConstants.EXT_PRANIMAL_SPECIES).setValue(value);
5819  }
5820
5821  public static Practitioner setPRAnimalSpecies(Practitioner context, CodeableConcept value) {
5822    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRANIMAL_SPECIES, value);
5823    return context;
5824  }
5825
5826  public static CodeableConcept getPRAnimalSpecies(Practitioner context) {
5827    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRANIMAL_SPECIES);
5828  }
5829
5830  public static RelatedPerson setPRAnimalSpecies(RelatedPerson context, CodeableConcept value) {
5831    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRANIMAL_SPECIES, value);
5832    return context;
5833  }
5834
5835  public static CodeableConcept getPRAnimalSpecies(RelatedPerson context) {
5836    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRANIMAL_SPECIES);
5837  }
5838
5839// -- PRJobTitle -------------------------------------
5840// http://hl7.org/fhir/StructureDefinition/practitioner-job-title|0.1.0
5841// Practitioner Job title
5842
5843  public static Extension makePRJobTitle(CodeableConcept value) {
5844    return new Extension(ExtensionConstants.EXT_PRJOB_TITLE).setValue(value);
5845  }
5846
5847  public static Practitioner setPRJobTitle(Practitioner context, CodeableConcept value) {
5848    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRJOB_TITLE, value);
5849    return context;
5850  }
5851
5852  public static CodeableConcept getPRJobTitle(Practitioner context) {
5853    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRJOB_TITLE);
5854  }
5855
5856  public static PractitionerRole setPRJobTitle(PractitionerRole context, CodeableConcept value) {
5857    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRJOB_TITLE, value);
5858    return context;
5859  }
5860
5861  public static CodeableConcept getPRJobTitle(PractitionerRole context) {
5862    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRJOB_TITLE);
5863  }
5864
5865// -- PRPrimaryInd -------------------------------------
5866// http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd|0.1.0
5867// PractitionerRole Primary Indicator
5868
5869  public static Extension makePRPrimaryInd(boolean value) {
5870    return new Extension(ExtensionConstants.EXT_PRPRIMARY_IND).setValue(new BooleanType(value));
5871  }
5872
5873  public static CodeableConcept setPRPrimaryInd(CodeableConcept context, boolean value) {
5874    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRPRIMARY_IND, new BooleanType(value));
5875    return context;
5876  }
5877
5878  public static Boolean getPRPrimaryInd(CodeableConcept context) {
5879    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PRPRIMARY_IND);
5880  }
5881
5882// -- PRApproachBodyStructure -------------------------------------
5883// http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure|0.1.0
5884// Procedure Approach Body Structure
5885
5886  public static Extension makePRApproachBodyStructure(Reference value) {
5887    return new Extension(ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE).setValue(value);
5888  }
5889
5890  public static DeviceRequest addPRApproachBodyStructure(DeviceRequest context, Reference value) {
5891    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE, value);
5892    return context;
5893  }
5894
5895  public static List<Reference> getPRApproachBodyStructureList(DeviceRequest context) {
5896    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE);
5897  }
5898
5899  public static DeviceUsage addPRApproachBodyStructure(DeviceUsage context, Reference value) {
5900    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE, value);
5901    return context;
5902  }
5903
5904  public static List<Reference> getPRApproachBodyStructureList(DeviceUsage context) {
5905    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE);
5906  }
5907
5908  public static Procedure addPRApproachBodyStructure(Procedure context, Reference value) {
5909    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE, value);
5910    return context;
5911  }
5912
5913  public static List<Reference> getPRApproachBodyStructureList(Procedure context) {
5914    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE);
5915  }
5916
5917  public static ServiceRequest addPRApproachBodyStructure(ServiceRequest context, Reference value) {
5918    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE, value);
5919    return context;
5920  }
5921
5922  public static List<Reference> getPRApproachBodyStructureList(ServiceRequest context) {
5923    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE);
5924  }
5925
5926// -- PRCausedBy -------------------------------------
5927// http://hl7.org/fhir/StructureDefinition/procedure-causedBy|0.1.0
5928// Procedure Caused By
5929
5930  public static Extension makePRCausedBy(Reference value) {
5931    return new Extension(ExtensionConstants.EXT_PRCAUSED_BY).setValue(value);
5932  }
5933
5934  public static Procedure addPRCausedBy(Procedure context, Reference value) {
5935    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRCAUSED_BY, value);
5936    return context;
5937  }
5938
5939  public static List<Reference> getPRCausedByList(Procedure context) {
5940    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRCAUSED_BY);
5941  }
5942
5943// -- PRDirectedBy -------------------------------------
5944// http://hl7.org/fhir/StructureDefinition/procedure-directedBy|0.1.0
5945// Procedure Directed By
5946
5947  public static Extension makePRDirectedBy(CodeableConcept value) {
5948    return new Extension(ExtensionConstants.EXT_PRDIRECTED_BY).setValue(value);
5949  }
5950
5951  public static Extension makePRDirectedBy(Reference value) {
5952    return new Extension(ExtensionConstants.EXT_PRDIRECTED_BY).setValue(value);
5953  }
5954
5955  public static Procedure setPRDirectedBy(Procedure context, CodeableConcept value) {
5956    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRDIRECTED_BY, value);
5957    return context;
5958  }
5959
5960  public static CodeableConcept getPRDirectedByCodeableConcept(Procedure context) {
5961    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRDIRECTED_BY);
5962  }
5963
5964  public static Procedure setPRDirectedBy(Procedure context, Reference value) {
5965    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRDIRECTED_BY, value);
5966    return context;
5967  }
5968
5969  public static Reference getPRDirectedByReference(Procedure context) {
5970    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_PRDIRECTED_BY);
5971  }
5972
5973  public static ServiceRequest setPRDirectedBy(ServiceRequest context, CodeableConcept value) {
5974    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRDIRECTED_BY, value);
5975    return context;
5976  }
5977
5978  public static CodeableConcept getPRDirectedByCodeableConcept(ServiceRequest context) {
5979    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRDIRECTED_BY);
5980  }
5981
5982  public static ServiceRequest setPRDirectedBy(ServiceRequest context, Reference value) {
5983    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRDIRECTED_BY, value);
5984    return context;
5985  }
5986
5987  public static Reference getPRDirectedByReference(ServiceRequest context) {
5988    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_PRDIRECTED_BY);
5989  }
5990
5991// -- PRIncisionDateTime -------------------------------------
5992// http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime|0.1.0
5993// Procedure Incision DateTime
5994
5995  public static Extension makePRIncisionDateTime(String value) {
5996    return new Extension(ExtensionConstants.EXT_PRINCISION_DATE_TIME).setValue(new DateTimeType(value));
5997  }
5998
5999  public static Procedure setPRIncisionDateTime(Procedure context, String value) {
6000    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRINCISION_DATE_TIME, new DateTimeType(value));
6001    return context;
6002  }
6003
6004  public static String getPRIncisionDateTime(Procedure context) {
6005    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PRINCISION_DATE_TIME);
6006  }
6007
6008// -- PRMethod -------------------------------------
6009// http://hl7.org/fhir/StructureDefinition/procedure-method|0.1.0
6010// Procedure Method
6011
6012  public static Extension makePRMethod(CodeableConcept value) {
6013    return new Extension(ExtensionConstants.EXT_PRMETHOD).setValue(value);
6014  }
6015
6016  public static Procedure addPRMethod(Procedure context, CodeableConcept value) {
6017    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRMETHOD, value);
6018    return context;
6019  }
6020
6021  public static List<CodeableConcept> getPRMethodList(Procedure context) {
6022    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_PRMETHOD);
6023  }
6024
6025// -- PRProgressStatus -------------------------------------
6026// http://hl7.org/fhir/StructureDefinition/procedure-progressStatus|0.1.0
6027// Procedure Progress Status
6028
6029  public static Extension makePRProgressStatus(CodeableConcept value) {
6030    return new Extension(ExtensionConstants.EXT_PRPROGRESS_STATUS).setValue(value);
6031  }
6032
6033  public static Procedure setPRProgressStatus(Procedure context, CodeableConcept value) {
6034    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRPROGRESS_STATUS, value);
6035    return context;
6036  }
6037
6038  public static CodeableConcept getPRProgressStatus(Procedure context) {
6039    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRPROGRESS_STATUS);
6040  }
6041
6042// -- PRTargetBodyStructure -------------------------------------
6043// http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure|0.1.0
6044// Procedure Target Body Structure
6045
6046  public static Extension makePRTargetBodyStructure(Reference value) {
6047    return new Extension(ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE).setValue(value);
6048  }
6049
6050  public static Procedure addPRTargetBodyStructure(Procedure context, Reference value) {
6051    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE, value);
6052    return context;
6053  }
6054
6055  public static List<Reference> getPRTargetBodyStructureList(Procedure context) {
6056    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE);
6057  }
6058
6059  public static ServiceRequest addPRTargetBodyStructure(ServiceRequest context, Reference value) {
6060    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE, value);
6061    return context;
6062  }
6063
6064  public static List<Reference> getPRTargetBodyStructureList(ServiceRequest context) {
6065    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE);
6066  }
6067
6068// -- Precision -------------------------------------
6069// http://hl7.org/fhir/StructureDefinition/quantity-precision|0.1.0
6070// Precision
6071
6072  public static Extension makePrecision(int value) {
6073    return new Extension(ExtensionConstants.EXT_PRECISION).setValue(new IntegerType(value));
6074  }
6075
6076  public static DecimalType setPrecision(DecimalType context, int value) {
6077    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRECISION, new IntegerType(value));
6078    return context;
6079  }
6080
6081  public static Integer getPrecision(DecimalType context) {
6082    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_PRECISION);
6083  }
6084
6085// -- QBaseType -------------------------------------
6086// http://hl7.org/fhir/StructureDefinition/questionnaire-baseType|0.1.0
6087// Questionnaire Base Type
6088
6089  public static Extension makeQBaseType(String value) {
6090    return new Extension(ExtensionConstants.EXT_QBASE_TYPE).setValue(new CodeType(value));
6091  }
6092
6093  public static ElementDefinition setQBaseType(ElementDefinition context, String value) {
6094    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QBASE_TYPE, new CodeType(value));
6095    return context;
6096  }
6097
6098  public static String getQBaseType(ElementDefinition context) {
6099    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QBASE_TYPE);
6100  }
6101
6102  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQBaseType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6103    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QBASE_TYPE, new CodeType(value));
6104    return context;
6105  }
6106
6107  public static String getQBaseType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6108    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QBASE_TYPE);
6109  }
6110
6111// -- QChoiceOrientation -------------------------------------
6112// http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation|0.1.0
6113// Questionnaire ChoiceOrientation
6114
6115  public static Extension makeQChoiceOrientation(String value) {
6116    return new Extension(ExtensionConstants.EXT_QCHOICE_ORIENTATION).setValue(new CodeType(value));
6117  }
6118
6119  public static ElementDefinition setQChoiceOrientation(ElementDefinition context, String value) {
6120    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QCHOICE_ORIENTATION, new CodeType(value));
6121    return context;
6122  }
6123
6124  public static String getQChoiceOrientation(ElementDefinition context) {
6125    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QCHOICE_ORIENTATION);
6126  }
6127
6128  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQChoiceOrientation(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6129    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QCHOICE_ORIENTATION, new CodeType(value));
6130    return context;
6131  }
6132
6133  public static String getQChoiceOrientation(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6134    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QCHOICE_ORIENTATION);
6135  }
6136
6137// -- QDefinitionBased -------------------------------------
6138// http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased|0.1.0
6139// Questionnaire is Definition Based
6140
6141  public static Extension makeQDefinitionBased(boolean value) {
6142    return new Extension(ExtensionConstants.EXT_QDEFINITION_BASED).setValue(new BooleanType(value));
6143  }
6144
6145  public static Questionnaire setQDefinitionBased(Questionnaire context, boolean value) {
6146    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QDEFINITION_BASED, new BooleanType(value));
6147    return context;
6148  }
6149
6150  public static Boolean getQDefinitionBased(Questionnaire context) {
6151    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_QDEFINITION_BASED);
6152  }
6153
6154// -- QDisplayCategory -------------------------------------
6155// http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory|0.1.0
6156// Questionnaire Display Category
6157
6158  public static Extension makeQDisplayCategory(CodeableConcept value) {
6159    return new Extension(ExtensionConstants.EXT_QDISPLAY_CATEGORY).setValue(value);
6160  }
6161
6162  public static ElementDefinition setQDisplayCategory(ElementDefinition context, CodeableConcept value) {
6163    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QDISPLAY_CATEGORY, value);
6164    return context;
6165  }
6166
6167  public static CodeableConcept getQDisplayCategory(ElementDefinition context) {
6168    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QDISPLAY_CATEGORY);
6169  }
6170
6171  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQDisplayCategory(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) {
6172    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QDISPLAY_CATEGORY, value);
6173    return context;
6174  }
6175
6176  public static CodeableConcept getQDisplayCategory(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6177    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QDISPLAY_CATEGORY);
6178  }
6179
6180// -- QFhirType -------------------------------------
6181// http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType|0.1.0
6182// Questionnaire FHIR Type
6183
6184  public static Extension makeQFhirType(String value) {
6185    return new Extension(ExtensionConstants.EXT_QFHIR_TYPE).setValue(new StringType(value));
6186  }
6187
6188  public static ElementDefinition setQFhirType(ElementDefinition context, String value) {
6189    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QFHIR_TYPE, new StringType(value));
6190    return context;
6191  }
6192
6193  public static String getQFhirType(ElementDefinition context) {
6194    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QFHIR_TYPE);
6195  }
6196
6197  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQFhirType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6198    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QFHIR_TYPE, new StringType(value));
6199    return context;
6200  }
6201
6202  public static String getQFhirType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6203    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QFHIR_TYPE);
6204  }
6205
6206// -- QHidden -------------------------------------
6207// http://hl7.org/fhir/StructureDefinition/questionnaire-hidden|0.1.0
6208// Questionnaire Hidden
6209
6210  public static Extension makeQHidden(boolean value) {
6211    return new Extension(ExtensionConstants.EXT_QHIDDEN).setValue(new BooleanType(value));
6212  }
6213
6214  public static ElementDefinition setQHidden(ElementDefinition context, boolean value) {
6215    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QHIDDEN, new BooleanType(value));
6216    return context;
6217  }
6218
6219  public static Boolean getQHidden(ElementDefinition context) {
6220    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_QHIDDEN);
6221  }
6222
6223  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQHidden(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, boolean value) {
6224    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QHIDDEN, new BooleanType(value));
6225    return context;
6226  }
6227
6228  public static Boolean getQHidden(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6229    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_QHIDDEN);
6230  }
6231
6232// -- QItemControl -------------------------------------
6233// http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl|0.1.0
6234// Questionnaire Item Control
6235
6236  public static Extension makeQItemControl(CodeableConcept value) {
6237    return new Extension(ExtensionConstants.EXT_QITEM_CONTROL).setValue(value);
6238  }
6239
6240  public static ElementDefinition setQItemControl(ElementDefinition context, CodeableConcept value) {
6241    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QITEM_CONTROL, value);
6242    return context;
6243  }
6244
6245  public static CodeableConcept getQItemControl(ElementDefinition context) {
6246    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QITEM_CONTROL);
6247  }
6248
6249  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQItemControl(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) {
6250    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QITEM_CONTROL, value);
6251    return context;
6252  }
6253
6254  public static CodeableConcept getQItemControl(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6255    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QITEM_CONTROL);
6256  }
6257
6258// -- QMaxOccurs -------------------------------------
6259// http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs|0.1.0
6260// Questionnaire Max Occurs
6261
6262  public static Extension makeQMaxOccurs(int value) {
6263    return new Extension(ExtensionConstants.EXT_QMAX_OCCURS).setValue(new IntegerType(value));
6264  }
6265
6266  public static ElementDefinition setQMaxOccurs(ElementDefinition context, int value) {
6267    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QMAX_OCCURS, new IntegerType(value));
6268    return context;
6269  }
6270
6271  public static Integer getQMaxOccurs(ElementDefinition context) {
6272    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QMAX_OCCURS);
6273  }
6274
6275  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQMaxOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) {
6276    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QMAX_OCCURS, new IntegerType(value));
6277    return context;
6278  }
6279
6280  public static Integer getQMaxOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6281    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QMAX_OCCURS);
6282  }
6283
6284// -- QMinOccurs -------------------------------------
6285// http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs|0.1.0
6286// Questionnaire Min Occurs
6287
6288  public static Extension makeQMinOccurs(int value) {
6289    return new Extension(ExtensionConstants.EXT_QMIN_OCCURS).setValue(new IntegerType(value));
6290  }
6291
6292  public static ElementDefinition setQMinOccurs(ElementDefinition context, int value) {
6293    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QMIN_OCCURS, new IntegerType(value));
6294    return context;
6295  }
6296
6297  public static Integer getQMinOccurs(ElementDefinition context) {
6298    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QMIN_OCCURS);
6299  }
6300
6301  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQMinOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) {
6302    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QMIN_OCCURS, new IntegerType(value));
6303    return context;
6304  }
6305
6306  public static Integer getQMinOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6307    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QMIN_OCCURS);
6308  }
6309
6310// -- QOptionExclusive -------------------------------------
6311// http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive|0.1.0
6312// Questionnaire Option Exclusive
6313
6314  public static Extension makeQOptionExclusive(boolean value) {
6315    return new Extension(ExtensionConstants.EXT_QOPTION_EXCLUSIVE).setValue(new BooleanType(value));
6316  }
6317
6318// -- QOptionPrefix -------------------------------------
6319// http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix|0.1.0
6320// Questionnaire Option Prefix
6321
6322  public static Extension makeQOptionPrefix(String value) {
6323    return new Extension(ExtensionConstants.EXT_QOPTION_PREFIX).setValue(new StringType(value));
6324  }
6325
6326// -- QOptionRestriction -------------------------------------
6327// http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction|0.1.0
6328// Questionnaire Option Restriction
6329
6330  public static Extension makeQOptionRestriction(DataType value) {
6331    return new Extension(ExtensionConstants.EXT_QOPTION_RESTRICTION).setValue(value);
6332  }
6333
6334  public static ElementDefinition addQOptionRestriction(ElementDefinition context, DataType value) {
6335    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QOPTION_RESTRICTION, value);
6336    return context;
6337  }
6338
6339  public static List<DataType> getQOptionRestrictionList(ElementDefinition context) {
6340    return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_QOPTION_RESTRICTION);
6341  }
6342
6343  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQOptionRestriction(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) {
6344    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QOPTION_RESTRICTION, value);
6345    return context;
6346  }
6347
6348  public static List<DataType> getQOptionRestrictionList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6349    return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_QOPTION_RESTRICTION);
6350  }
6351
6352// -- ReferenceFilter -------------------------------------
6353// http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter|0.1.0
6354// referenceFilter
6355
6356  public static Extension makeReferenceFilter(String value) {
6357    return new Extension(ExtensionConstants.EXT_REFERENCE_FILTER).setValue(new StringType(value));
6358  }
6359
6360  public static ElementDefinition setReferenceFilter(ElementDefinition context, String value) {
6361    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REFERENCE_FILTER, new StringType(value));
6362    return context;
6363  }
6364
6365  public static String getReferenceFilter(ElementDefinition context) {
6366    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_REFERENCE_FILTER);
6367  }
6368
6369  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setReferenceFilter(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6370    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REFERENCE_FILTER, new StringType(value));
6371    return context;
6372  }
6373
6374  public static String getReferenceFilter(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6375    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_REFERENCE_FILTER);
6376  }
6377
6378// -- QReferenceProfile -------------------------------------
6379// http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile|0.1.0
6380// Questionnaire Reference Profile
6381
6382  public static Extension makeQReferenceProfile(String value) {
6383    return new Extension(ExtensionConstants.EXT_QREFERENCE_PROFILE).setValue(new CanonicalType(value));
6384  }
6385
6386  public static ElementDefinition addQReferenceProfile(ElementDefinition context, String value) {
6387    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QREFERENCE_PROFILE, new CanonicalType(value));
6388    return context;
6389  }
6390
6391  public static List<String> getQReferenceProfileList(ElementDefinition context) {
6392    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QREFERENCE_PROFILE);
6393  }
6394
6395  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQReferenceProfile(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6396    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QREFERENCE_PROFILE, new CanonicalType(value));
6397    return context;
6398  }
6399
6400  public static List<String> getQReferenceProfileList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6401    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QREFERENCE_PROFILE);
6402  }
6403
6404// -- QReferenceResource -------------------------------------
6405// http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource|0.1.0
6406// Questionnaire Reference Resource
6407
6408  public static Extension makeQReferenceResource(String value) {
6409    return new Extension(ExtensionConstants.EXT_QREFERENCE_RESOURCE).setValue(new CodeType(value));
6410  }
6411
6412  public static ElementDefinition addQReferenceResource(ElementDefinition context, String value) {
6413    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QREFERENCE_RESOURCE, new CodeType(value));
6414    return context;
6415  }
6416
6417  public static List<String> getQReferenceResourceList(ElementDefinition context) {
6418    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QREFERENCE_RESOURCE);
6419  }
6420
6421  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQReferenceResource(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6422    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QREFERENCE_RESOURCE, new CodeType(value));
6423    return context;
6424  }
6425
6426  public static List<String> getQReferenceResourceList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6427    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QREFERENCE_RESOURCE);
6428  }
6429
6430// -- QSignatureRequired -------------------------------------
6431// http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired|0.1.0
6432// Questionnaire Signature Required
6433
6434  public static Extension makeQSignatureRequired(CodeableConcept value) {
6435    return new Extension(ExtensionConstants.EXT_QSIGNATURE_REQUIRED).setValue(value);
6436  }
6437
6438  public static ElementDefinition addQSignatureRequired(ElementDefinition context, CodeableConcept value) {
6439    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED, value);
6440    return context;
6441  }
6442
6443  public static List<CodeableConcept> getQSignatureRequiredList(ElementDefinition context) {
6444    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED);
6445  }
6446
6447  public static Questionnaire addQSignatureRequired(Questionnaire context, CodeableConcept value) {
6448    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED, value);
6449    return context;
6450  }
6451
6452  public static List<CodeableConcept> getQSignatureRequiredList(Questionnaire context) {
6453    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED);
6454  }
6455
6456  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQSignatureRequired(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) {
6457    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED, value);
6458    return context;
6459  }
6460
6461  public static List<CodeableConcept> getQSignatureRequiredList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6462    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED);
6463  }
6464
6465// -- QSliderStepValue -------------------------------------
6466// http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue|0.1.0
6467// Questionnaire Slider Step Value
6468
6469  public static Extension makeQSliderStepValue(int value) {
6470    return new Extension(ExtensionConstants.EXT_QSLIDER_STEP_VALUE).setValue(new IntegerType(value));
6471  }
6472
6473  public static ElementDefinition setQSliderStepValue(ElementDefinition context, int value) {
6474    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QSLIDER_STEP_VALUE, new IntegerType(value));
6475    return context;
6476  }
6477
6478  public static Integer getQSliderStepValue(ElementDefinition context) {
6479    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QSLIDER_STEP_VALUE);
6480  }
6481
6482  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQSliderStepValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) {
6483    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QSLIDER_STEP_VALUE, new IntegerType(value));
6484    return context;
6485  }
6486
6487  public static Integer getQSliderStepValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6488    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QSLIDER_STEP_VALUE);
6489  }
6490
6491// -- QSupportLink -------------------------------------
6492// http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink|0.1.0
6493// Questionnaire Support Link
6494
6495  public static Extension makeQSupportLink(String value) {
6496    return new Extension(ExtensionConstants.EXT_QSUPPORT_LINK).setValue(new UriType(value));
6497  }
6498
6499  public static ElementDefinition addQSupportLink(ElementDefinition context, String value) {
6500    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSUPPORT_LINK, new UriType(value));
6501    return context;
6502  }
6503
6504  public static List<String> getQSupportLinkList(ElementDefinition context) {
6505    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QSUPPORT_LINK);
6506  }
6507
6508  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQSupportLink(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6509    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSUPPORT_LINK, new UriType(value));
6510    return context;
6511  }
6512
6513  public static List<String> getQSupportLinkList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6514    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QSUPPORT_LINK);
6515  }
6516
6517// -- QUnit -------------------------------------
6518// http://hl7.org/fhir/StructureDefinition/questionnaire-unit|0.1.0
6519// Questionnaire Unit
6520
6521  public static Extension makeQUnit(Coding value) {
6522    return new Extension(ExtensionConstants.EXT_QUNIT).setValue(value);
6523  }
6524
6525  public static ElementDefinition setQUnit(ElementDefinition context, Coding value) {
6526    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QUNIT, value);
6527    return context;
6528  }
6529
6530  public static Coding getQUnit(ElementDefinition context) {
6531    return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_QUNIT);
6532  }
6533
6534  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQUnit(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Coding value) {
6535    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QUNIT, value);
6536    return context;
6537  }
6538
6539  public static Coding getQUnit(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6540    return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_QUNIT);
6541  }
6542
6543// -- QRUnitOption -------------------------------------
6544// http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption|0.1.0
6545// QuestionnaireResponse Unit Option
6546
6547  public static Extension makeQRUnitOption(Coding value) {
6548    return new Extension(ExtensionConstants.EXT_QRUNIT_OPTION).setValue(value);
6549  }
6550
6551  public static ElementDefinition addQRUnitOption(ElementDefinition context, Coding value) {
6552    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRUNIT_OPTION, value);
6553    return context;
6554  }
6555
6556  public static List<Coding> getQRUnitOptionList(ElementDefinition context) {
6557    return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_QRUNIT_OPTION);
6558  }
6559
6560  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQRUnitOption(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Coding value) {
6561    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRUNIT_OPTION, value);
6562    return context;
6563  }
6564
6565  public static List<Coding> getQRUnitOptionList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6566    return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_QRUNIT_OPTION);
6567  }
6568
6569// -- QRUnitValueSet -------------------------------------
6570// http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet|0.1.0
6571// QuestionnaireResponse Unit ValueSet
6572
6573  public static Extension makeQRUnitValueSet(String value) {
6574    return new Extension(ExtensionConstants.EXT_QRUNIT_VALUE_SET).setValue(new CanonicalType(value));
6575  }
6576
6577  public static ElementDefinition setQRUnitValueSet(ElementDefinition context, String value) {
6578    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRUNIT_VALUE_SET, new CanonicalType(value));
6579    return context;
6580  }
6581
6582  public static String getQRUnitValueSet(ElementDefinition context) {
6583    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QRUNIT_VALUE_SET);
6584  }
6585
6586  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQRUnitValueSet(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6587    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRUNIT_VALUE_SET, new CanonicalType(value));
6588    return context;
6589  }
6590
6591  public static String getQRUnitValueSet(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6592    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QRUNIT_VALUE_SET);
6593  }
6594
6595// -- QRUsageMode -------------------------------------
6596// http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode|0.1.0
6597// QuestionnaireResponse Usage Mode
6598
6599  public static Extension makeQRUsageMode(String value) {
6600    return new Extension(ExtensionConstants.EXT_QRUSAGE_MODE).setValue(new CodeType(value));
6601  }
6602
6603  public static ElementDefinition setQRUsageMode(ElementDefinition context, String value) {
6604    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRUSAGE_MODE, new CodeType(value));
6605    return context;
6606  }
6607
6608  public static String getQRUsageMode(ElementDefinition context) {
6609    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QRUSAGE_MODE);
6610  }
6611
6612  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQRUsageMode(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) {
6613    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRUSAGE_MODE, new CodeType(value));
6614    return context;
6615  }
6616
6617  public static String getQRUsageMode(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
6618    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QRUSAGE_MODE);
6619  }
6620
6621// -- QRAuthor -------------------------------------
6622// http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author|0.1.0
6623// QuestionnaireResponse Author
6624
6625  public static Extension makeQRAuthor(Reference value) {
6626    return new Extension(ExtensionConstants.EXT_QRAUTHOR).setValue(value);
6627  }
6628
6629  public static org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent setQRAuthor(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context, Reference value) {
6630    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRAUTHOR, value);
6631    return context;
6632  }
6633
6634  public static Reference getQRAuthor(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context) {
6635    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_QRAUTHOR);
6636  }
6637
6638// -- QRCompletionMode -------------------------------------
6639// http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode|0.1.0
6640// QuestionnaireResponse Completion Mode
6641
6642  public static Extension makeQRCompletionMode(CodeableConcept value) {
6643    return new Extension(ExtensionConstants.EXT_QRCOMPLETION_MODE).setValue(value);
6644  }
6645
6646  public static QuestionnaireResponse setQRCompletionMode(QuestionnaireResponse context, CodeableConcept value) {
6647    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRCOMPLETION_MODE, value);
6648    return context;
6649  }
6650
6651  public static CodeableConcept getQRCompletionMode(QuestionnaireResponse context) {
6652    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QRCOMPLETION_MODE);
6653  }
6654
6655// -- QRReason -------------------------------------
6656// http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason|0.1.0
6657// QuestionnaireResponse Reason
6658
6659  public static Extension makeQRReason(CodeableConcept value) {
6660    return new Extension(ExtensionConstants.EXT_QRREASON).setValue(value);
6661  }
6662
6663  public static QuestionnaireResponse addQRReason(QuestionnaireResponse context, CodeableConcept value) {
6664    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRREASON, value);
6665    return context;
6666  }
6667
6668  public static List<CodeableConcept> getQRReasonList(QuestionnaireResponse context) {
6669    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_QRREASON);
6670  }
6671
6672// -- QRReviewer -------------------------------------
6673// http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer|0.1.0
6674// QuestionnaireResponse Reviewer
6675
6676  public static Extension makeQRReviewer(Reference value) {
6677    return new Extension(ExtensionConstants.EXT_QRREVIEWER).setValue(value);
6678  }
6679
6680  public static QuestionnaireResponse setQRReviewer(QuestionnaireResponse context, Reference value) {
6681    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRREVIEWER, value);
6682    return context;
6683  }
6684
6685  public static Reference getQRReviewer(QuestionnaireResponse context) {
6686    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_QRREVIEWER);
6687  }
6688
6689// -- QRSignature -------------------------------------
6690// http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature|0.1.0
6691// QuestionnaireResponse Signature
6692
6693  public static Extension makeQRSignature(Signature value) {
6694    return new Extension(ExtensionConstants.EXT_QRSIGNATURE).setValue(value);
6695  }
6696
6697  public static QuestionnaireResponse addQRSignature(QuestionnaireResponse context, Signature value) {
6698    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRSIGNATURE, value);
6699    return context;
6700  }
6701
6702  public static List<Signature> getQRSignatureList(QuestionnaireResponse context) {
6703    return ExtensionsUtils.getExtensionList(Signature.class, context, ExtensionConstants.EXT_QRSIGNATURE);
6704  }
6705
6706  public static org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent addQRSignature(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context, Signature value) {
6707    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRSIGNATURE, value);
6708    return context;
6709  }
6710
6711  public static List<Signature> getQRSignatureList(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context) {
6712    return ExtensionsUtils.getExtensionList(Signature.class, context, ExtensionConstants.EXT_QRSIGNATURE);
6713  }
6714
6715// -- ReferencesContained -------------------------------------
6716// http://hl7.org/fhir/StructureDefinition/referencesContained|0.1.0
6717// References Contained
6718
6719  public static Extension makeReferencesContained(Reference value) {
6720    return new Extension(ExtensionConstants.EXT_REFERENCES_CONTAINED).setValue(value);
6721  }
6722
6723  public static Expression addReferencesContained(Expression context, Reference value) {
6724    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REFERENCES_CONTAINED, value);
6725    return context;
6726  }
6727
6728  public static List<Reference> getReferencesContainedList(Expression context) {
6729    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REFERENCES_CONTAINED);
6730  }
6731
6732// -- RenderedValue -------------------------------------
6733// http://hl7.org/fhir/StructureDefinition/rendered-value|0.1.0
6734// Rendered Value
6735
6736  public static Extension makeRenderedValue(String value) {
6737    return new Extension(ExtensionConstants.EXT_RENDERED_VALUE).setValue(new StringType(value));
6738  }
6739
6740  public static CanonicalType setRenderedValue(CanonicalType context, String value) {
6741    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6742    return context;
6743  }
6744
6745  public static String getRenderedValue(CanonicalType context) {
6746    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6747  }
6748
6749  public static CodeType setRenderedValue(CodeType context, String value) {
6750    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6751    return context;
6752  }
6753
6754  public static String getRenderedValue(CodeType context) {
6755    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6756  }
6757
6758  public static DateTimeType setRenderedValue(DateTimeType context, String value) {
6759    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6760    return context;
6761  }
6762
6763  public static String getRenderedValue(DateTimeType context) {
6764    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6765  }
6766
6767  public static DateType setRenderedValue(DateType context, String value) {
6768    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6769    return context;
6770  }
6771
6772  public static String getRenderedValue(DateType context) {
6773    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6774  }
6775
6776  public static DecimalType setRenderedValue(DecimalType context, String value) {
6777    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6778    return context;
6779  }
6780
6781  public static String getRenderedValue(DecimalType context) {
6782    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6783  }
6784
6785  public static InstantType setRenderedValue(InstantType context, String value) {
6786    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6787    return context;
6788  }
6789
6790  public static String getRenderedValue(InstantType context) {
6791    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6792  }
6793
6794  public static IntegerType setRenderedValue(IntegerType context, String value) {
6795    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6796    return context;
6797  }
6798
6799  public static String getRenderedValue(IntegerType context) {
6800    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6801  }
6802
6803  public static StringType setRenderedValue(StringType context, String value) {
6804    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6805    return context;
6806  }
6807
6808  public static String getRenderedValue(StringType context) {
6809    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6810  }
6811
6812  public static TimeType setRenderedValue(TimeType context, String value) {
6813    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value));
6814    return context;
6815  }
6816
6817  public static String getRenderedValue(TimeType context) {
6818    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE);
6819  }
6820
6821// -- Markdown -------------------------------------
6822// http://hl7.org/fhir/StructureDefinition/rendering-markdown|0.1.0
6823// Markdown
6824
6825  public static Extension makeMarkdown(String value) {
6826    return new Extension(ExtensionConstants.EXT_MARKDOWN).setValue(new MarkdownType(value));
6827  }
6828
6829  public static StringType setMarkdown(StringType context, String value) {
6830    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MARKDOWN, new MarkdownType(value));
6831    return context;
6832  }
6833
6834  public static String getMarkdown(StringType context) {
6835    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_MARKDOWN);
6836  }
6837
6838// -- RenderingStyle -------------------------------------
6839// http://hl7.org/fhir/StructureDefinition/rendering-style|0.1.0
6840// Rendering Style
6841
6842  public static Extension makeRenderingStyle(String value) {
6843    return new Extension(ExtensionConstants.EXT_RENDERING_STYLE).setValue(new StringType(value));
6844  }
6845
6846  public static Element setRenderingStyle(Element context, String value) {
6847    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERING_STYLE, new StringType(value));
6848    return context;
6849  }
6850
6851  public static String getRenderingStyle(Element context) {
6852    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERING_STYLE);
6853  }
6854
6855// -- StyleSensitive -------------------------------------
6856// http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive|0.1.0
6857// style sensitive
6858
6859  public static Extension makeStyleSensitive(boolean value) {
6860    return new Extension(ExtensionConstants.EXT_STYLE_SENSITIVE).setValue(new BooleanType(value));
6861  }
6862
6863  public static Element setStyleSensitive(Element context, boolean value) {
6864    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_STYLE_SENSITIVE, new BooleanType(value));
6865    return context;
6866  }
6867
6868  public static Boolean getStyleSensitive(Element context) {
6869    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_STYLE_SENSITIVE);
6870  }
6871
6872// -- XhtmlRepresentation -------------------------------------
6873// http://hl7.org/fhir/StructureDefinition/rendering-xhtml|0.1.0
6874// XHTML Representation
6875
6876  public static Extension makeXhtmlRepresentation(String value) {
6877    return new Extension(ExtensionConstants.EXT_XHTML_REPRESENTATION).setValue(new StringType(value));
6878  }
6879
6880  public static StringType setXhtmlRepresentation(StringType context, String value) {
6881    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_XHTML_REPRESENTATION, new StringType(value));
6882    return context;
6883  }
6884
6885  public static String getXhtmlRepresentation(StringType context) {
6886    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_XHTML_REPRESENTATION);
6887  }
6888
6889// -- Replaces -------------------------------------
6890// http://hl7.org/fhir/StructureDefinition/replaces|0.1.0
6891// Replaces
6892
6893  public static Extension makeReplaces(String value) {
6894    return new Extension(ExtensionConstants.EXT_REPLACES).setValue(new CanonicalType(value));
6895  }
6896
6897  public static ActivityDefinition addReplaces(ActivityDefinition context, String value) {
6898    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6899    return context;
6900  }
6901
6902  public static List<String> getReplacesList(ActivityDefinition context) {
6903    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6904  }
6905
6906  public static ActorDefinition addReplaces(ActorDefinition context, String value) {
6907    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6908    return context;
6909  }
6910
6911  public static List<String> getReplacesList(ActorDefinition context) {
6912    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6913  }
6914
6915  public static CapabilityStatement addReplaces(CapabilityStatement context, String value) {
6916    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6917    return context;
6918  }
6919
6920  public static List<String> getReplacesList(CapabilityStatement context) {
6921    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6922  }
6923
6924  public static ChargeItemDefinition addReplaces(ChargeItemDefinition context, String value) {
6925    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6926    return context;
6927  }
6928
6929  public static List<String> getReplacesList(ChargeItemDefinition context) {
6930    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6931  }
6932
6933  public static Citation addReplaces(Citation context, String value) {
6934    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6935    return context;
6936  }
6937
6938  public static List<String> getReplacesList(Citation context) {
6939    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6940  }
6941
6942  public static CodeSystem addReplaces(CodeSystem context, String value) {
6943    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6944    return context;
6945  }
6946
6947  public static List<String> getReplacesList(CodeSystem context) {
6948    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6949  }
6950
6951  public static CompartmentDefinition addReplaces(CompartmentDefinition context, String value) {
6952    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6953    return context;
6954  }
6955
6956  public static List<String> getReplacesList(CompartmentDefinition context) {
6957    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6958  }
6959
6960  public static ConceptMap addReplaces(ConceptMap context, String value) {
6961    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6962    return context;
6963  }
6964
6965  public static List<String> getReplacesList(ConceptMap context) {
6966    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6967  }
6968
6969  public static ConditionDefinition addReplaces(ConditionDefinition context, String value) {
6970    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6971    return context;
6972  }
6973
6974  public static List<String> getReplacesList(ConditionDefinition context) {
6975    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6976  }
6977
6978  public static EventDefinition addReplaces(EventDefinition context, String value) {
6979    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6980    return context;
6981  }
6982
6983  public static List<String> getReplacesList(EventDefinition context) {
6984    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6985  }
6986
6987  public static Evidence addReplaces(Evidence context, String value) {
6988    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6989    return context;
6990  }
6991
6992  public static List<String> getReplacesList(Evidence context) {
6993    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
6994  }
6995
6996  public static EvidenceReport addReplaces(EvidenceReport context, String value) {
6997    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
6998    return context;
6999  }
7000
7001  public static List<String> getReplacesList(EvidenceReport context) {
7002    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7003  }
7004
7005  public static EvidenceVariable addReplaces(EvidenceVariable context, String value) {
7006    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7007    return context;
7008  }
7009
7010  public static List<String> getReplacesList(EvidenceVariable context) {
7011    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7012  }
7013
7014  public static ExampleScenario addReplaces(ExampleScenario context, String value) {
7015    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7016    return context;
7017  }
7018
7019  public static List<String> getReplacesList(ExampleScenario context) {
7020    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7021  }
7022
7023  public static GraphDefinition addReplaces(GraphDefinition context, String value) {
7024    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7025    return context;
7026  }
7027
7028  public static List<String> getReplacesList(GraphDefinition context) {
7029    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7030  }
7031
7032  public static ImplementationGuide addReplaces(ImplementationGuide context, String value) {
7033    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7034    return context;
7035  }
7036
7037  public static List<String> getReplacesList(ImplementationGuide context) {
7038    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7039  }
7040
7041  public static Library addReplaces(Library context, String value) {
7042    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7043    return context;
7044  }
7045
7046  public static List<String> getReplacesList(Library context) {
7047    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7048  }
7049
7050  public static Measure addReplaces(Measure context, String value) {
7051    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7052    return context;
7053  }
7054
7055  public static List<String> getReplacesList(Measure context) {
7056    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7057  }
7058
7059  public static MessageDefinition addReplaces(MessageDefinition context, String value) {
7060    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7061    return context;
7062  }
7063
7064  public static List<String> getReplacesList(MessageDefinition context) {
7065    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7066  }
7067
7068  public static NamingSystem addReplaces(NamingSystem context, String value) {
7069    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7070    return context;
7071  }
7072
7073  public static List<String> getReplacesList(NamingSystem context) {
7074    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7075  }
7076
7077  public static ObservationDefinition addReplaces(ObservationDefinition context, String value) {
7078    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7079    return context;
7080  }
7081
7082  public static List<String> getReplacesList(ObservationDefinition context) {
7083    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7084  }
7085
7086  public static OperationDefinition addReplaces(OperationDefinition context, String value) {
7087    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7088    return context;
7089  }
7090
7091  public static List<String> getReplacesList(OperationDefinition context) {
7092    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7093  }
7094
7095  public static PlanDefinition addReplaces(PlanDefinition context, String value) {
7096    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7097    return context;
7098  }
7099
7100  public static List<String> getReplacesList(PlanDefinition context) {
7101    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7102  }
7103
7104  public static Questionnaire addReplaces(Questionnaire context, String value) {
7105    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7106    return context;
7107  }
7108
7109  public static List<String> getReplacesList(Questionnaire context) {
7110    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7111  }
7112
7113  public static Requirements addReplaces(Requirements context, String value) {
7114    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7115    return context;
7116  }
7117
7118  public static List<String> getReplacesList(Requirements context) {
7119    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7120  }
7121
7122  public static SearchParameter addReplaces(SearchParameter context, String value) {
7123    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7124    return context;
7125  }
7126
7127  public static List<String> getReplacesList(SearchParameter context) {
7128    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7129  }
7130
7131  public static SpecimenDefinition addReplaces(SpecimenDefinition context, String value) {
7132    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7133    return context;
7134  }
7135
7136  public static List<String> getReplacesList(SpecimenDefinition context) {
7137    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7138  }
7139
7140  public static StructureDefinition addReplaces(StructureDefinition context, String value) {
7141    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7142    return context;
7143  }
7144
7145  public static List<String> getReplacesList(StructureDefinition context) {
7146    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7147  }
7148
7149  public static StructureMap addReplaces(StructureMap context, String value) {
7150    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7151    return context;
7152  }
7153
7154  public static List<String> getReplacesList(StructureMap context) {
7155    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7156  }
7157
7158  public static SubscriptionTopic addReplaces(SubscriptionTopic context, String value) {
7159    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7160    return context;
7161  }
7162
7163  public static List<String> getReplacesList(SubscriptionTopic context) {
7164    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7165  }
7166
7167  public static TerminologyCapabilities addReplaces(TerminologyCapabilities context, String value) {
7168    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7169    return context;
7170  }
7171
7172  public static List<String> getReplacesList(TerminologyCapabilities context) {
7173    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7174  }
7175
7176  public static TestScript addReplaces(TestScript context, String value) {
7177    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7178    return context;
7179  }
7180
7181  public static List<String> getReplacesList(TestScript context) {
7182    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7183  }
7184
7185  public static ValueSet addReplaces(ValueSet context, String value) {
7186    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value));
7187    return context;
7188  }
7189
7190  public static List<String> getReplacesList(ValueSet context) {
7191    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES);
7192  }
7193
7194// -- DoNotPerform -------------------------------------
7195// http://hl7.org/fhir/StructureDefinition/request-doNotPerform|0.1.0
7196// do not perform
7197
7198  public static Extension makeDoNotPerform(boolean value) {
7199    return new Extension(ExtensionConstants.EXT_DO_NOT_PERFORM).setValue(new BooleanType(value));
7200  }
7201
7202  public static NutritionOrder setDoNotPerform(NutritionOrder context, boolean value) {
7203    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DO_NOT_PERFORM, new BooleanType(value));
7204    return context;
7205  }
7206
7207  public static Boolean getDoNotPerform(NutritionOrder context) {
7208    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_DO_NOT_PERFORM);
7209  }
7210
7211// -- RequestInsurance -------------------------------------
7212// http://hl7.org/fhir/StructureDefinition/request-insurance|0.1.0
7213// Request Insurance
7214
7215  public static Extension makeRequestInsurance(Reference value) {
7216    return new Extension(ExtensionConstants.EXT_REQUEST_INSURANCE).setValue(value);
7217  }
7218
7219  public static NutritionOrder addRequestInsurance(NutritionOrder context, Reference value) {
7220    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REQUEST_INSURANCE, value);
7221    return context;
7222  }
7223
7224  public static List<Reference> getRequestInsuranceList(NutritionOrder context) {
7225    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REQUEST_INSURANCE);
7226  }
7227
7228// -- PerformerOrder -------------------------------------
7229// http://hl7.org/fhir/StructureDefinition/request-performerOrder|0.1.0
7230// performer order
7231
7232  public static Extension makePerformerOrder(int value) {
7233    return new Extension(ExtensionConstants.EXT_PERFORMER_ORDER).setValue(new IntegerType(value));
7234  }
7235
7236  public static CodeableReference setPerformerOrder(CodeableReference context, int value) {
7237    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PERFORMER_ORDER, new IntegerType(value));
7238    return context;
7239  }
7240
7241  public static Integer getPerformerOrder(CodeableReference context) {
7242    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_PERFORMER_ORDER);
7243  }
7244
7245  public static Reference setPerformerOrder(Reference context, int value) {
7246    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PERFORMER_ORDER, new IntegerType(value));
7247    return context;
7248  }
7249
7250  public static Integer getPerformerOrder(Reference context) {
7251    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_PERFORMER_ORDER);
7252  }
7253
7254// -- RelevantHistory -------------------------------------
7255// http://hl7.org/fhir/StructureDefinition/request-relevantHistory|0.1.0
7256// relevant history
7257
7258  public static Extension makeRelevantHistory(Reference value) {
7259    return new Extension(ExtensionConstants.EXT_RELEVANT_HISTORY).setValue(value);
7260  }
7261
7262  public static CarePlan addRelevantHistory(CarePlan context, Reference value) {
7263    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELEVANT_HISTORY, value);
7264    return context;
7265  }
7266
7267  public static List<Reference> getRelevantHistoryList(CarePlan context) {
7268    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RELEVANT_HISTORY);
7269  }
7270
7271  public static CommunicationRequest addRelevantHistory(CommunicationRequest context, Reference value) {
7272    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELEVANT_HISTORY, value);
7273    return context;
7274  }
7275
7276  public static List<Reference> getRelevantHistoryList(CommunicationRequest context) {
7277    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RELEVANT_HISTORY);
7278  }
7279
7280  public static NutritionOrder addRelevantHistory(NutritionOrder context, Reference value) {
7281    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELEVANT_HISTORY, value);
7282    return context;
7283  }
7284
7285  public static List<Reference> getRelevantHistoryList(NutritionOrder context) {
7286    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RELEVANT_HISTORY);
7287  }
7288
7289// -- RequestReplaces -------------------------------------
7290// http://hl7.org/fhir/StructureDefinition/request-replaces|0.1.0
7291// Request Replaces
7292
7293  public static Extension makeRequestReplaces(Reference value) {
7294    return new Extension(ExtensionConstants.EXT_REQUEST_REPLACES).setValue(value);
7295  }
7296
7297  public static NutritionOrder addRequestReplaces(NutritionOrder context, Reference value) {
7298    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REQUEST_REPLACES, value);
7299    return context;
7300  }
7301
7302  public static List<Reference> getRequestReplacesList(NutritionOrder context) {
7303    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REQUEST_REPLACES);
7304  }
7305
7306  public static SupplyRequest addRequestReplaces(SupplyRequest context, Reference value) {
7307    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REQUEST_REPLACES, value);
7308    return context;
7309  }
7310
7311  public static List<Reference> getRequestReplacesList(SupplyRequest context) {
7312    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REQUEST_REPLACES);
7313  }
7314
7315  public static Task addRequestReplaces(Task context, Reference value) {
7316    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REQUEST_REPLACES, value);
7317    return context;
7318  }
7319
7320  public static List<Reference> getRequestReplacesList(Task context) {
7321    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REQUEST_REPLACES);
7322  }
7323
7324// -- RequestStatusReason -------------------------------------
7325// http://hl7.org/fhir/StructureDefinition/request-statusReason|0.1.0
7326// status reason
7327
7328  public static Extension makeRequestStatusReason(CodeableConcept value) {
7329    return new Extension(ExtensionConstants.EXT_REQUEST_STATUS_REASON).setValue(value);
7330  }
7331
7332  public static DeviceRequest setRequestStatusReason(DeviceRequest context, CodeableConcept value) {
7333    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REQUEST_STATUS_REASON, value);
7334    return context;
7335  }
7336
7337  public static CodeableConcept getRequestStatusReason(DeviceRequest context) {
7338    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_REQUEST_STATUS_REASON);
7339  }
7340
7341  public static NutritionOrder setRequestStatusReason(NutritionOrder context, CodeableConcept value) {
7342    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REQUEST_STATUS_REASON, value);
7343    return context;
7344  }
7345
7346  public static CodeableConcept getRequestStatusReason(NutritionOrder context) {
7347    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_REQUEST_STATUS_REASON);
7348  }
7349
7350  public static ServiceRequest setRequestStatusReason(ServiceRequest context, CodeableConcept value) {
7351    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REQUEST_STATUS_REASON, value);
7352    return context;
7353  }
7354
7355  public static CodeableConcept getRequestStatusReason(ServiceRequest context) {
7356    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_REQUEST_STATUS_REASON);
7357  }
7358
7359  public static SupplyRequest setRequestStatusReason(SupplyRequest context, CodeableConcept value) {
7360    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REQUEST_STATUS_REASON, value);
7361    return context;
7362  }
7363
7364  public static CodeableConcept getRequestStatusReason(SupplyRequest context) {
7365    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_REQUEST_STATUS_REASON);
7366  }
7367
7368// -- RSStudyRegistration -------------------------------------
7369// http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration|0.1.0
7370// ResearchStudy Study Registration
7371
7372  public static Extension makeRSStudyRegistration(DataType value) {
7373    return new Extension(ExtensionConstants.EXT_RSSTUDY_REGISTRATION).setValue(value);
7374  }
7375
7376  public static ResearchStudy addRSStudyRegistration(ResearchStudy context, DataType value) {
7377    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RSSTUDY_REGISTRATION, value);
7378    return context;
7379  }
7380
7381  public static List<DataType> getRSStudyRegistrationList(ResearchStudy context) {
7382    return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_RSSTUDY_REGISTRATION);
7383  }
7384
7385// -- ResolveAsVersionSpecific -------------------------------------
7386// http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific|0.1.0
7387// Resolve as version specific
7388
7389  public static Extension makeResolveAsVersionSpecific(boolean value) {
7390    return new Extension(ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC).setValue(new BooleanType(value));
7391  }
7392
7393  public static Reference setResolveAsVersionSpecific(Reference context, boolean value) {
7394    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC, new BooleanType(value));
7395    return context;
7396  }
7397
7398  public static Boolean getResolveAsVersionSpecific(Reference context) {
7399    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC);
7400  }
7401
7402  public static UriType setResolveAsVersionSpecific(UriType context, boolean value) {
7403    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC, new BooleanType(value));
7404    return context;
7405  }
7406
7407  public static Boolean getResolveAsVersionSpecific(UriType context) {
7408    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC);
7409  }
7410
7411  public static UrlType setResolveAsVersionSpecific(UrlType context, boolean value) {
7412    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC, new BooleanType(value));
7413    return context;
7414  }
7415
7416  public static Boolean getResolveAsVersionSpecific(UrlType context) {
7417    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC);
7418  }
7419
7420// -- ResourceApprovalDate -------------------------------------
7421// http://hl7.org/fhir/StructureDefinition/resource-approvalDate|0.1.0
7422// Resource Approval Date
7423
7424  public static Extension makeResourceApprovalDate(String value) {
7425    return new Extension(ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE).setValue(new DateType(value));
7426  }
7427
7428  public static CapabilityStatement setResourceApprovalDate(CapabilityStatement context, String value) {
7429    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7430    return context;
7431  }
7432
7433  public static String getResourceApprovalDate(CapabilityStatement context) {
7434    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7435  }
7436
7437  public static CodeSystem setResourceApprovalDate(CodeSystem context, String value) {
7438    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7439    return context;
7440  }
7441
7442  public static String getResourceApprovalDate(CodeSystem context) {
7443    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7444  }
7445
7446  public static CompartmentDefinition setResourceApprovalDate(CompartmentDefinition context, String value) {
7447    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7448    return context;
7449  }
7450
7451  public static String getResourceApprovalDate(CompartmentDefinition context) {
7452    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7453  }
7454
7455  public static ConceptMap setResourceApprovalDate(ConceptMap context, String value) {
7456    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7457    return context;
7458  }
7459
7460  public static String getResourceApprovalDate(ConceptMap context) {
7461    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7462  }
7463
7464  public static ImplementationGuide setResourceApprovalDate(ImplementationGuide context, String value) {
7465    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7466    return context;
7467  }
7468
7469  public static String getResourceApprovalDate(ImplementationGuide context) {
7470    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7471  }
7472
7473  public static NamingSystem setResourceApprovalDate(NamingSystem context, String value) {
7474    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7475    return context;
7476  }
7477
7478  public static String getResourceApprovalDate(NamingSystem context) {
7479    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7480  }
7481
7482  public static OperationDefinition setResourceApprovalDate(OperationDefinition context, String value) {
7483    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7484    return context;
7485  }
7486
7487  public static String getResourceApprovalDate(OperationDefinition context) {
7488    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7489  }
7490
7491  public static SearchParameter setResourceApprovalDate(SearchParameter context, String value) {
7492    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7493    return context;
7494  }
7495
7496  public static String getResourceApprovalDate(SearchParameter context) {
7497    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7498  }
7499
7500  public static StructureDefinition setResourceApprovalDate(StructureDefinition context, String value) {
7501    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7502    return context;
7503  }
7504
7505  public static String getResourceApprovalDate(StructureDefinition context) {
7506    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7507  }
7508
7509  public static StructureMap setResourceApprovalDate(StructureMap context, String value) {
7510    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7511    return context;
7512  }
7513
7514  public static String getResourceApprovalDate(StructureMap context) {
7515    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7516  }
7517
7518  public static ValueSet setResourceApprovalDate(ValueSet context, String value) {
7519    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value));
7520    return context;
7521  }
7522
7523  public static String getResourceApprovalDate(ValueSet context) {
7524    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE);
7525  }
7526
7527// -- ResourceEffectivePeriod -------------------------------------
7528// http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod|0.1.0
7529// Resource Effective Period
7530
7531  public static Extension makeResourceEffectivePeriod(Period value) {
7532    return new Extension(ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD).setValue(value);
7533  }
7534
7535  public static CapabilityStatement setResourceEffectivePeriod(CapabilityStatement context, Period value) {
7536    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7537    return context;
7538  }
7539
7540  public static Period getResourceEffectivePeriod(CapabilityStatement context) {
7541    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7542  }
7543
7544  public static CodeSystem setResourceEffectivePeriod(CodeSystem context, Period value) {
7545    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7546    return context;
7547  }
7548
7549  public static Period getResourceEffectivePeriod(CodeSystem context) {
7550    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7551  }
7552
7553  public static CompartmentDefinition setResourceEffectivePeriod(CompartmentDefinition context, Period value) {
7554    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7555    return context;
7556  }
7557
7558  public static Period getResourceEffectivePeriod(CompartmentDefinition context) {
7559    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7560  }
7561
7562  public static ConceptMap setResourceEffectivePeriod(ConceptMap context, Period value) {
7563    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7564    return context;
7565  }
7566
7567  public static Period getResourceEffectivePeriod(ConceptMap context) {
7568    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7569  }
7570
7571  public static ImplementationGuide setResourceEffectivePeriod(ImplementationGuide context, Period value) {
7572    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7573    return context;
7574  }
7575
7576  public static Period getResourceEffectivePeriod(ImplementationGuide context) {
7577    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7578  }
7579
7580  public static NamingSystem setResourceEffectivePeriod(NamingSystem context, Period value) {
7581    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7582    return context;
7583  }
7584
7585  public static Period getResourceEffectivePeriod(NamingSystem context) {
7586    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7587  }
7588
7589  public static OperationDefinition setResourceEffectivePeriod(OperationDefinition context, Period value) {
7590    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7591    return context;
7592  }
7593
7594  public static Period getResourceEffectivePeriod(OperationDefinition context) {
7595    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7596  }
7597
7598  public static SearchParameter setResourceEffectivePeriod(SearchParameter context, Period value) {
7599    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7600    return context;
7601  }
7602
7603  public static Period getResourceEffectivePeriod(SearchParameter context) {
7604    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7605  }
7606
7607  public static StructureDefinition setResourceEffectivePeriod(StructureDefinition context, Period value) {
7608    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7609    return context;
7610  }
7611
7612  public static Period getResourceEffectivePeriod(StructureDefinition context) {
7613    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7614  }
7615
7616  public static StructureMap setResourceEffectivePeriod(StructureMap context, Period value) {
7617    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7618    return context;
7619  }
7620
7621  public static Period getResourceEffectivePeriod(StructureMap context) {
7622    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7623  }
7624
7625  public static ValueSet setResourceEffectivePeriod(ValueSet context, Period value) {
7626    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value);
7627    return context;
7628  }
7629
7630  public static Period getResourceEffectivePeriod(ValueSet context) {
7631    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD);
7632  }
7633
7634// -- ResourceInstanceDescription -------------------------------------
7635// http://hl7.org/fhir/StructureDefinition/resource-instance-description|0.1.0
7636// Resource instance description
7637
7638  public static Extension makeResourceInstanceDescription(String value) {
7639    return new Extension(ExtensionConstants.EXT_RESOURCE_INSTANCE_DESCRIPTION).setValue(new MarkdownType(value));
7640  }
7641
7642  public static Resource setResourceInstanceDescription(Resource context, String value) {
7643    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_INSTANCE_DESCRIPTION, new MarkdownType(value));
7644    return context;
7645  }
7646
7647  public static String getResourceInstanceDescription(Resource context) {
7648    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_INSTANCE_DESCRIPTION);
7649  }
7650
7651// -- ResourceInstanceName -------------------------------------
7652// http://hl7.org/fhir/StructureDefinition/resource-instance-name|0.1.0
7653// Resource instance name
7654
7655  public static Extension makeResourceInstanceName(String value) {
7656    return new Extension(ExtensionConstants.EXT_RESOURCE_INSTANCE_NAME).setValue(new StringType(value));
7657  }
7658
7659  public static Resource setResourceInstanceName(Resource context, String value) {
7660    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_INSTANCE_NAME, new StringType(value));
7661    return context;
7662  }
7663
7664  public static String getResourceInstanceName(Resource context) {
7665    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_INSTANCE_NAME);
7666  }
7667
7668// -- ReslastReviewDate -------------------------------------
7669// http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate|0.1.0
7670// Resource Last Review Date
7671
7672  public static Extension makeReslastReviewDate(String value) {
7673    return new Extension(ExtensionConstants.EXT_RESLAST_REVIEW_DATE).setValue(new DateType(value));
7674  }
7675
7676  public static CapabilityStatement setReslastReviewDate(CapabilityStatement context, String value) {
7677    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7678    return context;
7679  }
7680
7681  public static String getReslastReviewDate(CapabilityStatement context) {
7682    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7683  }
7684
7685  public static CodeSystem setReslastReviewDate(CodeSystem context, String value) {
7686    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7687    return context;
7688  }
7689
7690  public static String getReslastReviewDate(CodeSystem context) {
7691    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7692  }
7693
7694  public static CompartmentDefinition setReslastReviewDate(CompartmentDefinition context, String value) {
7695    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7696    return context;
7697  }
7698
7699  public static String getReslastReviewDate(CompartmentDefinition context) {
7700    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7701  }
7702
7703  public static ConceptMap setReslastReviewDate(ConceptMap context, String value) {
7704    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7705    return context;
7706  }
7707
7708  public static String getReslastReviewDate(ConceptMap context) {
7709    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7710  }
7711
7712  public static ImplementationGuide setReslastReviewDate(ImplementationGuide context, String value) {
7713    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7714    return context;
7715  }
7716
7717  public static String getReslastReviewDate(ImplementationGuide context) {
7718    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7719  }
7720
7721  public static NamingSystem setReslastReviewDate(NamingSystem context, String value) {
7722    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7723    return context;
7724  }
7725
7726  public static String getReslastReviewDate(NamingSystem context) {
7727    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7728  }
7729
7730  public static OperationDefinition setReslastReviewDate(OperationDefinition context, String value) {
7731    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7732    return context;
7733  }
7734
7735  public static String getReslastReviewDate(OperationDefinition context) {
7736    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7737  }
7738
7739  public static SearchParameter setReslastReviewDate(SearchParameter context, String value) {
7740    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7741    return context;
7742  }
7743
7744  public static String getReslastReviewDate(SearchParameter context) {
7745    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7746  }
7747
7748  public static StructureDefinition setReslastReviewDate(StructureDefinition context, String value) {
7749    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7750    return context;
7751  }
7752
7753  public static String getReslastReviewDate(StructureDefinition context) {
7754    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7755  }
7756
7757  public static StructureMap setReslastReviewDate(StructureMap context, String value) {
7758    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7759    return context;
7760  }
7761
7762  public static String getReslastReviewDate(StructureMap context) {
7763    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7764  }
7765
7766  public static ValueSet setReslastReviewDate(ValueSet context, String value) {
7767    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value));
7768    return context;
7769  }
7770
7771  public static String getReslastReviewDate(ValueSet context) {
7772    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE);
7773  }
7774
7775// -- SRPertainsToGoal -------------------------------------
7776// http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal|0.1.0
7777// ServiceRequest Pertains To Goal
7778
7779  public static Extension makeSRPertainsToGoal(Reference value) {
7780    return new Extension(ExtensionConstants.EXT_SRPERTAINS_TO_GOAL).setValue(value);
7781  }
7782
7783  public static Resource addSRPertainsToGoal(Resource context, Reference value) {
7784    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SRPERTAINS_TO_GOAL, value);
7785    return context;
7786  }
7787
7788  public static List<Reference> getSRPertainsToGoalList(Resource context) {
7789    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SRPERTAINS_TO_GOAL);
7790  }
7791
7792// -- SRPrecondition -------------------------------------
7793// http://hl7.org/fhir/StructureDefinition/servicerequest-precondition|0.1.0
7794// ServiceRequest Precondition
7795
7796  public static Extension makeSRPrecondition(CodeableConcept value) {
7797    return new Extension(ExtensionConstants.EXT_SRPRECONDITION).setValue(value);
7798  }
7799
7800  public static ServiceRequest addSRPrecondition(ServiceRequest context, CodeableConcept value) {
7801    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SRPRECONDITION, value);
7802    return context;
7803  }
7804
7805  public static List<CodeableConcept> getSRPreconditionList(ServiceRequest context) {
7806    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_SRPRECONDITION);
7807  }
7808
7809// -- SRQuestionnaireRequest -------------------------------------
7810// http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest|0.1.0
7811// ServiceRequest Questionnaire Requested
7812
7813  public static Extension makeSRQuestionnaireRequest(Reference value) {
7814    return new Extension(ExtensionConstants.EXT_SRQUESTIONNAIRE_REQUEST).setValue(value);
7815  }
7816
7817  public static ServiceRequest setSRQuestionnaireRequest(ServiceRequest context, Reference value) {
7818    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SRQUESTIONNAIRE_REQUEST, value);
7819    return context;
7820  }
7821
7822  public static Reference getSRQuestionnaireRequest(ServiceRequest context) {
7823    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_SRQUESTIONNAIRE_REQUEST);
7824  }
7825
7826// -- SpecCollectionPriority -------------------------------------
7827// http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority|0.1.0
7828// Specimen Collection Priority
7829
7830  public static Extension makeSpecCollectionPriority(CodeableConcept value) {
7831    return new Extension(ExtensionConstants.EXT_SPEC_COLLECTION_PRIORITY).setValue(value);
7832  }
7833
7834  public static org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent setSpecCollectionPriority(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) {
7835    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SPEC_COLLECTION_PRIORITY, value);
7836    return context;
7837  }
7838
7839  public static CodeableConcept getSpecCollectionPriority(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) {
7840    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SPEC_COLLECTION_PRIORITY);
7841  }
7842
7843// -- SpecIsDryWeight -------------------------------------
7844// http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight|0.1.0
7845// Specimen Is Dry Weight
7846
7847  public static Extension makeSpecIsDryWeight(boolean value) {
7848    return new Extension(ExtensionConstants.EXT_SPEC_IS_DRY_WEIGHT).setValue(new BooleanType(value));
7849  }
7850
7851// -- SpecProcessingTime -------------------------------------
7852// http://hl7.org/fhir/StructureDefinition/specimen-processingTime|0.1.0
7853// Specimen Processing Time
7854
7855  public static Extension makeSpecProcessingTime(Period value) {
7856    return new Extension(ExtensionConstants.EXT_SPEC_PROCESSING_TIME).setValue(value);
7857  }
7858
7859  public static Extension makeSpecProcessingTime(Duration value) {
7860    return new Extension(ExtensionConstants.EXT_SPEC_PROCESSING_TIME).setValue(value);
7861  }
7862
7863  public static org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent setSpecProcessingTime(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context, Period value) {
7864    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SPEC_PROCESSING_TIME, value);
7865    return context;
7866  }
7867
7868  public static Period getSpecProcessingTimePeriod(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context) {
7869    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_SPEC_PROCESSING_TIME);
7870  }
7871
7872  public static org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent setSpecProcessingTime(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context, Duration value) {
7873    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SPEC_PROCESSING_TIME, value);
7874    return context;
7875  }
7876
7877  public static Duration getSpecProcessingTimeDuration(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context) {
7878    return ExtensionsUtils.getExtension(Duration.class, context, ExtensionConstants.EXT_SPEC_PROCESSING_TIME);
7879  }
7880
7881// -- SpecSequenceNumber -------------------------------------
7882// http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber|0.1.0
7883// Specimen Sequence Number
7884
7885  public static Extension makeSpecSequenceNumber(int value) {
7886    return new Extension(ExtensionConstants.EXT_SPEC_SEQUENCE_NUMBER).setValue(new IntegerType(value));
7887  }
7888
7889  public static org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent setSpecSequenceNumber(org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent context, int value) {
7890    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SPEC_SEQUENCE_NUMBER, new IntegerType(value));
7891    return context;
7892  }
7893
7894  public static Integer getSpecSequenceNumber(org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent context) {
7895    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_SPEC_SEQUENCE_NUMBER);
7896  }
7897
7898// -- SpecSpecialHandling -------------------------------------
7899// http://hl7.org/fhir/StructureDefinition/specimen-specialHandling|0.1.0
7900// Specimen Special handling
7901
7902  public static Extension makeSpecSpecialHandling(CodeableConcept value) {
7903    return new Extension(ExtensionConstants.EXT_SPEC_SPECIAL_HANDLING).setValue(value);
7904  }
7905
7906  public static org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent addSpecSpecialHandling(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) {
7907    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SPEC_SPECIAL_HANDLING, value);
7908    return context;
7909  }
7910
7911  public static List<CodeableConcept> getSpecSpecialHandlingList(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) {
7912    return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_SPEC_SPECIAL_HANDLING);
7913  }
7914
7915// -- SDAncestor -------------------------------------
7916// http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor|0.1.0
7917// StructureDefinition Ancestor
7918
7919  public static Extension makeSDAncestor(String value) {
7920    return new Extension(ExtensionConstants.EXT_SDANCESTOR).setValue(new UriType(value));
7921  }
7922
7923  public static StructureDefinition addSDAncestor(StructureDefinition context, String value) {
7924    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDANCESTOR, new UriType(value));
7925    return context;
7926  }
7927
7928  public static List<String> getSDAncestorList(StructureDefinition context) {
7929    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDANCESTOR);
7930  }
7931
7932// -- SDApplicableVersion -------------------------------------
7933// http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version|0.1.0
7934// StructureDefinition Applicable Version
7935
7936  public static Extension makeSDApplicableVersion(String value) {
7937    return new Extension(ExtensionConstants.EXT_SDAPPLICABLE_VERSION).setValue(new CodeType(value));
7938  }
7939
7940  public static StructureDefinition addSDApplicableVersion(StructureDefinition context, String value) {
7941    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDAPPLICABLE_VERSION, new CodeType(value));
7942    return context;
7943  }
7944
7945  public static List<String> getSDApplicableVersionList(StructureDefinition context) {
7946    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDAPPLICABLE_VERSION);
7947  }
7948
7949// -- SDCategory -------------------------------------
7950// http://hl7.org/fhir/StructureDefinition/structuredefinition-category|0.1.0
7951// StructureDefinition Category
7952
7953  public static Extension makeSDCategory(String value) {
7954    return new Extension(ExtensionConstants.EXT_SDCATEGORY).setValue(new StringType(value));
7955  }
7956
7957  public static StructureDefinition setSDCategory(StructureDefinition context, String value) {
7958    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDCATEGORY, new StringType(value));
7959    return context;
7960  }
7961
7962  public static String getSDCategory(StructureDefinition context) {
7963    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDCATEGORY);
7964  }
7965
7966// -- SDCodegenSuper -------------------------------------
7967// http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super|0.1.0
7968// StructureDefinition Codegen Super
7969
7970  public static Extension makeSDCodegenSuper(String value) {
7971    return new Extension(ExtensionConstants.EXT_SDCODEGEN_SUPER).setValue(new StringType(value));
7972  }
7973
7974  public static CanonicalType setSDCodegenSuper(CanonicalType context, String value) {
7975    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDCODEGEN_SUPER, new StringType(value));
7976    return context;
7977  }
7978
7979  public static String getSDCodegenSuper(CanonicalType context) {
7980    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDCODEGEN_SUPER);
7981  }
7982
7983// -- SDcompliesWithProfile -------------------------------------
7984// http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile|0.1.0
7985// StructureDefinition Compiles With Profile
7986
7987  public static Extension makeSDcompliesWithProfile(String value) {
7988    return new Extension(ExtensionConstants.EXT_SDCOMPLIES_WITH_PROFILE).setValue(new CanonicalType(value));
7989  }
7990
7991  public static StructureDefinition addSDcompliesWithProfile(StructureDefinition context, String value) {
7992    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDCOMPLIES_WITH_PROFILE, new CanonicalType(value));
7993    return context;
7994  }
7995
7996  public static List<String> getSDcompliesWithProfileList(StructureDefinition context) {
7997    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDCOMPLIES_WITH_PROFILE);
7998  }
7999
8000// -- SDStatusDerivation -------------------------------------
8001// http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom|0.1.0
8002// StructureDefinition Status Derivation
8003
8004  public static Extension makeSDStatusDerivation(String value) {
8005    return new Extension(ExtensionConstants.EXT_SDSTATUS_DERIVATION).setValue(new CanonicalType(value));
8006  }
8007
8008  public static Element addSDStatusDerivation(Element context, String value) {
8009    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDSTATUS_DERIVATION, new CanonicalType(value));
8010    return context;
8011  }
8012
8013  public static List<String> getSDStatusDerivationList(Element context) {
8014    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDSTATUS_DERIVATION);
8015  }
8016
8017  public static Resource addSDStatusDerivation(Resource context, String value) {
8018    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDSTATUS_DERIVATION, new CanonicalType(value));
8019    return context;
8020  }
8021
8022  public static List<String> getSDStatusDerivationList(Resource context) {
8023    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDSTATUS_DERIVATION);
8024  }
8025
8026// -- SDDisplayHint -------------------------------------
8027// http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint|0.1.0
8028// StructureDefinition Display Hint
8029
8030  public static Extension makeSDDisplayHint(String value) {
8031    return new Extension(ExtensionConstants.EXT_SDDISPLAY_HINT).setValue(new StringType(value));
8032  }
8033
8034  public static ElementDefinition setSDDisplayHint(ElementDefinition context, String value) {
8035    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDDISPLAY_HINT, new StringType(value));
8036    return context;
8037  }
8038
8039  public static String getSDDisplayHint(ElementDefinition context) {
8040    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDDISPLAY_HINT);
8041  }
8042
8043// -- SDExplicitTypeName -------------------------------------
8044// http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name|0.1.0
8045// StructureDefinition Explicit Type Name
8046
8047  public static Extension makeSDExplicitTypeName(String value) {
8048    return new Extension(ExtensionConstants.EXT_SDEXPLICIT_TYPE_NAME).setValue(new StringType(value));
8049  }
8050
8051  public static ElementDefinition setSDExplicitTypeName(ElementDefinition context, String value) {
8052    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDEXPLICIT_TYPE_NAME, new StringType(value));
8053    return context;
8054  }
8055
8056  public static String getSDExplicitTypeName(ElementDefinition context) {
8057    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDEXPLICIT_TYPE_NAME);
8058  }
8059
8060// -- SDExtensionMeaning -------------------------------------
8061// http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning|0.1.0
8062// StructureDefinition Extension Meaning
8063
8064  public static Extension makeSDExtensionMeaning(CodeableConcept value) {
8065    return new Extension(ExtensionConstants.EXT_SDEXTENSION_MEANING).setValue(value);
8066  }
8067
8068  public static Extension setSDExtensionMeaning(Extension context, CodeableConcept value) {
8069    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDEXTENSION_MEANING, value);
8070    return context;
8071  }
8072
8073  public static CodeableConcept getSDExtensionMeaning(Extension context) {
8074    return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SDEXTENSION_MEANING);
8075  }
8076
8077// -- SDFhirType -------------------------------------
8078// http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type|0.1.0
8079// StructureDefinition FHIR Type
8080
8081  public static Extension makeSDFhirType(String value) {
8082    return new Extension(ExtensionConstants.EXT_SDFHIR_TYPE).setValue(new UrlType(value));
8083  }
8084
8085  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setSDFhirType(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) {
8086    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDFHIR_TYPE, new UrlType(value));
8087    return context;
8088  }
8089
8090  public static String getSDFhirType(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
8091    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDFHIR_TYPE);
8092  }
8093
8094// -- SDFmm -------------------------------------
8095// http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm|0.1.0
8096// StructureDefinition FMM Level
8097
8098  public static Extension makeSDFmm(int value) {
8099    return new Extension(ExtensionConstants.EXT_SDFMM).setValue(new IntegerType(value));
8100  }
8101
8102  public static Element setSDFmm(Element context, int value) {
8103    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDFMM, new IntegerType(value));
8104    return context;
8105  }
8106
8107  public static Integer getSDFmm(Element context) {
8108    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_SDFMM);
8109  }
8110
8111// -- SDFmmNoWarnings -------------------------------------
8112// http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings|0.1.0
8113// StructureDefinition FMM If No Warnings
8114
8115  public static Extension makeSDFmmNoWarnings(int value) {
8116    return new Extension(ExtensionConstants.EXT_SDFMM_NO_WARNINGS).setValue(new IntegerType(value));
8117  }
8118
8119  public static StructureDefinition setSDFmmNoWarnings(StructureDefinition context, int value) {
8120    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDFMM_NO_WARNINGS, new IntegerType(value));
8121    return context;
8122  }
8123
8124  public static Integer getSDFmmNoWarnings(StructureDefinition context) {
8125    return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_SDFMM_NO_WARNINGS);
8126  }
8127
8128// -- SDFmmSupportDoco -------------------------------------
8129// http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support|0.1.0
8130// StructureDefinition FMM Supporting Documentation
8131
8132  public static Extension makeSDFmmSupportDoco(String value) {
8133    return new Extension(ExtensionConstants.EXT_SDFMM_SUPPORT_DOCO).setValue(new MarkdownType(value));
8134  }
8135
8136  public static Element setSDFmmSupportDoco(Element context, String value) {
8137    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDFMM_SUPPORT_DOCO, new MarkdownType(value));
8138    return context;
8139  }
8140
8141  public static String getSDFmmSupportDoco(Element context) {
8142    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDFMM_SUPPORT_DOCO);
8143  }
8144
8145// -- SDHierarchy -------------------------------------
8146// http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy|0.1.0
8147// StructureDefinition Hierarchy
8148
8149  public static Extension makeSDHierarchy(boolean value) {
8150    return new Extension(ExtensionConstants.EXT_SDHIERARCHY).setValue(new BooleanType(value));
8151  }
8152
8153  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setSDHierarchy(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) {
8154    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDHIERARCHY, new BooleanType(value));
8155    return context;
8156  }
8157
8158  public static Boolean getSDHierarchy(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
8159    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SDHIERARCHY);
8160  }
8161
8162// -- SDimposeProfile -------------------------------------
8163// http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile|0.1.0
8164// StructureDefinition Dependent Profiles
8165
8166  public static Extension makeSDimposeProfile(String value) {
8167    return new Extension(ExtensionConstants.EXT_SDIMPOSE_PROFILE).setValue(new CanonicalType(value));
8168  }
8169
8170  public static StructureDefinition addSDimposeProfile(StructureDefinition context, String value) {
8171    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDIMPOSE_PROFILE, new CanonicalType(value));
8172    return context;
8173  }
8174
8175  public static List<String> getSDimposeProfileList(StructureDefinition context) {
8176    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDIMPOSE_PROFILE);
8177  }
8178
8179// -- SDInheritanceControl -------------------------------------
8180// http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control|0.1.0
8181// StructureDefinition Inheritance Control (for Extensions)
8182
8183  public static Extension makeSDInheritanceControl(String value) {
8184    return new Extension(ExtensionConstants.EXT_SDINHERITANCE_CONTROL).setValue(new CodeType(value));
8185  }
8186
8187  public static StructureDefinition setSDInheritanceControl(StructureDefinition context, String value) {
8188    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDINHERITANCE_CONTROL, new CodeType(value));
8189    return context;
8190  }
8191
8192  public static String getSDInheritanceControl(StructureDefinition context) {
8193    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDINHERITANCE_CONTROL);
8194  }
8195
8196// -- SDInterface -------------------------------------
8197// http://hl7.org/fhir/StructureDefinition/structuredefinition-interface|0.1.0
8198// StructureDefinition Interface
8199
8200  public static Extension makeSDInterface(boolean value) {
8201    return new Extension(ExtensionConstants.EXT_SDINTERFACE).setValue(new BooleanType(value));
8202  }
8203
8204  public static StructureDefinition setSDInterface(StructureDefinition context, boolean value) {
8205    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDINTERFACE, new BooleanType(value));
8206    return context;
8207  }
8208
8209  public static Boolean getSDInterface(StructureDefinition context) {
8210    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SDINTERFACE);
8211  }
8212
8213// -- SDNormativeVersion -------------------------------------
8214// http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version|0.1.0
8215// StructureDefinition First Normative Version
8216
8217  public static Extension makeSDNormativeVersion(String value) {
8218    return new Extension(ExtensionConstants.EXT_SDNORMATIVE_VERSION).setValue(new CodeType(value));
8219  }
8220
8221  public static CanonicalResource setSDNormativeVersion(CanonicalResource context, String value) {
8222    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDNORMATIVE_VERSION, new CodeType(value));
8223    return context;
8224  }
8225
8226  public static String getSDNormativeVersion(CanonicalResource context) {
8227    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDNORMATIVE_VERSION);
8228  }
8229
8230  public static ElementDefinition setSDNormativeVersion(ElementDefinition context, String value) {
8231    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDNORMATIVE_VERSION, new CodeType(value));
8232    return context;
8233  }
8234
8235  public static String getSDNormativeVersion(ElementDefinition context) {
8236    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDNORMATIVE_VERSION);
8237  }
8238
8239// -- SDSecurityCategory -------------------------------------
8240// http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category|0.1.0
8241// StructureDefinition Security Category
8242
8243  public static Extension makeSDSecurityCategory(String value) {
8244    return new Extension(ExtensionConstants.EXT_SDSECURITY_CATEGORY).setValue(new CodeType(value));
8245  }
8246
8247  public static StructureDefinition setSDSecurityCategory(StructureDefinition context, String value) {
8248    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDSECURITY_CATEGORY, new CodeType(value));
8249    return context;
8250  }
8251
8252  public static String getSDSecurityCategory(StructureDefinition context) {
8253    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDSECURITY_CATEGORY);
8254  }
8255
8256// -- SDStandardsStatus -------------------------------------
8257// http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status|0.1.0
8258// StructureDefinition Standards Status
8259
8260  public static Extension makeSDStandardsStatus(String value) {
8261    return new Extension(ExtensionConstants.EXT_SDSTANDARDS_STATUS).setValue(new CodeType(value));
8262  }
8263
8264  public static Element setSDStandardsStatus(Element context, String value) {
8265    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDSTANDARDS_STATUS, new CodeType(value));
8266    return context;
8267  }
8268
8269  public static String getSDStandardsStatus(Element context) {
8270    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDSTANDARDS_STATUS);
8271  }
8272
8273// -- SDStandardsStatusReason -------------------------------------
8274// http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason|0.1.0
8275// StructureDefinition Standards Status Reason
8276
8277  public static Extension makeSDStandardsStatusReason(String value) {
8278    return new Extension(ExtensionConstants.EXT_SDSTANDARDS_STATUS_REASON).setValue(new MarkdownType(value));
8279  }
8280
8281  public static Element setSDStandardsStatusReason(Element context, String value) {
8282    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDSTANDARDS_STATUS_REASON, new MarkdownType(value));
8283    return context;
8284  }
8285
8286  public static String getSDStandardsStatusReason(Element context) {
8287    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDSTANDARDS_STATUS_REASON);
8288  }
8289
8290// -- SDSummary -------------------------------------
8291// http://hl7.org/fhir/StructureDefinition/structuredefinition-summary|0.1.0
8292// Structure Definition Summary
8293
8294  public static Extension makeSDSummary(String value) {
8295    return new Extension(ExtensionConstants.EXT_SDSUMMARY).setValue(new MarkdownType(value));
8296  }
8297
8298  public static StructureDefinition setSDSummary(StructureDefinition context, String value) {
8299    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDSUMMARY, new MarkdownType(value));
8300    return context;
8301  }
8302
8303  public static String getSDSummary(StructureDefinition context) {
8304    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDSUMMARY);
8305  }
8306
8307// -- SDTableName -------------------------------------
8308// http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name|0.1.0
8309// StructureDefinition Table Name
8310
8311  public static Extension makeSDTableName(String value) {
8312    return new Extension(ExtensionConstants.EXT_SDTABLE_NAME).setValue(new StringType(value));
8313  }
8314
8315  public static org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent setSDTableName(org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent context, String value) {
8316    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDTABLE_NAME, new StringType(value));
8317    return context;
8318  }
8319
8320  public static String getSDTableName(org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent context) {
8321    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDTABLE_NAME);
8322  }
8323
8324// -- SDTemplateStatus -------------------------------------
8325// http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status|0.1.0
8326// StructureDefinition Template Status
8327
8328  public static Extension makeSDTemplateStatus(String value) {
8329    return new Extension(ExtensionConstants.EXT_SDTEMPLATE_STATUS).setValue(new CodeType(value));
8330  }
8331
8332  public static StructureDefinition setSDTemplateStatus(StructureDefinition context, String value) {
8333    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDTEMPLATE_STATUS, new CodeType(value));
8334    return context;
8335  }
8336
8337  public static String getSDTemplateStatus(StructureDefinition context) {
8338    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDTEMPLATE_STATUS);
8339  }
8340
8341// -- SDTypeCharacteristics -------------------------------------
8342// http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics|0.1.0
8343// Structure Type Characterstics (Constraint Control)
8344
8345  public static Extension makeSDTypeCharacteristics(String value) {
8346    return new Extension(ExtensionConstants.EXT_SDTYPE_CHARACTERISTICS).setValue(new CodeType(value));
8347  }
8348
8349  public static StructureDefinition setSDTypeCharacteristics(StructureDefinition context, String value) {
8350    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDTYPE_CHARACTERISTICS, new CodeType(value));
8351    return context;
8352  }
8353
8354  public static String getSDTypeCharacteristics(StructureDefinition context) {
8355    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDTYPE_CHARACTERISTICS);
8356  }
8357
8358// -- SDWorkGroup -------------------------------------
8359// http://hl7.org/fhir/StructureDefinition/structuredefinition-wg|0.1.0
8360// StructureDefinition Work Group
8361
8362  public static Extension makeSDWorkGroup(String value) {
8363    return new Extension(ExtensionConstants.EXT_SDWORK_GROUP).setValue(new CodeType(value));
8364  }
8365
8366  public static Element setSDWorkGroup(Element context, String value) {
8367    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDWORK_GROUP, new CodeType(value));
8368    return context;
8369  }
8370
8371  public static String getSDWorkGroup(Element context) {
8372    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDWORK_GROUP);
8373  }
8374
8375// -- SDXmlHasNoOrder -------------------------------------
8376// http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order|0.1.0
8377// StructureDefinition Xml Has No Order
8378
8379  public static Extension makeSDXmlHasNoOrder(boolean value) {
8380    return new Extension(ExtensionConstants.EXT_SDXML_HAS_NO_ORDER).setValue(new BooleanType(value));
8381  }
8382
8383  public static StructureDefinition setSDXmlHasNoOrder(StructureDefinition context, boolean value) {
8384    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDXML_HAS_NO_ORDER, new BooleanType(value));
8385    return context;
8386  }
8387
8388  public static Boolean getSDXmlHasNoOrder(StructureDefinition context) {
8389    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SDXML_HAS_NO_ORDER);
8390  }
8391
8392// -- TargetElement -------------------------------------
8393// http://hl7.org/fhir/StructureDefinition/targetElement|0.1.0
8394// Target element
8395
8396  public static Extension makeTargetElement(String value) {
8397    return new Extension(ExtensionConstants.EXT_TARGET_ELEMENT).setValue(new UriType(value));
8398  }
8399
8400  public static CanonicalType addTargetElement(CanonicalType context, String value) {
8401    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TARGET_ELEMENT, new UriType(value));
8402    return context;
8403  }
8404
8405  public static List<String> getTargetElementList(CanonicalType context) {
8406    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_TARGET_ELEMENT);
8407  }
8408
8409  public static Reference addTargetElement(Reference context, String value) {
8410    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TARGET_ELEMENT, new UriType(value));
8411    return context;
8412  }
8413
8414  public static List<String> getTargetElementList(Reference context) {
8415    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_TARGET_ELEMENT);
8416  }
8417
8418// -- TargetPath -------------------------------------
8419// http://hl7.org/fhir/StructureDefinition/targetPath|0.1.0
8420// Target path
8421
8422  public static Extension makeTargetPath(String value) {
8423    return new Extension(ExtensionConstants.EXT_TARGET_PATH).setValue(new StringType(value));
8424  }
8425
8426  public static CanonicalType addTargetPath(CanonicalType context, String value) {
8427    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TARGET_PATH, new StringType(value));
8428    return context;
8429  }
8430
8431  public static List<String> getTargetPathList(CanonicalType context) {
8432    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_TARGET_PATH);
8433  }
8434
8435  public static Reference addTargetPath(Reference context, String value) {
8436    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TARGET_PATH, new StringType(value));
8437    return context;
8438  }
8439
8440  public static List<String> getTargetPathList(Reference context) {
8441    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_TARGET_PATH);
8442  }
8443
8444// -- TaskReplaces -------------------------------------
8445// http://hl7.org/fhir/StructureDefinition/task-replaces|0.1.0
8446// Task Replaces
8447
8448  public static Extension makeTaskReplaces(Reference value) {
8449    return new Extension(ExtensionConstants.EXT_TASK_REPLACES).setValue(value);
8450  }
8451
8452  public static Task addTaskReplaces(Task context, Reference value) {
8453    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TASK_REPLACES, value);
8454    return context;
8455  }
8456
8457  public static List<Reference> getTaskReplacesList(Task context) {
8458    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_TASK_REPLACES);
8459  }
8460
8461// -- TimezoneCode -------------------------------------
8462// http://hl7.org/fhir/StructureDefinition/timezone|0.1.0
8463// Timezone Code
8464
8465  public static Extension makeTimezoneCode(String value) {
8466    return new Extension(ExtensionConstants.EXT_TIMEZONE_CODE).setValue(new CodeType(value));
8467  }
8468
8469  public static DateTimeType setTimezoneCode(DateTimeType context, String value) {
8470    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value));
8471    return context;
8472  }
8473
8474  public static String getTimezoneCode(DateTimeType context) {
8475    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE);
8476  }
8477
8478  public static DateType setTimezoneCode(DateType context, String value) {
8479    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value));
8480    return context;
8481  }
8482
8483  public static String getTimezoneCode(DateType context) {
8484    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE);
8485  }
8486
8487  public static InstantType setTimezoneCode(InstantType context, String value) {
8488    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value));
8489    return context;
8490  }
8491
8492  public static String getTimezoneCode(InstantType context) {
8493    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE);
8494  }
8495
8496  public static Meta setTimezoneCode(Meta context, String value) {
8497    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value));
8498    return context;
8499  }
8500
8501  public static String getTimezoneCode(Meta context) {
8502    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE);
8503  }
8504
8505  public static TimeType setTimezoneCode(TimeType context, String value) {
8506    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value));
8507    return context;
8508  }
8509
8510  public static String getTimezoneCode(TimeType context) {
8511    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE);
8512  }
8513
8514// -- TimingDayOfMonth -------------------------------------
8515// http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth|0.1.0
8516// Timing day of month
8517
8518  public static Extension makeTimingDayOfMonth(int value) {
8519    return new Extension(ExtensionConstants.EXT_TIMING_DAY_OF_MONTH).setValue(new PositiveIntType(value));
8520  }
8521
8522  public static org.hl7.fhir.r5.model.Timing.TimingRepeatComponent addTimingDayOfMonth(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context, int value) {
8523    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TIMING_DAY_OF_MONTH, new PositiveIntType(value));
8524    return context;
8525  }
8526
8527  public static List<Integer> getTimingDayOfMonthList(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context) {
8528    return ExtensionsUtils.getExtensionIntList(context, ExtensionConstants.EXT_TIMING_DAY_OF_MONTH);
8529  }
8530
8531// -- TimingExact -------------------------------------
8532// http://hl7.org/fhir/StructureDefinition/timing-exact|0.1.0
8533// Timing Exact
8534
8535  public static Extension makeTimingExact(boolean value) {
8536    return new Extension(ExtensionConstants.EXT_TIMING_EXACT).setValue(new BooleanType(value));
8537  }
8538
8539  public static org.hl7.fhir.r5.model.Timing.TimingRepeatComponent setTimingExact(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context, boolean value) {
8540    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMING_EXACT, new BooleanType(value));
8541    return context;
8542  }
8543
8544  public static Boolean getTimingExact(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context) {
8545    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_TIMING_EXACT);
8546  }
8547
8548// -- UncertainDate -------------------------------------
8549// http://hl7.org/fhir/StructureDefinition/timing-uncertainDate|0.1.0
8550// Uncertain date
8551
8552  public static Extension makeUncertainDate(Period value) {
8553    return new Extension(ExtensionConstants.EXT_UNCERTAIN_DATE).setValue(value);
8554  }
8555
8556  public static DateTimeType setUncertainDate(DateTimeType context, Period value) {
8557    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAIN_DATE, value);
8558    return context;
8559  }
8560
8561  public static Period getUncertainDate(DateTimeType context) {
8562    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_UNCERTAIN_DATE);
8563  }
8564
8565// -- TimezoneOffset -------------------------------------
8566// http://hl7.org/fhir/StructureDefinition/tz-offset|0.1.0
8567// Timezone Offset
8568
8569  public static Extension makeTimezoneOffset(String value) {
8570    return new Extension(ExtensionConstants.EXT_TIMEZONE_OFFSET).setValue(new StringType(value));
8571  }
8572
8573  public static DateType setTimezoneOffset(DateType context, String value) {
8574    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_OFFSET, new StringType(value));
8575    return context;
8576  }
8577
8578  public static String getTimezoneOffset(DateType context) {
8579    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_OFFSET);
8580  }
8581
8582// -- UncertainPeriod -------------------------------------
8583// http://hl7.org/fhir/StructureDefinition/uncertainPeriod|0.1.0
8584// Uncertain period
8585
8586  public static Extension makeUncertainPeriod(Period value) {
8587    return new Extension(ExtensionConstants.EXT_UNCERTAIN_PERIOD).setValue(value);
8588  }
8589
8590  public static DateTimeType setUncertainPeriod(DateTimeType context, Period value) {
8591    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAIN_PERIOD, value);
8592    return context;
8593  }
8594
8595  public static Period getUncertainPeriod(DateTimeType context) {
8596    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_UNCERTAIN_PERIOD);
8597  }
8598
8599  public static DateType setUncertainPeriod(DateType context, Period value) {
8600    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAIN_PERIOD, value);
8601    return context;
8602  }
8603
8604  public static Period getUncertainPeriod(DateType context) {
8605    return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_UNCERTAIN_PERIOD);
8606  }
8607
8608// -- Group -------------------------------------
8609// http://hl7.org/fhir/StructureDefinition/usagecontext-group|0.1.0
8610// Group
8611
8612  public static Extension makeGroup(String value) {
8613    return new Extension(ExtensionConstants.EXT_GROUP).setValue(new StringType(value));
8614  }
8615
8616  public static UsageContext setGroup(UsageContext context, String value) {
8617    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GROUP, new StringType(value));
8618    return context;
8619  }
8620
8621  public static String getGroup(UsageContext context) {
8622    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GROUP);
8623  }
8624
8625// -- VSAuthoritativeSource -------------------------------------
8626// http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource|0.1.0
8627// ValueSet Authoritative Source
8628
8629  public static Extension makeVSAuthoritativeSource(String value) {
8630    return new Extension(ExtensionConstants.EXT_VSAUTHORITATIVE_SOURCE).setValue(new UriType(value));
8631  }
8632
8633  public static ValueSet setVSAuthoritativeSource(ValueSet context, String value) {
8634    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSAUTHORITATIVE_SOURCE, new UriType(value));
8635    return context;
8636  }
8637
8638  public static String getVSAuthoritativeSource(ValueSet context) {
8639    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSAUTHORITATIVE_SOURCE);
8640  }
8641
8642// -- VSCaseSensitive -------------------------------------
8643// http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive|0.1.0
8644// ValueSet Case Sensitive
8645
8646  public static Extension makeVSCaseSensitive(boolean value) {
8647    return new Extension(ExtensionConstants.EXT_VSCASE_SENSITIVE).setValue(new BooleanType(value));
8648  }
8649
8650// -- VSComposeCreatedBy -------------------------------------
8651// http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy|0.1.0
8652// ValueSet Compose CreatedBy
8653
8654  public static Extension makeVSComposeCreatedBy(String value) {
8655    return new Extension(ExtensionConstants.EXT_VSCOMPOSE_CREATED_BY).setValue(new StringType(value));
8656  }
8657
8658  public static org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent setVSComposeCreatedBy(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context, String value) {
8659    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSCOMPOSE_CREATED_BY, new StringType(value));
8660    return context;
8661  }
8662
8663  public static String getVSComposeCreatedBy(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context) {
8664    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSCOMPOSE_CREATED_BY);
8665  }
8666
8667// -- VSComposeCreationDate -------------------------------------
8668// http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate|0.1.0
8669// ValueSet Compose Creation Date
8670
8671  public static Extension makeVSComposeCreationDate(String value) {
8672    return new Extension(ExtensionConstants.EXT_VSCOMPOSE_CREATION_DATE).setValue(new StringType(value));
8673  }
8674
8675  public static org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent setVSComposeCreationDate(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context, String value) {
8676    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSCOMPOSE_CREATION_DATE, new StringType(value));
8677    return context;
8678  }
8679
8680  public static String getVSComposeCreationDate(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context) {
8681    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSCOMPOSE_CREATION_DATE);
8682  }
8683
8684// -- VSIncludeVSTitle -------------------------------------
8685// http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle|0.1.0
8686// ValueSet Include ValueSet Title
8687
8688  public static Extension makeVSIncludeVSTitle(String value) {
8689    return new Extension(ExtensionConstants.EXT_VSINCLUDE_V_S_TITLE).setValue(new StringType(value));
8690  }
8691
8692// -- VSConceptComments -------------------------------------
8693// http://hl7.org/fhir/StructureDefinition/valueset-concept-comments|0.1.0
8694// ValueSet Concept Comments
8695
8696  public static Extension makeVSConceptComments(String value) {
8697    return new Extension(ExtensionConstants.EXT_VSCONCEPT_COMMENTS).setValue(new StringType(value));
8698  }
8699
8700// -- VSConceptDefinition -------------------------------------
8701// http://hl7.org/fhir/StructureDefinition/valueset-concept-definition|0.1.0
8702// ValueSet Concept Definition
8703
8704  public static Extension makeVSConceptDefinition(String value) {
8705    return new Extension(ExtensionConstants.EXT_VSCONCEPT_DEFINITION).setValue(new StringType(value));
8706  }
8707
8708// -- VSConceptOrder -------------------------------------
8709// http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder|0.1.0
8710// ValueSet Concept Order
8711
8712  public static Extension makeVSConceptOrder(int value) {
8713    return new Extension(ExtensionConstants.EXT_VSCONCEPT_ORDER).setValue(new IntegerType(value));
8714  }
8715
8716// -- VSDeprecated -------------------------------------
8717// http://hl7.org/fhir/StructureDefinition/valueset-deprecated|0.1.0
8718// ValueSet Deprecated
8719
8720  public static Extension makeVSDeprecated(boolean value) {
8721    return new Extension(ExtensionConstants.EXT_VSDEPRECATED).setValue(new BooleanType(value));
8722  }
8723
8724// -- VSExpansionSource -------------------------------------
8725// http://hl7.org/fhir/StructureDefinition/valueset-expansionSource|0.1.0
8726// ValueSet Expansion Source
8727
8728  public static Extension makeVSExpansionSource(String value) {
8729    return new Extension(ExtensionConstants.EXT_VSEXPANSION_SOURCE).setValue(new UriType(value));
8730  }
8731
8732  public static org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSExpansionSource(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, String value) {
8733    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSEXPANSION_SOURCE, new UriType(value));
8734    return context;
8735  }
8736
8737  public static String getVSExpansionSource(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) {
8738    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSEXPANSION_SOURCE);
8739  }
8740
8741// -- VSExpression -------------------------------------
8742// http://hl7.org/fhir/StructureDefinition/valueset-expression|0.1.0
8743// ValueSet Expression
8744
8745  public static Extension makeVSExpression(Expression value) {
8746    return new Extension(ExtensionConstants.EXT_VSEXPRESSION).setValue(value);
8747  }
8748
8749  public static ValueSet setVSExpression(ValueSet context, Expression value) {
8750    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSEXPRESSION, value);
8751    return context;
8752  }
8753
8754  public static Expression getVSExpression(ValueSet context) {
8755    return ExtensionsUtils.getExtension(Expression.class, context, ExtensionConstants.EXT_VSEXPRESSION);
8756  }
8757
8758// -- VSExtensible -------------------------------------
8759// http://hl7.org/fhir/StructureDefinition/valueset-extensible|0.1.0
8760// ValueSet Extensible
8761
8762  public static Extension makeVSExtensible(boolean value) {
8763    return new Extension(ExtensionConstants.EXT_VSEXTENSIBLE).setValue(new BooleanType(value));
8764  }
8765
8766  public static ValueSet setVSExtensible(ValueSet context, boolean value) {
8767    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSEXTENSIBLE, new BooleanType(value));
8768    return context;
8769  }
8770
8771  public static Boolean getVSExtensible(ValueSet context) {
8772    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_VSEXTENSIBLE);
8773  }
8774
8775// -- VSKeyword -------------------------------------
8776// http://hl7.org/fhir/StructureDefinition/valueset-keyWord|0.1.0
8777// ValueSet Keyword
8778
8779  public static Extension makeVSKeyword(String value) {
8780    return new Extension(ExtensionConstants.EXT_VSKEYWORD).setValue(new StringType(value));
8781  }
8782
8783  public static ValueSet addVSKeyword(ValueSet context, String value) {
8784    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VSKEYWORD, new StringType(value));
8785    return context;
8786  }
8787
8788  public static List<String> getVSKeywordList(ValueSet context) {
8789    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VSKEYWORD);
8790  }
8791
8792// -- VSLabel -------------------------------------
8793// http://hl7.org/fhir/StructureDefinition/valueset-label|0.1.0
8794// ValueSet Label
8795
8796  public static Extension makeVSLabel(String value) {
8797    return new Extension(ExtensionConstants.EXT_VSLABEL).setValue(new StringType(value));
8798  }
8799
8800// -- VSMap -------------------------------------
8801// http://hl7.org/fhir/StructureDefinition/valueset-map|0.1.0
8802// ValueSet Map
8803
8804  public static Extension makeVSMap(String value) {
8805    return new Extension(ExtensionConstants.EXT_VSMAP).setValue(new CanonicalType(value));
8806  }
8807
8808  public static ValueSet setVSMap(ValueSet context, String value) {
8809    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSMAP, new CanonicalType(value));
8810    return context;
8811  }
8812
8813  public static String getVSMap(ValueSet context) {
8814    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSMAP);
8815  }
8816
8817// -- VSParameterSource -------------------------------------
8818// http://hl7.org/fhir/StructureDefinition/valueset-parameterSource|0.1.0
8819// ValueSet Parameter Source
8820
8821  public static Extension makeVSParameterSource(String value) {
8822    return new Extension(ExtensionConstants.EXT_VSPARAMETER_SOURCE).setValue(new CodeType(value));
8823  }
8824
8825// -- VSReference -------------------------------------
8826// http://hl7.org/fhir/StructureDefinition/valueset-reference|0.1.0
8827// ValueSet Reference
8828
8829  public static Extension makeVSReference(String value) {
8830    return new Extension(ExtensionConstants.EXT_VSREFERENCE).setValue(new UriType(value));
8831  }
8832
8833  public static Coding setVSReference(Coding context, String value) {
8834    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSREFERENCE, new UriType(value));
8835    return context;
8836  }
8837
8838  public static String getVSReference(Coding context) {
8839    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSREFERENCE);
8840  }
8841
8842// -- VSRulesText -------------------------------------
8843// http://hl7.org/fhir/StructureDefinition/valueset-rules-text|0.1.0
8844// ValueSet Rules Text
8845
8846  public static Extension makeVSRulesText(String value) {
8847    return new Extension(ExtensionConstants.EXT_VSRULES_TEXT).setValue(new MarkdownType(value));
8848  }
8849
8850  public static ValueSet setVSRulesText(ValueSet context, String value) {
8851    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSRULES_TEXT, new MarkdownType(value));
8852    return context;
8853  }
8854
8855  public static String getVSRulesText(ValueSet context) {
8856    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSRULES_TEXT);
8857  }
8858
8859// -- VSSourceReference -------------------------------------
8860// http://hl7.org/fhir/StructureDefinition/valueset-sourceReference|0.1.0
8861// ValueSet Source Reference
8862
8863  public static Extension makeVSSourceReference(String value) {
8864    return new Extension(ExtensionConstants.EXT_VSSOURCE_REFERENCE).setValue(new UriType(value));
8865  }
8866
8867  public static ValueSet setVSSourceReference(ValueSet context, String value) {
8868    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSSOURCE_REFERENCE, new UriType(value));
8869    return context;
8870  }
8871
8872  public static String getVSSourceReference(ValueSet context) {
8873    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSSOURCE_REFERENCE);
8874  }
8875
8876// -- VSSpecialStatus -------------------------------------
8877// http://hl7.org/fhir/StructureDefinition/valueset-special-status|0.1.0
8878// ValueSet Special Status
8879
8880  public static Extension makeVSSpecialStatus(String value) {
8881    return new Extension(ExtensionConstants.EXT_VSSPECIAL_STATUS).setValue(new StringType(value));
8882  }
8883
8884  public static CodeSystem setVSSpecialStatus(CodeSystem context, String value) {
8885    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSSPECIAL_STATUS, new StringType(value));
8886    return context;
8887  }
8888
8889  public static String getVSSpecialStatus(CodeSystem context) {
8890    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSSPECIAL_STATUS);
8891  }
8892
8893  public static ValueSet setVSSpecialStatus(ValueSet context, String value) {
8894    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSSPECIAL_STATUS, new StringType(value));
8895    return context;
8896  }
8897
8898  public static String getVSSpecialStatus(ValueSet context) {
8899    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSSPECIAL_STATUS);
8900  }
8901
8902// -- VSSupplement -------------------------------------
8903// http://hl7.org/fhir/StructureDefinition/valueset-supplement|0.1.0
8904// ValueSet Supplement
8905
8906  public static Extension makeVSSupplement(String value) {
8907    return new Extension(ExtensionConstants.EXT_VSSUPPLEMENT).setValue(new CanonicalType(value));
8908  }
8909
8910  public static ValueSet addVSSupplement(ValueSet context, String value) {
8911    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VSSUPPLEMENT, new CanonicalType(value));
8912    return context;
8913  }
8914
8915  public static List<String> getVSSupplementList(ValueSet context) {
8916    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VSSUPPLEMENT);
8917  }
8918
8919// -- VSSystem -------------------------------------
8920// http://hl7.org/fhir/StructureDefinition/valueset-system|0.1.0
8921// ValueSet System
8922
8923  public static Extension makeVSSystem(String value) {
8924    return new Extension(ExtensionConstants.EXT_VSSYSTEM).setValue(new CanonicalType(value));
8925  }
8926
8927// -- VSSystemName -------------------------------------
8928// http://hl7.org/fhir/StructureDefinition/valueset-systemName|0.1.0
8929// ValueSet System Name
8930
8931  public static Extension makeVSSystemName(String value) {
8932    return new Extension(ExtensionConstants.EXT_VSSYSTEM_NAME).setValue(new StringType(value));
8933  }
8934
8935// -- VSSystemReference -------------------------------------
8936// http://hl7.org/fhir/StructureDefinition/valueset-systemRef|0.1.0
8937// ValueSet System Reference
8938
8939  public static Extension makeVSSystemReference(String value) {
8940    return new Extension(ExtensionConstants.EXT_VSSYSTEM_REFERENCE).setValue(new UriType(value));
8941  }
8942
8943// -- VSSystemTitle -------------------------------------
8944// http://hl7.org/fhir/StructureDefinition/valueset-systemTitle|0.1.0
8945// Value Set System Title
8946
8947  public static Extension makeVSSystemTitle(String value) {
8948    return new Extension(ExtensionConstants.EXT_VSSYSTEM_TITLE).setValue(new StringType(value));
8949  }
8950
8951// -- VSToocostly -------------------------------------
8952// http://hl7.org/fhir/StructureDefinition/valueset-toocostly|0.1.0
8953// Valueset Too Costly (Expansion Truncated)
8954
8955  public static Extension makeVSToocostly(boolean value) {
8956    return new Extension(ExtensionConstants.EXT_VSTOOCOSTLY).setValue(new BooleanType(value));
8957  }
8958
8959  public static org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSToocostly(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, boolean value) {
8960    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSTOOCOSTLY, new BooleanType(value));
8961    return context;
8962  }
8963
8964  public static Boolean getVSToocostly(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) {
8965    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_VSTOOCOSTLY);
8966  }
8967
8968// -- VSTrustedExpansion -------------------------------------
8969// http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion|0.1.0
8970// Valueset Trusted Expansion
8971
8972  public static Extension makeVSTrustedExpansion(String value) {
8973    return new Extension(ExtensionConstants.EXT_VSTRUSTED_EXPANSION).setValue(new UrlType(value));
8974  }
8975
8976  public static ValueSet addVSTrustedExpansion(ValueSet context, String value) {
8977    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VSTRUSTED_EXPANSION, new UrlType(value));
8978    return context;
8979  }
8980
8981  public static List<String> getVSTrustedExpansionList(ValueSet context) {
8982    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VSTRUSTED_EXPANSION);
8983  }
8984
8985// -- VSUnclosed -------------------------------------
8986// http://hl7.org/fhir/StructureDefinition/valueset-unclosed|0.1.0
8987// ValueSet Unclosed
8988
8989  public static Extension makeVSUnclosed(boolean value) {
8990    return new Extension(ExtensionConstants.EXT_VSUNCLOSED).setValue(new BooleanType(value));
8991  }
8992
8993  public static org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSUnclosed(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, boolean value) {
8994    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSUNCLOSED, new BooleanType(value));
8995    return context;
8996  }
8997
8998  public static Boolean getVSUnclosed(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) {
8999    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_VSUNCLOSED);
9000  }
9001
9002// -- VSWarning -------------------------------------
9003// http://hl7.org/fhir/StructureDefinition/valueset-warning|0.1.0
9004// ValueSet Warning
9005
9006  public static Extension makeVSWarning(String value) {
9007    return new Extension(ExtensionConstants.EXT_VSWARNING).setValue(new MarkdownType(value));
9008  }
9009
9010  public static ValueSet setVSWarning(ValueSet context, String value) {
9011    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSWARNING, new MarkdownType(value));
9012    return context;
9013  }
9014
9015  public static String getVSWarning(ValueSet context) {
9016    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSWARNING);
9017  }
9018
9019// -- WorkflowStatusDescription -------------------------------------
9020// http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription|0.1.0
9021// Workflow Status Description
9022
9023  public static Extension makeWorkflowStatusDescription(String value) {
9024    return new Extension(ExtensionConstants.EXT_WORKFLOW_STATUS_DESCRIPTION).setValue(new StringType(value));
9025  }
9026
9027  public static ValueSet setWorkflowStatusDescription(ValueSet context, String value) {
9028    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_WORKFLOW_STATUS_DESCRIPTION, new StringType(value));
9029    return context;
9030  }
9031
9032  public static String getWorkflowStatusDescription(ValueSet context) {
9033    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_WORKFLOW_STATUS_DESCRIPTION);
9034  }
9035
9036// -- Variable -------------------------------------
9037// http://hl7.org/fhir/StructureDefinition/variable|0.1.0
9038// Variable
9039
9040  public static Extension makeVariable(Expression value) {
9041    return new Extension(ExtensionConstants.EXT_VARIABLE).setValue(value);
9042  }
9043
9044  public static ActivityDefinition addVariable(ActivityDefinition context, Expression value) {
9045    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9046    return context;
9047  }
9048
9049  public static List<Expression> getVariableList(ActivityDefinition context) {
9050    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9051  }
9052
9053  public static Measure addVariable(Measure context, Expression value) {
9054    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9055    return context;
9056  }
9057
9058  public static List<Expression> getVariableList(Measure context) {
9059    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9060  }
9061
9062  public static PlanDefinition addVariable(PlanDefinition context, Expression value) {
9063    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9064    return context;
9065  }
9066
9067  public static List<Expression> getVariableList(PlanDefinition context) {
9068    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9069  }
9070
9071  public static Questionnaire addVariable(Questionnaire context, Expression value) {
9072    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9073    return context;
9074  }
9075
9076  public static List<Expression> getVariableList(Questionnaire context) {
9077    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9078  }
9079
9080  public static RequestOrchestration addVariable(RequestOrchestration context, Expression value) {
9081    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9082    return context;
9083  }
9084
9085  public static List<Expression> getVariableList(RequestOrchestration context) {
9086    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9087  }
9088
9089  public static org.hl7.fhir.r5.model.Measure.MeasureGroupComponent addVariable(org.hl7.fhir.r5.model.Measure.MeasureGroupComponent context, Expression value) {
9090    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9091    return context;
9092  }
9093
9094  public static List<Expression> getVariableList(org.hl7.fhir.r5.model.Measure.MeasureGroupComponent context) {
9095    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9096  }
9097
9098  public static org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent addVariable(org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent context, Expression value) {
9099    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9100    return context;
9101  }
9102
9103  public static List<Expression> getVariableList(org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent context) {
9104    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9105  }
9106
9107  public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addVariable(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Expression value) {
9108    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9109    return context;
9110  }
9111
9112  public static List<Expression> getVariableList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) {
9113    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9114  }
9115
9116  public static org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent addVariable(org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent context, Expression value) {
9117    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value);
9118    return context;
9119  }
9120
9121  public static List<Expression> getVariableList(org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent context) {
9122    return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE);
9123  }
9124
9125// -- AdheresTo -------------------------------------
9126// http://hl7.org/fhir/StructureDefinition/workflow-adheresTo|0.1.0
9127// adheres to
9128
9129  public static Extension makeAdheresToCanonical(String value) {
9130    return new Extension(ExtensionConstants.EXT_ADHERES_TO).setValue(new CanonicalType(value));
9131  }
9132
9133  public static Extension makeAdheresTo(Reference value) {
9134    return new Extension(ExtensionConstants.EXT_ADHERES_TO).setValue(value);
9135  }
9136
9137  public static Extension makeAdheresToUri(String value) {
9138    return new Extension(ExtensionConstants.EXT_ADHERES_TO).setValue(new UriType(value));
9139  }
9140
9141  public static Communication addAdheresToCanonical(Communication context, String value) {
9142    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9143    return context;
9144  }
9145
9146  public static List<String> getAdheresToStringList(Communication context) {
9147    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9148  }
9149
9150  public static Communication addAdheresTo(Communication context, Reference value) {
9151    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9152    return context;
9153  }
9154
9155  public static List<Reference> getAdheresToReferenceList(Communication context) {
9156    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9157  }
9158
9159  public static Communication addAdheresToUri(Communication context, String value) {
9160    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9161    return context;
9162  }
9163
9164  public static Condition addAdheresToCanonical(Condition context, String value) {
9165    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9166    return context;
9167  }
9168
9169  public static List<String> getAdheresToStringList(Condition context) {
9170    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9171  }
9172
9173  public static Condition addAdheresTo(Condition context, Reference value) {
9174    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9175    return context;
9176  }
9177
9178  public static List<Reference> getAdheresToReferenceList(Condition context) {
9179    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9180  }
9181
9182  public static Condition addAdheresToUri(Condition context, String value) {
9183    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9184    return context;
9185  }
9186
9187  public static DiagnosticReport addAdheresToCanonical(DiagnosticReport context, String value) {
9188    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9189    return context;
9190  }
9191
9192  public static List<String> getAdheresToStringList(DiagnosticReport context) {
9193    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9194  }
9195
9196  public static DiagnosticReport addAdheresTo(DiagnosticReport context, Reference value) {
9197    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9198    return context;
9199  }
9200
9201  public static List<Reference> getAdheresToReferenceList(DiagnosticReport context) {
9202    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9203  }
9204
9205  public static DiagnosticReport addAdheresToUri(DiagnosticReport context, String value) {
9206    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9207    return context;
9208  }
9209
9210  public static DocumentReference addAdheresToCanonical(DocumentReference context, String value) {
9211    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9212    return context;
9213  }
9214
9215  public static List<String> getAdheresToStringList(DocumentReference context) {
9216    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9217  }
9218
9219  public static DocumentReference addAdheresTo(DocumentReference context, Reference value) {
9220    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9221    return context;
9222  }
9223
9224  public static List<Reference> getAdheresToReferenceList(DocumentReference context) {
9225    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9226  }
9227
9228  public static DocumentReference addAdheresToUri(DocumentReference context, String value) {
9229    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9230    return context;
9231  }
9232
9233  public static Encounter addAdheresToCanonical(Encounter context, String value) {
9234    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9235    return context;
9236  }
9237
9238  public static List<String> getAdheresToStringList(Encounter context) {
9239    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9240  }
9241
9242  public static Encounter addAdheresTo(Encounter context, Reference value) {
9243    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9244    return context;
9245  }
9246
9247  public static List<Reference> getAdheresToReferenceList(Encounter context) {
9248    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9249  }
9250
9251  public static Encounter addAdheresToUri(Encounter context, String value) {
9252    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9253    return context;
9254  }
9255
9256  public static FamilyMemberHistory addAdheresToCanonical(FamilyMemberHistory context, String value) {
9257    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9258    return context;
9259  }
9260
9261  public static List<String> getAdheresToStringList(FamilyMemberHistory context) {
9262    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9263  }
9264
9265  public static FamilyMemberHistory addAdheresTo(FamilyMemberHistory context, Reference value) {
9266    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9267    return context;
9268  }
9269
9270  public static List<Reference> getAdheresToReferenceList(FamilyMemberHistory context) {
9271    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9272  }
9273
9274  public static FamilyMemberHistory addAdheresToUri(FamilyMemberHistory context, String value) {
9275    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9276    return context;
9277  }
9278
9279  public static Immunization addAdheresToCanonical(Immunization context, String value) {
9280    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9281    return context;
9282  }
9283
9284  public static List<String> getAdheresToStringList(Immunization context) {
9285    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9286  }
9287
9288  public static Immunization addAdheresTo(Immunization context, Reference value) {
9289    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9290    return context;
9291  }
9292
9293  public static List<Reference> getAdheresToReferenceList(Immunization context) {
9294    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9295  }
9296
9297  public static Immunization addAdheresToUri(Immunization context, String value) {
9298    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9299    return context;
9300  }
9301
9302  public static ImmunizationEvaluation addAdheresToCanonical(ImmunizationEvaluation context, String value) {
9303    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9304    return context;
9305  }
9306
9307  public static List<String> getAdheresToStringList(ImmunizationEvaluation context) {
9308    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9309  }
9310
9311  public static ImmunizationEvaluation addAdheresTo(ImmunizationEvaluation context, Reference value) {
9312    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9313    return context;
9314  }
9315
9316  public static List<Reference> getAdheresToReferenceList(ImmunizationEvaluation context) {
9317    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9318  }
9319
9320  public static ImmunizationEvaluation addAdheresToUri(ImmunizationEvaluation context, String value) {
9321    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9322    return context;
9323  }
9324
9325  public static Observation addAdheresToCanonical(Observation context, String value) {
9326    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9327    return context;
9328  }
9329
9330  public static List<String> getAdheresToStringList(Observation context) {
9331    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9332  }
9333
9334  public static Observation addAdheresTo(Observation context, Reference value) {
9335    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9336    return context;
9337  }
9338
9339  public static List<Reference> getAdheresToReferenceList(Observation context) {
9340    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9341  }
9342
9343  public static Observation addAdheresToUri(Observation context, String value) {
9344    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9345    return context;
9346  }
9347
9348  public static QuestionnaireResponse addAdheresToCanonical(QuestionnaireResponse context, String value) {
9349    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9350    return context;
9351  }
9352
9353  public static List<String> getAdheresToStringList(QuestionnaireResponse context) {
9354    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9355  }
9356
9357  public static QuestionnaireResponse addAdheresTo(QuestionnaireResponse context, Reference value) {
9358    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9359    return context;
9360  }
9361
9362  public static List<Reference> getAdheresToReferenceList(QuestionnaireResponse context) {
9363    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9364  }
9365
9366  public static QuestionnaireResponse addAdheresToUri(QuestionnaireResponse context, String value) {
9367    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9368    return context;
9369  }
9370
9371  public static SupplyDelivery addAdheresToCanonical(SupplyDelivery context, String value) {
9372    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value));
9373    return context;
9374  }
9375
9376  public static List<String> getAdheresToStringList(SupplyDelivery context) {
9377    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO);
9378  }
9379
9380  public static SupplyDelivery addAdheresTo(SupplyDelivery context, Reference value) {
9381    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value);
9382    return context;
9383  }
9384
9385  public static List<Reference> getAdheresToReferenceList(SupplyDelivery context) {
9386    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO);
9387  }
9388
9389  public static SupplyDelivery addAdheresToUri(SupplyDelivery context, String value) {
9390    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value));
9391    return context;
9392  }
9393
9394// -- WorkflowBarrier -------------------------------------
9395// http://hl7.org/fhir/StructureDefinition/workflow-barrier|0.1.0
9396// Workflow Barrier
9397
9398  public static Extension makeWorkflowBarrier(CodeableReference value) {
9399    return new Extension(ExtensionConstants.EXT_WORKFLOW_BARRIER).setValue(value);
9400  }
9401
9402  public static CommunicationRequest addWorkflowBarrier(CommunicationRequest context, CodeableReference value) {
9403    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_BARRIER, value);
9404    return context;
9405  }
9406
9407  public static List<CodeableReference> getWorkflowBarrierList(CommunicationRequest context) {
9408    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_BARRIER);
9409  }
9410
9411  public static Goal addWorkflowBarrier(Goal context, CodeableReference value) {
9412    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_BARRIER, value);
9413    return context;
9414  }
9415
9416  public static List<CodeableReference> getWorkflowBarrierList(Goal context) {
9417    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_BARRIER);
9418  }
9419
9420  public static org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent addWorkflowBarrier(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, CodeableReference value) {
9421    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_BARRIER, value);
9422    return context;
9423  }
9424
9425  public static List<CodeableReference> getWorkflowBarrierList(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) {
9426    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_BARRIER);
9427  }
9428
9429// -- CompliesWith -------------------------------------
9430// http://hl7.org/fhir/StructureDefinition/workflow-compliesWith|0.1.0
9431// complies with
9432
9433  public static Extension makeCompliesWithCanonical(String value) {
9434    return new Extension(ExtensionConstants.EXT_COMPLIES_WITH).setValue(new CanonicalType(value));
9435  }
9436
9437  public static Extension makeCompliesWith(Reference value) {
9438    return new Extension(ExtensionConstants.EXT_COMPLIES_WITH).setValue(value);
9439  }
9440
9441  public static Extension makeCompliesWithUri(String value) {
9442    return new Extension(ExtensionConstants.EXT_COMPLIES_WITH).setValue(new UriType(value));
9443  }
9444
9445  public static CarePlan addCompliesWithCanonical(CarePlan context, String value) {
9446    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9447    return context;
9448  }
9449
9450  public static List<String> getCompliesWithStringList(CarePlan context) {
9451    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9452  }
9453
9454  public static CarePlan addCompliesWith(CarePlan context, Reference value) {
9455    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9456    return context;
9457  }
9458
9459  public static List<Reference> getCompliesWithReferenceList(CarePlan context) {
9460    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9461  }
9462
9463  public static CarePlan addCompliesWithUri(CarePlan context, String value) {
9464    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9465    return context;
9466  }
9467
9468  public static CommunicationRequest addCompliesWithCanonical(CommunicationRequest context, String value) {
9469    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9470    return context;
9471  }
9472
9473  public static List<String> getCompliesWithStringList(CommunicationRequest context) {
9474    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9475  }
9476
9477  public static CommunicationRequest addCompliesWith(CommunicationRequest context, Reference value) {
9478    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9479    return context;
9480  }
9481
9482  public static List<Reference> getCompliesWithReferenceList(CommunicationRequest context) {
9483    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9484  }
9485
9486  public static CommunicationRequest addCompliesWithUri(CommunicationRequest context, String value) {
9487    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9488    return context;
9489  }
9490
9491  public static DeviceRequest addCompliesWithCanonical(DeviceRequest context, String value) {
9492    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9493    return context;
9494  }
9495
9496  public static List<String> getCompliesWithStringList(DeviceRequest context) {
9497    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9498  }
9499
9500  public static DeviceRequest addCompliesWith(DeviceRequest context, Reference value) {
9501    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9502    return context;
9503  }
9504
9505  public static List<Reference> getCompliesWithReferenceList(DeviceRequest context) {
9506    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9507  }
9508
9509  public static DeviceRequest addCompliesWithUri(DeviceRequest context, String value) {
9510    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9511    return context;
9512  }
9513
9514  public static ImmunizationRecommendation addCompliesWithCanonical(ImmunizationRecommendation context, String value) {
9515    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9516    return context;
9517  }
9518
9519  public static List<String> getCompliesWithStringList(ImmunizationRecommendation context) {
9520    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9521  }
9522
9523  public static ImmunizationRecommendation addCompliesWith(ImmunizationRecommendation context, Reference value) {
9524    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9525    return context;
9526  }
9527
9528  public static List<Reference> getCompliesWithReferenceList(ImmunizationRecommendation context) {
9529    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9530  }
9531
9532  public static ImmunizationRecommendation addCompliesWithUri(ImmunizationRecommendation context, String value) {
9533    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9534    return context;
9535  }
9536
9537  public static NutritionOrder addCompliesWithCanonical(NutritionOrder context, String value) {
9538    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9539    return context;
9540  }
9541
9542  public static List<String> getCompliesWithStringList(NutritionOrder context) {
9543    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9544  }
9545
9546  public static NutritionOrder addCompliesWith(NutritionOrder context, Reference value) {
9547    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9548    return context;
9549  }
9550
9551  public static List<Reference> getCompliesWithReferenceList(NutritionOrder context) {
9552    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9553  }
9554
9555  public static NutritionOrder addCompliesWithUri(NutritionOrder context, String value) {
9556    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9557    return context;
9558  }
9559
9560  public static RequestOrchestration addCompliesWithCanonical(RequestOrchestration context, String value) {
9561    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9562    return context;
9563  }
9564
9565  public static List<String> getCompliesWithStringList(RequestOrchestration context) {
9566    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9567  }
9568
9569  public static RequestOrchestration addCompliesWith(RequestOrchestration context, Reference value) {
9570    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9571    return context;
9572  }
9573
9574  public static List<Reference> getCompliesWithReferenceList(RequestOrchestration context) {
9575    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9576  }
9577
9578  public static RequestOrchestration addCompliesWithUri(RequestOrchestration context, String value) {
9579    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9580    return context;
9581  }
9582
9583  public static ServiceRequest addCompliesWithCanonical(ServiceRequest context, String value) {
9584    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9585    return context;
9586  }
9587
9588  public static List<String> getCompliesWithStringList(ServiceRequest context) {
9589    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9590  }
9591
9592  public static ServiceRequest addCompliesWith(ServiceRequest context, Reference value) {
9593    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9594    return context;
9595  }
9596
9597  public static List<Reference> getCompliesWithReferenceList(ServiceRequest context) {
9598    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9599  }
9600
9601  public static ServiceRequest addCompliesWithUri(ServiceRequest context, String value) {
9602    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9603    return context;
9604  }
9605
9606  public static SupplyRequest addCompliesWithCanonical(SupplyRequest context, String value) {
9607    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9608    return context;
9609  }
9610
9611  public static List<String> getCompliesWithStringList(SupplyRequest context) {
9612    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9613  }
9614
9615  public static SupplyRequest addCompliesWith(SupplyRequest context, Reference value) {
9616    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9617    return context;
9618  }
9619
9620  public static List<Reference> getCompliesWithReferenceList(SupplyRequest context) {
9621    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9622  }
9623
9624  public static SupplyRequest addCompliesWithUri(SupplyRequest context, String value) {
9625    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9626    return context;
9627  }
9628
9629  public static Task addCompliesWithCanonical(Task context, String value) {
9630    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value));
9631    return context;
9632  }
9633
9634  public static List<String> getCompliesWithStringList(Task context) {
9635    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH);
9636  }
9637
9638  public static Task addCompliesWith(Task context, Reference value) {
9639    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value);
9640    return context;
9641  }
9642
9643  public static List<Reference> getCompliesWithReferenceList(Task context) {
9644    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH);
9645  }
9646
9647  public static Task addCompliesWithUri(Task context, String value) {
9648    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value));
9649    return context;
9650  }
9651
9652// -- EpisodeOfCare -------------------------------------
9653// http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare|0.1.0
9654// episode of care
9655
9656  public static Extension makeEpisodeOfCare(Reference value) {
9657    return new Extension(ExtensionConstants.EXT_EPISODE_OF_CARE).setValue(value);
9658  }
9659
9660  public static AdverseEvent addEpisodeOfCare(AdverseEvent context, Reference value) {
9661    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9662    return context;
9663  }
9664
9665  public static List<Reference> getEpisodeOfCareList(AdverseEvent context) {
9666    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9667  }
9668
9669  public static Appointment addEpisodeOfCare(Appointment context, Reference value) {
9670    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9671    return context;
9672  }
9673
9674  public static List<Reference> getEpisodeOfCareList(Appointment context) {
9675    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9676  }
9677
9678  public static Basic addEpisodeOfCare(Basic context, Reference value) {
9679    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9680    return context;
9681  }
9682
9683  public static List<Reference> getEpisodeOfCareList(Basic context) {
9684    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9685  }
9686
9687  public static CarePlan addEpisodeOfCare(CarePlan context, Reference value) {
9688    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9689    return context;
9690  }
9691
9692  public static List<Reference> getEpisodeOfCareList(CarePlan context) {
9693    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9694  }
9695
9696  public static ChargeItem addEpisodeOfCare(ChargeItem context, Reference value) {
9697    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9698    return context;
9699  }
9700
9701  public static List<Reference> getEpisodeOfCareList(ChargeItem context) {
9702    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9703  }
9704
9705  public static ClinicalImpression addEpisodeOfCare(ClinicalImpression context, Reference value) {
9706    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9707    return context;
9708  }
9709
9710  public static List<Reference> getEpisodeOfCareList(ClinicalImpression context) {
9711    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9712  }
9713
9714  public static Communication addEpisodeOfCare(Communication context, Reference value) {
9715    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9716    return context;
9717  }
9718
9719  public static List<Reference> getEpisodeOfCareList(Communication context) {
9720    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9721  }
9722
9723  public static CommunicationRequest addEpisodeOfCare(CommunicationRequest context, Reference value) {
9724    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9725    return context;
9726  }
9727
9728  public static List<Reference> getEpisodeOfCareList(CommunicationRequest context) {
9729    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9730  }
9731
9732  public static Composition addEpisodeOfCare(Composition context, Reference value) {
9733    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9734    return context;
9735  }
9736
9737  public static List<Reference> getEpisodeOfCareList(Composition context) {
9738    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9739  }
9740
9741  public static Condition addEpisodeOfCare(Condition context, Reference value) {
9742    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9743    return context;
9744  }
9745
9746  public static List<Reference> getEpisodeOfCareList(Condition context) {
9747    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9748  }
9749
9750  public static Consent addEpisodeOfCare(Consent context, Reference value) {
9751    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9752    return context;
9753  }
9754
9755  public static List<Reference> getEpisodeOfCareList(Consent context) {
9756    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9757  }
9758
9759  public static DetectedIssue addEpisodeOfCare(DetectedIssue context, Reference value) {
9760    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9761    return context;
9762  }
9763
9764  public static List<Reference> getEpisodeOfCareList(DetectedIssue context) {
9765    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9766  }
9767
9768  public static DeviceRequest addEpisodeOfCare(DeviceRequest context, Reference value) {
9769    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9770    return context;
9771  }
9772
9773  public static List<Reference> getEpisodeOfCareList(DeviceRequest context) {
9774    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9775  }
9776
9777  public static DeviceUsage addEpisodeOfCare(DeviceUsage context, Reference value) {
9778    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9779    return context;
9780  }
9781
9782  public static List<Reference> getEpisodeOfCareList(DeviceUsage context) {
9783    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9784  }
9785
9786  public static DiagnosticReport addEpisodeOfCare(DiagnosticReport context, Reference value) {
9787    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9788    return context;
9789  }
9790
9791  public static List<Reference> getEpisodeOfCareList(DiagnosticReport context) {
9792    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9793  }
9794
9795  public static DocumentReference addEpisodeOfCare(DocumentReference context, Reference value) {
9796    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9797    return context;
9798  }
9799
9800  public static List<Reference> getEpisodeOfCareList(DocumentReference context) {
9801    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9802  }
9803
9804  public static Encounter addEpisodeOfCare(Encounter context, Reference value) {
9805    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9806    return context;
9807  }
9808
9809  public static List<Reference> getEpisodeOfCareList(Encounter context) {
9810    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9811  }
9812
9813  public static EnrollmentRequest addEpisodeOfCare(EnrollmentRequest context, Reference value) {
9814    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9815    return context;
9816  }
9817
9818  public static List<Reference> getEpisodeOfCareList(EnrollmentRequest context) {
9819    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9820  }
9821
9822  public static EnrollmentResponse addEpisodeOfCare(EnrollmentResponse context, Reference value) {
9823    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9824    return context;
9825  }
9826
9827  public static List<Reference> getEpisodeOfCareList(EnrollmentResponse context) {
9828    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9829  }
9830
9831  public static FamilyMemberHistory addEpisodeOfCare(FamilyMemberHistory context, Reference value) {
9832    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9833    return context;
9834  }
9835
9836  public static List<Reference> getEpisodeOfCareList(FamilyMemberHistory context) {
9837    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9838  }
9839
9840  public static Flag addEpisodeOfCare(Flag context, Reference value) {
9841    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9842    return context;
9843  }
9844
9845  public static List<Reference> getEpisodeOfCareList(Flag context) {
9846    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9847  }
9848
9849  public static Goal addEpisodeOfCare(Goal context, Reference value) {
9850    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9851    return context;
9852  }
9853
9854  public static List<Reference> getEpisodeOfCareList(Goal context) {
9855    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9856  }
9857
9858  public static ImagingStudy addEpisodeOfCare(ImagingStudy context, Reference value) {
9859    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9860    return context;
9861  }
9862
9863  public static List<Reference> getEpisodeOfCareList(ImagingStudy context) {
9864    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9865  }
9866
9867  public static Immunization addEpisodeOfCare(Immunization context, Reference value) {
9868    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9869    return context;
9870  }
9871
9872  public static List<Reference> getEpisodeOfCareList(Immunization context) {
9873    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9874  }
9875
9876  public static ImmunizationEvaluation addEpisodeOfCare(ImmunizationEvaluation context, Reference value) {
9877    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9878    return context;
9879  }
9880
9881  public static List<Reference> getEpisodeOfCareList(ImmunizationEvaluation context) {
9882    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9883  }
9884
9885  public static ImmunizationRecommendation addEpisodeOfCare(ImmunizationRecommendation context, Reference value) {
9886    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9887    return context;
9888  }
9889
9890  public static List<Reference> getEpisodeOfCareList(ImmunizationRecommendation context) {
9891    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9892  }
9893
9894  public static Invoice addEpisodeOfCare(Invoice context, Reference value) {
9895    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9896    return context;
9897  }
9898
9899  public static List<Reference> getEpisodeOfCareList(Invoice context) {
9900    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9901  }
9902
9903  public static ListResource addEpisodeOfCare(ListResource context, Reference value) {
9904    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9905    return context;
9906  }
9907
9908  public static List<Reference> getEpisodeOfCareList(ListResource context) {
9909    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9910  }
9911
9912  public static MeasureReport addEpisodeOfCare(MeasureReport context, Reference value) {
9913    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9914    return context;
9915  }
9916
9917  public static List<Reference> getEpisodeOfCareList(MeasureReport context) {
9918    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9919  }
9920
9921  public static MedicationAdministration addEpisodeOfCare(MedicationAdministration context, Reference value) {
9922    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9923    return context;
9924  }
9925
9926  public static List<Reference> getEpisodeOfCareList(MedicationAdministration context) {
9927    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9928  }
9929
9930  public static MedicationDispense addEpisodeOfCare(MedicationDispense context, Reference value) {
9931    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9932    return context;
9933  }
9934
9935  public static List<Reference> getEpisodeOfCareList(MedicationDispense context) {
9936    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9937  }
9938
9939  public static MedicationRequest addEpisodeOfCare(MedicationRequest context, Reference value) {
9940    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9941    return context;
9942  }
9943
9944  public static List<Reference> getEpisodeOfCareList(MedicationRequest context) {
9945    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9946  }
9947
9948  public static MedicationStatement addEpisodeOfCare(MedicationStatement context, Reference value) {
9949    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9950    return context;
9951  }
9952
9953  public static List<Reference> getEpisodeOfCareList(MedicationStatement context) {
9954    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9955  }
9956
9957  public static MolecularSequence addEpisodeOfCare(MolecularSequence context, Reference value) {
9958    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9959    return context;
9960  }
9961
9962  public static List<Reference> getEpisodeOfCareList(MolecularSequence context) {
9963    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9964  }
9965
9966  public static NutritionIntake addEpisodeOfCare(NutritionIntake context, Reference value) {
9967    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9968    return context;
9969  }
9970
9971  public static List<Reference> getEpisodeOfCareList(NutritionIntake context) {
9972    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9973  }
9974
9975  public static NutritionOrder addEpisodeOfCare(NutritionOrder context, Reference value) {
9976    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9977    return context;
9978  }
9979
9980  public static List<Reference> getEpisodeOfCareList(NutritionOrder context) {
9981    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9982  }
9983
9984  public static Observation addEpisodeOfCare(Observation context, Reference value) {
9985    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9986    return context;
9987  }
9988
9989  public static List<Reference> getEpisodeOfCareList(Observation context) {
9990    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
9991  }
9992
9993  public static Procedure addEpisodeOfCare(Procedure context, Reference value) {
9994    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
9995    return context;
9996  }
9997
9998  public static List<Reference> getEpisodeOfCareList(Procedure context) {
9999    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10000  }
10001
10002  public static QuestionnaireResponse addEpisodeOfCare(QuestionnaireResponse context, Reference value) {
10003    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
10004    return context;
10005  }
10006
10007  public static List<Reference> getEpisodeOfCareList(QuestionnaireResponse context) {
10008    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10009  }
10010
10011  public static RequestOrchestration addEpisodeOfCare(RequestOrchestration context, Reference value) {
10012    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
10013    return context;
10014  }
10015
10016  public static List<Reference> getEpisodeOfCareList(RequestOrchestration context) {
10017    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10018  }
10019
10020  public static ResearchSubject addEpisodeOfCare(ResearchSubject context, Reference value) {
10021    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
10022    return context;
10023  }
10024
10025  public static List<Reference> getEpisodeOfCareList(ResearchSubject context) {
10026    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10027  }
10028
10029  public static RiskAssessment addEpisodeOfCare(RiskAssessment context, Reference value) {
10030    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
10031    return context;
10032  }
10033
10034  public static List<Reference> getEpisodeOfCareList(RiskAssessment context) {
10035    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10036  }
10037
10038  public static ServiceRequest addEpisodeOfCare(ServiceRequest context, Reference value) {
10039    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
10040    return context;
10041  }
10042
10043  public static List<Reference> getEpisodeOfCareList(ServiceRequest context) {
10044    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10045  }
10046
10047  public static SupplyDelivery addEpisodeOfCare(SupplyDelivery context, Reference value) {
10048    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
10049    return context;
10050  }
10051
10052  public static List<Reference> getEpisodeOfCareList(SupplyDelivery context) {
10053    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10054  }
10055
10056  public static SupplyRequest addEpisodeOfCare(SupplyRequest context, Reference value) {
10057    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
10058    return context;
10059  }
10060
10061  public static List<Reference> getEpisodeOfCareList(SupplyRequest context) {
10062    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10063  }
10064
10065  public static VisionPrescription addEpisodeOfCare(VisionPrescription context, Reference value) {
10066    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value);
10067    return context;
10068  }
10069
10070  public static List<Reference> getEpisodeOfCareList(VisionPrescription context) {
10071    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE);
10072  }
10073
10074// -- FollowOnOf -------------------------------------
10075// http://hl7.org/fhir/StructureDefinition/workflow-followOnOf|0.1.0
10076// follow on of
10077
10078  public static Extension makeFollowOnOf(Reference value) {
10079    return new Extension(ExtensionConstants.EXT_FOLLOW_ON_OF).setValue(value);
10080  }
10081
10082  public static DeviceRequest addFollowOnOf(DeviceRequest context, Reference value) {
10083    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value);
10084    return context;
10085  }
10086
10087  public static List<Reference> getFollowOnOfList(DeviceRequest context) {
10088    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF);
10089  }
10090
10091  public static Encounter addFollowOnOf(Encounter context, Reference value) {
10092    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value);
10093    return context;
10094  }
10095
10096  public static List<Reference> getFollowOnOfList(Encounter context) {
10097    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF);
10098  }
10099
10100  public static Procedure addFollowOnOf(Procedure context, Reference value) {
10101    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value);
10102    return context;
10103  }
10104
10105  public static List<Reference> getFollowOnOfList(Procedure context) {
10106    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF);
10107  }
10108
10109  public static ServiceRequest addFollowOnOf(ServiceRequest context, Reference value) {
10110    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value);
10111    return context;
10112  }
10113
10114  public static List<Reference> getFollowOnOfList(ServiceRequest context) {
10115    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF);
10116  }
10117
10118  public static Task addFollowOnOf(Task context, Reference value) {
10119    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value);
10120    return context;
10121  }
10122
10123  public static List<Reference> getFollowOnOfList(Task context) {
10124    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF);
10125  }
10126
10127// -- GeneratedFrom -------------------------------------
10128// http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom|0.1.0
10129// generated from
10130
10131  public static Extension makeGeneratedFrom(String value) {
10132    return new Extension(ExtensionConstants.EXT_GENERATED_FROM).setValue(new CanonicalType(value));
10133  }
10134
10135  public static CarePlan setGeneratedFrom(CarePlan context, String value) {
10136    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10137    return context;
10138  }
10139
10140  public static String getGeneratedFrom(CarePlan context) {
10141    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10142  }
10143
10144  public static CommunicationRequest setGeneratedFrom(CommunicationRequest context, String value) {
10145    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10146    return context;
10147  }
10148
10149  public static String getGeneratedFrom(CommunicationRequest context) {
10150    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10151  }
10152
10153  public static DeviceRequest setGeneratedFrom(DeviceRequest context, String value) {
10154    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10155    return context;
10156  }
10157
10158  public static String getGeneratedFrom(DeviceRequest context) {
10159    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10160  }
10161
10162  public static ImmunizationEvaluation setGeneratedFrom(ImmunizationEvaluation context, String value) {
10163    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10164    return context;
10165  }
10166
10167  public static String getGeneratedFrom(ImmunizationEvaluation context) {
10168    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10169  }
10170
10171  public static ImmunizationRecommendation setGeneratedFrom(ImmunizationRecommendation context, String value) {
10172    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10173    return context;
10174  }
10175
10176  public static String getGeneratedFrom(ImmunizationRecommendation context) {
10177    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10178  }
10179
10180  public static NutritionOrder setGeneratedFrom(NutritionOrder context, String value) {
10181    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10182    return context;
10183  }
10184
10185  public static String getGeneratedFrom(NutritionOrder context) {
10186    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10187  }
10188
10189  public static RequestOrchestration setGeneratedFrom(RequestOrchestration context, String value) {
10190    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10191    return context;
10192  }
10193
10194  public static String getGeneratedFrom(RequestOrchestration context) {
10195    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10196  }
10197
10198  public static ServiceRequest setGeneratedFrom(ServiceRequest context, String value) {
10199    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10200    return context;
10201  }
10202
10203  public static String getGeneratedFrom(ServiceRequest context) {
10204    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10205  }
10206
10207  public static SupplyRequest setGeneratedFrom(SupplyRequest context, String value) {
10208    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10209    return context;
10210  }
10211
10212  public static String getGeneratedFrom(SupplyRequest context) {
10213    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10214  }
10215
10216  public static Task setGeneratedFrom(Task context, String value) {
10217    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value));
10218    return context;
10219  }
10220
10221  public static String getGeneratedFrom(Task context) {
10222    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM);
10223  }
10224
10225// -- ProtectiveFactor -------------------------------------
10226// http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor|0.1.0
10227// protective factor
10228
10229  public static Extension makeProtectiveFactor(CodeableReference value) {
10230    return new Extension(ExtensionConstants.EXT_PROTECTIVE_FACTOR).setValue(value);
10231  }
10232
10233  public static CommunicationRequest addProtectiveFactor(CommunicationRequest context, CodeableReference value) {
10234    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PROTECTIVE_FACTOR, value);
10235    return context;
10236  }
10237
10238  public static List<CodeableReference> getProtectiveFactorList(CommunicationRequest context) {
10239    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_PROTECTIVE_FACTOR);
10240  }
10241
10242  public static Goal addProtectiveFactor(Goal context, CodeableReference value) {
10243    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PROTECTIVE_FACTOR, value);
10244    return context;
10245  }
10246
10247  public static List<CodeableReference> getProtectiveFactorList(Goal context) {
10248    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_PROTECTIVE_FACTOR);
10249  }
10250
10251  public static org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent addProtectiveFactor(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, CodeableReference value) {
10252    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PROTECTIVE_FACTOR, value);
10253    return context;
10254  }
10255
10256  public static List<CodeableReference> getProtectiveFactorList(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) {
10257    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_PROTECTIVE_FACTOR);
10258  }
10259
10260// -- WorkflowReason -------------------------------------
10261// http://hl7.org/fhir/StructureDefinition/workflow-reason|0.1.0
10262// Workflow Reason
10263
10264  public static Extension makeWorkflowReason(CodeableReference value) {
10265    return new Extension(ExtensionConstants.EXT_WORKFLOW_REASON).setValue(value);
10266  }
10267
10268  public static DiagnosticReport addWorkflowReason(DiagnosticReport context, CodeableReference value) {
10269    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_REASON, value);
10270    return context;
10271  }
10272
10273  public static List<CodeableReference> getWorkflowReasonList(DiagnosticReport context) {
10274    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_REASON);
10275  }
10276
10277  public static DocumentReference addWorkflowReason(DocumentReference context, CodeableReference value) {
10278    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_REASON, value);
10279    return context;
10280  }
10281
10282  public static List<CodeableReference> getWorkflowReasonList(DocumentReference context) {
10283    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_REASON);
10284  }
10285
10286  public static NutritionOrder addWorkflowReason(NutritionOrder context, CodeableReference value) {
10287    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_REASON, value);
10288    return context;
10289  }
10290
10291  public static List<CodeableReference> getWorkflowReasonList(NutritionOrder context) {
10292    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_REASON);
10293  }
10294
10295  public static Observation addWorkflowReason(Observation context, CodeableReference value) {
10296    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_REASON, value);
10297    return context;
10298  }
10299
10300  public static List<CodeableReference> getWorkflowReasonList(Observation context) {
10301    return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_REASON);
10302  }
10303
10304// -- RelatedArtifact -------------------------------------
10305// http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact|0.1.0
10306// related artifact
10307
10308  public static Extension makeRelatedArtifact(RelatedArtifact value) {
10309    return new Extension(ExtensionConstants.EXT_RELATED_ARTIFACT).setValue(value);
10310  }
10311
10312  public static ConceptMap addRelatedArtifact(ConceptMap context, RelatedArtifact value) {
10313    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELATED_ARTIFACT, value);
10314    return context;
10315  }
10316
10317  public static List<RelatedArtifact> getRelatedArtifactList(ConceptMap context) {
10318    return ExtensionsUtils.getExtensionList(RelatedArtifact.class, context, ExtensionConstants.EXT_RELATED_ARTIFACT);
10319  }
10320
10321  public static DiagnosticReport addRelatedArtifact(DiagnosticReport context, RelatedArtifact value) {
10322    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELATED_ARTIFACT, value);
10323    return context;
10324  }
10325
10326  public static List<RelatedArtifact> getRelatedArtifactList(DiagnosticReport context) {
10327    return ExtensionsUtils.getExtensionList(RelatedArtifact.class, context, ExtensionConstants.EXT_RELATED_ARTIFACT);
10328  }
10329
10330  public static Observation addRelatedArtifact(Observation context, RelatedArtifact value) {
10331    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELATED_ARTIFACT, value);
10332    return context;
10333  }
10334
10335  public static List<RelatedArtifact> getRelatedArtifactList(Observation context) {
10336    return ExtensionsUtils.getExtensionList(RelatedArtifact.class, context, ExtensionConstants.EXT_RELATED_ARTIFACT);
10337  }
10338
10339// -- ReleaseDate -------------------------------------
10340// http://hl7.org/fhir/StructureDefinition/workflow-releaseDate|0.1.0
10341// release date
10342
10343  public static Extension makeReleaseDate(String value) {
10344    return new Extension(ExtensionConstants.EXT_RELEASE_DATE).setValue(new DateTimeType(value));
10345  }
10346
10347  public static Account setReleaseDate(Account context, String value) {
10348    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10349    return context;
10350  }
10351
10352  public static String getReleaseDate(Account context) {
10353    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10354  }
10355
10356  public static Appointment setReleaseDate(Appointment context, String value) {
10357    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10358    return context;
10359  }
10360
10361  public static String getReleaseDate(Appointment context) {
10362    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10363  }
10364
10365  public static ArtifactAssessment setReleaseDate(ArtifactAssessment context, String value) {
10366    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10367    return context;
10368  }
10369
10370  public static String getReleaseDate(ArtifactAssessment context) {
10371    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10372  }
10373
10374  public static CarePlan setReleaseDate(CarePlan context, String value) {
10375    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10376    return context;
10377  }
10378
10379  public static String getReleaseDate(CarePlan context) {
10380    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10381  }
10382
10383  public static ClinicalImpression setReleaseDate(ClinicalImpression context, String value) {
10384    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10385    return context;
10386  }
10387
10388  public static String getReleaseDate(ClinicalImpression context) {
10389    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10390  }
10391
10392  public static Communication setReleaseDate(Communication context, String value) {
10393    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10394    return context;
10395  }
10396
10397  public static String getReleaseDate(Communication context) {
10398    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10399  }
10400
10401  public static CommunicationRequest setReleaseDate(CommunicationRequest context, String value) {
10402    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10403    return context;
10404  }
10405
10406  public static String getReleaseDate(CommunicationRequest context) {
10407    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10408  }
10409
10410  public static Contract setReleaseDate(Contract context, String value) {
10411    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10412    return context;
10413  }
10414
10415  public static String getReleaseDate(Contract context) {
10416    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10417  }
10418
10419  public static DeviceDispense setReleaseDate(DeviceDispense context, String value) {
10420    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10421    return context;
10422  }
10423
10424  public static String getReleaseDate(DeviceDispense context) {
10425    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10426  }
10427
10428  public static DeviceRequest setReleaseDate(DeviceRequest context, String value) {
10429    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10430    return context;
10431  }
10432
10433  public static String getReleaseDate(DeviceRequest context) {
10434    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10435  }
10436
10437  public static DeviceUsage setReleaseDate(DeviceUsage context, String value) {
10438    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10439    return context;
10440  }
10441
10442  public static String getReleaseDate(DeviceUsage context) {
10443    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10444  }
10445
10446  public static Encounter setReleaseDate(Encounter context, String value) {
10447    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10448    return context;
10449  }
10450
10451  public static String getReleaseDate(Encounter context) {
10452    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10453  }
10454
10455  public static Endpoint setReleaseDate(Endpoint context, String value) {
10456    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10457    return context;
10458  }
10459
10460  public static String getReleaseDate(Endpoint context) {
10461    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10462  }
10463
10464  public static EpisodeOfCare setReleaseDate(EpisodeOfCare context, String value) {
10465    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10466    return context;
10467  }
10468
10469  public static String getReleaseDate(EpisodeOfCare context) {
10470    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10471  }
10472
10473  public static Goal setReleaseDate(Goal context, String value) {
10474    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10475    return context;
10476  }
10477
10478  public static String getReleaseDate(Goal context) {
10479    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10480  }
10481
10482  public static MedicationAdministration setReleaseDate(MedicationAdministration context, String value) {
10483    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10484    return context;
10485  }
10486
10487  public static String getReleaseDate(MedicationAdministration context) {
10488    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10489  }
10490
10491  public static MedicationDispense setReleaseDate(MedicationDispense context, String value) {
10492    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10493    return context;
10494  }
10495
10496  public static String getReleaseDate(MedicationDispense context) {
10497    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10498  }
10499
10500  public static MedicationRequest setReleaseDate(MedicationRequest context, String value) {
10501    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10502    return context;
10503  }
10504
10505  public static String getReleaseDate(MedicationRequest context) {
10506    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10507  }
10508
10509  public static NutritionIntake setReleaseDate(NutritionIntake context, String value) {
10510    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10511    return context;
10512  }
10513
10514  public static String getReleaseDate(NutritionIntake context) {
10515    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10516  }
10517
10518  public static NutritionOrder setReleaseDate(NutritionOrder context, String value) {
10519    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10520    return context;
10521  }
10522
10523  public static String getReleaseDate(NutritionOrder context) {
10524    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10525  }
10526
10527  public static Procedure setReleaseDate(Procedure context, String value) {
10528    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10529    return context;
10530  }
10531
10532  public static String getReleaseDate(Procedure context) {
10533    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10534  }
10535
10536  public static RequestOrchestration setReleaseDate(RequestOrchestration context, String value) {
10537    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10538    return context;
10539  }
10540
10541  public static String getReleaseDate(RequestOrchestration context) {
10542    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10543  }
10544
10545  public static ServiceRequest setReleaseDate(ServiceRequest context, String value) {
10546    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10547    return context;
10548  }
10549
10550  public static String getReleaseDate(ServiceRequest context) {
10551    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10552  }
10553
10554  public static SupplyRequest setReleaseDate(SupplyRequest context, String value) {
10555    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10556    return context;
10557  }
10558
10559  public static String getReleaseDate(SupplyRequest context) {
10560    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10561  }
10562
10563  public static Task setReleaseDate(Task context, String value) {
10564    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10565    return context;
10566  }
10567
10568  public static String getReleaseDate(Task context) {
10569    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10570  }
10571
10572  public static org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent setReleaseDate(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, String value) {
10573    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value));
10574    return context;
10575  }
10576
10577  public static String getReleaseDate(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) {
10578    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE);
10579  }
10580
10581// -- ResearchStudy -------------------------------------
10582// http://hl7.org/fhir/StructureDefinition/workflow-researchStudy|0.1.0
10583// research study
10584
10585  public static Extension makeResearchStudy(Reference value) {
10586    return new Extension(ExtensionConstants.EXT_RESEARCH_STUDY).setValue(value);
10587  }
10588
10589  public static Composition addResearchStudy(Composition context, Reference value) {
10590    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10591    return context;
10592  }
10593
10594  public static List<Reference> getResearchStudyList(Composition context) {
10595    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10596  }
10597
10598  public static Consent addResearchStudy(Consent context, Reference value) {
10599    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10600    return context;
10601  }
10602
10603  public static List<Reference> getResearchStudyList(Consent context) {
10604    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10605  }
10606
10607  public static DeviceUsage addResearchStudy(DeviceUsage context, Reference value) {
10608    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10609    return context;
10610  }
10611
10612  public static List<Reference> getResearchStudyList(DeviceUsage context) {
10613    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10614  }
10615
10616  public static DiagnosticReport addResearchStudy(DiagnosticReport context, Reference value) {
10617    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10618    return context;
10619  }
10620
10621  public static List<Reference> getResearchStudyList(DiagnosticReport context) {
10622    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10623  }
10624
10625  public static DocumentReference addResearchStudy(DocumentReference context, Reference value) {
10626    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10627    return context;
10628  }
10629
10630  public static List<Reference> getResearchStudyList(DocumentReference context) {
10631    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10632  }
10633
10634  public static Encounter addResearchStudy(Encounter context, Reference value) {
10635    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10636    return context;
10637  }
10638
10639  public static List<Reference> getResearchStudyList(Encounter context) {
10640    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10641  }
10642
10643  public static FamilyMemberHistory addResearchStudy(FamilyMemberHistory context, Reference value) {
10644    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10645    return context;
10646  }
10647
10648  public static List<Reference> getResearchStudyList(FamilyMemberHistory context) {
10649    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10650  }
10651
10652  public static Immunization addResearchStudy(Immunization context, Reference value) {
10653    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10654    return context;
10655  }
10656
10657  public static List<Reference> getResearchStudyList(Immunization context) {
10658    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10659  }
10660
10661  public static MedicationAdministration addResearchStudy(MedicationAdministration context, Reference value) {
10662    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10663    return context;
10664  }
10665
10666  public static List<Reference> getResearchStudyList(MedicationAdministration context) {
10667    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10668  }
10669
10670  public static MedicationDispense addResearchStudy(MedicationDispense context, Reference value) {
10671    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10672    return context;
10673  }
10674
10675  public static List<Reference> getResearchStudyList(MedicationDispense context) {
10676    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10677  }
10678
10679  public static MedicationStatement addResearchStudy(MedicationStatement context, Reference value) {
10680    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10681    return context;
10682  }
10683
10684  public static List<Reference> getResearchStudyList(MedicationStatement context) {
10685    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10686  }
10687
10688  public static Observation addResearchStudy(Observation context, Reference value) {
10689    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10690    return context;
10691  }
10692
10693  public static List<Reference> getResearchStudyList(Observation context) {
10694    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10695  }
10696
10697  public static Procedure addResearchStudy(Procedure context, Reference value) {
10698    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10699    return context;
10700  }
10701
10702  public static List<Reference> getResearchStudyList(Procedure context) {
10703    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10704  }
10705
10706  public static QuestionnaireResponse addResearchStudy(QuestionnaireResponse context, Reference value) {
10707    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10708    return context;
10709  }
10710
10711  public static List<Reference> getResearchStudyList(QuestionnaireResponse context) {
10712    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10713  }
10714
10715  public static RiskAssessment addResearchStudy(RiskAssessment context, Reference value) {
10716    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10717    return context;
10718  }
10719
10720  public static List<Reference> getResearchStudyList(RiskAssessment context) {
10721    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10722  }
10723
10724  public static ServiceRequest addResearchStudy(ServiceRequest context, Reference value) {
10725    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10726    return context;
10727  }
10728
10729  public static List<Reference> getResearchStudyList(ServiceRequest context) {
10730    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10731  }
10732
10733  public static SupplyDelivery addResearchStudy(SupplyDelivery context, Reference value) {
10734    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10735    return context;
10736  }
10737
10738  public static List<Reference> getResearchStudyList(SupplyDelivery context) {
10739    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10740  }
10741
10742  public static Task addResearchStudy(Task context, Reference value) {
10743    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value);
10744    return context;
10745  }
10746
10747  public static List<Reference> getResearchStudyList(Task context) {
10748    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY);
10749  }
10750
10751// -- ShallComplyWith -------------------------------------
10752// http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith|0.1.0
10753// shall comply with
10754
10755  public static Extension makeShallComplyWithCanonical(String value) {
10756    return new Extension(ExtensionConstants.EXT_SHALL_COMPLY_WITH).setValue(new CanonicalType(value));
10757  }
10758
10759  public static Extension makeShallComplyWith(Reference value) {
10760    return new Extension(ExtensionConstants.EXT_SHALL_COMPLY_WITH).setValue(value);
10761  }
10762
10763  public static Extension makeShallComplyWithUri(String value) {
10764    return new Extension(ExtensionConstants.EXT_SHALL_COMPLY_WITH).setValue(new UriType(value));
10765  }
10766
10767  public static ActivityDefinition addShallComplyWithCanonical(ActivityDefinition context, String value) {
10768    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10769    return context;
10770  }
10771
10772  public static List<String> getShallComplyWithStringList(ActivityDefinition context) {
10773    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10774  }
10775
10776  public static ActivityDefinition addShallComplyWith(ActivityDefinition context, Reference value) {
10777    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10778    return context;
10779  }
10780
10781  public static List<Reference> getShallComplyWithReferenceList(ActivityDefinition context) {
10782    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10783  }
10784
10785  public static ActivityDefinition addShallComplyWithUri(ActivityDefinition context, String value) {
10786    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10787    return context;
10788  }
10789
10790  public static CommunicationRequest addShallComplyWithCanonical(CommunicationRequest context, String value) {
10791    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10792    return context;
10793  }
10794
10795  public static List<String> getShallComplyWithStringList(CommunicationRequest context) {
10796    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10797  }
10798
10799  public static CommunicationRequest addShallComplyWith(CommunicationRequest context, Reference value) {
10800    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10801    return context;
10802  }
10803
10804  public static List<Reference> getShallComplyWithReferenceList(CommunicationRequest context) {
10805    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10806  }
10807
10808  public static CommunicationRequest addShallComplyWithUri(CommunicationRequest context, String value) {
10809    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10810    return context;
10811  }
10812
10813  public static Condition addShallComplyWithCanonical(Condition context, String value) {
10814    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10815    return context;
10816  }
10817
10818  public static List<String> getShallComplyWithStringList(Condition context) {
10819    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10820  }
10821
10822  public static Condition addShallComplyWith(Condition context, Reference value) {
10823    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10824    return context;
10825  }
10826
10827  public static List<Reference> getShallComplyWithReferenceList(Condition context) {
10828    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10829  }
10830
10831  public static Condition addShallComplyWithUri(Condition context, String value) {
10832    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10833    return context;
10834  }
10835
10836  public static DiagnosticReport addShallComplyWithCanonical(DiagnosticReport context, String value) {
10837    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10838    return context;
10839  }
10840
10841  public static List<String> getShallComplyWithStringList(DiagnosticReport context) {
10842    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10843  }
10844
10845  public static DiagnosticReport addShallComplyWith(DiagnosticReport context, Reference value) {
10846    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10847    return context;
10848  }
10849
10850  public static List<Reference> getShallComplyWithReferenceList(DiagnosticReport context) {
10851    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10852  }
10853
10854  public static DiagnosticReport addShallComplyWithUri(DiagnosticReport context, String value) {
10855    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10856    return context;
10857  }
10858
10859  public static DocumentReference addShallComplyWithCanonical(DocumentReference context, String value) {
10860    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10861    return context;
10862  }
10863
10864  public static List<String> getShallComplyWithStringList(DocumentReference context) {
10865    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10866  }
10867
10868  public static DocumentReference addShallComplyWith(DocumentReference context, Reference value) {
10869    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10870    return context;
10871  }
10872
10873  public static List<Reference> getShallComplyWithReferenceList(DocumentReference context) {
10874    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10875  }
10876
10877  public static DocumentReference addShallComplyWithUri(DocumentReference context, String value) {
10878    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10879    return context;
10880  }
10881
10882  public static Measure addShallComplyWithCanonical(Measure context, String value) {
10883    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10884    return context;
10885  }
10886
10887  public static List<String> getShallComplyWithStringList(Measure context) {
10888    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10889  }
10890
10891  public static Measure addShallComplyWith(Measure context, Reference value) {
10892    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10893    return context;
10894  }
10895
10896  public static List<Reference> getShallComplyWithReferenceList(Measure context) {
10897    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10898  }
10899
10900  public static Measure addShallComplyWithUri(Measure context, String value) {
10901    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10902    return context;
10903  }
10904
10905  public static Observation addShallComplyWithCanonical(Observation context, String value) {
10906    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10907    return context;
10908  }
10909
10910  public static List<String> getShallComplyWithStringList(Observation context) {
10911    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10912  }
10913
10914  public static Observation addShallComplyWith(Observation context, Reference value) {
10915    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10916    return context;
10917  }
10918
10919  public static List<Reference> getShallComplyWithReferenceList(Observation context) {
10920    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10921  }
10922
10923  public static Observation addShallComplyWithUri(Observation context, String value) {
10924    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10925    return context;
10926  }
10927
10928  public static OperationDefinition addShallComplyWithCanonical(OperationDefinition context, String value) {
10929    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10930    return context;
10931  }
10932
10933  public static List<String> getShallComplyWithStringList(OperationDefinition context) {
10934    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10935  }
10936
10937  public static OperationDefinition addShallComplyWith(OperationDefinition context, Reference value) {
10938    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10939    return context;
10940  }
10941
10942  public static List<Reference> getShallComplyWithReferenceList(OperationDefinition context) {
10943    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10944  }
10945
10946  public static OperationDefinition addShallComplyWithUri(OperationDefinition context, String value) {
10947    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10948    return context;
10949  }
10950
10951  public static PlanDefinition addShallComplyWithCanonical(PlanDefinition context, String value) {
10952    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10953    return context;
10954  }
10955
10956  public static List<String> getShallComplyWithStringList(PlanDefinition context) {
10957    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10958  }
10959
10960  public static PlanDefinition addShallComplyWith(PlanDefinition context, Reference value) {
10961    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10962    return context;
10963  }
10964
10965  public static List<Reference> getShallComplyWithReferenceList(PlanDefinition context) {
10966    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10967  }
10968
10969  public static PlanDefinition addShallComplyWithUri(PlanDefinition context, String value) {
10970    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10971    return context;
10972  }
10973
10974  public static SupplyDelivery addShallComplyWithCanonical(SupplyDelivery context, String value) {
10975    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10976    return context;
10977  }
10978
10979  public static List<String> getShallComplyWithStringList(SupplyDelivery context) {
10980    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10981  }
10982
10983  public static SupplyDelivery addShallComplyWith(SupplyDelivery context, Reference value) {
10984    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
10985    return context;
10986  }
10987
10988  public static List<Reference> getShallComplyWithReferenceList(SupplyDelivery context) {
10989    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
10990  }
10991
10992  public static SupplyDelivery addShallComplyWithUri(SupplyDelivery context, String value) {
10993    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
10994    return context;
10995  }
10996
10997  public static SupplyRequest addShallComplyWithCanonical(SupplyRequest context, String value) {
10998    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value));
10999    return context;
11000  }
11001
11002  public static List<String> getShallComplyWithStringList(SupplyRequest context) {
11003    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
11004  }
11005
11006  public static SupplyRequest addShallComplyWith(SupplyRequest context, Reference value) {
11007    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value);
11008    return context;
11009  }
11010
11011  public static List<Reference> getShallComplyWithReferenceList(SupplyRequest context) {
11012    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH);
11013  }
11014
11015  public static SupplyRequest addShallComplyWithUri(SupplyRequest context, String value) {
11016    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value));
11017    return context;
11018  }
11019
11020// -- SupportingInfo -------------------------------------
11021// http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo|0.1.0
11022// supporting info
11023
11024  public static Extension makeSupportingInfo(Reference value) {
11025    return new Extension(ExtensionConstants.EXT_SUPPORTING_INFO).setValue(value);
11026  }
11027
11028  public static CommunicationRequest addSupportingInfo(CommunicationRequest context, Reference value) {
11029    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value);
11030    return context;
11031  }
11032
11033  public static List<Reference> getSupportingInfoList(CommunicationRequest context) {
11034    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO);
11035  }
11036
11037  public static DiagnosticReport addSupportingInfo(DiagnosticReport context, Reference value) {
11038    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value);
11039    return context;
11040  }
11041
11042  public static List<Reference> getSupportingInfoList(DiagnosticReport context) {
11043    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO);
11044  }
11045
11046  public static DocumentReference addSupportingInfo(DocumentReference context, Reference value) {
11047    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value);
11048    return context;
11049  }
11050
11051  public static List<Reference> getSupportingInfoList(DocumentReference context) {
11052    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO);
11053  }
11054
11055  public static Encounter addSupportingInfo(Encounter context, Reference value) {
11056    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value);
11057    return context;
11058  }
11059
11060  public static List<Reference> getSupportingInfoList(Encounter context) {
11061    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO);
11062  }
11063
11064  public static Observation addSupportingInfo(Observation context, Reference value) {
11065    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value);
11066    return context;
11067  }
11068
11069  public static List<Reference> getSupportingInfoList(Observation context) {
11070    return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO);
11071  }
11072
11073// -- TriggeredBy -------------------------------------
11074// http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy|0.1.0
11075// triggered by
11076
11077  public static Extension makeTriggeredByCanonical(String value) {
11078    return new Extension(ExtensionConstants.EXT_TRIGGERED_BY).setValue(new CanonicalType(value));
11079  }
11080
11081  public static Extension makeTriggeredBy(Reference value) {
11082    return new Extension(ExtensionConstants.EXT_TRIGGERED_BY).setValue(value);
11083  }
11084
11085  public static Extension makeTriggeredByUri(String value) {
11086    return new Extension(ExtensionConstants.EXT_TRIGGERED_BY).setValue(new UriType(value));
11087  }
11088
11089  public static CarePlan setTriggeredByCanonical(CarePlan context, String value) {
11090    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11091    return context;
11092  }
11093
11094  public static String getTriggeredByString(CarePlan context) {
11095    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11096  }
11097
11098  public static CarePlan setTriggeredBy(CarePlan context, Reference value) {
11099    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11100    return context;
11101  }
11102
11103  public static Reference getTriggeredByReference(CarePlan context) {
11104    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11105  }
11106
11107  public static CarePlan setTriggeredByUri(CarePlan context, String value) {
11108    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11109    return context;
11110  }
11111
11112  public static Communication setTriggeredByCanonical(Communication context, String value) {
11113    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11114    return context;
11115  }
11116
11117  public static String getTriggeredByString(Communication context) {
11118    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11119  }
11120
11121  public static Communication setTriggeredBy(Communication context, Reference value) {
11122    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11123    return context;
11124  }
11125
11126  public static Reference getTriggeredByReference(Communication context) {
11127    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11128  }
11129
11130  public static Communication setTriggeredByUri(Communication context, String value) {
11131    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11132    return context;
11133  }
11134
11135  public static CommunicationRequest setTriggeredByCanonical(CommunicationRequest context, String value) {
11136    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11137    return context;
11138  }
11139
11140  public static String getTriggeredByString(CommunicationRequest context) {
11141    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11142  }
11143
11144  public static CommunicationRequest setTriggeredBy(CommunicationRequest context, Reference value) {
11145    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11146    return context;
11147  }
11148
11149  public static Reference getTriggeredByReference(CommunicationRequest context) {
11150    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11151  }
11152
11153  public static CommunicationRequest setTriggeredByUri(CommunicationRequest context, String value) {
11154    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11155    return context;
11156  }
11157
11158  public static Condition setTriggeredByCanonical(Condition context, String value) {
11159    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11160    return context;
11161  }
11162
11163  public static String getTriggeredByString(Condition context) {
11164    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11165  }
11166
11167  public static Condition setTriggeredBy(Condition context, Reference value) {
11168    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11169    return context;
11170  }
11171
11172  public static Reference getTriggeredByReference(Condition context) {
11173    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11174  }
11175
11176  public static Condition setTriggeredByUri(Condition context, String value) {
11177    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11178    return context;
11179  }
11180
11181  public static DeviceRequest setTriggeredByCanonical(DeviceRequest context, String value) {
11182    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11183    return context;
11184  }
11185
11186  public static String getTriggeredByString(DeviceRequest context) {
11187    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11188  }
11189
11190  public static DeviceRequest setTriggeredBy(DeviceRequest context, Reference value) {
11191    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11192    return context;
11193  }
11194
11195  public static Reference getTriggeredByReference(DeviceRequest context) {
11196    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11197  }
11198
11199  public static DeviceRequest setTriggeredByUri(DeviceRequest context, String value) {
11200    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11201    return context;
11202  }
11203
11204  public static DiagnosticReport setTriggeredByCanonical(DiagnosticReport context, String value) {
11205    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11206    return context;
11207  }
11208
11209  public static String getTriggeredByString(DiagnosticReport context) {
11210    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11211  }
11212
11213  public static DiagnosticReport setTriggeredBy(DiagnosticReport context, Reference value) {
11214    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11215    return context;
11216  }
11217
11218  public static Reference getTriggeredByReference(DiagnosticReport context) {
11219    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11220  }
11221
11222  public static DiagnosticReport setTriggeredByUri(DiagnosticReport context, String value) {
11223    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11224    return context;
11225  }
11226
11227  public static DocumentReference setTriggeredByCanonical(DocumentReference context, String value) {
11228    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11229    return context;
11230  }
11231
11232  public static String getTriggeredByString(DocumentReference context) {
11233    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11234  }
11235
11236  public static DocumentReference setTriggeredBy(DocumentReference context, Reference value) {
11237    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11238    return context;
11239  }
11240
11241  public static Reference getTriggeredByReference(DocumentReference context) {
11242    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11243  }
11244
11245  public static DocumentReference setTriggeredByUri(DocumentReference context, String value) {
11246    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11247    return context;
11248  }
11249
11250  public static Encounter setTriggeredByCanonical(Encounter context, String value) {
11251    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11252    return context;
11253  }
11254
11255  public static String getTriggeredByString(Encounter context) {
11256    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11257  }
11258
11259  public static Encounter setTriggeredBy(Encounter context, Reference value) {
11260    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11261    return context;
11262  }
11263
11264  public static Reference getTriggeredByReference(Encounter context) {
11265    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11266  }
11267
11268  public static Encounter setTriggeredByUri(Encounter context, String value) {
11269    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11270    return context;
11271  }
11272
11273  public static FamilyMemberHistory setTriggeredByCanonical(FamilyMemberHistory context, String value) {
11274    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11275    return context;
11276  }
11277
11278  public static String getTriggeredByString(FamilyMemberHistory context) {
11279    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11280  }
11281
11282  public static FamilyMemberHistory setTriggeredBy(FamilyMemberHistory context, Reference value) {
11283    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11284    return context;
11285  }
11286
11287  public static Reference getTriggeredByReference(FamilyMemberHistory context) {
11288    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11289  }
11290
11291  public static FamilyMemberHistory setTriggeredByUri(FamilyMemberHistory context, String value) {
11292    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11293    return context;
11294  }
11295
11296  public static Immunization setTriggeredByCanonical(Immunization context, String value) {
11297    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11298    return context;
11299  }
11300
11301  public static String getTriggeredByString(Immunization context) {
11302    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11303  }
11304
11305  public static Immunization setTriggeredBy(Immunization context, Reference value) {
11306    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11307    return context;
11308  }
11309
11310  public static Reference getTriggeredByReference(Immunization context) {
11311    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11312  }
11313
11314  public static Immunization setTriggeredByUri(Immunization context, String value) {
11315    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11316    return context;
11317  }
11318
11319  public static ImmunizationRecommendation setTriggeredByCanonical(ImmunizationRecommendation context, String value) {
11320    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11321    return context;
11322  }
11323
11324  public static String getTriggeredByString(ImmunizationRecommendation context) {
11325    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11326  }
11327
11328  public static ImmunizationRecommendation setTriggeredBy(ImmunizationRecommendation context, Reference value) {
11329    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11330    return context;
11331  }
11332
11333  public static Reference getTriggeredByReference(ImmunizationRecommendation context) {
11334    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11335  }
11336
11337  public static ImmunizationRecommendation setTriggeredByUri(ImmunizationRecommendation context, String value) {
11338    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11339    return context;
11340  }
11341
11342  public static NutritionOrder setTriggeredByCanonical(NutritionOrder context, String value) {
11343    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11344    return context;
11345  }
11346
11347  public static String getTriggeredByString(NutritionOrder context) {
11348    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11349  }
11350
11351  public static NutritionOrder setTriggeredBy(NutritionOrder context, Reference value) {
11352    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11353    return context;
11354  }
11355
11356  public static Reference getTriggeredByReference(NutritionOrder context) {
11357    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11358  }
11359
11360  public static NutritionOrder setTriggeredByUri(NutritionOrder context, String value) {
11361    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11362    return context;
11363  }
11364
11365  public static Observation setTriggeredByCanonical(Observation context, String value) {
11366    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11367    return context;
11368  }
11369
11370  public static String getTriggeredByString(Observation context) {
11371    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11372  }
11373
11374  public static Observation setTriggeredBy(Observation context, Reference value) {
11375    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11376    return context;
11377  }
11378
11379  public static Reference getTriggeredByReference(Observation context) {
11380    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11381  }
11382
11383  public static Observation setTriggeredByUri(Observation context, String value) {
11384    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11385    return context;
11386  }
11387
11388  public static QuestionnaireResponse setTriggeredByCanonical(QuestionnaireResponse context, String value) {
11389    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11390    return context;
11391  }
11392
11393  public static String getTriggeredByString(QuestionnaireResponse context) {
11394    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11395  }
11396
11397  public static QuestionnaireResponse setTriggeredBy(QuestionnaireResponse context, Reference value) {
11398    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11399    return context;
11400  }
11401
11402  public static Reference getTriggeredByReference(QuestionnaireResponse context) {
11403    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11404  }
11405
11406  public static QuestionnaireResponse setTriggeredByUri(QuestionnaireResponse context, String value) {
11407    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11408    return context;
11409  }
11410
11411  public static RequestOrchestration setTriggeredByCanonical(RequestOrchestration context, String value) {
11412    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11413    return context;
11414  }
11415
11416  public static String getTriggeredByString(RequestOrchestration context) {
11417    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11418  }
11419
11420  public static RequestOrchestration setTriggeredBy(RequestOrchestration context, Reference value) {
11421    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11422    return context;
11423  }
11424
11425  public static Reference getTriggeredByReference(RequestOrchestration context) {
11426    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11427  }
11428
11429  public static RequestOrchestration setTriggeredByUri(RequestOrchestration context, String value) {
11430    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11431    return context;
11432  }
11433
11434  public static ServiceRequest setTriggeredByCanonical(ServiceRequest context, String value) {
11435    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11436    return context;
11437  }
11438
11439  public static String getTriggeredByString(ServiceRequest context) {
11440    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11441  }
11442
11443  public static ServiceRequest setTriggeredBy(ServiceRequest context, Reference value) {
11444    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11445    return context;
11446  }
11447
11448  public static Reference getTriggeredByReference(ServiceRequest context) {
11449    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11450  }
11451
11452  public static ServiceRequest setTriggeredByUri(ServiceRequest context, String value) {
11453    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11454    return context;
11455  }
11456
11457  public static SupplyDelivery setTriggeredByCanonical(SupplyDelivery context, String value) {
11458    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11459    return context;
11460  }
11461
11462  public static String getTriggeredByString(SupplyDelivery context) {
11463    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11464  }
11465
11466  public static SupplyDelivery setTriggeredBy(SupplyDelivery context, Reference value) {
11467    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11468    return context;
11469  }
11470
11471  public static Reference getTriggeredByReference(SupplyDelivery context) {
11472    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11473  }
11474
11475  public static SupplyDelivery setTriggeredByUri(SupplyDelivery context, String value) {
11476    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11477    return context;
11478  }
11479
11480  public static SupplyRequest setTriggeredByCanonical(SupplyRequest context, String value) {
11481    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11482    return context;
11483  }
11484
11485  public static String getTriggeredByString(SupplyRequest context) {
11486    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11487  }
11488
11489  public static SupplyRequest setTriggeredBy(SupplyRequest context, Reference value) {
11490    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11491    return context;
11492  }
11493
11494  public static Reference getTriggeredByReference(SupplyRequest context) {
11495    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11496  }
11497
11498  public static SupplyRequest setTriggeredByUri(SupplyRequest context, String value) {
11499    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11500    return context;
11501  }
11502
11503  public static Task setTriggeredByCanonical(Task context, String value) {
11504    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value));
11505    return context;
11506  }
11507
11508  public static String getTriggeredByString(Task context) {
11509    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY);
11510  }
11511
11512  public static Task setTriggeredBy(Task context, Reference value) {
11513    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value);
11514    return context;
11515  }
11516
11517  public static Reference getTriggeredByReference(Task context) {
11518    return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY);
11519  }
11520
11521  public static Task setTriggeredByUri(Task context, String value) {
11522    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value));
11523    return context;
11524  }
11525
11526// -- BindingDefinition -------------------------------------
11527// http://hl7.org/fhir/tools/StructureDefinition/binding-definition|0.1.0
11528// Binding Definition
11529
11530  public static Extension makeBindingDefinition(String value) {
11531    return new Extension(ExtensionConstants.EXT_BINDING_DEFINITION).setValue(new MarkdownType(value));
11532  }
11533
11534  public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addBindingDefinition(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) {
11535    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BINDING_DEFINITION, new MarkdownType(value));
11536    return context;
11537  }
11538
11539  public static List<String> getBindingDefinitionList(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) {
11540    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_BINDING_DEFINITION);
11541  }
11542
11543// -- VocabBindingStylesEXT -------------------------------------
11544// http://hl7.org/fhir/tools/StructureDefinition/binding-style|0.1.0
11545// Vocab Binding Style Extension
11546
11547  public static Extension makeVocabBindingStylesEXT(String value) {
11548    return new Extension(ExtensionConstants.EXT_VOCAB_BINDING_STYLES_E_X_T).setValue(new CodeType(value));
11549  }
11550
11551  public static StructureDefinition addVocabBindingStylesEXT(StructureDefinition context, String value) {
11552    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VOCAB_BINDING_STYLES_E_X_T, new CodeType(value));
11553    return context;
11554  }
11555
11556  public static List<String> getVocabBindingStylesEXTList(StructureDefinition context) {
11557    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VOCAB_BINDING_STYLES_E_X_T);
11558  }
11559
11560// -- DateFormat -------------------------------------
11561// http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format|0.1.0
11562// Date Format String
11563
11564  public static Extension makeDateFormat(String value) {
11565    return new Extension(ExtensionConstants.EXT_DATE_FORMAT).setValue(new StringType(value));
11566  }
11567
11568  public static ElementDefinition addDateFormat(ElementDefinition context, String value) {
11569    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DATE_FORMAT, new StringType(value));
11570    return context;
11571  }
11572
11573  public static List<String> getDateFormatList(ElementDefinition context) {
11574    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_DATE_FORMAT);
11575  }
11576
11577// -- JsonPropertyName -------------------------------------
11578// http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-json-name|0.1.0
11579// Json Property Name Extension
11580
11581  public static Extension makeJsonPropertyName(String value) {
11582    return new Extension(ExtensionConstants.EXT_JSON_PROPERTY_NAME).setValue(new StringType(value));
11583  }
11584
11585  public static ElementDefinition addJsonPropertyName(ElementDefinition context, String value) {
11586    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_PROPERTY_NAME, new StringType(value));
11587    return context;
11588  }
11589
11590  public static List<String> getJsonPropertyNameList(ElementDefinition context) {
11591    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_PROPERTY_NAME);
11592  }
11593
11594// -- ExtensionStylesEXT -------------------------------------
11595// http://hl7.org/fhir/tools/StructureDefinition/extension-style|0.1.0
11596// Extension Style Extension
11597
11598  public static Extension makeExtensionStylesEXT(String value) {
11599    return new Extension(ExtensionConstants.EXT_EXTENSION_STYLES_E_X_T).setValue(new CodeType(value));
11600  }
11601
11602  public static StructureDefinition addExtensionStylesEXT(StructureDefinition context, String value) {
11603    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EXTENSION_STYLES_E_X_T, new CodeType(value));
11604    return context;
11605  }
11606
11607  public static List<String> getExtensionStylesEXTList(StructureDefinition context) {
11608    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_EXTENSION_STYLES_E_X_T);
11609  }
11610
11611// -- IdExpectationExt -------------------------------------
11612// http://hl7.org/fhir/tools/StructureDefinition/id-expectation|0.1.0
11613// Id Expectation Extension
11614
11615  public static Extension makeIdExpectationExt(String value) {
11616    return new Extension(ExtensionConstants.EXT_ID_EXPECTATION_EXT).setValue(new CodeType(value));
11617  }
11618
11619  public static ElementDefinition addIdExpectationExt(ElementDefinition context, String value) {
11620    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ID_EXPECTATION_EXT, new CodeType(value));
11621    return context;
11622  }
11623
11624  public static List<String> getIdExpectationExtList(ElementDefinition context) {
11625    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ID_EXPECTATION_EXT);
11626  }
11627
11628  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addIdExpectationExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) {
11629    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ID_EXPECTATION_EXT, new CodeType(value));
11630    return context;
11631  }
11632
11633  public static List<String> getIdExpectationExtList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
11634    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ID_EXPECTATION_EXT);
11635  }
11636
11637// -- IGPageName -------------------------------------
11638// http://hl7.org/fhir/tools/StructureDefinition/ig-page-name|0.1.0
11639// IG Page Name
11640
11641  public static Extension makeIGPageName(String value) {
11642    return new Extension(ExtensionConstants.EXT_IGPAGE_NAME).setValue(new UrlType(value));
11643  }
11644
11645// -- IGDependencyComment -------------------------------------
11646// http://hl7.org/fhir/tools/StructureDefinition/implementationguide-dependency-comment|0.1.0
11647// IG Dependency Comment
11648
11649  public static Extension makeIGDependencyComment(String value) {
11650    return new Extension(ExtensionConstants.EXT_IGDEPENDENCY_COMMENT).setValue(new MarkdownType(value));
11651  }
11652
11653  public static org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent addIGDependencyComment(org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent context, String value) {
11654    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_IGDEPENDENCY_COMMENT, new MarkdownType(value));
11655    return context;
11656  }
11657
11658  public static List<String> getIGDependencyCommentList(org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent context) {
11659    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_IGDEPENDENCY_COMMENT);
11660  }
11661
11662// -- BinaryResourceFormat -------------------------------------
11663// http://hl7.org/fhir/tools/StructureDefinition/implementationguide-resource-format|0.1.0
11664// Binary Resource Format
11665
11666  public static Extension makeBinaryResourceFormat(String value) {
11667    return new Extension(ExtensionConstants.EXT_BINARY_RESOURCE_FORMAT).setValue(new CodeType(value));
11668  }
11669
11670// -- BinaryResourceLogical -------------------------------------
11671// http://hl7.org/fhir/tools/StructureDefinition/implementationguide-resource-logical|0.1.0
11672// Binary Resource Logical
11673
11674  public static Extension makeBinaryResourceLogical(String value) {
11675    return new Extension(ExtensionConstants.EXT_BINARY_RESOURCE_LOGICAL).setValue(new CanonicalType(value));
11676  }
11677
11678// -- ImpliedStringPrefix -------------------------------------
11679// http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix|0.1.0
11680// Implied String Prefix
11681
11682  public static Extension makeImpliedStringPrefix(String value) {
11683    return new Extension(ExtensionConstants.EXT_IMPLIED_STRING_PREFIX).setValue(new StringType(value));
11684  }
11685
11686  public static ElementDefinition addImpliedStringPrefix(ElementDefinition context, String value) {
11687    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_IMPLIED_STRING_PREFIX, new StringType(value));
11688    return context;
11689  }
11690
11691  public static List<String> getImpliedStringPrefixList(ElementDefinition context) {
11692    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_IMPLIED_STRING_PREFIX);
11693  }
11694
11695// -- JsonEmptyBehavior -------------------------------------
11696// http://hl7.org/fhir/tools/StructureDefinition/json-empty-behavior|0.1.0
11697// Json Empty Behavior Extension
11698
11699  public static Extension makeJsonEmptyBehavior(String value) {
11700    return new Extension(ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR).setValue(new CodeType(value));
11701  }
11702
11703  public static ElementDefinition addJsonEmptyBehavior(ElementDefinition context, String value) {
11704    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR, new CodeType(value));
11705    return context;
11706  }
11707
11708  public static List<String> getJsonEmptyBehaviorList(ElementDefinition context) {
11709    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR);
11710  }
11711
11712  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addJsonEmptyBehavior(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) {
11713    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR, new CodeType(value));
11714    return context;
11715  }
11716
11717  public static List<String> getJsonEmptyBehaviorList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
11718    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR);
11719  }
11720
11721// -- JsonNullableExt -------------------------------------
11722// http://hl7.org/fhir/tools/StructureDefinition/json-nullable|0.1.0
11723// Json Nullable Extension
11724
11725  public static Extension makeJsonNullableExt(boolean value) {
11726    return new Extension(ExtensionConstants.EXT_JSON_NULLABLE_EXT).setValue(new BooleanType(value));
11727  }
11728
11729  public static ElementDefinition setJsonNullableExt(ElementDefinition context, boolean value) {
11730    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_JSON_NULLABLE_EXT, new BooleanType(value));
11731    return context;
11732  }
11733
11734  public static Boolean getJsonNullableExt(ElementDefinition context) {
11735    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_JSON_NULLABLE_EXT);
11736  }
11737
11738  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setJsonNullableExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) {
11739    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_JSON_NULLABLE_EXT, new BooleanType(value));
11740    return context;
11741  }
11742
11743  public static Boolean getJsonNullableExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
11744    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_JSON_NULLABLE_EXT);
11745  }
11746
11747// -- JsonPrimitiveChoiceExt -------------------------------------
11748// http://hl7.org/fhir/tools/StructureDefinition/json-primitive-choice|0.1.0
11749// Json Primitive Choice Extension
11750
11751  public static Extension makeJsonPrimitiveChoiceExt(boolean value) {
11752    return new Extension(ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT).setValue(new BooleanType(value));
11753  }
11754
11755  public static ElementDefinition setJsonPrimitiveChoiceExt(ElementDefinition context, boolean value) {
11756    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT, new BooleanType(value));
11757    return context;
11758  }
11759
11760  public static Boolean getJsonPrimitiveChoiceExt(ElementDefinition context) {
11761    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT);
11762  }
11763
11764  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setJsonPrimitiveChoiceExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) {
11765    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT, new BooleanType(value));
11766    return context;
11767  }
11768
11769  public static Boolean getJsonPrimitiveChoiceExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
11770    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT);
11771  }
11772
11773// -- JsonPropertyKey -------------------------------------
11774// http://hl7.org/fhir/tools/StructureDefinition/json-property-key|0.1.0
11775// Json Property Key Extension
11776
11777  public static Extension makeJsonPropertyKey(String value) {
11778    return new Extension(ExtensionConstants.EXT_JSON_PROPERTY_KEY).setValue(new CodeType(value));
11779  }
11780
11781  public static ElementDefinition addJsonPropertyKey(ElementDefinition context, String value) {
11782    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_PROPERTY_KEY, new CodeType(value));
11783    return context;
11784  }
11785
11786  public static List<String> getJsonPropertyKeyList(ElementDefinition context) {
11787    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_PROPERTY_KEY);
11788  }
11789
11790  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addJsonPropertyKey(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) {
11791    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_PROPERTY_KEY, new CodeType(value));
11792    return context;
11793  }
11794
11795  public static List<String> getJsonPropertyKeyList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
11796    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_PROPERTY_KEY);
11797  }
11798
11799// -- NoBinding -------------------------------------
11800// http://hl7.org/fhir/tools/StructureDefinition/no-binding|0.1.0
11801// No Binding Extension
11802
11803  public static Extension makeNoBinding(boolean value) {
11804    return new Extension(ExtensionConstants.EXT_NO_BINDING).setValue(new BooleanType(value));
11805  }
11806
11807  public static ElementDefinition setNoBinding(ElementDefinition context, boolean value) {
11808    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NO_BINDING, new BooleanType(value));
11809    return context;
11810  }
11811
11812  public static Boolean getNoBinding(ElementDefinition context) {
11813    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_NO_BINDING);
11814  }
11815
11816  public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setNoBinding(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) {
11817    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NO_BINDING, new BooleanType(value));
11818    return context;
11819  }
11820
11821  public static Boolean getNoBinding(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) {
11822    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_NO_BINDING);
11823  }
11824
11825// -- ProfileMapping -------------------------------------
11826// http://hl7.org/fhir/tools/StructureDefinition/profile-mapping|0.1.0
11827// Profile Mapping Extension
11828
11829  public static Extension makeProfileMapping(DataType value) {
11830    return new Extension(ExtensionConstants.EXT_PROFILE_MAPPING).setValue(value);
11831  }
11832
11833// -- ProfileSummary -------------------------------------
11834// http://hl7.org/fhir/tools/StructureDefinition/profile-summary|0.1.0
11835// ProfileSummary
11836
11837  public static Extension makeProfileSummary(String value) {
11838    return new Extension(ExtensionConstants.EXT_PROFILE_SUMMARY).setValue(new MarkdownType(value));
11839  }
11840
11841  public static StructureDefinition addProfileSummary(StructureDefinition context, String value) {
11842    ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PROFILE_SUMMARY, new MarkdownType(value));
11843    return context;
11844  }
11845
11846  public static List<String> getProfileSummaryList(StructureDefinition context) {
11847    return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_PROFILE_SUMMARY);
11848  }
11849
11850// -- SelectByMap -------------------------------------
11851// http://hl7.org/fhir/tools/StructureDefinition/select-by-map|0.1.0
11852// Select By Map
11853
11854  public static Extension makeSelectByMap(String value) {
11855    return new Extension(ExtensionConstants.EXT_SELECT_BY_MAP).setValue(new CanonicalType(value));
11856  }
11857
11858// -- SupportedConceptRelationshipInverseName -------------------------------------
11859// http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName|0.0.34
11860// MIF concept relationship inverse name
11861
11862  public static Extension makeSupportedConceptRelationshipInverseName(String value) {
11863    return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_INVERSE_NAME).setValue(new StringType(value));
11864  }
11865
11866  public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipInverseName(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) {
11867    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_INVERSE_NAME, new StringType(value));
11868    return context;
11869  }
11870
11871  public static String getSupportedConceptRelationshipInverseName(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) {
11872    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_INVERSE_NAME);
11873  }
11874
11875// -- SupportedConceptRelationshipIsNavigable -------------------------------------
11876// http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable|0.0.34
11877// MIF concept relationship is navigable
11878
11879  public static Extension makeSupportedConceptRelationshipIsNavigable(boolean value) {
11880    return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_IS_NAVIGABLE).setValue(new BooleanType(value));
11881  }
11882
11883  public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipIsNavigable(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, boolean value) {
11884    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_IS_NAVIGABLE, new BooleanType(value));
11885    return context;
11886  }
11887
11888  public static Boolean getSupportedConceptRelationshipIsNavigable(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) {
11889    return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_IS_NAVIGABLE);
11890  }
11891
11892// -- SupportedConceptRelationshipReflexivity -------------------------------------
11893// http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity|0.0.34
11894// MIF concept relationship is reflexivity
11895
11896  public static Extension makeSupportedConceptRelationshipReflexivity(String value) {
11897    return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_REFLEXIVITY).setValue(new CodeType(value));
11898  }
11899
11900  public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipReflexivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) {
11901    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_REFLEXIVITY, new CodeType(value));
11902    return context;
11903  }
11904
11905  public static String getSupportedConceptRelationshipReflexivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) {
11906    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_REFLEXIVITY);
11907  }
11908
11909// -- SupportedConceptRelationshipRelationshipKind -------------------------------------
11910// http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind|0.0.34
11911// MIF concept relationship kind
11912
11913  public static Extension makeSupportedConceptRelationshipRelationshipKind(String value) {
11914    return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_RELATIONSHIP_KIND).setValue(new CodeType(value));
11915  }
11916
11917  public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipRelationshipKind(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) {
11918    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_RELATIONSHIP_KIND, new CodeType(value));
11919    return context;
11920  }
11921
11922  public static String getSupportedConceptRelationshipRelationshipKind(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) {
11923    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_RELATIONSHIP_KIND);
11924  }
11925
11926// -- SupportedConceptRelationshipSymmetry -------------------------------------
11927// http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry|0.0.34
11928// MIF concept relationship symmetry
11929
11930  public static Extension makeSupportedConceptRelationshipSymmetry(String value) {
11931    return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_SYMMETRY).setValue(new CodeType(value));
11932  }
11933
11934  public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipSymmetry(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) {
11935    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_SYMMETRY, new CodeType(value));
11936    return context;
11937  }
11938
11939  public static String getSupportedConceptRelationshipSymmetry(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) {
11940    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_SYMMETRY);
11941  }
11942
11943// -- SupportedConceptRelationshipTransitivity -------------------------------------
11944// http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity|0.0.34
11945// MIF concept relationship transitivity
11946
11947  public static Extension makeSupportedConceptRelationshipTransitivity(String value) {
11948    return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_TRANSITIVITY).setValue(new CodeType(value));
11949  }
11950
11951  public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipTransitivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) {
11952    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_TRANSITIVITY, new CodeType(value));
11953    return context;
11954  }
11955
11956  public static String getSupportedConceptRelationshipTransitivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) {
11957    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_TRANSITIVITY);
11958  }
11959
11960// -- NamingSystemTitle -------------------------------------
11961// http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title|0.0.34
11962// NamingSystem title
11963
11964  public static Extension makeNamingSystemTitle(String value) {
11965    return new Extension(ExtensionConstants.EXT_NAMING_SYSTEM_TITLE).setValue(new StringType(value));
11966  }
11967
11968  public static NamingSystem setNamingSystemTitle(NamingSystem context, String value) {
11969    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NAMING_SYSTEM_TITLE, new StringType(value));
11970    return context;
11971  }
11972
11973  public static String getNamingSystemTitle(NamingSystem context) {
11974    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NAMING_SYSTEM_TITLE);
11975  }
11976
11977// -- NamingSystemVersion -------------------------------------
11978// http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version|0.0.34
11979// NamingSystem version
11980
11981  public static Extension makeNamingSystemVersion(String value) {
11982    return new Extension(ExtensionConstants.EXT_NAMING_SYSTEM_VERSION).setValue(new StringType(value));
11983  }
11984
11985  public static NamingSystem setNamingSystemVersion(NamingSystem context, String value) {
11986    ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NAMING_SYSTEM_VERSION, new StringType(value));
11987    return context;
11988  }
11989
11990  public static String getNamingSystemVersion(NamingSystem context) {
11991    return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NAMING_SYSTEM_VERSION);
11992  }
11993
11994
11995
11996}