From ce75d578084a9a7a2cb7f8b6e46eb2f77f2fdfbc Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Sat, 25 Mar 2023 21:54:53 +1100 Subject: [PATCH] fix extension status and extension generator --- .../misc/ExtensionStatusUpgrader.java | 118 + .../JavaExtensionsFactoryGenerator.java | 16 +- .../hl7/fhir/r5/extensions/Extensions.java | 4552 ++++++++--------- .../utils/formats/ResourceFolderVisitor.java | 72 + 4 files changed, 2474 insertions(+), 2284 deletions(-) create mode 100644 org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/misc/ExtensionStatusUpgrader.java create mode 100644 org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/formats/ResourceFolderVisitor.java diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/misc/ExtensionStatusUpgrader.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/misc/ExtensionStatusUpgrader.java new file mode 100644 index 000000000..baa7a0a90 --- /dev/null +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/misc/ExtensionStatusUpgrader.java @@ -0,0 +1,118 @@ +package org.hl7.fhir.convertors.misc; + +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +import org.hl7.fhir.convertors.conv40_50.VersionConvertor_40_50; +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_40_50; +import org.hl7.fhir.r5.model.CanonicalResource; +import org.hl7.fhir.r5.model.Enumerations.PublicationStatus; +import org.hl7.fhir.r5.model.Resource; +import org.hl7.fhir.r5.utils.ToolingExtensions; +import org.hl7.fhir.r5.utils.formats.ResourceFolderVisitor; +import org.hl7.fhir.r5.utils.formats.ResourceFolderVisitor.IResourceObserver; +import org.hl7.fhir.utilities.StandardsStatus; +import org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager; +import org.hl7.fhir.utilities.npm.NpmPackage; + +public class ExtensionStatusUpgrader implements IResourceObserver { + + public static void main(String[] args) throws IOException { + new ExtensionStatusUpgrader().execute(args[0]); + + } + Map r4b = new HashMap<>(); + Map r5 = new HashMap<>(); + + private void execute(String folder) throws IOException { + FilesystemPackageCacheManager pcm = new FilesystemPackageCacheManager(true); + + // load R4 + NpmPackage npm = pcm.loadPackage("hl7.fhir.r4.core"); + for (String n : npm.listResources("StructureDefinition", "ValueSet", "CodeSystem", "SearchParameter")) { + CanonicalResource cr = (CanonicalResource) VersionConvertorFactory_40_50.convertResource(new org.hl7.fhir.r4.formats.JsonParser().parse(npm.load(n))); + r4b.put(cr.getUrl(), cr); + } + // load R5-ballot3 + npm = pcm.loadPackage("hl7.fhir.r5.core#5.0.0-ballot"); + for (String n : npm.listResources("StructureDefinition", "ValueSet", "CodeSystem", "SearchParameter")) { + CanonicalResource cr = (CanonicalResource) new org.hl7.fhir.r5.formats.JsonParser().parse(npm.load(n)); + r5.put(cr.getUrl(), cr); + } + + new ResourceFolderVisitor(this, "StructureDefinition", "ValueSet", "CodeSystem", "SearchParameter").visit(folder); + } + + @Override + public boolean visitResource(String filename, Resource resource) { + boolean changed = false; + CanonicalResource cr = (CanonicalResource) resource; + if (r4b.containsKey(cr.getUrl())) { + CanonicalResource ocr = r4b.get(cr.getUrl()); + if (cr.getStatus() != PublicationStatus.ACTIVE) { + cr.setStatus(PublicationStatus.ACTIVE); + changed = true; + } + if (ocr.getStandardsStatus() == StandardsStatus.NORMATIVE) { + if (cr.getStandardsStatus() != StandardsStatus.NORMATIVE) { + cr.setStandardsStatus(StandardsStatus.NORMATIVE); + changed = true; + } + } else { + if (cr.getStandardsStatus() != StandardsStatus.TRIAL_USE) { + cr.setStandardsStatus(StandardsStatus.TRIAL_USE); + changed = true; + } + } + if (cr.getExperimental()) { + cr.setExperimental(false); + changed = true; + } + if (!"3".equals(ToolingExtensions.readStringExtension(cr, ToolingExtensions.EXT_FMM_LEVEL))) { + ToolingExtensions.setIntegerExtension(cr, ToolingExtensions.EXT_FMM_LEVEL, 3); + changed = true; + } + } else if (r5.containsKey(cr.getUrl())) { + CanonicalResource ocr = r5.get(cr.getUrl()); + if (cr.getStatus() != PublicationStatus.DRAFT) { + cr.setStatus(PublicationStatus.DRAFT); + changed = true; + } + if (ocr.getStandardsStatus() == StandardsStatus.NORMATIVE) { + if (cr.getStandardsStatus() != StandardsStatus.NORMATIVE) { + cr.setStandardsStatus(StandardsStatus.NORMATIVE); + changed = true; + } + } else { + if (cr.getStandardsStatus() != StandardsStatus.TRIAL_USE) { + cr.setStandardsStatus(StandardsStatus.TRIAL_USE); + changed = true; + } + } + if (cr.getExperimental()) { + cr.setExperimental(false); + changed = true; + } + if (!"2".equals(ToolingExtensions.readStringExtension(cr, ToolingExtensions.EXT_FMM_LEVEL))) { + ToolingExtensions.setIntegerExtension(cr, ToolingExtensions.EXT_FMM_LEVEL, 2); + changed = true; + } + } else { + if (cr.getStatus() != PublicationStatus.DRAFT) { + cr.setStatus(PublicationStatus.DRAFT); + changed = true; + } + if (cr.getStandardsStatus() != StandardsStatus.DRAFT) { + cr.setStandardsStatus(StandardsStatus.DRAFT); + changed = true; + } + if (!cr.getExperimental()) { + cr.setExperimental(true); + changed = true; + } + } + return changed; + } + +} diff --git a/org.hl7.fhir.core.generator/src/org/hl7/fhir/core/generator/codegen/extensions/JavaExtensionsFactoryGenerator.java b/org.hl7.fhir.core.generator/src/org/hl7/fhir/core/generator/codegen/extensions/JavaExtensionsFactoryGenerator.java index c0e50e89d..3c59a38c9 100644 --- a/org.hl7.fhir.core.generator/src/org/hl7/fhir/core/generator/codegen/extensions/JavaExtensionsFactoryGenerator.java +++ b/org.hl7.fhir.core.generator/src/org/hl7/fhir/core/generator/codegen/extensions/JavaExtensionsFactoryGenerator.java @@ -101,23 +101,23 @@ public class JavaExtensionsFactoryGenerator extends JavaBaseGenerator { ElementDefinition edValue = sd.getSnapshot().getElementByPath("Extension.value[x]"); List types = analyseTypes(edValue); if (types.size() > 5) { - src.append(" public Extension make"+name+"(DataType value) {\r\n"); + src.append(" public static Extension make"+name+"(DataType value) {\r\n"); src.append(" return new Extension(ExtensionConstants.EXT_"+constName+").setValue(value);\r\n"); src.append(" }\r\n"); src.append("\r\n"); for (String ctxt : Utilities.sorted(contexts)) { - src.append(" public "+ctxt+" "+verb+name+"("+ctxt+" context, DataType value) {\r\n"); + src.append(" public static "+ctxt+" "+verb+name+"("+ctxt+" context, DataType value) {\r\n"); src.append(" ExtensionsUtils."+verb+"Extension(context, ExtensionConstants.EXT_"+constName+", value);\r\n"); src.append(" return context;\r\n"); src.append(" }\r\n"); src.append("\r\n"); if (repeats) { - src.append(" public List get"+name+"List("+ctxt+" context) {\r\n"); + src.append(" public static List get"+name+"List("+ctxt+" context) {\r\n"); src.append(" return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_"+constName+");\r\n"); src.append(" }\r\n"); src.append("\r\n"); } else { - src.append(" public DataType get"+name+"("+ctxt+" context) {\r\n"); + src.append(" public static DataType get"+name+"("+ctxt+" context) {\r\n"); src.append(" return ExtensionsUtils.getExtension(DataType.class, context, ExtensionConstants.EXT_"+constName+");\r\n"); src.append(" }\r\n"); src.append("\r\n"); @@ -126,7 +126,7 @@ public class JavaExtensionsFactoryGenerator extends JavaBaseGenerator { } else { for (TypeTuple t : types) { String sfx = typeCount(t.getJavaType(), types) > 1 ? Utilities.capitalize(t.getFhirType()) : ""; - src.append(" public Extension make"+name+sfx+"("+t.getJavaType()+" value) {\r\n"); + src.append(" public static Extension make"+name+sfx+"("+t.getJavaType()+" value) {\r\n"); src.append(" return new Extension(ExtensionConstants.EXT_"+constName+").setValue("+(t.adapt("value"))+");\r\n"); src.append(" }\r\n"); src.append("\r\n"); @@ -135,7 +135,7 @@ public class JavaExtensionsFactoryGenerator extends JavaBaseGenerator { Set td = new HashSet<>(); for (TypeTuple t : types) { String sfx = typeCount(t.getJavaType(), types) > 1 ? Utilities.capitalize(t.getFhirType()) : ""; - src.append(" public "+ctxt+" "+verb+name+sfx+"("+ctxt+" context, "+t.getJavaType()+" value) {\r\n"); + src.append(" public static "+ctxt+" "+verb+name+sfx+"("+ctxt+" context, "+t.getJavaType()+" value) {\r\n"); src.append(" ExtensionsUtils."+verb+"Extension(context, ExtensionConstants.EXT_"+constName+", "+(t.adapt("value"))+");\r\n"); src.append(" return context;\r\n"); src.append(" }\r\n"); @@ -144,7 +144,7 @@ public class JavaExtensionsFactoryGenerator extends JavaBaseGenerator { if (!td.contains(sfx)) { td.add(sfx); if (repeats) { - src.append(" public List<"+t.getJavaRType()+"> get"+name+sfx+"List("+ctxt+" context) {\r\n"); + src.append(" public static List<"+t.getJavaRType()+"> get"+name+sfx+"List("+ctxt+" context) {\r\n"); if (t.getFhirType() == null) { src.append(" return ExtensionsUtils.getExtensionList("+t.getJavaType()+".class, context, ExtensionConstants.EXT_"+constName+");\r\n"); } else { @@ -153,7 +153,7 @@ public class JavaExtensionsFactoryGenerator extends JavaBaseGenerator { src.append(" }\r\n"); src.append("\r\n"); } else { - src.append(" public "+t.getJavaRType()+" get"+name+sfx+"("+ctxt+" context) {\r\n"); + src.append(" public static "+t.getJavaRType()+" get"+name+sfx+"("+ctxt+" context) {\r\n"); if (t.getFhirType() == null) { src.append(" return ExtensionsUtils.getExtension("+t.getJavaType()+".class, context, ExtensionConstants.EXT_"+constName+");\r\n"); } else { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/extensions/Extensions.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/extensions/Extensions.java index e018c221d..468ce99b4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/extensions/Extensions.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/extensions/Extensions.java @@ -47,7 +47,7 @@ public class Extensions { // http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities|0.1.0 // Capabilities - public Extension makeCapabilities(String value) { + public static Extension makeCapabilities(String value) { return new Extension(ExtensionConstants.EXT_CAPABILITIES).setValue(new CodeType(value)); } @@ -55,16 +55,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/11179-objectClass|0.1.0 // object class - public Extension makeObjectClass(Coding value) { + public static Extension makeObjectClass(Coding value) { return new Extension(ExtensionConstants.EXT_OBJECT_CLASS).setValue(value); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setObjectClass(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, Coding value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setObjectClass(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, Coding value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBJECT_CLASS, value); return context; } - public Coding getObjectClass(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) { + public static Coding getObjectClass(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) { return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_OBJECT_CLASS); } @@ -72,16 +72,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty|0.1.0 // object class property - public Extension makeObjectClassProperty(Coding value) { + public static Extension makeObjectClassProperty(Coding value) { return new Extension(ExtensionConstants.EXT_OBJECT_CLASS_PROPERTY).setValue(value); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setObjectClassProperty(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, Coding value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setObjectClassProperty(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, Coding value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBJECT_CLASS_PROPERTY, value); return context; } - public Coding getObjectClassProperty(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) { + public static Coding getObjectClassProperty(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) { return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_OBJECT_CLASS_PROPERTY); } @@ -89,7 +89,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap|0.1.0 // Permitted Value Conceptmap - public Extension makePermittedValueConceptmap(String value) { + public static Extension makePermittedValueConceptmap(String value) { return new Extension(ExtensionConstants.EXT_PERMITTED_VALUE_CONCEPTMAP).setValue(new CanonicalType(value)); } @@ -97,7 +97,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset|0.1.0 // Permitted Value Valueset - public Extension makePermittedValueValueset(String value) { + public static Extension makePermittedValueValueset(String value) { return new Extension(ExtensionConstants.EXT_PERMITTED_VALUE_VALUESET).setValue(new CanonicalType(value)); } @@ -105,16 +105,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/_datatype|0.1.0 // Datatype - public Extension makeDatatype(String value) { + public static Extension makeDatatype(String value) { return new Extension(ExtensionConstants.EXT_DATATYPE).setValue(new StringType(value)); } - public Base setDatatype(Base context, String value) { + public static Base setDatatype(Base context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DATATYPE, new StringType(value)); return context; } - public String getDatatype(Base context) { + public static String getDatatype(Base context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DATATYPE); } @@ -122,16 +122,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/additionalIdentifier|0.1.0 // additional identifier - public Extension makeAdditionalIdentifier(Identifier value) { + public static Extension makeAdditionalIdentifier(Identifier value) { return new Extension(ExtensionConstants.EXT_ADDITIONAL_IDENTIFIER).setValue(value); } - public Reference addAdditionalIdentifier(Reference context, Identifier value) { + public static Reference addAdditionalIdentifier(Reference context, Identifier value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADDITIONAL_IDENTIFIER, value); return context; } - public List getAdditionalIdentifierList(Reference context) { + public static List getAdditionalIdentifierList(Reference context) { return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_ADDITIONAL_IDENTIFIER); } @@ -139,63 +139,63 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement|0.1.0 // Abatement - public Extension makeAbatementDateTime(String value) { + public static Extension makeAbatementDateTime(String value) { return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(new DateTimeType(value)); } - public Extension makeAbatement(Age value) { + public static Extension makeAbatement(Age value) { return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(value); } - public Extension makeAbatement(Period value) { + public static Extension makeAbatement(Period value) { return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(value); } - public Extension makeAbatement(Range value) { + public static Extension makeAbatement(Range value) { return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(value); } - public Extension makeAbatementString(String value) { + public static Extension makeAbatementString(String value) { return new Extension(ExtensionConstants.EXT_ABATEMENT).setValue(new StringType(value)); } - public AllergyIntolerance setAbatementDateTime(AllergyIntolerance context, String value) { + public static AllergyIntolerance setAbatementDateTime(AllergyIntolerance context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, new DateTimeType(value)); return context; } - public String getAbatementString(AllergyIntolerance context) { + public static String getAbatementString(AllergyIntolerance context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ABATEMENT); } - public AllergyIntolerance setAbatement(AllergyIntolerance context, Age value) { + public static AllergyIntolerance setAbatement(AllergyIntolerance context, Age value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, value); return context; } - public Age getAbatementAge(AllergyIntolerance context) { + public static Age getAbatementAge(AllergyIntolerance context) { return ExtensionsUtils.getExtension(Age.class, context, ExtensionConstants.EXT_ABATEMENT); } - public AllergyIntolerance setAbatement(AllergyIntolerance context, Period value) { + public static AllergyIntolerance setAbatement(AllergyIntolerance context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, value); return context; } - public Period getAbatementPeriod(AllergyIntolerance context) { + public static Period getAbatementPeriod(AllergyIntolerance context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_ABATEMENT); } - public AllergyIntolerance setAbatement(AllergyIntolerance context, Range value) { + public static AllergyIntolerance setAbatement(AllergyIntolerance context, Range value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, value); return context; } - public Range getAbatementRange(AllergyIntolerance context) { + public static Range getAbatementRange(AllergyIntolerance context) { return ExtensionsUtils.getExtension(Range.class, context, ExtensionConstants.EXT_ABATEMENT); } - public AllergyIntolerance setAbatementString(AllergyIntolerance context, String value) { + public static AllergyIntolerance setAbatementString(AllergyIntolerance context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ABATEMENT, new StringType(value)); return context; } @@ -204,16 +204,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate|0.1.0 // AllergyIntolerance AssertedDate - public Extension makeAIAssertedDate(String value) { + public static Extension makeAIAssertedDate(String value) { return new Extension(ExtensionConstants.EXT_AIASSERTED_DATE).setValue(new DateTimeType(value)); } - public AllergyIntolerance setAIAssertedDate(AllergyIntolerance context, String value) { + public static AllergyIntolerance setAIAssertedDate(AllergyIntolerance context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIASSERTED_DATE, new DateTimeType(value)); return context; } - public String getAIAssertedDate(AllergyIntolerance context) { + public static String getAIAssertedDate(AllergyIntolerance context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_AIASSERTED_DATE); } @@ -221,16 +221,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty|0.1.0 // AllergyIntolerance Certainty - public Extension makeAICertainty(CodeableConcept value) { + public static Extension makeAICertainty(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_AICERTAINTY).setValue(value); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAICertainty(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAICertainty(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AICERTAINTY, value); return context; } - public CodeableConcept getAICertainty(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static CodeableConcept getAICertainty(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_AICERTAINTY); } @@ -238,16 +238,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration|0.1.0 // AllergyIntolerance Duration - public Extension makeAIDuration(Duration value) { + public static Extension makeAIDuration(Duration value) { return new Extension(ExtensionConstants.EXT_AIDURATION).setValue(value); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Duration value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Duration value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIDURATION, value); return context; } - public Duration getAIDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static Duration getAIDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtension(Duration.class, context, ExtensionConstants.EXT_AIDURATION); } @@ -255,16 +255,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted|0.1.0 // AllergyIntolerance Reason Refuted - public Extension makeAIReasonRefuted(CodeableConcept value) { + public static Extension makeAIReasonRefuted(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_AIREASON_REFUTED).setValue(value); } - public AllergyIntolerance setAIReasonRefuted(AllergyIntolerance context, CodeableConcept value) { + public static AllergyIntolerance setAIReasonRefuted(AllergyIntolerance context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIREASON_REFUTED, value); return context; } - public CodeableConcept getAIReasonRefuted(AllergyIntolerance context) { + public static CodeableConcept getAIReasonRefuted(AllergyIntolerance context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_AIREASON_REFUTED); } @@ -272,16 +272,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge|0.1.0 // AllergyIntolerance Resolution Age - public Extension makeAIResolutionAge(Age value) { + public static Extension makeAIResolutionAge(Age value) { return new Extension(ExtensionConstants.EXT_AIRESOLUTION_AGE).setValue(value); } - public AllergyIntolerance setAIResolutionAge(AllergyIntolerance context, Age value) { + public static AllergyIntolerance setAIResolutionAge(AllergyIntolerance context, Age value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIRESOLUTION_AGE, value); return context; } - public Age getAIResolutionAge(AllergyIntolerance context) { + public static Age getAIResolutionAge(AllergyIntolerance context) { return ExtensionsUtils.getExtension(Age.class, context, ExtensionConstants.EXT_AIRESOLUTION_AGE); } @@ -289,16 +289,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/alternate-canonical|0.1.0 // Alternate Canonical - public Extension makeAlternateCanonical(String value) { + public static Extension makeAlternateCanonical(String value) { return new Extension(ExtensionConstants.EXT_ALTERNATE_CANONICAL).setValue(new CanonicalType(value)); } - public CanonicalType setAlternateCanonical(CanonicalType context, String value) { + public static CanonicalType setAlternateCanonical(CanonicalType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALTERNATE_CANONICAL, new CanonicalType(value)); return context; } - public String getAlternateCanonical(CanonicalType context) { + public static String getAlternateCanonical(CanonicalType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ALTERNATE_CANONICAL); } @@ -306,16 +306,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/alternate-codes|0.1.0 // Alternate Codes - public Extension makeAlternateCodes(CodeableConcept value) { + public static Extension makeAlternateCodes(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_ALTERNATE_CODES).setValue(value); } - public CodeType addAlternateCodes(CodeType context, CodeableConcept value) { + public static CodeType addAlternateCodes(CodeType context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ALTERNATE_CODES, value); return context; } - public List getAlternateCodesList(CodeType context) { + public static List getAlternateCodesList(CodeType context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_ALTERNATE_CODES); } @@ -323,16 +323,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/alternate-reference|0.1.0 // Alternate Reference - public Extension makeAlternateReference(Reference value) { + public static Extension makeAlternateReference(Reference value) { return new Extension(ExtensionConstants.EXT_ALTERNATE_REFERENCE).setValue(value); } - public Reference setAlternateReference(Reference context, Reference value) { + public static Reference setAlternateReference(Reference context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALTERNATE_REFERENCE, value); return context; } - public Reference getAlternateReference(Reference context) { + public static Reference getAlternateReference(Reference context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_ALTERNATE_REFERENCE); } @@ -340,16 +340,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-author|0.1.0 // Artifact Author - public Extension makeArtifactAuthor(ContactDetail value) { + public static Extension makeArtifactAuthor(ContactDetail value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_AUTHOR).setValue(value); } - public DomainResource addArtifactAuthor(DomainResource context, ContactDetail value) { + public static DomainResource addArtifactAuthor(DomainResource context, ContactDetail value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_AUTHOR, value); return context; } - public List getArtifactAuthorList(DomainResource context) { + public static List getArtifactAuthorList(DomainResource context) { return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_AUTHOR); } @@ -357,16 +357,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-contact|0.1.0 // Artifact Contact - public Extension makeArtifactContact(ContactDetail value) { + public static Extension makeArtifactContact(ContactDetail value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_CONTACT).setValue(value); } - public Element addArtifactContact(Element context, ContactDetail value) { + public static Element addArtifactContact(Element context, ContactDetail value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_CONTACT, value); return context; } - public List getArtifactContactList(Element context) { + public static List getArtifactContactList(Element context) { return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_CONTACT); } @@ -374,16 +374,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference|0.1.0 // contact detail reference - public Extension makeContactDetailReference(Reference value) { + public static Extension makeContactDetailReference(Reference value) { return new Extension(ExtensionConstants.EXT_CONTACT_DETAIL_REFERENCE).setValue(value); } - public ContactDetail setContactDetailReference(ContactDetail context, Reference value) { + public static ContactDetail setContactDetailReference(ContactDetail context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_DETAIL_REFERENCE, value); return context; } - public Reference getContactDetailReference(ContactDetail context) { + public static Reference getContactDetailReference(ContactDetail context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONTACT_DETAIL_REFERENCE); } @@ -391,16 +391,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-copyright|0.1.0 // Artifact Copyright - public Extension makeArtifactCopyright(String value) { + public static Extension makeArtifactCopyright(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_COPYRIGHT).setValue(new MarkdownType(value)); } - public Element setArtifactCopyright(Element context, String value) { + public static Element setArtifactCopyright(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_COPYRIGHT, new MarkdownType(value)); return context; } - public String getArtifactCopyright(Element context) { + public static String getArtifactCopyright(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_COPYRIGHT); } @@ -408,16 +408,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel|0.1.0 // Artifact Copyright Label - public Extension makeArtifactCopyrightLabel(String value) { + public static Extension makeArtifactCopyrightLabel(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_COPYRIGHT_LABEL).setValue(new StringType(value)); } - public Element setArtifactCopyrightLabel(Element context, String value) { + public static Element setArtifactCopyrightLabel(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_COPYRIGHT_LABEL, new StringType(value)); return context; } - public String getArtifactCopyrightLabel(Element context) { + public static String getArtifactCopyrightLabel(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_COPYRIGHT_LABEL); } @@ -425,16 +425,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-date|0.1.0 // Artifact Date - public Extension makeArtifactDate(String value) { + public static Extension makeArtifactDate(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_DATE).setValue(new DateTimeType(value)); } - public Element setArtifactDate(Element context, String value) { + public static Element setArtifactDate(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_DATE, new DateTimeType(value)); return context; } - public String getArtifactDate(Element context) { + public static String getArtifactDate(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_DATE); } @@ -442,16 +442,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-description|0.1.0 // Artifact Description - public Extension makeArtifactDescription(String value) { + public static Extension makeArtifactDescription(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_DESCRIPTION).setValue(new MarkdownType(value)); } - public Element setArtifactDescription(Element context, String value) { + public static Element setArtifactDescription(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_DESCRIPTION, new MarkdownType(value)); return context; } - public String getArtifactDescription(Element context) { + public static String getArtifactDescription(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_DESCRIPTION); } @@ -459,16 +459,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-editor|0.1.0 // Artifact Editor - public Extension makeArtifactEditor(ContactDetail value) { + public static Extension makeArtifactEditor(ContactDetail value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_EDITOR).setValue(value); } - public Element addArtifactEditor(Element context, ContactDetail value) { + public static Element addArtifactEditor(Element context, ContactDetail value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_EDITOR, value); return context; } - public List getArtifactEditorList(Element context) { + public static List getArtifactEditorList(Element context) { return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_EDITOR); } @@ -476,16 +476,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-endorser|0.1.0 // Artifact Endorser - public Extension makeArtifactEndorser(ContactDetail value) { + public static Extension makeArtifactEndorser(ContactDetail value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_ENDORSER).setValue(value); } - public Element addArtifactEndorser(Element context, ContactDetail value) { + public static Element addArtifactEndorser(Element context, ContactDetail value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_ENDORSER, value); return context; } - public List getArtifactEndorserList(Element context) { + public static List getArtifactEndorserList(Element context) { return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_ENDORSER); } @@ -493,16 +493,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-experimental|0.1.0 // Artifact Experimental - public Extension makeArtifactExperimental(boolean value) { + public static Extension makeArtifactExperimental(boolean value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_EXPERIMENTAL).setValue(new BooleanType(value)); } - public Element setArtifactExperimental(Element context, boolean value) { + public static Element setArtifactExperimental(Element context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_EXPERIMENTAL, new BooleanType(value)); return context; } - public Boolean getArtifactExperimental(Element context) { + public static Boolean getArtifactExperimental(Element context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_ARTIFACT_EXPERIMENTAL); } @@ -510,16 +510,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-identifier|0.1.0 // Artifact Identifier - public Extension makeArtifactIdentifier(Identifier value) { + public static Extension makeArtifactIdentifier(Identifier value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_IDENTIFIER).setValue(value); } - public Element addArtifactIdentifier(Element context, Identifier value) { + public static Element addArtifactIdentifier(Element context, Identifier value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_IDENTIFIER, value); return context; } - public List getArtifactIdentifierList(Element context) { + public static List getArtifactIdentifierList(Element context) { return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_ARTIFACT_IDENTIFIER); } @@ -527,16 +527,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction|0.1.0 // Artifact Jurisdiction - public Extension makeArtifactJurisdiction(CodeableConcept value) { + public static Extension makeArtifactJurisdiction(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_JURISDICTION).setValue(value); } - public Element addArtifactJurisdiction(Element context, CodeableConcept value) { + public static Element addArtifactJurisdiction(Element context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_JURISDICTION, value); return context; } - public List getArtifactJurisdictionList(Element context) { + public static List getArtifactJurisdictionList(Element context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_ARTIFACT_JURISDICTION); } @@ -544,16 +544,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-knowledgeCapability|0.1.0 // knowledge capability - public Extension makeKnowledgeCapability(String value) { + public static Extension makeKnowledgeCapability(String value) { return new Extension(ExtensionConstants.EXT_KNOWLEDGE_CAPABILITY).setValue(new CodeType(value)); } - public Element addKnowledgeCapability(Element context, String value) { + public static Element addKnowledgeCapability(Element context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_KNOWLEDGE_CAPABILITY, new CodeType(value)); return context; } - public List getKnowledgeCapabilityList(Element context) { + public static List getKnowledgeCapabilityList(Element context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_KNOWLEDGE_CAPABILITY); } @@ -561,16 +561,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-knowledgeRepresentationLevel|0.1.0 // knowledge representation level - public Extension makeKnowledgeRepresentationLevel(String value) { + public static Extension makeKnowledgeRepresentationLevel(String value) { return new Extension(ExtensionConstants.EXT_KNOWLEDGE_REPRESENTATION_LEVEL).setValue(new CodeType(value)); } - public Element addKnowledgeRepresentationLevel(Element context, String value) { + public static Element addKnowledgeRepresentationLevel(Element context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_KNOWLEDGE_REPRESENTATION_LEVEL, new CodeType(value)); return context; } - public List getKnowledgeRepresentationLevelList(Element context) { + public static List getKnowledgeRepresentationLevelList(Element context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_KNOWLEDGE_REPRESENTATION_LEVEL); } @@ -578,16 +578,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-name|0.1.0 // ArtifactName - public Extension makeArtifactName(String value) { + public static Extension makeArtifactName(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_NAME).setValue(new StringType(value)); } - public Element setArtifactName(Element context, String value) { + public static Element setArtifactName(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_NAME, new StringType(value)); return context; } - public String getArtifactName(Element context) { + public static String getArtifactName(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_NAME); } @@ -595,16 +595,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-periodDuration|0.1.0 // period duration - public Extension makePeriodDuration(Duration value) { + public static Extension makePeriodDuration(Duration value) { return new Extension(ExtensionConstants.EXT_PERIOD_DURATION).setValue(value); } - public Period setPeriodDuration(Period context, Duration value) { + public static Period setPeriodDuration(Period context, Duration value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PERIOD_DURATION, value); return context; } - public Duration getPeriodDuration(Period context) { + public static Duration getPeriodDuration(Period context) { return ExtensionsUtils.getExtension(Duration.class, context, ExtensionConstants.EXT_PERIOD_DURATION); } @@ -612,16 +612,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-publisher|0.1.0 // Artifact Publisher - public Extension makeArtifactPublisher(String value) { + public static Extension makeArtifactPublisher(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_PUBLISHER).setValue(new StringType(value)); } - public Element setArtifactPublisher(Element context, String value) { + public static Element setArtifactPublisher(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_PUBLISHER, new StringType(value)); return context; } - public String getArtifactPublisher(Element context) { + public static String getArtifactPublisher(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_PUBLISHER); } @@ -629,16 +629,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-purpose|0.1.0 // Artifact Purpose - public Extension makeArtifactPurpose(String value) { + public static Extension makeArtifactPurpose(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_PURPOSE).setValue(new MarkdownType(value)); } - public Element setArtifactPurpose(Element context, String value) { + public static Element setArtifactPurpose(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_PURPOSE, new MarkdownType(value)); return context; } - public String getArtifactPurpose(Element context) { + public static String getArtifactPurpose(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_PURPOSE); } @@ -646,16 +646,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact|0.1.0 // Artifact related artifact - public Extension makeArtifactRelatedArtifact(RelatedArtifact value) { + public static Extension makeArtifactRelatedArtifact(RelatedArtifact value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_RELATED_ARTIFACT).setValue(value); } - public Element addArtifactRelatedArtifact(Element context, RelatedArtifact value) { + public static Element addArtifactRelatedArtifact(Element context, RelatedArtifact value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_RELATED_ARTIFACT, value); return context; } - public List getArtifactRelatedArtifactList(Element context) { + public static List getArtifactRelatedArtifactList(Element context) { return ExtensionsUtils.getExtensionList(RelatedArtifact.class, context, ExtensionConstants.EXT_ARTIFACT_RELATED_ARTIFACT); } @@ -663,16 +663,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-reviewer|0.1.0 // Artifact Reviewer - public Extension makeArtifactReviewer(ContactDetail value) { + public static Extension makeArtifactReviewer(ContactDetail value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_REVIEWER).setValue(value); } - public Element addArtifactReviewer(Element context, ContactDetail value) { + public static Element addArtifactReviewer(Element context, ContactDetail value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_REVIEWER, value); return context; } - public List getArtifactReviewerList(Element context) { + public static List getArtifactReviewerList(Element context) { return ExtensionsUtils.getExtensionList(ContactDetail.class, context, ExtensionConstants.EXT_ARTIFACT_REVIEWER); } @@ -680,16 +680,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-status|0.1.0 // Artifact Status - public Extension makeArtifactStatus(String value) { + public static Extension makeArtifactStatus(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_STATUS).setValue(new CodeType(value)); } - public Element setArtifactStatus(Element context, String value) { + public static Element setArtifactStatus(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_STATUS, new CodeType(value)); return context; } - public String getArtifactStatus(Element context) { + public static String getArtifactStatus(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_STATUS); } @@ -697,16 +697,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-title|0.1.0 // Artifact Title - public Extension makeArtifactTitle(String value) { + public static Extension makeArtifactTitle(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_TITLE).setValue(new StringType(value)); } - public Element setArtifactTitle(Element context, String value) { + public static Element setArtifactTitle(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_TITLE, new StringType(value)); return context; } - public String getArtifactTitle(Element context) { + public static String getArtifactTitle(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_TITLE); } @@ -714,16 +714,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-topic|0.1.0 // Artifact Topic - public Extension makeArtifactTopic(CodeableConcept value) { + public static Extension makeArtifactTopic(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_TOPIC).setValue(value); } - public Element addArtifactTopic(Element context, CodeableConcept value) { + public static Element addArtifactTopic(Element context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_TOPIC, value); return context; } - public List getArtifactTopicList(Element context) { + public static List getArtifactTopicList(Element context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_ARTIFACT_TOPIC); } @@ -731,16 +731,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-url|0.1.0 // Artifact URL - public Extension makeArtifactUrl(String value) { + public static Extension makeArtifactUrl(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_URL).setValue(new UriType(value)); } - public Element setArtifactUrl(Element context, String value) { + public static Element setArtifactUrl(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_URL, new UriType(value)); return context; } - public String getArtifactUrl(Element context) { + public static String getArtifactUrl(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_URL); } @@ -748,16 +748,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-useContext|0.1.0 // Artifact use context - public Extension makeArtifactUseContext(UsageContext value) { + public static Extension makeArtifactUseContext(UsageContext value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_USE_CONTEXT).setValue(value); } - public Element addArtifactUseContext(Element context, UsageContext value) { + public static Element addArtifactUseContext(Element context, UsageContext value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ARTIFACT_USE_CONTEXT, value); return context; } - public List getArtifactUseContextList(Element context) { + public static List getArtifactUseContextList(Element context) { return ExtensionsUtils.getExtensionList(UsageContext.class, context, ExtensionConstants.EXT_ARTIFACT_USE_CONTEXT); } @@ -765,16 +765,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-version|0.1.0 // ArtifactVersion - public Extension makeArtifactVersion(String value) { + public static Extension makeArtifactVersion(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_VERSION).setValue(new StringType(value)); } - public Element setArtifactVersion(Element context, String value) { + public static Element setArtifactVersion(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_VERSION, new StringType(value)); return context; } - public String getArtifactVersion(Element context) { + public static String getArtifactVersion(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_VERSION); } @@ -782,16 +782,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm|0.1.0 // Artifact Version Algorithm - public Extension makeArtifactVersionAlgorithm(String value) { + public static Extension makeArtifactVersionAlgorithm(String value) { return new Extension(ExtensionConstants.EXT_ARTIFACT_VERSION_ALGORITHM).setValue(new StringType(value)); } - public Element setArtifactVersionAlgorithm(Element context, String value) { + public static Element setArtifactVersionAlgorithm(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ARTIFACT_VERSION_ALGORITHM, new StringType(value)); return context; } - public String getArtifactVersionAlgorithm(Element context) { + public static String getArtifactVersionAlgorithm(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ARTIFACT_VERSION_ALGORITHM); } @@ -799,16 +799,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-Accession|0.1.0 // AuditEvent Accession - public Extension makeAEAccession(Identifier value) { + public static Extension makeAEAccession(Identifier value) { return new Extension(ExtensionConstants.EXT_AEACCESSION).setValue(value); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEAccession(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEAccession(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AEACCESSION, value); return context; } - public List getAEAccessionList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static List getAEAccessionList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_AEACCESSION); } @@ -816,16 +816,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID|0.1.0 // AuditEvent Alternative User ID - public Extension makeAEAlternativeUserID(Identifier value) { + public static Extension makeAEAlternativeUserID(Identifier value) { return new Extension(ExtensionConstants.EXT_AEALTERNATIVE_USER_I_D).setValue(value); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent addAEAlternativeUserID(org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent context, Identifier value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent addAEAlternativeUserID(org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent context, Identifier value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AEALTERNATIVE_USER_I_D, value); return context; } - public List getAEAlternativeUserIDList(org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent context) { + public static List getAEAlternativeUserIDList(org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent context) { return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_AEALTERNATIVE_USER_I_D); } @@ -833,16 +833,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized|0.1.0 // AuditEvent Anonymized - public Extension makeAEAnonymized(boolean value) { + public static Extension makeAEAnonymized(boolean value) { return new Extension(ExtensionConstants.EXT_AEANONYMIZED).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEAnonymized(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, boolean value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEAnonymized(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AEANONYMIZED, new BooleanType(value)); return context; } - public Boolean getAEAnonymized(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static Boolean getAEAnonymized(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_AEANONYMIZED); } @@ -850,16 +850,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted|0.1.0 // AuditEvent Encrypted - public Extension makeAEEncrypted(boolean value) { + public static Extension makeAEEncrypted(boolean value) { return new Extension(ExtensionConstants.EXT_AEENCRYPTED).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEEncrypted(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, boolean value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEEncrypted(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AEENCRYPTED, new BooleanType(value)); return context; } - public Boolean getAEEncrypted(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static Boolean getAEEncrypted(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_AEENCRYPTED); } @@ -867,16 +867,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-Instance|0.1.0 // AuditEvent Instance - public Extension makeAEInstance(Identifier value) { + public static Extension makeAEInstance(Identifier value) { return new Extension(ExtensionConstants.EXT_AEINSTANCE).setValue(value); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEInstance(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEInstance(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AEINSTANCE, value); return context; } - public List getAEInstanceList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static List getAEInstanceList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_AEINSTANCE); } @@ -884,16 +884,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle|0.1.0 // AuditEvent Lifecycle - public Extension makeAELifecycle(CodeableConcept value) { + public static Extension makeAELifecycle(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_AELIFECYCLE).setValue(value); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAELifecycle(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAELifecycle(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AELIFECYCLE, value); return context; } - public List getAELifecycleList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static List getAELifecycleList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_AELIFECYCLE); } @@ -901,16 +901,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-MPPS|0.1.0 // AuditEvent MPPS - public Extension makeAEMPPS(Identifier value) { + public static Extension makeAEMPPS(Identifier value) { return new Extension(ExtensionConstants.EXT_AEMPPS).setValue(value); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEMPPS(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAEMPPS(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AEMPPS, value); return context; } - public List getAEMPPSList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static List getAEMPPSList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_AEMPPS); } @@ -918,16 +918,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances|0.1.0 // AuditEvent Number Of Instances - public Extension makeAENumberOfInstances(int value) { + public static Extension makeAENumberOfInstances(int value) { return new Extension(ExtensionConstants.EXT_AENUMBER_OF_INSTANCES).setValue(new IntegerType(value)); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAENumberOfInstances(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, int value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAENumberOfInstances(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AENUMBER_OF_INSTANCES, new IntegerType(value)); return context; } - public Integer getAENumberOfInstances(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static Integer getAENumberOfInstances(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_AENUMBER_OF_INSTANCES); } @@ -935,16 +935,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy|0.1.0 // AuditEvent Participant Object Contains Study - public Extension makeAEParticipantObjectContainsStudy(Identifier value) { + public static Extension makeAEParticipantObjectContainsStudy(Identifier value) { return new Extension(ExtensionConstants.EXT_AEPARTICIPANT_OBJECT_CONTAINS_STUDY).setValue(value); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEParticipantObjectContainsStudy(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent setAEParticipantObjectContainsStudy(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Identifier value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AEPARTICIPANT_OBJECT_CONTAINS_STUDY, value); return context; } - public Identifier getAEParticipantObjectContainsStudy(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static Identifier getAEParticipantObjectContainsStudy(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtension(Identifier.class, context, ExtensionConstants.EXT_AEPARTICIPANT_OBJECT_CONTAINS_STUDY); } @@ -952,16 +952,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass|0.1.0 // AuditEvent SOPClass - public Extension makeAESOPClass(Reference value) { + public static Extension makeAESOPClass(Reference value) { return new Extension(ExtensionConstants.EXT_AESOPCLASS).setValue(value); } - public org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAESOPClass(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Reference value) { + public static org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent addAESOPClass(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AESOPCLASS, value); return context; } - public List getAESOPClassList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { + public static List getAESOPClassList(org.hl7.fhir.r5.model.AuditEvent.AuditEventEntityComponent context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_AESOPCLASS); } @@ -969,16 +969,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure|0.1.0 // BiologicallyDerivedProduct Collection Procedure - public Extension makeBDPCollectionProcedure(Reference value) { + public static Extension makeBDPCollectionProcedure(Reference value) { return new Extension(ExtensionConstants.EXT_BDPCOLLECTION_PROCEDURE).setValue(value); } - public org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent addBDPCollectionProcedure(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent context, Reference value) { + public static org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent addBDPCollectionProcedure(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BDPCOLLECTION_PROCEDURE, value); return context; } - public List getBDPCollectionProcedureList(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent context) { + public static List getBDPCollectionProcedureList(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BDPCOLLECTION_PROCEDURE); } @@ -986,16 +986,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation|0.1.0 // BiologicallyDerivedProduct Manipulation - public Extension makeBDPManipulation(DataType value) { + public static Extension makeBDPManipulation(DataType value) { return new Extension(ExtensionConstants.EXT_BDPMANIPULATION).setValue(value); } - public BiologicallyDerivedProduct setBDPManipulation(BiologicallyDerivedProduct context, DataType value) { + public static BiologicallyDerivedProduct setBDPManipulation(BiologicallyDerivedProduct context, DataType value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BDPMANIPULATION, value); return context; } - public DataType getBDPManipulation(BiologicallyDerivedProduct context) { + public static DataType getBDPManipulation(BiologicallyDerivedProduct context) { return ExtensionsUtils.getExtension(DataType.class, context, ExtensionConstants.EXT_BDPMANIPULATION); } @@ -1003,16 +1003,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing|0.1.0 // BiologicallyDerivedProduct Processing - public Extension makeBDPProcessing(DataType value) { + public static Extension makeBDPProcessing(DataType value) { return new Extension(ExtensionConstants.EXT_BDPPROCESSING).setValue(value); } - public BiologicallyDerivedProduct addBDPProcessing(BiologicallyDerivedProduct context, DataType value) { + public static BiologicallyDerivedProduct addBDPProcessing(BiologicallyDerivedProduct context, DataType value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BDPPROCESSING, value); return context; } - public List getBDPProcessingList(BiologicallyDerivedProduct context) { + public static List getBDPProcessingList(BiologicallyDerivedProduct context) { return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_BDPPROCESSING); } @@ -1020,16 +1020,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/bodySite|0.1.0 // BodyStructure Reference - public Extension makeBodyStructureReference(Reference value) { + public static Extension makeBodyStructureReference(Reference value) { return new Extension(ExtensionConstants.EXT_BODY_STRUCTURE_REFERENCE).setValue(value); } - public Element setBodyStructureReference(Element context, Reference value) { + public static Element setBodyStructureReference(Element context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BODY_STRUCTURE_REFERENCE, value); return context; } - public Reference getBodyStructureReference(Element context) { + public static Reference getBodyStructureReference(Element context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_BODY_STRUCTURE_REFERENCE); } @@ -1037,16 +1037,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description|0.1.0 // CanonicalResource Short Description - public Extension makeCRShortDescription(String value) { + public static Extension makeCRShortDescription(String value) { return new Extension(ExtensionConstants.EXT_CRSHORT_DESCRIPTION).setValue(new StringType(value)); } - public CanonicalResource addCRShortDescription(CanonicalResource context, String value) { + public static CanonicalResource addCRShortDescription(CanonicalResource context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CRSHORT_DESCRIPTION, new StringType(value)); return context; } - public List getCRShortDescriptionList(CanonicalResource context) { + public static List getCRShortDescriptionList(CanonicalResource context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CRSHORT_DESCRIPTION); } @@ -1054,7 +1054,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile|0.1.0 // CapabilityStatement Declared Profile - public Extension makeCSDeclaredProfile(String value) { + public static Extension makeCSDeclaredProfile(String value) { return new Extension(ExtensionConstants.EXT_CSDECLARED_PROFILE).setValue(new CanonicalType(value)); } @@ -1062,43 +1062,43 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation|0.1.0 // CapabilityStatement Expectation - public Extension makeCSExpectation(String value) { + public static Extension makeCSExpectation(String value) { return new Extension(ExtensionConstants.EXT_CSEXPECTATION).setValue(new CodeType(value)); } - public CanonicalType setCSExpectation(CanonicalType context, String value) { + public static CanonicalType setCSExpectation(CanonicalType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSEXPECTATION, new CodeType(value)); return context; } - public String getCSExpectation(CanonicalType context) { + public static String getCSExpectation(CanonicalType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSEXPECTATION); } - public CodeType setCSExpectation(CodeType context, String value) { + public static CodeType setCSExpectation(CodeType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSEXPECTATION, new CodeType(value)); return context; } - public String getCSExpectation(CodeType context) { + public static String getCSExpectation(CodeType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSEXPECTATION); } - public Extension setCSExpectation(Extension context, String value) { + public static Extension setCSExpectation(Extension context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSEXPECTATION, new CodeType(value)); return context; } - public String getCSExpectation(Extension context) { + public static String getCSExpectation(Extension context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSEXPECTATION); } - public org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent setCSExpectation(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context, String value) { + public static org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent setCSExpectation(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSEXPECTATION, new CodeType(value)); return context; } - public String getCSExpectation(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context) { + public static String getCSExpectation(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSEXPECTATION); } @@ -1106,16 +1106,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited|0.1.0 // CapabilityStatement Prohibition - public Extension makeCSProhibited(boolean value) { + public static Extension makeCSProhibited(boolean value) { return new Extension(ExtensionConstants.EXT_CSPROHIBITED).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent setCSProhibited(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context, boolean value) { + public static org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent setCSProhibited(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSPROHIBITED, new BooleanType(value)); return context; } - public Boolean getCSProhibited(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context) { + public static Boolean getCSProhibited(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementDocumentComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_CSPROHIBITED); } @@ -1123,7 +1123,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode|0.1.0 // CapabilityStatement Search Mode - public Extension makeCSSearchMode(String value) { + public static Extension makeCSSearchMode(String value) { return new Extension(ExtensionConstants.EXT_CSSEARCH_MODE).setValue(new CodeType(value)); } @@ -1131,16 +1131,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system|0.1.0 // CapabilityStatement Supported CodeSystem - public Extension makeCSSupportedSystem(String value) { + public static Extension makeCSSupportedSystem(String value) { return new Extension(ExtensionConstants.EXT_CSSUPPORTED_SYSTEM).setValue(new UriType(value)); } - public CapabilityStatement addCSSupportedSystem(CapabilityStatement context, String value) { + public static CapabilityStatement addCSSupportedSystem(CapabilityStatement context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CSSUPPORTED_SYSTEM, new UriType(value)); return context; } - public List getCSSupportedSystemList(CapabilityStatement context) { + public static List getCSSupportedSystemList(CapabilityStatement context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CSSUPPORTED_SYSTEM); } @@ -1148,16 +1148,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket|0.1.0 // CapabilityStatement WebSocket - public Extension makeCSWebsocket(String value) { + public static Extension makeCSWebsocket(String value) { return new Extension(ExtensionConstants.EXT_CSWEBSOCKET).setValue(new UriType(value)); } - public org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent setCSWebsocket(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context, String value) { + public static org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent setCSWebsocket(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSWEBSOCKET, new UriType(value)); return context; } - public String getCSWebsocket(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context) { + public static String getCSWebsocket(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSWEBSOCKET); } @@ -1165,16 +1165,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/careplan-activity-title|0.1.0 // CarePlan Activity Title - public Extension makeCPActivityTitle(String value) { + public static Extension makeCPActivityTitle(String value) { return new Extension(ExtensionConstants.EXT_CPACTIVITY_TITLE).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent setCPActivityTitle(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, String value) { + public static org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent setCPActivityTitle(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CPACTIVITY_TITLE, new StringType(value)); return context; } - public String getCPActivityTitle(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) { + public static String getCPActivityTitle(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CPACTIVITY_TITLE); } @@ -1182,16 +1182,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/careteam-alias|0.1.0 // CareTeam Alias - public Extension makeCTAlias(String value) { + public static Extension makeCTAlias(String value) { return new Extension(ExtensionConstants.EXT_CTALIAS).setValue(new StringType(value)); } - public CareTeam addCTAlias(CareTeam context, String value) { + public static CareTeam addCTAlias(CareTeam context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CTALIAS, new StringType(value)); return context; } - public List getCTAliasList(CareTeam context) { + public static List getCTAliasList(CareTeam context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CTALIAS); } @@ -1199,16 +1199,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/characteristicExpression|0.1.0 // Characteristic Expression - public Extension makeCharacteristicExpression(Expression value) { + public static Extension makeCharacteristicExpression(Expression value) { return new Extension(ExtensionConstants.EXT_CHARACTERISTIC_EXPRESSION).setValue(value); } - public Group setCharacteristicExpression(Group context, Expression value) { + public static Group setCharacteristicExpression(Group context, Expression value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CHARACTERISTIC_EXPRESSION, value); return context; } - public Expression getCharacteristicExpression(Group context) { + public static Expression getCharacteristicExpression(Group context) { return ExtensionsUtils.getExtension(Expression.class, context, ExtensionConstants.EXT_CHARACTERISTIC_EXPRESSION); } @@ -1216,16 +1216,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource|0.1.0 // CodeSystem Authoritative Source - public Extension makeCSAuthoritativeSource(String value) { + public static Extension makeCSAuthoritativeSource(String value) { return new Extension(ExtensionConstants.EXT_CSAUTHORITATIVE_SOURCE).setValue(new UriType(value)); } - public CodeSystem setCSAuthoritativeSource(CodeSystem context, String value) { + public static CodeSystem setCSAuthoritativeSource(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSAUTHORITATIVE_SOURCE, new UriType(value)); return context; } - public String getCSAuthoritativeSource(CodeSystem context) { + public static String getCSAuthoritativeSource(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSAUTHORITATIVE_SOURCE); } @@ -1233,16 +1233,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments|0.1.0 // CodeSystem Concept Comment - public Extension makeCSConceptComments(String value) { + public static Extension makeCSConceptComments(String value) { return new Extension(ExtensionConstants.EXT_CSCONCEPT_COMMENTS).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSConceptComments(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, String value) { + public static org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSConceptComments(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSCONCEPT_COMMENTS, new StringType(value)); return context; } - public String getCSConceptComments(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) { + public static String getCSConceptComments(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSCONCEPT_COMMENTS); } @@ -1250,16 +1250,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder|0.1.0 // CodeSystem ConceptOrder - public Extension makeCSConceptOrder(int value) { + public static Extension makeCSConceptOrder(int value) { return new Extension(ExtensionConstants.EXT_CSCONCEPT_ORDER).setValue(new IntegerType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSConceptOrder(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, int value) { + public static org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSConceptOrder(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSCONCEPT_ORDER, new IntegerType(value)); return context; } - public Integer getCSConceptOrder(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) { + public static Integer getCSConceptOrder(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_CSCONCEPT_ORDER); } @@ -1267,16 +1267,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-keyWord|0.1.0 // CodeSystem KeyWord - public Extension makeCSKeyWord(String value) { + public static Extension makeCSKeyWord(String value) { return new Extension(ExtensionConstants.EXT_CSKEY_WORD).setValue(new StringType(value)); } - public CodeSystem addCSKeyWord(CodeSystem context, String value) { + public static CodeSystem addCSKeyWord(CodeSystem context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CSKEY_WORD, new StringType(value)); return context; } - public List getCSKeyWordList(CodeSystem context) { + public static List getCSKeyWordList(CodeSystem context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CSKEY_WORD); } @@ -1284,16 +1284,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-label|0.1.0 // CodeSystem Label - public Extension makeCSLabel(String value) { + public static Extension makeCSLabel(String value) { return new Extension(ExtensionConstants.EXT_CSLABEL).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSLabel(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, String value) { + public static org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSLabel(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSLABEL, new StringType(value)); return context; } - public String getCSLabel(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) { + public static String getCSLabel(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSLABEL); } @@ -1301,16 +1301,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-map|0.1.0 // CodeSystem Map - public Extension makeCSMap(String value) { + public static Extension makeCSMap(String value) { return new Extension(ExtensionConstants.EXT_CSMAP).setValue(new CanonicalType(value)); } - public CodeSystem setCSMap(CodeSystem context, String value) { + public static CodeSystem setCSMap(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSMAP, new CanonicalType(value)); return context; } - public String getCSMap(CodeSystem context) { + public static String getCSMap(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSMAP); } @@ -1318,16 +1318,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode|0.1.0 // CodeSystem Properties Mode - public Extension makeCSPropertiesMode(String value) { + public static Extension makeCSPropertiesMode(String value) { return new Extension(ExtensionConstants.EXT_CSPROPERTIES_MODE).setValue(new CodeType(value)); } - public CodeSystem setCSPropertiesMode(CodeSystem context, String value) { + public static CodeSystem setCSPropertiesMode(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSPROPERTIES_MODE, new CodeType(value)); return context; } - public String getCSPropertiesMode(CodeSystem context) { + public static String getCSPropertiesMode(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSPROPERTIES_MODE); } @@ -1335,16 +1335,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-replacedby|0.1.0 // CodeSystem Replacedby - public Extension makeCSReplacedby(Coding value) { + public static Extension makeCSReplacedby(Coding value) { return new Extension(ExtensionConstants.EXT_CSREPLACEDBY).setValue(value); } - public org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSReplacedby(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, Coding value) { + public static org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent setCSReplacedby(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context, Coding value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSREPLACEDBY, value); return context; } - public Coding getCSReplacedby(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) { + public static Coding getCSReplacedby(org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent context) { return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_CSREPLACEDBY); } @@ -1352,16 +1352,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference|0.1.0 // CodeSystem Source Reference - public Extension makeCSSourceReference(String value) { + public static Extension makeCSSourceReference(String value) { return new Extension(ExtensionConstants.EXT_CSSOURCE_REFERENCE).setValue(new UriType(value)); } - public CodeSystem setCSSourceReference(CodeSystem context, String value) { + public static CodeSystem setCSSourceReference(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSSOURCE_REFERENCE, new UriType(value)); return context; } - public String getCSSourceReference(CodeSystem context) { + public static String getCSSourceReference(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSSOURCE_REFERENCE); } @@ -1369,16 +1369,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion|0.1.0 // CodeSystem Trusted Expansion - public Extension makeCSTrustedExpansion(String value) { + public static Extension makeCSTrustedExpansion(String value) { return new Extension(ExtensionConstants.EXT_CSTRUSTED_EXPANSION).setValue(new UriType(value)); } - public CodeSystem addCSTrustedExpansion(CodeSystem context, String value) { + public static CodeSystem addCSTrustedExpansion(CodeSystem context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CSTRUSTED_EXPANSION, new UriType(value)); return context; } - public List getCSTrustedExpansionList(CodeSystem context) { + public static List getCSTrustedExpansionList(CodeSystem context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CSTRUSTED_EXPANSION); } @@ -1386,16 +1386,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown|0.1.0 // CodeSystem Use Markdown - public Extension makeCSUseMarkdown(boolean value) { + public static Extension makeCSUseMarkdown(boolean value) { return new Extension(ExtensionConstants.EXT_CSUSE_MARKDOWN).setValue(new BooleanType(value)); } - public CodeSystem setCSUseMarkdown(CodeSystem context, boolean value) { + public static CodeSystem setCSUseMarkdown(CodeSystem context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSUSE_MARKDOWN, new BooleanType(value)); return context; } - public Boolean getCSUseMarkdown(CodeSystem context) { + public static Boolean getCSUseMarkdown(CodeSystem context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_CSUSE_MARKDOWN); } @@ -1403,16 +1403,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-warning|0.1.0 // CodeSystem Warning - public Extension makeCSWarning(String value) { + public static Extension makeCSWarning(String value) { return new Extension(ExtensionConstants.EXT_CSWARNING).setValue(new MarkdownType(value)); } - public CodeSystem setCSWarning(CodeSystem context, String value) { + public static CodeSystem setCSWarning(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSWARNING, new MarkdownType(value)); return context; } - public String getCSWarning(CodeSystem context) { + public static String getCSWarning(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSWARNING); } @@ -1420,16 +1420,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus|0.1.0 // CodeSystem Workflow Status - public Extension makeCSWorkflowStatus(String value) { + public static Extension makeCSWorkflowStatus(String value) { return new Extension(ExtensionConstants.EXT_CSWORKFLOW_STATUS).setValue(new StringType(value)); } - public CodeSystem setCSWorkflowStatus(CodeSystem context, String value) { + public static CodeSystem setCSWorkflowStatus(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSWORKFLOW_STATUS, new StringType(value)); return context; } - public String getCSWorkflowStatus(CodeSystem context) { + public static String getCSWorkflowStatus(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSWORKFLOW_STATUS); } @@ -1437,16 +1437,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/coding-conformance|0.1.0 // Coding Conformance - public Extension makeCodingConformance(String value) { + public static Extension makeCodingConformance(String value) { return new Extension(ExtensionConstants.EXT_CODING_CONFORMANCE).setValue(new CanonicalType(value)); } - public Coding addCodingConformance(Coding context, String value) { + public static Coding addCodingConformance(Coding context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CODING_CONFORMANCE, new CanonicalType(value)); return context; } - public List getCodingConformanceList(Coding context) { + public static List getCodingConformanceList(Coding context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CODING_CONFORMANCE); } @@ -1454,16 +1454,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/coding-purpose|0.1.0 // Coding Purpose - public Extension makeCodingPurpose(Coding value) { + public static Extension makeCodingPurpose(Coding value) { return new Extension(ExtensionConstants.EXT_CODING_PURPOSE).setValue(value); } - public Coding addCodingPurpose(Coding context, Coding value) { + public static Coding addCodingPurpose(Coding context, Coding value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CODING_PURPOSE, value); return context; } - public List getCodingPurposeList(Coding context) { + public static List getCodingPurposeList(Coding context) { return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_CODING_PURPOSE); } @@ -1471,16 +1471,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/coding-sctdescid|0.1.0 // SNOMED CT Description Id - public Extension makeSctdescid(String value) { + public static Extension makeSctdescid(String value) { return new Extension(ExtensionConstants.EXT_SCTDESCID).setValue(new IdType(value)); } - public Coding setSctdescid(Coding context, String value) { + public static Coding setSctdescid(Coding context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SCTDESCID, new IdType(value)); return context; } - public String getSctdescid(Coding context) { + public static String getSctdescid(Coding context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SCTDESCID); } @@ -1488,16 +1488,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/communication-media|0.1.0 // Communication Media - public Extension makeCMedia(Attachment value) { + public static Extension makeCMedia(Attachment value) { return new Extension(ExtensionConstants.EXT_CMEDIA).setValue(value); } - public Communication addCMedia(Communication context, Attachment value) { + public static Communication addCMedia(Communication context, Attachment value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CMEDIA, value); return context; } - public List getCMediaList(Communication context) { + public static List getCMediaList(Communication context) { return ExtensionsUtils.getExtensionList(Attachment.class, context, ExtensionConstants.EXT_CMEDIA); } @@ -1505,16 +1505,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation|0.1.0 // CommunicationRequest Initiating Location - public Extension makeCRInitiatingLocation(Reference value) { + public static Extension makeCRInitiatingLocation(Reference value) { return new Extension(ExtensionConstants.EXT_CRINITIATING_LOCATION).setValue(value); } - public CommunicationRequest setCRInitiatingLocation(CommunicationRequest context, Reference value) { + public static CommunicationRequest setCRInitiatingLocation(CommunicationRequest context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CRINITIATING_LOCATION, value); return context; } - public Reference getCRInitiatingLocation(CommunicationRequest context) { + public static Reference getCRInitiatingLocation(CommunicationRequest context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CRINITIATING_LOCATION); } @@ -1522,16 +1522,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality|0.1.0 // Composition Other Confidentiality - public Extension makeCOtherConfidentiality(Coding value) { + public static Extension makeCOtherConfidentiality(Coding value) { return new Extension(ExtensionConstants.EXT_COTHER_CONFIDENTIALITY).setValue(value); } - public Composition addCOtherConfidentiality(Composition context, Coding value) { + public static Composition addCOtherConfidentiality(Composition context, Coding value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COTHER_CONFIDENTIALITY, value); return context; } - public List getCOtherConfidentialityList(Composition context) { + public static List getCOtherConfidentialityList(Composition context) { return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_COTHER_CONFIDENTIALITY); } @@ -1539,16 +1539,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber|0.1.0 // Composition Version Number - public Extension makeCDVersionNumber(String value) { + public static Extension makeCDVersionNumber(String value) { return new Extension(ExtensionConstants.EXT_CDVERSION_NUMBER).setValue(new StringType(value)); } - public Composition setCDVersionNumber(Composition context, String value) { + public static Composition setCDVersionNumber(Composition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CDVERSION_NUMBER, new StringType(value)); return context; } - public String getCDVersionNumber(Composition context) { + public static String getCDVersionNumber(Composition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CDVERSION_NUMBER); } @@ -1556,16 +1556,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/composition-section-subject|0.1.0 // Composition Section Subject - public Extension makeCSectionSubject(String value) { + public static Extension makeCSectionSubject(String value) { return new Extension(ExtensionConstants.EXT_CSECTION_SUBJECT).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.Composition.SectionComponent setCSectionSubject(org.hl7.fhir.r5.model.Composition.SectionComponent context, String value) { + public static org.hl7.fhir.r5.model.Composition.SectionComponent setCSectionSubject(org.hl7.fhir.r5.model.Composition.SectionComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CSECTION_SUBJECT, new StringType(value)); return context; } - public String getCSectionSubject(org.hl7.fhir.r5.model.Composition.SectionComponent context) { + public static String getCSectionSubject(org.hl7.fhir.r5.model.Composition.SectionComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CSECTION_SUBJECT); } @@ -1573,16 +1573,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/concept-bidirectional|0.1.0 // ConceptMap Bi-directional - public Extension makeCMBidirectional(boolean value) { + public static Extension makeCMBidirectional(boolean value) { return new Extension(ExtensionConstants.EXT_CMBIDIRECTIONAL).setValue(new BooleanType(value)); } - public ConceptMap setCMBidirectional(ConceptMap context, boolean value) { + public static ConceptMap setCMBidirectional(ConceptMap context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CMBIDIRECTIONAL, new BooleanType(value)); return context; } - public Boolean getCMBidirectional(ConceptMap context) { + public static Boolean getCMBidirectional(ConceptMap context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_CMBIDIRECTIONAL); } @@ -1590,16 +1590,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/condition-assertedDate|0.1.0 // Condition Asserted Date - public Extension makeConditionAssertedDate(String value) { + public static Extension makeConditionAssertedDate(String value) { return new Extension(ExtensionConstants.EXT_CONDITION_ASSERTED_DATE).setValue(new DateTimeType(value)); } - public Condition setConditionAssertedDate(Condition context, String value) { + public static Condition setConditionAssertedDate(Condition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONDITION_ASSERTED_DATE, new DateTimeType(value)); return context; } - public String getConditionAssertedDate(Condition context) { + public static String getConditionAssertedDate(Condition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONDITION_ASSERTED_DATE); } @@ -1607,16 +1607,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse|0.1.0 // Condition Disease Course - public Extension makeConditionDiseaseCourse(CodeableConcept value) { + public static Extension makeConditionDiseaseCourse(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_CONDITION_DISEASE_COURSE).setValue(value); } - public Condition setConditionDiseaseCourse(Condition context, CodeableConcept value) { + public static Condition setConditionDiseaseCourse(Condition context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONDITION_DISEASE_COURSE, value); return context; } - public CodeableConcept getConditionDiseaseCourse(Condition context) { + public static CodeableConcept getConditionDiseaseCourse(Condition context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_CONDITION_DISEASE_COURSE); } @@ -1624,29 +1624,29 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/condition-dueTo|0.1.0 // Condition Due To - public Extension makeConditionDueTo(CodeableConcept value) { + public static Extension makeConditionDueTo(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_CONDITION_DUE_TO).setValue(value); } - public Extension makeConditionDueTo(Reference value) { + public static Extension makeConditionDueTo(Reference value) { return new Extension(ExtensionConstants.EXT_CONDITION_DUE_TO).setValue(value); } - public Condition addConditionDueTo(Condition context, CodeableConcept value) { + public static Condition addConditionDueTo(Condition context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_DUE_TO, value); return context; } - public List getConditionDueToCodeableConceptList(Condition context) { + public static List getConditionDueToCodeableConceptList(Condition context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_CONDITION_DUE_TO); } - public Condition addConditionDueTo(Condition context, Reference value) { + public static Condition addConditionDueTo(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_DUE_TO, value); return context; } - public List getConditionDueToReferenceList(Condition context) { + public static List getConditionDueToReferenceList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONDITION_DUE_TO); } @@ -1654,29 +1654,29 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing|0.1.0 // Condition Occurred Following - public Extension makeConditionOccurredFollowing(CodeableConcept value) { + public static Extension makeConditionOccurredFollowing(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING).setValue(value); } - public Extension makeConditionOccurredFollowing(Reference value) { + public static Extension makeConditionOccurredFollowing(Reference value) { return new Extension(ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING).setValue(value); } - public Condition addConditionOccurredFollowing(Condition context, CodeableConcept value) { + public static Condition addConditionOccurredFollowing(Condition context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING, value); return context; } - public List getConditionOccurredFollowingCodeableConceptList(Condition context) { + public static List getConditionOccurredFollowingCodeableConceptList(Condition context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING); } - public Condition addConditionOccurredFollowing(Condition context, Reference value) { + public static Condition addConditionOccurredFollowing(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING, value); return context; } - public List getConditionOccurredFollowingReferenceList(Condition context) { + public static List getConditionOccurredFollowingReferenceList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONDITION_OCCURRED_FOLLOWING); } @@ -1684,16 +1684,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/condition-outcome|0.1.0 // Condition Outcome - public Extension makeConditionOutcome(CodeableConcept value) { + public static Extension makeConditionOutcome(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_CONDITION_OUTCOME).setValue(value); } - public Condition setConditionOutcome(Condition context, CodeableConcept value) { + public static Condition setConditionOutcome(Condition context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONDITION_OUTCOME, value); return context; } - public CodeableConcept getConditionOutcome(Condition context) { + public static CodeableConcept getConditionOutcome(Condition context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_CONDITION_OUTCOME); } @@ -1701,16 +1701,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/condition-related|0.1.0 // Condition Related - public Extension makeConditionRelated(Reference value) { + public static Extension makeConditionRelated(Reference value) { return new Extension(ExtensionConstants.EXT_CONDITION_RELATED).setValue(value); } - public Condition addConditionRelated(Condition context, Reference value) { + public static Condition addConditionRelated(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_RELATED, value); return context; } - public List getConditionRelatedList(Condition context) { + public static List getConditionRelatedList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONDITION_RELATED); } @@ -1718,16 +1718,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/condition-reviewed|0.1.0 // Condition Reviewed - public Extension makeConditionReviewed(String value) { + public static Extension makeConditionReviewed(String value) { return new Extension(ExtensionConstants.EXT_CONDITION_REVIEWED).setValue(new DateTimeType(value)); } - public Condition setConditionReviewed(Condition context, String value) { + public static Condition setConditionReviewed(Condition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONDITION_REVIEWED, new DateTimeType(value)); return context; } - public String getConditionReviewed(Condition context) { + public static String getConditionReviewed(Condition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONDITION_REVIEWED); } @@ -1735,16 +1735,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/condition-ruledOut|0.1.0 // Condition Ruled Out - public Extension makeConditionRuledOut(Reference value) { + public static Extension makeConditionRuledOut(Reference value) { return new Extension(ExtensionConstants.EXT_CONDITION_RULED_OUT).setValue(value); } - public Condition addConditionRuledOut(Condition context, Reference value) { + public static Condition addConditionRuledOut(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONDITION_RULED_OUT, value); return context; } - public List getConditionRuledOutList(Condition context) { + public static List getConditionRuledOutList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONDITION_RULED_OUT); } @@ -1752,16 +1752,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint|0.1.0 // Consent Disclosure Notification Endpoint - public Extension makeConsentNotificationEndpoint(String value) { + public static Extension makeConsentNotificationEndpoint(String value) { return new Extension(ExtensionConstants.EXT_CONSENT_NOTIFICATION_ENDPOINT).setValue(new UriType(value)); } - public Consent setConsentNotificationEndpoint(Consent context, String value) { + public static Consent setConsentNotificationEndpoint(Consent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONSENT_NOTIFICATION_ENDPOINT, new UriType(value)); return context; } - public String getConsentNotificationEndpoint(Consent context) { + public static String getConsentNotificationEndpoint(Consent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONSENT_NOTIFICATION_ENDPOINT); } @@ -1769,16 +1769,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext|0.1.0 // Consent Research Study Context - public Extension makeConsentResearchStudyContext(Reference value) { + public static Extension makeConsentResearchStudyContext(Reference value) { return new Extension(ExtensionConstants.EXT_CONSENT_RESEARCH_STUDY_CONTEXT).setValue(value); } - public org.hl7.fhir.r5.model.Consent.ProvisionComponent setConsentResearchStudyContext(org.hl7.fhir.r5.model.Consent.ProvisionComponent context, Reference value) { + public static org.hl7.fhir.r5.model.Consent.ProvisionComponent setConsentResearchStudyContext(org.hl7.fhir.r5.model.Consent.ProvisionComponent context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONSENT_RESEARCH_STUDY_CONTEXT, value); return context; } - public Reference getConsentResearchStudyContext(org.hl7.fhir.r5.model.Consent.ProvisionComponent context) { + public static Reference getConsentResearchStudyContext(org.hl7.fhir.r5.model.Consent.ProvisionComponent context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONSENT_RESEARCH_STUDY_CONTEXT); } @@ -1786,16 +1786,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/consent-Transcriber|0.1.0 // Consent Transcriber - public Extension makeConsentTranscriber(Reference value) { + public static Extension makeConsentTranscriber(Reference value) { return new Extension(ExtensionConstants.EXT_CONSENT_TRANSCRIBER).setValue(value); } - public Consent setConsentTranscriber(Consent context, Reference value) { + public static Consent setConsentTranscriber(Consent context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONSENT_TRANSCRIBER, value); return context; } - public Reference getConsentTranscriber(Consent context) { + public static Reference getConsentTranscriber(Consent context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONSENT_TRANSCRIBER); } @@ -1803,16 +1803,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/consent-Witness|0.1.0 // Consent Witness - public Extension makeConsentWitness(Reference value) { + public static Extension makeConsentWitness(Reference value) { return new Extension(ExtensionConstants.EXT_CONSENT_WITNESS).setValue(value); } - public Consent setConsentWitness(Consent context, Reference value) { + public static Consent setConsentWitness(Consent context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONSENT_WITNESS, value); return context; } - public Reference getConsentWitness(Consent context) { + public static Reference getConsentWitness(Consent context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONSENT_WITNESS); } @@ -1820,16 +1820,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/consent-location|0.1.0 // Consent Location of Access restriction - public Extension makeConsentLocation(Reference value) { + public static Extension makeConsentLocation(Reference value) { return new Extension(ExtensionConstants.EXT_CONSENT_LOCATION).setValue(value); } - public org.hl7.fhir.r5.model.Consent.ProvisionComponent addConsentLocation(org.hl7.fhir.r5.model.Consent.ProvisionComponent context, Reference value) { + public static org.hl7.fhir.r5.model.Consent.ProvisionComponent addConsentLocation(org.hl7.fhir.r5.model.Consent.ProvisionComponent context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CONSENT_LOCATION, value); return context; } - public List getConsentLocationList(org.hl7.fhir.r5.model.Consent.ProvisionComponent context) { + public static List getConsentLocationList(org.hl7.fhir.r5.model.Consent.ProvisionComponent context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_CONSENT_LOCATION); } @@ -1837,16 +1837,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/contactpoint-area|0.1.0 // ContactPoint Area - public Extension makeContactPointArea(String value) { + public static Extension makeContactPointArea(String value) { return new Extension(ExtensionConstants.EXT_CONTACT_POINT_AREA).setValue(new StringType(value)); } - public ContactPoint setContactPointArea(ContactPoint context, String value) { + public static ContactPoint setContactPointArea(ContactPoint context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_AREA, new StringType(value)); return context; } - public String getContactPointArea(ContactPoint context) { + public static String getContactPointArea(ContactPoint context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_AREA); } @@ -1854,25 +1854,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/contactpoint-comment|0.1.0 // ContactPoint Comment - public Extension makeContactPointComment(String value) { + public static Extension makeContactPointComment(String value) { return new Extension(ExtensionConstants.EXT_CONTACT_POINT_COMMENT).setValue(new StringType(value)); } - public ContactPoint setContactPointComment(ContactPoint context, String value) { + public static ContactPoint setContactPointComment(ContactPoint context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_COMMENT, new StringType(value)); return context; } - public String getContactPointComment(ContactPoint context) { + public static String getContactPointComment(ContactPoint context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_COMMENT); } - public ExtendedContactDetail setContactPointComment(ExtendedContactDetail context, String value) { + public static ExtendedContactDetail setContactPointComment(ExtendedContactDetail context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_COMMENT, new StringType(value)); return context; } - public String getContactPointComment(ExtendedContactDetail context) { + public static String getContactPointComment(ExtendedContactDetail context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_COMMENT); } @@ -1880,16 +1880,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/contactpoint-country|0.1.0 // ContactPoint Country - public Extension makeContactPointCountry(String value) { + public static Extension makeContactPointCountry(String value) { return new Extension(ExtensionConstants.EXT_CONTACT_POINT_COUNTRY).setValue(new StringType(value)); } - public ContactPoint setContactPointCountry(ContactPoint context, String value) { + public static ContactPoint setContactPointCountry(ContactPoint context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_COUNTRY, new StringType(value)); return context; } - public String getContactPointCountry(ContactPoint context) { + public static String getContactPointCountry(ContactPoint context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_COUNTRY); } @@ -1897,16 +1897,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/contactpoint-extension|0.1.0 // ContactPoint Extension - public Extension makeContactPointExtension(String value) { + public static Extension makeContactPointExtension(String value) { return new Extension(ExtensionConstants.EXT_CONTACT_POINT_EXTENSION).setValue(new StringType(value)); } - public ContactPoint setContactPointExtension(ContactPoint context, String value) { + public static ContactPoint setContactPointExtension(ContactPoint context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_EXTENSION, new StringType(value)); return context; } - public String getContactPointExtension(ContactPoint context) { + public static String getContactPointExtension(ContactPoint context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_EXTENSION); } @@ -1914,16 +1914,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/contactpoint-local|0.1.0 // ContactPoint Local - public Extension makeContactPointLocal(String value) { + public static Extension makeContactPointLocal(String value) { return new Extension(ExtensionConstants.EXT_CONTACT_POINT_LOCAL).setValue(new StringType(value)); } - public ContactPoint setContactPointLocal(ContactPoint context, String value) { + public static ContactPoint setContactPointLocal(ContactPoint context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_POINT_LOCAL, new StringType(value)); return context; } - public String getContactPointLocal(ContactPoint context) { + public static String getContactPointLocal(ContactPoint context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTACT_POINT_LOCAL); } @@ -1931,16 +1931,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression|0.1.0 // Alternative expression - public Extension makeAlternativeExpression(Expression value) { + public static Extension makeAlternativeExpression(Expression value) { return new Extension(ExtensionConstants.EXT_ALTERNATIVE_EXPRESSION).setValue(value); } - public Expression setAlternativeExpression(Expression context, Expression value) { + public static Expression setAlternativeExpression(Expression context, Expression value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALTERNATIVE_EXPRESSION, value); return context; } - public Expression getAlternativeExpression(Expression context) { + public static Expression getAlternativeExpression(Expression context) { return ExtensionsUtils.getExtension(Expression.class, context, ExtensionConstants.EXT_ALTERNATIVE_EXPRESSION); } @@ -1948,16 +1948,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue|0.1.0 // calculated value - public Extension makeCalculatedValue(Expression value) { + public static Extension makeCalculatedValue(Expression value) { return new Extension(ExtensionConstants.EXT_CALCULATED_VALUE).setValue(value); } - public Element addCalculatedValue(Element context, Expression value) { + public static Element addCalculatedValue(Element context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CALCULATED_VALUE, value); return context; } - public List getCalculatedValueList(Element context) { + public static List getCalculatedValueList(Element context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_CALCULATED_VALUE); } @@ -1965,16 +1965,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint|0.1.0 // cds hooks endpoint - public Extension makeCdsHooksEndpoint(String value) { + public static Extension makeCdsHooksEndpoint(String value) { return new Extension(ExtensionConstants.EXT_CDS_HOOKS_ENDPOINT).setValue(new UriType(value)); } - public PlanDefinition setCdsHooksEndpoint(PlanDefinition context, String value) { + public static PlanDefinition setCdsHooksEndpoint(PlanDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CDS_HOOKS_ENDPOINT, new UriType(value)); return context; } - public String getCdsHooksEndpoint(PlanDefinition context) { + public static String getCdsHooksEndpoint(PlanDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CDS_HOOKS_ENDPOINT); } @@ -1982,16 +1982,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-citation|0.1.0 // CQF Citation - public Extension makeCQFCitation(String value) { + public static Extension makeCQFCitation(String value) { return new Extension(ExtensionConstants.EXT_CQFCITATION).setValue(new StringType(value)); } - public Element setCQFCitation(Element context, String value) { + public static Element setCQFCitation(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CQFCITATION, new StringType(value)); return context; } - public String getCQFCitation(Element context) { + public static String getCQFCitation(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CQFCITATION); } @@ -1999,16 +1999,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-contactAddress|0.1.0 // Contact address - public Extension makeContactAddress(Address value) { + public static Extension makeContactAddress(Address value) { return new Extension(ExtensionConstants.EXT_CONTACT_ADDRESS).setValue(value); } - public ContactDetail setContactAddress(ContactDetail context, Address value) { + public static ContactDetail setContactAddress(ContactDetail context, Address value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_ADDRESS, value); return context; } - public Address getContactAddress(ContactDetail context) { + public static Address getContactAddress(ContactDetail context) { return ExtensionsUtils.getExtension(Address.class, context, ExtensionConstants.EXT_CONTACT_ADDRESS); } @@ -2016,16 +2016,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-contactReference|0.1.0 // Contact Reference - public Extension makeContactReference(Reference value) { + public static Extension makeContactReference(Reference value) { return new Extension(ExtensionConstants.EXT_CONTACT_REFERENCE).setValue(value); } - public ContactDetail setContactReference(ContactDetail context, Reference value) { + public static ContactDetail setContactReference(ContactDetail context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTACT_REFERENCE, value); return context; } - public Reference getContactReference(ContactDetail context) { + public static Reference getContactReference(ContactDetail context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CONTACT_REFERENCE); } @@ -2033,16 +2033,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-contributionTime|0.1.0 // Contribution time - public Extension makeContributionTime(String value) { + public static Extension makeContributionTime(String value) { return new Extension(ExtensionConstants.EXT_CONTRIBUTION_TIME).setValue(new DateTimeType(value)); } - public ContactDetail setContributionTime(ContactDetail context, String value) { + public static ContactDetail setContributionTime(ContactDetail context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CONTRIBUTION_TIME, new DateTimeType(value)); return context; } - public String getContributionTime(ContactDetail context) { + public static String getContributionTime(ContactDetail context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CONTRIBUTION_TIME); } @@ -2050,16 +2050,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions|0.1.0 // CQF CQL Options - public Extension makeCQFCQLOptions(Reference value) { + public static Extension makeCQFCQLOptions(Reference value) { return new Extension(ExtensionConstants.EXT_CQFCQLOPTIONS).setValue(value); } - public Library setCQFCQLOptions(Library context, Reference value) { + public static Library setCQFCQLOptions(Library context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CQFCQLOPTIONS, value); return context; } - public Reference getCQFCQLOptions(Library context) { + public static Reference getCQFCQLOptions(Library context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_CQFCQLOPTIONS); } @@ -2067,16 +2067,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode|0.1.0 // direct reference code - public Extension makeDirectReferenceCode(Coding value) { + public static Extension makeDirectReferenceCode(Coding value) { return new Extension(ExtensionConstants.EXT_DIRECT_REFERENCE_CODE).setValue(value); } - public Element addDirectReferenceCode(Element context, Coding value) { + public static Element addDirectReferenceCode(Element context, Coding value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DIRECT_REFERENCE_CODE, value); return context; } - public List getDirectReferenceCodeList(Element context) { + public static List getDirectReferenceCodeList(Element context) { return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_DIRECT_REFERENCE_CODE); } @@ -2084,16 +2084,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-encounterClass|0.1.0 // encounter class - public Extension makeEncounterClass(CodeableConcept value) { + public static Extension makeEncounterClass(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_ENCOUNTER_CLASS).setValue(value); } - public Basic setEncounterClass(Basic context, CodeableConcept value) { + public static Basic setEncounterClass(Basic context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENCOUNTER_CLASS, value); return context; } - public CodeableConcept getEncounterClass(Basic context) { + public static CodeableConcept getEncounterClass(Basic context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_ENCOUNTER_CLASS); } @@ -2101,16 +2101,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-encounterType|0.1.0 // encounter type - public Extension makeEncounterType(CodeableConcept value) { + public static Extension makeEncounterType(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_ENCOUNTER_TYPE).setValue(value); } - public Basic setEncounterType(Basic context, CodeableConcept value) { + public static Basic setEncounterType(Basic context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENCOUNTER_TYPE, value); return context; } - public CodeableConcept getEncounterType(Basic context) { + public static CodeableConcept getEncounterType(Basic context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_ENCOUNTER_TYPE); } @@ -2118,16 +2118,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-expression|0.1.0 // CQF Expression - public Extension makeCQFExpression(Expression value) { + public static Extension makeCQFExpression(Expression value) { return new Extension(ExtensionConstants.EXT_CQFEXPRESSION).setValue(value); } - public Element setCQFExpression(Element context, Expression value) { + public static Element setCQFExpression(Element context, Expression value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CQFEXPRESSION, value); return context; } - public Expression getCQFExpression(Element context) { + public static Expression getCQFExpression(Element context) { return ExtensionsUtils.getExtension(Expression.class, context, ExtensionConstants.EXT_CQFEXPRESSION); } @@ -2135,16 +2135,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-initialValue|0.1.0 // initial value - public Extension makeInitialValue(Expression value) { + public static Extension makeInitialValue(Expression value) { return new Extension(ExtensionConstants.EXT_INITIAL_VALUE).setValue(value); } - public Element addInitialValue(Element context, Expression value) { + public static Element addInitialValue(Element context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_INITIAL_VALUE, value); return context; } - public List getInitialValueList(Element context) { + public static List getInitialValueList(Element context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_INITIAL_VALUE); } @@ -2152,16 +2152,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization|0.1.0 // initiating organization - public Extension makeInitiatingOrganization(Reference value) { + public static Extension makeInitiatingOrganization(Reference value) { return new Extension(ExtensionConstants.EXT_INITIATING_ORGANIZATION).setValue(value); } - public Basic setInitiatingOrganization(Basic context, Reference value) { + public static Basic setInitiatingOrganization(Basic context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_INITIATING_ORGANIZATION, value); return context; } - public Reference getInitiatingOrganization(Basic context) { + public static Reference getInitiatingOrganization(Basic context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_INITIATING_ORGANIZATION); } @@ -2169,16 +2169,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson|0.1.0 // initiating person - public Extension makeInitiatingPerson(Reference value) { + public static Extension makeInitiatingPerson(Reference value) { return new Extension(ExtensionConstants.EXT_INITIATING_PERSON).setValue(value); } - public Basic setInitiatingPerson(Basic context, Reference value) { + public static Basic setInitiatingPerson(Basic context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_INITIATING_PERSON, value); return context; } - public Reference getInitiatingPerson(Basic context) { + public static Reference getInitiatingPerson(Basic context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_INITIATING_PERSON); } @@ -2186,16 +2186,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-inputParameters|0.1.0 // input parameters - public Extension makeInputParameters(Reference value) { + public static Extension makeInputParameters(Reference value) { return new Extension(ExtensionConstants.EXT_INPUT_PARAMETERS).setValue(value); } - public Element setInputParameters(Element context, Reference value) { + public static Element setInputParameters(Element context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_INPUT_PARAMETERS, value); return context; } - public Reference getInputParameters(Element context) { + public static Reference getInputParameters(Element context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_INPUT_PARAMETERS); } @@ -2203,16 +2203,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken|0.1.0 // Is prefetch token - public Extension makeIsPrefetchToken(boolean value) { + public static Extension makeIsPrefetchToken(boolean value) { return new Extension(ExtensionConstants.EXT_IS_PREFETCH_TOKEN).setValue(new BooleanType(value)); } - public ParameterDefinition setIsPrefetchToken(ParameterDefinition context, boolean value) { + public static ParameterDefinition setIsPrefetchToken(ParameterDefinition context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_IS_PREFETCH_TOKEN, new BooleanType(value)); return context; } - public Boolean getIsPrefetchToken(ParameterDefinition context) { + public static Boolean getIsPrefetchToken(ParameterDefinition context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_IS_PREFETCH_TOKEN); } @@ -2220,16 +2220,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability|0.1.0 // knowledge capability - public Extension makeCQFKnowledgeCapability(String value) { + public static Extension makeCQFKnowledgeCapability(String value) { return new Extension(ExtensionConstants.EXT_CQFKNOWLEDGE_CAPABILITY).setValue(new CodeType(value)); } - public Element addCQFKnowledgeCapability(Element context, String value) { + public static Element addCQFKnowledgeCapability(Element context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CQFKNOWLEDGE_CAPABILITY, new CodeType(value)); return context; } - public List getCQFKnowledgeCapabilityList(Element context) { + public static List getCQFKnowledgeCapabilityList(Element context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CQFKNOWLEDGE_CAPABILITY); } @@ -2237,16 +2237,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel|0.1.0 // knowledge representation level - public Extension makeCQFKnowledgeRepresentationLevel(String value) { + public static Extension makeCQFKnowledgeRepresentationLevel(String value) { return new Extension(ExtensionConstants.EXT_CQFKNOWLEDGE_REPRESENTATION_LEVEL).setValue(new CodeType(value)); } - public Element addCQFKnowledgeRepresentationLevel(Element context, String value) { + public static Element addCQFKnowledgeRepresentationLevel(Element context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CQFKNOWLEDGE_REPRESENTATION_LEVEL, new CodeType(value)); return context; } - public List getCQFKnowledgeRepresentationLevelList(Element context) { + public static List getCQFKnowledgeRepresentationLevelList(Element context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CQFKNOWLEDGE_REPRESENTATION_LEVEL); } @@ -2254,16 +2254,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-library|0.1.0 // CQF Library - public Extension makeCQFLibrary(String value) { + public static Extension makeCQFLibrary(String value) { return new Extension(ExtensionConstants.EXT_CQFLIBRARY).setValue(new CanonicalType(value)); } - public Element addCQFLibrary(Element context, String value) { + public static Element addCQFLibrary(Element context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CQFLIBRARY, new CanonicalType(value)); return context; } - public List getCQFLibraryList(Element context) { + public static List getCQFLibraryList(Element context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_CQFLIBRARY); } @@ -2271,16 +2271,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition|0.1.0 // Parameter definition - public Extension makeParameterDefinition(ParameterDefinition value) { + public static Extension makeParameterDefinition(ParameterDefinition value) { return new Extension(ExtensionConstants.EXT_PARAMETER_DEFINITION).setValue(value); } - public TriggerDefinition addParameterDefinition(TriggerDefinition context, ParameterDefinition value) { + public static TriggerDefinition addParameterDefinition(TriggerDefinition context, ParameterDefinition value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PARAMETER_DEFINITION, value); return context; } - public List getParameterDefinitionList(TriggerDefinition context) { + public static List getParameterDefinitionList(TriggerDefinition context) { return ExtensionsUtils.getExtensionList(ParameterDefinition.class, context, ExtensionConstants.EXT_PARAMETER_DEFINITION); } @@ -2288,16 +2288,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence|0.1.0 // quality of evidence - public Extension makeQualityOfEvidence(CodeableConcept value) { + public static Extension makeQualityOfEvidence(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_QUALITY_OF_EVIDENCE).setValue(value); } - public Element setQualityOfEvidence(Element context, CodeableConcept value) { + public static Element setQualityOfEvidence(Element context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QUALITY_OF_EVIDENCE, value); return context; } - public CodeableConcept getQualityOfEvidence(Element context) { + public static CodeableConcept getQualityOfEvidence(Element context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QUALITY_OF_EVIDENCE); } @@ -2305,16 +2305,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization|0.1.0 // receiving organization - public Extension makeReceivingOrganization(Reference value) { + public static Extension makeReceivingOrganization(Reference value) { return new Extension(ExtensionConstants.EXT_RECEIVING_ORGANIZATION).setValue(value); } - public Basic setReceivingOrganization(Basic context, Reference value) { + public static Basic setReceivingOrganization(Basic context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RECEIVING_ORGANIZATION, value); return context; } - public Reference getReceivingOrganization(Basic context) { + public static Reference getReceivingOrganization(Basic context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_RECEIVING_ORGANIZATION); } @@ -2322,16 +2322,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson|0.1.0 // receiving person - public Extension makeReceivingPerson(Reference value) { + public static Extension makeReceivingPerson(Reference value) { return new Extension(ExtensionConstants.EXT_RECEIVING_PERSON).setValue(value); } - public Basic setReceivingPerson(Basic context, Reference value) { + public static Basic setReceivingPerson(Basic context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RECEIVING_PERSON, value); return context; } - public Reference getReceivingPerson(Basic context) { + public static Reference getReceivingPerson(Basic context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_RECEIVING_PERSON); } @@ -2339,16 +2339,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage|0.1.0 // recipient language - public Extension makeRecipientLanguage(CodeableConcept value) { + public static Extension makeRecipientLanguage(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_RECIPIENT_LANGUAGE).setValue(value); } - public Basic setRecipientLanguage(Basic context, CodeableConcept value) { + public static Basic setRecipientLanguage(Basic context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RECIPIENT_LANGUAGE, value); return context; } - public CodeableConcept getRecipientLanguage(Basic context) { + public static CodeableConcept getRecipientLanguage(Basic context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_RECIPIENT_LANGUAGE); } @@ -2356,16 +2356,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-recipientType|0.1.0 // recipient type - public Extension makeRecipientType(CodeableConcept value) { + public static Extension makeRecipientType(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_RECIPIENT_TYPE).setValue(value); } - public Basic setRecipientType(Basic context, CodeableConcept value) { + public static Basic setRecipientType(Basic context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RECIPIENT_TYPE, value); return context; } - public CodeableConcept getRecipientType(Basic context) { + public static CodeableConcept getRecipientType(Basic context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_RECIPIENT_TYPE); } @@ -2373,16 +2373,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation|0.1.0 // strength of recommendation - public Extension makeStrengthOfRecommendation(CodeableConcept value) { + public static Extension makeStrengthOfRecommendation(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_STRENGTH_OF_RECOMMENDATION).setValue(value); } - public Element setStrengthOfRecommendation(Element context, CodeableConcept value) { + public static Element setStrengthOfRecommendation(Element context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_STRENGTH_OF_RECOMMENDATION, value); return context; } - public CodeableConcept getStrengthOfRecommendation(Element context) { + public static CodeableConcept getStrengthOfRecommendation(Element context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_STRENGTH_OF_RECOMMENDATION); } @@ -2390,16 +2390,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion|0.1.0 // supported cql version - public Extension makeSupportedCqlVersion(String value) { + public static Extension makeSupportedCqlVersion(String value) { return new Extension(ExtensionConstants.EXT_SUPPORTED_CQL_VERSION).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent addSupportedCqlVersion(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context, String value) { + public static org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent addSupportedCqlVersion(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTED_CQL_VERSION, new StringType(value)); return context; } - public List getSupportedCqlVersionList(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context) { + public static List getSupportedCqlVersionList(org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementRestComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SUPPORTED_CQL_VERSION); } @@ -2407,16 +2407,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage|0.1.0 // system user language - public Extension makeSystemUserLanguage(CodeableConcept value) { + public static Extension makeSystemUserLanguage(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_SYSTEM_USER_LANGUAGE).setValue(value); } - public Basic setSystemUserLanguage(Basic context, CodeableConcept value) { + public static Basic setSystemUserLanguage(Basic context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SYSTEM_USER_LANGUAGE, value); return context; } - public CodeableConcept getSystemUserLanguage(Basic context) { + public static CodeableConcept getSystemUserLanguage(Basic context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SYSTEM_USER_LANGUAGE); } @@ -2424,16 +2424,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext|0.1.0 // system user task context - public Extension makeSystemUserTaskContext(CodeableConcept value) { + public static Extension makeSystemUserTaskContext(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_SYSTEM_USER_TASK_CONTEXT).setValue(value); } - public Basic setSystemUserTaskContext(Basic context, CodeableConcept value) { + public static Basic setSystemUserTaskContext(Basic context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SYSTEM_USER_TASK_CONTEXT, value); return context; } - public CodeableConcept getSystemUserTaskContext(Basic context) { + public static CodeableConcept getSystemUserTaskContext(Basic context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SYSTEM_USER_TASK_CONTEXT); } @@ -2441,16 +2441,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqf-systemUserType|0.1.0 // system user type - public Extension makeSystemUserType(CodeableConcept value) { + public static Extension makeSystemUserType(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_SYSTEM_USER_TYPE).setValue(value); } - public Basic setSystemUserType(Basic context, CodeableConcept value) { + public static Basic setSystemUserType(Basic context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SYSTEM_USER_TYPE, value); return context; } - public CodeableConcept getSystemUserType(Basic context) { + public static CodeableConcept getSystemUserType(Basic context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SYSTEM_USER_TYPE); } @@ -2458,16 +2458,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod|0.1.0 // Composition Validity Period - public Extension makeCValidityPeriod(String value) { + public static Extension makeCValidityPeriod(String value) { return new Extension(ExtensionConstants.EXT_CVALIDITY_PERIOD).setValue(new DateTimeType(value)); } - public Composition setCValidityPeriod(Composition context, String value) { + public static Composition setCValidityPeriod(Composition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_CVALIDITY_PERIOD, new DateTimeType(value)); return context; } - public String getCValidityPeriod(Composition context) { + public static String getCValidityPeriod(Composition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_CVALIDITY_PERIOD); } @@ -2475,16 +2475,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/data-absent-reason|0.1.0 // Data Absent Reason - public Extension makeDataAbsentReason(String value) { + public static Extension makeDataAbsentReason(String value) { return new Extension(ExtensionConstants.EXT_DATA_ABSENT_REASON).setValue(new CodeType(value)); } - public Element setDataAbsentReason(Element context, String value) { + public static Element setDataAbsentReason(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DATA_ABSENT_REASON, new CodeType(value)); return context; } - public String getDataAbsentReason(Element context) { + public static String getDataAbsentReason(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DATA_ABSENT_REASON); } @@ -2492,34 +2492,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/designNote|0.1.0 // Design Note - public Extension makeDesignNote(String value) { + public static Extension makeDesignNote(String value) { return new Extension(ExtensionConstants.EXT_DESIGN_NOTE).setValue(new MarkdownType(value)); } - public ElementDefinition setDesignNote(ElementDefinition context, String value) { + public static ElementDefinition setDesignNote(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DESIGN_NOTE, new MarkdownType(value)); return context; } - public String getDesignNote(ElementDefinition context) { + public static String getDesignNote(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DESIGN_NOTE); } - public Questionnaire setDesignNote(Questionnaire context, String value) { + public static Questionnaire setDesignNote(Questionnaire context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DESIGN_NOTE, new MarkdownType(value)); return context; } - public String getDesignNote(Questionnaire context) { + public static String getDesignNote(Questionnaire context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DESIGN_NOTE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setDesignNote(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setDesignNote(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DESIGN_NOTE, new MarkdownType(value)); return context; } - public String getDesignNote(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static String getDesignNote(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DESIGN_NOTE); } @@ -2527,25 +2527,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/device-commercialBrand|0.1.0 // Device Commercial Brand - public Extension makeDevCommercialBrand(String value) { + public static Extension makeDevCommercialBrand(String value) { return new Extension(ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND).setValue(new StringType(value)); } - public Device setDevCommercialBrand(Device context, String value) { + public static Device setDevCommercialBrand(Device context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND, new StringType(value)); return context; } - public String getDevCommercialBrand(Device context) { + public static String getDevCommercialBrand(Device context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND); } - public DeviceDefinition setDevCommercialBrand(DeviceDefinition context, String value) { + public static DeviceDefinition setDevCommercialBrand(DeviceDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND, new StringType(value)); return context; } - public String getDevCommercialBrand(DeviceDefinition context) { + public static String getDevCommercialBrand(DeviceDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DEV_COMMERCIAL_BRAND); } @@ -2553,16 +2553,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/device-implantStatus|0.1.0 // Device Implantable Status - public Extension makeDevImplantStatus(String value) { + public static Extension makeDevImplantStatus(String value) { return new Extension(ExtensionConstants.EXT_DEV_IMPLANT_STATUS).setValue(new CodeType(value)); } - public Device setDevImplantStatus(Device context, String value) { + public static Device setDevImplantStatus(Device context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DEV_IMPLANT_STATUS, new CodeType(value)); return context; } - public String getDevImplantStatus(Device context) { + public static String getDevImplantStatus(Device context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DEV_IMPLANT_STATUS); } @@ -2570,16 +2570,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf|0.1.0 // DiagnosticReport Addendum Of - public Extension makeDRAddendumOf(Reference value) { + public static Extension makeDRAddendumOf(Reference value) { return new Extension(ExtensionConstants.EXT_DRADDENDUM_OF).setValue(value); } - public DiagnosticReport setDRAddendumOf(DiagnosticReport context, Reference value) { + public static DiagnosticReport setDRAddendumOf(DiagnosticReport context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRADDENDUM_OF, value); return context; } - public Reference getDRAddendumOf(DiagnosticReport context) { + public static Reference getDRAddendumOf(DiagnosticReport context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRADDENDUM_OF); } @@ -2587,16 +2587,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends|0.1.0 // DiagnosticReport Extends - public Extension makeDRExtends(Reference value) { + public static Extension makeDRExtends(Reference value) { return new Extension(ExtensionConstants.EXT_DREXTENDS).setValue(value); } - public DiagnosticReport setDRExtends(DiagnosticReport context, Reference value) { + public static DiagnosticReport setDRExtends(DiagnosticReport context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DREXTENDS, value); return context; } - public Reference getDRExtends(DiagnosticReport context) { + public static Reference getDRExtends(DiagnosticReport context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DREXTENDS); } @@ -2604,16 +2604,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus|0.1.0 // DiagnosticReport Delta - public Extension makeDRFocus(Reference value) { + public static Extension makeDRFocus(Reference value) { return new Extension(ExtensionConstants.EXT_DRFOCUS).setValue(value); } - public DiagnosticReport addDRFocus(DiagnosticReport context, Reference value) { + public static DiagnosticReport addDRFocus(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DRFOCUS, value); return context; } - public List getDRFocusList(DiagnosticReport context) { + public static List getDRFocusList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_DRFOCUS); } @@ -2621,16 +2621,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed|0.1.0 // DiagnosticReport Location Performed - public Extension makeDRLocationPerformed(Reference value) { + public static Extension makeDRLocationPerformed(Reference value) { return new Extension(ExtensionConstants.EXT_DRLOCATION_PERFORMED).setValue(value); } - public DiagnosticReport setDRLocationPerformed(DiagnosticReport context, Reference value) { + public static DiagnosticReport setDRLocationPerformed(DiagnosticReport context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRLOCATION_PERFORMED, value); return context; } - public Reference getDRLocationPerformed(DiagnosticReport context) { + public static Reference getDRLocationPerformed(DiagnosticReport context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRLOCATION_PERFORMED); } @@ -2638,16 +2638,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces|0.1.0 // DiagnosticReport Replaces - public Extension makeDRReplaces(Reference value) { + public static Extension makeDRReplaces(Reference value) { return new Extension(ExtensionConstants.EXT_DRREPLACES).setValue(value); } - public DiagnosticReport setDRReplaces(DiagnosticReport context, Reference value) { + public static DiagnosticReport setDRReplaces(DiagnosticReport context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRREPLACES, value); return context; } - public Reference getDRReplaces(DiagnosticReport context) { + public static Reference getDRReplaces(DiagnosticReport context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRREPLACES); } @@ -2655,25 +2655,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk|0.1.0 // DiagnosticReport Risk - public Extension makeDRRisk(Reference value) { + public static Extension makeDRRisk(Reference value) { return new Extension(ExtensionConstants.EXT_DRRISK).setValue(value); } - public DiagnosticReport addDRRisk(DiagnosticReport context, Reference value) { + public static DiagnosticReport addDRRisk(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DRRISK, value); return context; } - public List getDRRiskList(DiagnosticReport context) { + public static List getDRRiskList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_DRRISK); } - public Observation addDRRisk(Observation context, Reference value) { + public static Observation addDRRisk(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DRRISK, value); return context; } - public List getDRRiskList(Observation context) { + public static List getDRRiskList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_DRRISK); } @@ -2681,16 +2681,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf|0.1.0 // DocumentReference Summary Of - public Extension makeDRSummaryOf(Reference value) { + public static Extension makeDRSummaryOf(Reference value) { return new Extension(ExtensionConstants.EXT_DRSUMMARY_OF).setValue(value); } - public DiagnosticReport setDRSummaryOf(DiagnosticReport context, Reference value) { + public static DiagnosticReport setDRSummaryOf(DiagnosticReport context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRSUMMARY_OF, value); return context; } - public Reference getDRSummaryOf(DiagnosticReport context) { + public static Reference getDRSummaryOf(DiagnosticReport context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRSUMMARY_OF); } @@ -2698,16 +2698,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/display|0.1.0 // Display Name - public Extension makeDisplayName(String value) { + public static Extension makeDisplayName(String value) { return new Extension(ExtensionConstants.EXT_DISPLAY_NAME).setValue(new StringType(value)); } - public CanonicalType setDisplayName(CanonicalType context, String value) { + public static CanonicalType setDisplayName(CanonicalType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DISPLAY_NAME, new StringType(value)); return context; } - public String getDisplayName(CanonicalType context) { + public static String getDisplayName(CanonicalType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DISPLAY_NAME); } @@ -2715,16 +2715,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient|0.1.0 // DocumentReference Source Patient - public Extension makeDRSourcepatient(Reference value) { + public static Extension makeDRSourcepatient(Reference value) { return new Extension(ExtensionConstants.EXT_DRSOURCEPATIENT).setValue(value); } - public DocumentReference setDRSourcepatient(DocumentReference context, Reference value) { + public static DocumentReference setDRSourcepatient(DocumentReference context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRSOURCEPATIENT, value); return context; } - public Reference getDRSourcepatient(DocumentReference context) { + public static Reference getDRSourcepatient(DocumentReference context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_DRSOURCEPATIENT); } @@ -2732,16 +2732,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail|0.1.0 // DocumentReference Thumbnail - public Extension makeDRThumbnail(boolean value) { + public static Extension makeDRThumbnail(boolean value) { return new Extension(ExtensionConstants.EXT_DRTHUMBNAIL).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent setDRThumbnail(org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent context, boolean value) { + public static org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent setDRThumbnail(org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DRTHUMBNAIL, new BooleanType(value)); return context; } - public Boolean getDRThumbnail(org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent context) { + public static Boolean getDRThumbnail(org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_DRTHUMBNAIL); } @@ -2749,29 +2749,29 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits|0.1.0 // Allowed Units - public Extension makeAllowedUnits(CodeableConcept value) { + public static Extension makeAllowedUnits(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_ALLOWED_UNITS).setValue(value); } - public Extension makeAllowedUnits(String value) { + public static Extension makeAllowedUnits(String value) { return new Extension(ExtensionConstants.EXT_ALLOWED_UNITS).setValue(new CanonicalType(value)); } - public ElementDefinition setAllowedUnits(ElementDefinition context, CodeableConcept value) { + public static ElementDefinition setAllowedUnits(ElementDefinition context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALLOWED_UNITS, value); return context; } - public CodeableConcept getAllowedUnitsCodeableConcept(ElementDefinition context) { + public static CodeableConcept getAllowedUnitsCodeableConcept(ElementDefinition context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_ALLOWED_UNITS); } - public ElementDefinition setAllowedUnits(ElementDefinition context, String value) { + public static ElementDefinition setAllowedUnits(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ALLOWED_UNITS, new CanonicalType(value)); return context; } - public String getAllowedUnitsString(ElementDefinition context) { + public static String getAllowedUnitsString(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ALLOWED_UNITS); } @@ -2779,29 +2779,29 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice|0.1.0 // Best Practice - public Extension makeBestPractice(boolean value) { + public static Extension makeBestPractice(boolean value) { return new Extension(ExtensionConstants.EXT_BEST_PRACTICE).setValue(new BooleanType(value)); } - public Extension makeBestPractice(CodeableConcept value) { + public static Extension makeBestPractice(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_BEST_PRACTICE).setValue(value); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPractice(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPractice(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BEST_PRACTICE, new BooleanType(value)); return context; } - public Boolean getBestPracticeBoolean(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) { + public static Boolean getBestPracticeBoolean(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_BEST_PRACTICE); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPractice(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPractice(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BEST_PRACTICE, value); return context; } - public CodeableConcept getBestPracticeCodeableConcept(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) { + public static CodeableConcept getBestPracticeCodeableConcept(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_BEST_PRACTICE); } @@ -2809,16 +2809,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation|0.1.0 // Best Practice Explanation - public Extension makeBestPracticeExplanation(String value) { + public static Extension makeBestPracticeExplanation(String value) { return new Extension(ExtensionConstants.EXT_BEST_PRACTICE_EXPLANATION).setValue(new MarkdownType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPracticeExplanation(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent setBestPracticeExplanation(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BEST_PRACTICE_EXPLANATION, new MarkdownType(value)); return context; } - public String getBestPracticeExplanation(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) { + public static String getBestPracticeExplanation(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_BEST_PRACTICE_EXPLANATION); } @@ -2826,16 +2826,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName|0.1.0 // Binding name - public Extension makeBindingName(String value) { + public static Extension makeBindingName(String value) { return new Extension(ExtensionConstants.EXT_BINDING_NAME).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setBindingName(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setBindingName(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_BINDING_NAME, new StringType(value)); return context; } - public String getBindingName(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { + public static String getBindingName(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_BINDING_NAME); } @@ -2843,7 +2843,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap|0.1.0 // Conceptmap - public Extension makeConceptmap(String value) { + public static Extension makeConceptmap(String value) { return new Extension(ExtensionConstants.EXT_CONCEPTMAP).setValue(new CanonicalType(value)); } @@ -2851,16 +2851,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype|0.1.0 // Default Type - public Extension makeDefaultType(String value) { + public static Extension makeDefaultType(String value) { return new Extension(ExtensionConstants.EXT_DEFAULT_TYPE).setValue(new CanonicalType(value)); } - public ElementDefinition setDefaultType(ElementDefinition context, String value) { + public static ElementDefinition setDefaultType(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DEFAULT_TYPE, new CanonicalType(value)); return context; } - public String getDefaultType(ElementDefinition context) { + public static String getDefaultType(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_DEFAULT_TYPE); } @@ -2868,16 +2868,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence|0.1.0 // Equivalence - public Extension makeEquivalence(String value) { + public static Extension makeEquivalence(String value) { return new Extension(ExtensionConstants.EXT_EQUIVALENCE).setValue(new CodeType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setEquivalence(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setEquivalence(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EQUIVALENCE, new CodeType(value)); return context; } - public String getEquivalence(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) { + public static String getEquivalence(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_EQUIVALENCE); } @@ -2885,7 +2885,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint|0.1.0 // Graph constraint - public Extension makeGraphConstraint(String value) { + public static Extension makeGraphConstraint(String value) { return new Extension(ExtensionConstants.EXT_GRAPH_CONSTRAINT).setValue(new CanonicalType(value)); } @@ -2893,16 +2893,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier|0.1.0 // Identifier - public Extension makeIdentifier(Identifier value) { + public static Extension makeIdentifier(Identifier value) { return new Extension(ExtensionConstants.EXT_IDENTIFIER).setValue(value); } - public ElementDefinition addIdentifier(ElementDefinition context, Identifier value) { + public static ElementDefinition addIdentifier(ElementDefinition context, Identifier value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_IDENTIFIER, value); return context; } - public List getIdentifierList(ElementDefinition context) { + public static List getIdentifierList(ElementDefinition context) { return ExtensionsUtils.getExtensionList(Identifier.class, context, ExtensionConstants.EXT_IDENTIFIER); } @@ -2910,24 +2910,24 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet|0.1.0 // Inherited extensible value set - public Extension makeInheritedExtensibleValueSetUri(String value) { + public static Extension makeInheritedExtensibleValueSetUri(String value) { return new Extension(ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET).setValue(new UriType(value)); } - public Extension makeInheritedExtensibleValueSetCanonical(String value) { + public static Extension makeInheritedExtensibleValueSetCanonical(String value) { return new Extension(ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET).setValue(new CanonicalType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addInheritedExtensibleValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addInheritedExtensibleValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET, new UriType(value)); return context; } - public List getInheritedExtensibleValueSetStringList(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { + public static List getInheritedExtensibleValueSetStringList(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addInheritedExtensibleValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addInheritedExtensibleValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_INHERITED_EXTENSIBLE_VALUE_SET, new CanonicalType(value)); return context; } @@ -2936,16 +2936,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding|0.1.0 // Is common binding - public Extension makeIsCommonBinding(boolean value) { + public static Extension makeIsCommonBinding(boolean value) { return new Extension(ExtensionConstants.EXT_IS_COMMON_BINDING).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setIsCommonBinding(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setIsCommonBinding(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_IS_COMMON_BINDING, new BooleanType(value)); return context; } - public Boolean getIsCommonBinding(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { + public static Boolean getIsCommonBinding(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_IS_COMMON_BINDING); } @@ -2953,24 +2953,24 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet|0.1.0 // Max value set - public Extension makeMaxValueSetUri(String value) { + public static Extension makeMaxValueSetUri(String value) { return new Extension(ExtensionConstants.EXT_MAX_VALUE_SET).setValue(new UriType(value)); } - public Extension makeMaxValueSetCanonical(String value) { + public static Extension makeMaxValueSetCanonical(String value) { return new Extension(ExtensionConstants.EXT_MAX_VALUE_SET).setValue(new CanonicalType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMaxValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMaxValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_VALUE_SET, new UriType(value)); return context; } - public String getMaxValueSetString(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { + public static String getMaxValueSetString(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_MAX_VALUE_SET); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMaxValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMaxValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_VALUE_SET, new CanonicalType(value)); return context; } @@ -2979,24 +2979,24 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet|0.1.0 // Min value set - public Extension makeMinValueSetUri(String value) { + public static Extension makeMinValueSetUri(String value) { return new Extension(ExtensionConstants.EXT_MIN_VALUE_SET).setValue(new UriType(value)); } - public Extension makeMinValueSetCanonical(String value) { + public static Extension makeMinValueSetCanonical(String value) { return new Extension(ExtensionConstants.EXT_MIN_VALUE_SET).setValue(new CanonicalType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMinValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMinValueSetUri(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_VALUE_SET, new UriType(value)); return context; } - public String getMinValueSetString(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { + public static String getMinValueSetString(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_MIN_VALUE_SET); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMinValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent setMinValueSetCanonical(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_VALUE_SET, new CanonicalType(value)); return context; } @@ -3005,25 +3005,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace|0.1.0 // Namespace - public Extension makeNamespace(String value) { + public static Extension makeNamespace(String value) { return new Extension(ExtensionConstants.EXT_NAMESPACE).setValue(new UriType(value)); } - public ElementDefinition setNamespace(ElementDefinition context, String value) { + public static ElementDefinition setNamespace(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NAMESPACE, new UriType(value)); return context; } - public String getNamespace(ElementDefinition context) { + public static String getNamespace(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NAMESPACE); } - public StructureDefinition setNamespace(StructureDefinition context, String value) { + public static StructureDefinition setNamespace(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NAMESPACE, new UriType(value)); return context; } - public String getNamespace(StructureDefinition context) { + public static String getNamespace(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NAMESPACE); } @@ -3031,16 +3031,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern|0.1.0 // Pattern - public Extension makePattern(String value) { + public static Extension makePattern(String value) { return new Extension(ExtensionConstants.EXT_PATTERN).setValue(new CanonicalType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setPattern(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setPattern(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PATTERN, new CanonicalType(value)); return context; } - public String getPattern(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static String getPattern(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PATTERN); } @@ -3048,7 +3048,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element|0.1.0 // Profile Element - public Extension makeProfileElement(String value) { + public static Extension makeProfileElement(String value) { return new Extension(ExtensionConstants.EXT_PROFILE_ELEMENT).setValue(new StringType(value)); } @@ -3056,16 +3056,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-question|0.1.0 // Question - public Extension makeQuestion(String value) { + public static Extension makeQuestion(String value) { return new Extension(ExtensionConstants.EXT_QUESTION).setValue(new StringType(value)); } - public ElementDefinition addQuestion(ElementDefinition context, String value) { + public static ElementDefinition addQuestion(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QUESTION, new StringType(value)); return context; } - public List getQuestionList(ElementDefinition context) { + public static List getQuestionList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QUESTION); } @@ -3073,16 +3073,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-selector|0.1.0 // Selector - public Extension makeSelector(String value) { + public static Extension makeSelector(String value) { return new Extension(ExtensionConstants.EXT_SELECTOR).setValue(new StringType(value)); } - public ElementDefinition setSelector(ElementDefinition context, String value) { + public static ElementDefinition setSelector(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SELECTOR, new StringType(value)); return context; } - public String getSelector(ElementDefinition context) { + public static String getSelector(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SELECTOR); } @@ -3090,52 +3090,52 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress|0.1.0 // Suppress - public Extension makeSuppress(boolean value) { + public static Extension makeSuppress(boolean value) { return new Extension(ExtensionConstants.EXT_SUPPRESS).setValue(new BooleanType(value)); } - public Coding setSuppress(Coding context, boolean value) { + public static Coding setSuppress(Coding context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value)); return context; } - public Boolean getSuppress(Coding context) { + public static Boolean getSuppress(Coding context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS); } - public MarkdownType setSuppress(MarkdownType context, boolean value) { + public static MarkdownType setSuppress(MarkdownType context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value)); return context; } - public Boolean getSuppress(MarkdownType context) { + public static Boolean getSuppress(MarkdownType context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS); } - public StringType setSuppress(StringType context, boolean value) { + public static StringType setSuppress(StringType context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value)); return context; } - public Boolean getSuppress(StringType context) { + public static Boolean getSuppress(StringType context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent setSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent setSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value)); return context; } - public Boolean getSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent context) { + public static Boolean getSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent setSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPRESS, new BooleanType(value)); return context; } - public Boolean getSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) { + public static Boolean getSuppress(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPRESS); } @@ -3143,16 +3143,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable|0.1.0 // Translatable - public Extension makeTranslatable(boolean value) { + public static Extension makeTranslatable(boolean value) { return new Extension(ExtensionConstants.EXT_TRANSLATABLE).setValue(new BooleanType(value)); } - public ElementDefinition setTranslatable(ElementDefinition context, boolean value) { + public static ElementDefinition setTranslatable(ElementDefinition context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRANSLATABLE, new BooleanType(value)); return context; } - public Boolean getTranslatable(ElementDefinition context) { + public static Boolean getTranslatable(ElementDefinition context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_TRANSLATABLE); } @@ -3160,16 +3160,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support|0.1.0 // Type must support - public Extension makeTypeMustSupport(boolean value) { + public static Extension makeTypeMustSupport(boolean value) { return new Extension(ExtensionConstants.EXT_TYPE_MUST_SUPPORT).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setTypeMustSupport(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setTypeMustSupport(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TYPE_MUST_SUPPORT, new BooleanType(value)); return context; } - public Boolean getTypeMustSupport(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static Boolean getTypeMustSupport(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_TYPE_MUST_SUPPORT); } @@ -3177,16 +3177,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter|0.1.0 // Encounter Associated Encounter - public Extension makeEncAssociatedEncounter(Reference value) { + public static Extension makeEncAssociatedEncounter(Reference value) { return new Extension(ExtensionConstants.EXT_ENC_ASSOCIATED_ENCOUNTER).setValue(value); } - public Encounter setEncAssociatedEncounter(Encounter context, Reference value) { + public static Encounter setEncAssociatedEncounter(Encounter context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENC_ASSOCIATED_ENCOUNTER, value); return context; } - public Reference getEncAssociatedEncounter(Encounter context) { + public static Reference getEncAssociatedEncounter(Encounter context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_ENC_ASSOCIATED_ENCOUNTER); } @@ -3194,16 +3194,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival|0.1.0 // Encounter Mode Of Arrival - public Extension makeEncModeOfArrival(Coding value) { + public static Extension makeEncModeOfArrival(Coding value) { return new Extension(ExtensionConstants.EXT_ENC_MODE_OF_ARRIVAL).setValue(value); } - public Encounter setEncModeOfArrival(Encounter context, Coding value) { + public static Encounter setEncModeOfArrival(Encounter context, Coding value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENC_MODE_OF_ARRIVAL, value); return context; } - public Coding getEncModeOfArrival(Encounter context) { + public static Coding getEncModeOfArrival(Encounter context) { return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_ENC_MODE_OF_ARRIVAL); } @@ -3211,16 +3211,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled|0.1.0 // Encounter Reason Cancelled - public Extension makeEncReasonCancelled(CodeableConcept value) { + public static Extension makeEncReasonCancelled(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_ENC_REASON_CANCELLED).setValue(value); } - public Encounter setEncReasonCancelled(Encounter context, CodeableConcept value) { + public static Encounter setEncReasonCancelled(Encounter context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENC_REASON_CANCELLED, value); return context; } - public CodeableConcept getEncReasonCancelled(Encounter context) { + public static CodeableConcept getEncReasonCancelled(Encounter context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_ENC_REASON_CANCELLED); } @@ -3228,25 +3228,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/entryFormat|0.1.0 // entry format - public Extension makeEntryFormat(String value) { + public static Extension makeEntryFormat(String value) { return new Extension(ExtensionConstants.EXT_ENTRY_FORMAT).setValue(new StringType(value)); } - public ElementDefinition setEntryFormat(ElementDefinition context, String value) { + public static ElementDefinition setEntryFormat(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENTRY_FORMAT, new StringType(value)); return context; } - public String getEntryFormat(ElementDefinition context) { + public static String getEntryFormat(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ENTRY_FORMAT); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setEntryFormat(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setEntryFormat(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENTRY_FORMAT, new StringType(value)); return context; } - public String getEntryFormat(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static String getEntryFormat(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ENTRY_FORMAT); } @@ -3254,142 +3254,142 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/event-basedOn|0.1.0 // based on - public Extension makeBasedOn(Reference value) { + public static Extension makeBasedOn(Reference value) { return new Extension(ExtensionConstants.EXT_BASED_ON).setValue(value); } - public ChargeItem addBasedOn(ChargeItem context, Reference value) { + public static ChargeItem addBasedOn(ChargeItem context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(ChargeItem context) { + public static List getBasedOnList(ChargeItem context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public ClinicalImpression addBasedOn(ClinicalImpression context, Reference value) { + public static ClinicalImpression addBasedOn(ClinicalImpression context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(ClinicalImpression context) { + public static List getBasedOnList(ClinicalImpression context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public Composition addBasedOn(Composition context, Reference value) { + public static Composition addBasedOn(Composition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(Composition context) { + public static List getBasedOnList(Composition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public Condition addBasedOn(Condition context, Reference value) { + public static Condition addBasedOn(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(Condition context) { + public static List getBasedOnList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public Consent addBasedOn(Consent context, Reference value) { + public static Consent addBasedOn(Consent context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(Consent context) { + public static List getBasedOnList(Consent context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public Coverage addBasedOn(Coverage context, Reference value) { + public static Coverage addBasedOn(Coverage context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(Coverage context) { + public static List getBasedOnList(Coverage context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public DetectedIssue addBasedOn(DetectedIssue context, Reference value) { + public static DetectedIssue addBasedOn(DetectedIssue context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(DetectedIssue context) { + public static List getBasedOnList(DetectedIssue context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public EpisodeOfCare addBasedOn(EpisodeOfCare context, Reference value) { + public static EpisodeOfCare addBasedOn(EpisodeOfCare context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(EpisodeOfCare context) { + public static List getBasedOnList(EpisodeOfCare context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public ExplanationOfBenefit addBasedOn(ExplanationOfBenefit context, Reference value) { + public static ExplanationOfBenefit addBasedOn(ExplanationOfBenefit context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(ExplanationOfBenefit context) { + public static List getBasedOnList(ExplanationOfBenefit context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public FamilyMemberHistory addBasedOn(FamilyMemberHistory context, Reference value) { + public static FamilyMemberHistory addBasedOn(FamilyMemberHistory context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(FamilyMemberHistory context) { + public static List getBasedOnList(FamilyMemberHistory context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public ImmunizationEvaluation addBasedOn(ImmunizationEvaluation context, Reference value) { + public static ImmunizationEvaluation addBasedOn(ImmunizationEvaluation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(ImmunizationEvaluation context) { + public static List getBasedOnList(ImmunizationEvaluation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public InventoryReport addBasedOn(InventoryReport context, Reference value) { + public static InventoryReport addBasedOn(InventoryReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(InventoryReport context) { + public static List getBasedOnList(InventoryReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public MedicationStatement addBasedOn(MedicationStatement context, Reference value) { + public static MedicationStatement addBasedOn(MedicationStatement context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(MedicationStatement context) { + public static List getBasedOnList(MedicationStatement context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public PaymentNotice addBasedOn(PaymentNotice context, Reference value) { + public static PaymentNotice addBasedOn(PaymentNotice context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(PaymentNotice context) { + public static List getBasedOnList(PaymentNotice context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } - public PaymentReconciliation addBasedOn(PaymentReconciliation context, Reference value) { + public static PaymentReconciliation addBasedOn(PaymentReconciliation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BASED_ON, value); return context; } - public List getBasedOnList(PaymentReconciliation context) { + public static List getBasedOnList(PaymentReconciliation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_BASED_ON); } @@ -3397,52 +3397,52 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/event-eventHistory|0.1.0 // event history - public Extension makeEventHistory(Reference value) { + public static Extension makeEventHistory(Reference value) { return new Extension(ExtensionConstants.EXT_EVENT_HISTORY).setValue(value); } - public DeviceUsage addEventHistory(DeviceUsage context, Reference value) { + public static DeviceUsage addEventHistory(DeviceUsage context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value); return context; } - public List getEventHistoryList(DeviceUsage context) { + public static List getEventHistoryList(DeviceUsage context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY); } - public DiagnosticReport addEventHistory(DiagnosticReport context, Reference value) { + public static DiagnosticReport addEventHistory(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value); return context; } - public List getEventHistoryList(DiagnosticReport context) { + public static List getEventHistoryList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY); } - public Observation addEventHistory(Observation context, Reference value) { + public static Observation addEventHistory(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value); return context; } - public List getEventHistoryList(Observation context) { + public static List getEventHistoryList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY); } - public SupplyDelivery addEventHistory(SupplyDelivery context, Reference value) { + public static SupplyDelivery addEventHistory(SupplyDelivery context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value); return context; } - public List getEventHistoryList(SupplyDelivery context) { + public static List getEventHistoryList(SupplyDelivery context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY); } - public Task addEventHistory(Task context, Reference value) { + public static Task addEventHistory(Task context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EVENT_HISTORY, value); return context; } - public List getEventHistoryList(Task context) { + public static List getEventHistoryList(Task context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EVENT_HISTORY); } @@ -3450,43 +3450,43 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/event-location|0.1.0 // Event Location - public Extension makeEventLocation(Reference value) { + public static Extension makeEventLocation(Reference value) { return new Extension(ExtensionConstants.EXT_EVENT_LOCATION).setValue(value); } - public DiagnosticReport setEventLocation(DiagnosticReport context, Reference value) { + public static DiagnosticReport setEventLocation(DiagnosticReport context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_LOCATION, value); return context; } - public Reference getEventLocation(DiagnosticReport context) { + public static Reference getEventLocation(DiagnosticReport context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_EVENT_LOCATION); } - public DocumentReference setEventLocation(DocumentReference context, Reference value) { + public static DocumentReference setEventLocation(DocumentReference context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_LOCATION, value); return context; } - public Reference getEventLocation(DocumentReference context) { + public static Reference getEventLocation(DocumentReference context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_EVENT_LOCATION); } - public Observation setEventLocation(Observation context, Reference value) { + public static Observation setEventLocation(Observation context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_LOCATION, value); return context; } - public Reference getEventLocation(Observation context) { + public static Reference getEventLocation(Observation context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_EVENT_LOCATION); } - public SupplyDelivery setEventLocation(SupplyDelivery context, Reference value) { + public static SupplyDelivery setEventLocation(SupplyDelivery context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_LOCATION, value); return context; } - public Reference getEventLocation(SupplyDelivery context) { + public static Reference getEventLocation(SupplyDelivery context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_EVENT_LOCATION); } @@ -3494,25 +3494,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/event-partOf|0.1.0 // part of - public Extension makePartOf(Reference value) { + public static Extension makePartOf(Reference value) { return new Extension(ExtensionConstants.EXT_PART_OF).setValue(value); } - public Condition addPartOf(Condition context, Reference value) { + public static Condition addPartOf(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PART_OF, value); return context; } - public List getPartOfList(Condition context) { + public static List getPartOfList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PART_OF); } - public DiagnosticReport addPartOf(DiagnosticReport context, Reference value) { + public static DiagnosticReport addPartOf(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PART_OF, value); return context; } - public List getPartOfList(DiagnosticReport context) { + public static List getPartOfList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PART_OF); } @@ -3520,16 +3520,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/event-performerFunction|0.1.0 // performer function - public Extension makePerformerFunction(CodeableConcept value) { + public static Extension makePerformerFunction(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PERFORMER_FUNCTION).setValue(value); } - public Reference setPerformerFunction(Reference context, CodeableConcept value) { + public static Reference setPerformerFunction(Reference context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PERFORMER_FUNCTION, value); return context; } - public CodeableConcept getPerformerFunction(Reference context) { + public static CodeableConcept getPerformerFunction(Reference context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PERFORMER_FUNCTION); } @@ -3537,52 +3537,52 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/event-statusReason|0.1.0 // status reason - public Extension makeEventStatusReason(CodeableConcept value) { + public static Extension makeEventStatusReason(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_EVENT_STATUS_REASON).setValue(value); } - public DeviceUsage setEventStatusReason(DeviceUsage context, CodeableConcept value) { + public static DeviceUsage setEventStatusReason(DeviceUsage context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value); return context; } - public CodeableConcept getEventStatusReason(DeviceUsage context) { + public static CodeableConcept getEventStatusReason(DeviceUsage context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON); } - public DiagnosticReport setEventStatusReason(DiagnosticReport context, CodeableConcept value) { + public static DiagnosticReport setEventStatusReason(DiagnosticReport context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value); return context; } - public CodeableConcept getEventStatusReason(DiagnosticReport context) { + public static CodeableConcept getEventStatusReason(DiagnosticReport context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON); } - public DocumentReference setEventStatusReason(DocumentReference context, CodeableConcept value) { + public static DocumentReference setEventStatusReason(DocumentReference context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value); return context; } - public CodeableConcept getEventStatusReason(DocumentReference context) { + public static CodeableConcept getEventStatusReason(DocumentReference context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON); } - public Observation setEventStatusReason(Observation context, CodeableConcept value) { + public static Observation setEventStatusReason(Observation context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value); return context; } - public CodeableConcept getEventStatusReason(Observation context) { + public static CodeableConcept getEventStatusReason(Observation context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON); } - public SupplyDelivery setEventStatusReason(SupplyDelivery context, CodeableConcept value) { + public static SupplyDelivery setEventStatusReason(SupplyDelivery context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EVENT_STATUS_REASON, value); return context; } - public CodeableConcept getEventStatusReason(SupplyDelivery context) { + public static CodeableConcept getEventStatusReason(SupplyDelivery context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_EVENT_STATUS_REASON); } @@ -3590,34 +3590,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/extended-contact-availability|0.1.0 // Extended Contact Availability - public Extension makeExtendedContactAvailability(Availability value) { + public static Extension makeExtendedContactAvailability(Availability value) { return new Extension(ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY).setValue(value); } - public Address setExtendedContactAvailability(Address context, Availability value) { + public static Address setExtendedContactAvailability(Address context, Availability value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY, value); return context; } - public Availability getExtendedContactAvailability(Address context) { + public static Availability getExtendedContactAvailability(Address context) { return ExtensionsUtils.getExtension(Availability.class, context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY); } - public ContactDetail setExtendedContactAvailability(ContactDetail context, Availability value) { + public static ContactDetail setExtendedContactAvailability(ContactDetail context, Availability value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY, value); return context; } - public Availability getExtendedContactAvailability(ContactDetail context) { + public static Availability getExtendedContactAvailability(ContactDetail context) { return ExtensionsUtils.getExtension(Availability.class, context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY); } - public ExtendedContactDetail setExtendedContactAvailability(ExtendedContactDetail context, Availability value) { + public static ExtendedContactDetail setExtendedContactAvailability(ExtendedContactDetail context, Availability value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY, value); return context; } - public Availability getExtendedContactAvailability(ExtendedContactDetail context) { + public static Availability getExtendedContactAvailability(ExtendedContactDetail context) { return ExtensionsUtils.getExtension(Availability.class, context, ExtensionConstants.EXT_EXTENDED_CONTACT_AVAILABILITY); } @@ -3625,16 +3625,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/extension-quantity-translation|0.1.0 // Quantity Translation - public Extension makeQuantityTranslation(Quantity value) { + public static Extension makeQuantityTranslation(Quantity value) { return new Extension(ExtensionConstants.EXT_QUANTITY_TRANSLATION).setValue(value); } - public Quantity addQuantityTranslation(Quantity context, Quantity value) { + public static Quantity addQuantityTranslation(Quantity context, Quantity value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QUANTITY_TRANSLATION, value); return context; } - public List getQuantityTranslationList(Quantity context) { + public static List getQuantityTranslationList(Quantity context) { return ExtensionsUtils.getExtensionList(Quantity.class, context, ExtensionConstants.EXT_QUANTITY_TRANSLATION); } @@ -3642,16 +3642,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation|0.1.0 // FamilyMemberHistory Observation - public Extension makeFMHObservation(Reference value) { + public static Extension makeFMHObservation(Reference value) { return new Extension(ExtensionConstants.EXT_FMHOBSERVATION).setValue(value); } - public FamilyMemberHistory addFMHObservation(FamilyMemberHistory context, Reference value) { + public static FamilyMemberHistory addFMHObservation(FamilyMemberHistory context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FMHOBSERVATION, value); return context; } - public List getFMHObservationList(FamilyMemberHistory context) { + public static List getFMHObservationList(FamilyMemberHistory context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FMHOBSERVATION); } @@ -3659,42 +3659,42 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement|0.1.0 // FamilyMemberHistory Abatement - public Extension makeFMHAbatement(String value) { + public static Extension makeFMHAbatement(String value) { return new Extension(ExtensionConstants.EXT_FMHABATEMENT).setValue(new DateType(value)); } - public Extension makeFMHAbatement(Age value) { + public static Extension makeFMHAbatement(Age value) { return new Extension(ExtensionConstants.EXT_FMHABATEMENT).setValue(value); } - public Extension makeFMHAbatement(boolean value) { + public static Extension makeFMHAbatement(boolean value) { return new Extension(ExtensionConstants.EXT_FMHABATEMENT).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, String value) { + public static org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHABATEMENT, new DateType(value)); return context; } - public String getFMHAbatementString(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) { + public static String getFMHAbatementString(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_FMHABATEMENT); } - public org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, Age value) { + public static org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, Age value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHABATEMENT, value); return context; } - public Age getFMHAbatementAge(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) { + public static Age getFMHAbatementAge(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) { return ExtensionsUtils.getExtension(Age.class, context, ExtensionConstants.EXT_FMHABATEMENT); } - public org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, boolean value) { + public static org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHAbatement(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHABATEMENT, new BooleanType(value)); return context; } - public Boolean getFMHAbatementBoolean(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) { + public static Boolean getFMHAbatementBoolean(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_FMHABATEMENT); } @@ -3702,16 +3702,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record|0.1.0 // FamilyMemberHistory Patient Record - public Extension makeFMHPatientRecord(Reference value) { + public static Extension makeFMHPatientRecord(Reference value) { return new Extension(ExtensionConstants.EXT_FMHPATIENT_RECORD).setValue(value); } - public FamilyMemberHistory addFMHPatientRecord(FamilyMemberHistory context, Reference value) { + public static FamilyMemberHistory addFMHPatientRecord(FamilyMemberHistory context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FMHPATIENT_RECORD, value); return context; } - public List getFMHPatientRecordList(FamilyMemberHistory context) { + public static List getFMHPatientRecordList(FamilyMemberHistory context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FMHPATIENT_RECORD); } @@ -3719,16 +3719,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity|0.1.0 // FamilyMemberHistory Severity - public Extension makeFMHSeverity(CodeableConcept value) { + public static Extension makeFMHSeverity(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_FMHSEVERITY).setValue(value); } - public org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHSeverity(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent setFMHSeverity(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHSEVERITY, value); return context; } - public CodeableConcept getFMHSeverity(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) { + public static CodeableConcept getFMHSeverity(org.hl7.fhir.r5.model.FamilyMemberHistory.FamilyMemberHistoryConditionComponent context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_FMHSEVERITY); } @@ -3736,16 +3736,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/familymemberhistory-type|0.1.0 // FamilyMemberHistory Type - public Extension makeFMHType(CodeableConcept value) { + public static Extension makeFMHType(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_FMHTYPE).setValue(value); } - public FamilyMemberHistory setFMHType(FamilyMemberHistory context, CodeableConcept value) { + public static FamilyMemberHistory setFMHType(FamilyMemberHistory context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FMHTYPE, value); return context; } - public CodeableConcept getFMHType(FamilyMemberHistory context) { + public static CodeableConcept getFMHType(FamilyMemberHistory context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_FMHTYPE); } @@ -3753,16 +3753,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/firstCreated|0.1.0 // First created - public Extension makeFirstCreated(String value) { + public static Extension makeFirstCreated(String value) { return new Extension(ExtensionConstants.EXT_FIRST_CREATED).setValue(new InstantType(value)); } - public Meta setFirstCreated(Meta context, String value) { + public static Meta setFirstCreated(Meta context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FIRST_CREATED, new InstantType(value)); return context; } - public String getFirstCreated(Meta context) { + public static String getFirstCreated(Meta context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_FIRST_CREATED); } @@ -3770,16 +3770,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/flag-detail|0.1.0 // Flag details - public Extension makeFlagDetail(Reference value) { + public static Extension makeFlagDetail(Reference value) { return new Extension(ExtensionConstants.EXT_FLAG_DETAIL).setValue(value); } - public Flag addFlagDetail(Flag context, Reference value) { + public static Flag addFlagDetail(Flag context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FLAG_DETAIL, value); return context; } - public List getFlagDetailList(Flag context) { + public static List getFlagDetailList(Flag context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FLAG_DETAIL); } @@ -3787,16 +3787,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/flag-priority|0.1.0 // Flag Priority - public Extension makeFlagPriority(CodeableConcept value) { + public static Extension makeFlagPriority(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_FLAG_PRIORITY).setValue(value); } - public Flag setFlagPriority(Flag context, CodeableConcept value) { + public static Flag setFlagPriority(Flag context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_FLAG_PRIORITY, value); return context; } - public CodeableConcept getFlagPriority(Flag context) { + public static CodeableConcept getFlagPriority(Flag context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_FLAG_PRIORITY); } @@ -3804,16 +3804,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/goal-reasonRejected|0.1.0 // Goal Reason Rejected - public Extension makeGoalReasonRejected(CodeableConcept value) { + public static Extension makeGoalReasonRejected(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_GOAL_REASON_REJECTED).setValue(value); } - public Goal setGoalReasonRejected(Goal context, CodeableConcept value) { + public static Goal setGoalReasonRejected(Goal context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GOAL_REASON_REJECTED, value); return context; } - public CodeableConcept getGoalReasonRejected(Goal context) { + public static CodeableConcept getGoalReasonRejected(Goal context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_GOAL_REASON_REJECTED); } @@ -3821,7 +3821,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/http-response-header|0.1.0 // Bundle HTTP Response header - public Extension makeBundleHttpResponseHeader(String value) { + public static Extension makeBundleHttpResponseHeader(String value) { return new Extension(ExtensionConstants.EXT_BUNDLE_HTTP_RESPONSE_HEADER).setValue(new StringType(value)); } @@ -3829,16 +3829,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/humanname-assembly-order|0.1.0 // Assembly Order - public Extension makeAssemblyOrder(String value) { + public static Extension makeAssemblyOrder(String value) { return new Extension(ExtensionConstants.EXT_ASSEMBLY_ORDER).setValue(new CodeType(value)); } - public HumanName setAssemblyOrder(HumanName context, String value) { + public static HumanName setAssemblyOrder(HumanName context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ASSEMBLY_ORDER, new CodeType(value)); return context; } - public String getAssemblyOrder(HumanName context) { + public static String getAssemblyOrder(HumanName context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ASSEMBLY_ORDER); } @@ -3846,16 +3846,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/humanname-fathers-family|0.1.0 // Fathers Family - public Extension makeFathersFamily(String value) { + public static Extension makeFathersFamily(String value) { return new Extension(ExtensionConstants.EXT_FATHERS_FAMILY).setValue(new StringType(value)); } - public StringType addFathersFamily(StringType context, String value) { + public static StringType addFathersFamily(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FATHERS_FAMILY, new StringType(value)); return context; } - public List getFathersFamilyList(StringType context) { + public static List getFathersFamilyList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_FATHERS_FAMILY); } @@ -3863,16 +3863,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/humanname-mothers-family|0.1.0 // Mothers Family - public Extension makeMothersFamily(String value) { + public static Extension makeMothersFamily(String value) { return new Extension(ExtensionConstants.EXT_MOTHERS_FAMILY).setValue(new StringType(value)); } - public StringType addMothersFamily(StringType context, String value) { + public static StringType addMothersFamily(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_MOTHERS_FAMILY, new StringType(value)); return context; } - public List getMothersFamilyList(StringType context) { + public static List getMothersFamilyList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_MOTHERS_FAMILY); } @@ -3880,16 +3880,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/humanname-own-name|0.1.0 // Own Name - public Extension makeOwnName(String value) { + public static Extension makeOwnName(String value) { return new Extension(ExtensionConstants.EXT_OWN_NAME).setValue(new StringType(value)); } - public StringType setOwnName(StringType context, String value) { + public static StringType setOwnName(StringType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OWN_NAME, new StringType(value)); return context; } - public String getOwnName(StringType context) { + public static String getOwnName(StringType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OWN_NAME); } @@ -3897,16 +3897,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/humanname-own-prefix|0.1.0 // Own Prefix - public Extension makeOwnPrefix(String value) { + public static Extension makeOwnPrefix(String value) { return new Extension(ExtensionConstants.EXT_OWN_PREFIX).setValue(new StringType(value)); } - public StringType setOwnPrefix(StringType context, String value) { + public static StringType setOwnPrefix(StringType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OWN_PREFIX, new StringType(value)); return context; } - public String getOwnPrefix(StringType context) { + public static String getOwnPrefix(StringType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OWN_PREFIX); } @@ -3914,16 +3914,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/humanname-partner-name|0.1.0 // Partner Name - public Extension makePartnerName(String value) { + public static Extension makePartnerName(String value) { return new Extension(ExtensionConstants.EXT_PARTNER_NAME).setValue(new StringType(value)); } - public StringType setPartnerName(StringType context, String value) { + public static StringType setPartnerName(StringType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PARTNER_NAME, new StringType(value)); return context; } - public String getPartnerName(StringType context) { + public static String getPartnerName(StringType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PARTNER_NAME); } @@ -3931,16 +3931,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix|0.1.0 // Partner Prefix - public Extension makePartnerPrefix(String value) { + public static Extension makePartnerPrefix(String value) { return new Extension(ExtensionConstants.EXT_PARTNER_PREFIX).setValue(new StringType(value)); } - public StringType setPartnerPrefix(StringType context, String value) { + public static StringType setPartnerPrefix(StringType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PARTNER_PREFIX, new StringType(value)); return context; } - public String getPartnerPrefix(StringType context) { + public static String getPartnerPrefix(StringType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PARTNER_PREFIX); } @@ -3948,16 +3948,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/identifier-checkDigit|0.1.0 // ID Check digit - public Extension makeIDCheckDigit(String value) { + public static Extension makeIDCheckDigit(String value) { return new Extension(ExtensionConstants.EXT_IDCHECK_DIGIT).setValue(new StringType(value)); } - public Identifier setIDCheckDigit(Identifier context, String value) { + public static Identifier setIDCheckDigit(Identifier context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_IDCHECK_DIGIT, new StringType(value)); return context; } - public String getIDCheckDigit(Identifier context) { + public static String getIDCheckDigit(Identifier context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_IDCHECK_DIGIT); } @@ -3965,16 +3965,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/identifier-validDate|0.1.0 // Valid date - public Extension makeValidDate(String value) { + public static Extension makeValidDate(String value) { return new Extension(ExtensionConstants.EXT_VALID_DATE).setValue(new DateTimeType(value)); } - public Identifier addValidDate(Identifier context, String value) { + public static Identifier addValidDate(Identifier context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VALID_DATE, new DateTimeType(value)); return context; } - public List getValidDateList(Identifier context) { + public static List getValidDateList(Identifier context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VALID_DATE); } @@ -3982,16 +3982,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/immunization-procedure|0.1.0 // Immunization Procedure - public Extension makeImmProcedure(CodeableReference value) { + public static Extension makeImmProcedure(CodeableReference value) { return new Extension(ExtensionConstants.EXT_IMM_PROCEDURE).setValue(value); } - public Immunization setImmProcedure(Immunization context, CodeableReference value) { + public static Immunization setImmProcedure(Immunization context, CodeableReference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_IMM_PROCEDURE, value); return context; } - public CodeableReference getImmProcedure(Immunization context) { + public static CodeableReference getImmProcedure(Immunization context) { return ExtensionsUtils.getExtension(CodeableReference.class, context, ExtensionConstants.EXT_IMM_PROCEDURE); } @@ -3999,16 +3999,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-AD-use|0.1.0 // AD Use - public Extension makeADUse(String value) { + public static Extension makeADUse(String value) { return new Extension(ExtensionConstants.EXT_ADUSE).setValue(new CodeType(value)); } - public Address setADUse(Address context, String value) { + public static Address setADUse(Address context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ADUSE, new CodeType(value)); return context; } - public String getADUse(Address context) { + public static String getADUse(Address context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ADUSE); } @@ -4016,16 +4016,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator|0.1.0 // ADXP Additional Locator - public Extension makeADXPAdditionalLocator(String value) { + public static Extension makeADXPAdditionalLocator(String value) { return new Extension(ExtensionConstants.EXT_ADXPADDITIONAL_LOCATOR).setValue(new StringType(value)); } - public StringType addADXPAdditionalLocator(StringType context, String value) { + public static StringType addADXPAdditionalLocator(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPADDITIONAL_LOCATOR, new StringType(value)); return context; } - public List getADXPAdditionalLocatorList(StringType context) { + public static List getADXPAdditionalLocatorList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPADDITIONAL_LOCATOR); } @@ -4033,16 +4033,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix|0.1.0 // ADXP Building Number Suffix - public Extension makeADXPBuildingNumberSuffix(String value) { + public static Extension makeADXPBuildingNumberSuffix(String value) { return new Extension(ExtensionConstants.EXT_ADXPBUILDING_NUMBER_SUFFIX).setValue(new StringType(value)); } - public StringType addADXPBuildingNumberSuffix(StringType context, String value) { + public static StringType addADXPBuildingNumberSuffix(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPBUILDING_NUMBER_SUFFIX, new StringType(value)); return context; } - public List getADXPBuildingNumberSuffixList(StringType context) { + public static List getADXPBuildingNumberSuffixList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPBUILDING_NUMBER_SUFFIX); } @@ -4050,16 +4050,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf|0.1.0 // ADXP Care Of - public Extension makeADXPCareOf(String value) { + public static Extension makeADXPCareOf(String value) { return new Extension(ExtensionConstants.EXT_ADXPCARE_OF).setValue(new StringType(value)); } - public StringType addADXPCareOf(StringType context, String value) { + public static StringType addADXPCareOf(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPCARE_OF, new StringType(value)); return context; } - public List getADXPCareOfList(StringType context) { + public static List getADXPCareOfList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPCARE_OF); } @@ -4067,16 +4067,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract|0.1.0 // ADXP Census Tract - public Extension makeADXPCensusTract(String value) { + public static Extension makeADXPCensusTract(String value) { return new Extension(ExtensionConstants.EXT_ADXPCENSUS_TRACT).setValue(new StringType(value)); } - public StringType addADXPCensusTract(StringType context, String value) { + public static StringType addADXPCensusTract(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPCENSUS_TRACT, new StringType(value)); return context; } - public List getADXPCensusTractList(StringType context) { + public static List getADXPCensusTractList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPCENSUS_TRACT); } @@ -4084,16 +4084,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter|0.1.0 // ADXP Delimiter - public Extension makeADXPDelimiter(String value) { + public static Extension makeADXPDelimiter(String value) { return new Extension(ExtensionConstants.EXT_ADXPDELIMITER).setValue(new StringType(value)); } - public StringType addADXPDelimiter(StringType context, String value) { + public static StringType addADXPDelimiter(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIMITER, new StringType(value)); return context; } - public List getADXPDelimiterList(StringType context) { + public static List getADXPDelimiterList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIMITER); } @@ -4101,16 +4101,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine|0.1.0 // ADXP Delivery Address Line - public Extension makeADXPDeliveryAddressLine(String value) { + public static Extension makeADXPDeliveryAddressLine(String value) { return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_ADDRESS_LINE).setValue(new StringType(value)); } - public StringType addADXPDeliveryAddressLine(StringType context, String value) { + public static StringType addADXPDeliveryAddressLine(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_ADDRESS_LINE, new StringType(value)); return context; } - public List getADXPDeliveryAddressLineList(StringType context) { + public static List getADXPDeliveryAddressLineList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_ADDRESS_LINE); } @@ -4118,16 +4118,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea|0.1.0 // ADXP Delivery Installation Area - public Extension makeADXPDeliveryInstallationArea(String value) { + public static Extension makeADXPDeliveryInstallationArea(String value) { return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_AREA).setValue(new StringType(value)); } - public StringType addADXPDeliveryInstallationArea(StringType context, String value) { + public static StringType addADXPDeliveryInstallationArea(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_AREA, new StringType(value)); return context; } - public List getADXPDeliveryInstallationAreaList(StringType context) { + public static List getADXPDeliveryInstallationAreaList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_AREA); } @@ -4135,16 +4135,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier|0.1.0 // ADXP Delivery Installation Qualifier - public Extension makeADXPDeliveryInstallationQualifier(String value) { + public static Extension makeADXPDeliveryInstallationQualifier(String value) { return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_QUALIFIER).setValue(new StringType(value)); } - public StringType addADXPDeliveryInstallationQualifier(StringType context, String value) { + public static StringType addADXPDeliveryInstallationQualifier(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_QUALIFIER, new StringType(value)); return context; } - public List getADXPDeliveryInstallationQualifierList(StringType context) { + public static List getADXPDeliveryInstallationQualifierList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_QUALIFIER); } @@ -4152,16 +4152,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType|0.1.0 // ADXP Delivery Installation Type - public Extension makeADXPDeliveryInstallationType(String value) { + public static Extension makeADXPDeliveryInstallationType(String value) { return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_TYPE).setValue(new StringType(value)); } - public StringType addADXPDeliveryInstallationType(StringType context, String value) { + public static StringType addADXPDeliveryInstallationType(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_TYPE, new StringType(value)); return context; } - public List getADXPDeliveryInstallationTypeList(StringType context) { + public static List getADXPDeliveryInstallationTypeList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_INSTALLATION_TYPE); } @@ -4169,16 +4169,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode|0.1.0 // ADXP Delivery Mode - public Extension makeADXPDeliveryMode(String value) { + public static Extension makeADXPDeliveryMode(String value) { return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_MODE).setValue(new StringType(value)); } - public StringType addADXPDeliveryMode(StringType context, String value) { + public static StringType addADXPDeliveryMode(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_MODE, new StringType(value)); return context; } - public List getADXPDeliveryModeList(StringType context) { + public static List getADXPDeliveryModeList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_MODE); } @@ -4186,16 +4186,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier|0.1.0 // ADXP Delivery Mode Identifier - public Extension makeADXPDeliveryModeIdentifier(String value) { + public static Extension makeADXPDeliveryModeIdentifier(String value) { return new Extension(ExtensionConstants.EXT_ADXPDELIVERY_MODE_IDENTIFIER).setValue(new StringType(value)); } - public StringType addADXPDeliveryModeIdentifier(StringType context, String value) { + public static StringType addADXPDeliveryModeIdentifier(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDELIVERY_MODE_IDENTIFIER, new StringType(value)); return context; } - public List getADXPDeliveryModeIdentifierList(StringType context) { + public static List getADXPDeliveryModeIdentifierList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDELIVERY_MODE_IDENTIFIER); } @@ -4203,16 +4203,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction|0.1.0 // ADXP Direction - public Extension makeADXPDirection(String value) { + public static Extension makeADXPDirection(String value) { return new Extension(ExtensionConstants.EXT_ADXPDIRECTION).setValue(new StringType(value)); } - public StringType addADXPDirection(StringType context, String value) { + public static StringType addADXPDirection(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPDIRECTION, new StringType(value)); return context; } - public List getADXPDirectionList(StringType context) { + public static List getADXPDirectionList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPDIRECTION); } @@ -4220,16 +4220,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber|0.1.0 // ADXP House Number - public Extension makeADXPHouseNumber(String value) { + public static Extension makeADXPHouseNumber(String value) { return new Extension(ExtensionConstants.EXT_ADXPHOUSE_NUMBER).setValue(new StringType(value)); } - public StringType addADXPHouseNumber(StringType context, String value) { + public static StringType addADXPHouseNumber(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPHOUSE_NUMBER, new StringType(value)); return context; } - public List getADXPHouseNumberList(StringType context) { + public static List getADXPHouseNumberList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPHOUSE_NUMBER); } @@ -4237,16 +4237,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric|0.1.0 // ADXP House Number Numeric - public Extension makeADXPHouseNumberNumeric(String value) { + public static Extension makeADXPHouseNumberNumeric(String value) { return new Extension(ExtensionConstants.EXT_ADXPHOUSE_NUMBER_NUMERIC).setValue(new StringType(value)); } - public StringType addADXPHouseNumberNumeric(StringType context, String value) { + public static StringType addADXPHouseNumberNumeric(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPHOUSE_NUMBER_NUMERIC, new StringType(value)); return context; } - public List getADXPHouseNumberNumericList(StringType context) { + public static List getADXPHouseNumberNumericList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPHOUSE_NUMBER_NUMERIC); } @@ -4254,16 +4254,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox|0.1.0 // ADXP Post Box - public Extension makeADXPPostBox(String value) { + public static Extension makeADXPPostBox(String value) { return new Extension(ExtensionConstants.EXT_ADXPPOST_BOX).setValue(new StringType(value)); } - public StringType addADXPPostBox(StringType context, String value) { + public static StringType addADXPPostBox(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPPOST_BOX, new StringType(value)); return context; } - public List getADXPPostBoxList(StringType context) { + public static List getADXPPostBoxList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPPOST_BOX); } @@ -4271,16 +4271,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct|0.1.0 // ADXP Precinct - public Extension makeADXPPrecinct(String value) { + public static Extension makeADXPPrecinct(String value) { return new Extension(ExtensionConstants.EXT_ADXPPRECINCT).setValue(new StringType(value)); } - public Address addADXPPrecinct(Address context, String value) { + public static Address addADXPPrecinct(Address context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPPRECINCT, new StringType(value)); return context; } - public List getADXPPrecinctList(Address context) { + public static List getADXPPrecinctList(Address context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPPRECINCT); } @@ -4288,16 +4288,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine|0.1.0 // ADXP Street Address Line - public Extension makeADXPStreetAddressLine(String value) { + public static Extension makeADXPStreetAddressLine(String value) { return new Extension(ExtensionConstants.EXT_ADXPSTREET_ADDRESS_LINE).setValue(new StringType(value)); } - public StringType addADXPStreetAddressLine(StringType context, String value) { + public static StringType addADXPStreetAddressLine(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPSTREET_ADDRESS_LINE, new StringType(value)); return context; } - public List getADXPStreetAddressLineList(StringType context) { + public static List getADXPStreetAddressLineList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPSTREET_ADDRESS_LINE); } @@ -4305,16 +4305,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName|0.1.0 // ADXP Street Name - public Extension makeADXPStreetName(String value) { + public static Extension makeADXPStreetName(String value) { return new Extension(ExtensionConstants.EXT_ADXPSTREET_NAME).setValue(new StringType(value)); } - public StringType addADXPStreetName(StringType context, String value) { + public static StringType addADXPStreetName(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPSTREET_NAME, new StringType(value)); return context; } - public List getADXPStreetNameList(StringType context) { + public static List getADXPStreetNameList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPSTREET_NAME); } @@ -4322,16 +4322,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase|0.1.0 // ADXP Street Name Base - public Extension makeADXPStreetNameBase(String value) { + public static Extension makeADXPStreetNameBase(String value) { return new Extension(ExtensionConstants.EXT_ADXPSTREET_NAME_BASE).setValue(new StringType(value)); } - public StringType addADXPStreetNameBase(StringType context, String value) { + public static StringType addADXPStreetNameBase(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPSTREET_NAME_BASE, new StringType(value)); return context; } - public List getADXPStreetNameBaseList(StringType context) { + public static List getADXPStreetNameBaseList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPSTREET_NAME_BASE); } @@ -4339,16 +4339,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType|0.1.0 // ADXP Street Name Type - public Extension makeADXPStreetNameType(String value) { + public static Extension makeADXPStreetNameType(String value) { return new Extension(ExtensionConstants.EXT_ADXPSTREET_NAME_TYPE).setValue(new StringType(value)); } - public StringType addADXPStreetNameType(StringType context, String value) { + public static StringType addADXPStreetNameType(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPSTREET_NAME_TYPE, new StringType(value)); return context; } - public List getADXPStreetNameTypeList(StringType context) { + public static List getADXPStreetNameTypeList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPSTREET_NAME_TYPE); } @@ -4356,16 +4356,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID|0.1.0 // ADXP Unit ID - public Extension makeADXPUnitID(String value) { + public static Extension makeADXPUnitID(String value) { return new Extension(ExtensionConstants.EXT_ADXPUNIT_I_D).setValue(new StringType(value)); } - public StringType addADXPUnitID(StringType context, String value) { + public static StringType addADXPUnitID(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPUNIT_I_D, new StringType(value)); return context; } - public List getADXPUnitIDList(StringType context) { + public static List getADXPUnitIDList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPUNIT_I_D); } @@ -4373,16 +4373,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType|0.1.0 // ADXP Unit Type - public Extension makeADXPUnitType(String value) { + public static Extension makeADXPUnitType(String value) { return new Extension(ExtensionConstants.EXT_ADXPUNIT_TYPE).setValue(new StringType(value)); } - public StringType addADXPUnitType(StringType context, String value) { + public static StringType addADXPUnitType(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADXPUNIT_TYPE, new StringType(value)); return context; } - public List getADXPUnitTypeList(StringType context) { + public static List getADXPUnitTypeList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADXPUNIT_TYPE); } @@ -4390,16 +4390,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier|0.1.0 // EN Qualifier - public Extension makeENQualifier(String value) { + public static Extension makeENQualifier(String value) { return new Extension(ExtensionConstants.EXT_ENQUALIFIER).setValue(new CodeType(value)); } - public StringType addENQualifier(StringType context, String value) { + public static StringType addENQualifier(StringType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ENQUALIFIER, new CodeType(value)); return context; } - public List getENQualifierList(StringType context) { + public static List getENQualifierList(StringType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ENQUALIFIER); } @@ -4407,16 +4407,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation|0.1.0 // EN Representation - public Extension makeENRepresentation(String value) { + public static Extension makeENRepresentation(String value) { return new Extension(ExtensionConstants.EXT_ENREPRESENTATION).setValue(new CodeType(value)); } - public HumanName setENRepresentation(HumanName context, String value) { + public static HumanName setENRepresentation(HumanName context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENREPRESENTATION, new CodeType(value)); return context; } - public String getENRepresentation(HumanName context) { + public static String getENRepresentation(HumanName context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ENREPRESENTATION); } @@ -4424,16 +4424,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-EN-use|0.1.0 // EN use - public Extension makeENUse(String value) { + public static Extension makeENUse(String value) { return new Extension(ExtensionConstants.EXT_ENUSE).setValue(new CodeType(value)); } - public HumanName setENUse(HumanName context, String value) { + public static HumanName setENUse(HumanName context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ENUSE, new CodeType(value)); return context; } - public String getENUse(HumanName context) { + public static String getENUse(HumanName context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ENUSE); } @@ -4441,16 +4441,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address|0.1.0 // TEL address - public Extension makeTELAddress(String value) { + public static Extension makeTELAddress(String value) { return new Extension(ExtensionConstants.EXT_TELADDRESS).setValue(new UrlType(value)); } - public ContactPoint setTELAddress(ContactPoint context, String value) { + public static ContactPoint setTELAddress(ContactPoint context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TELADDRESS, new UrlType(value)); return context; } - public String getTELAddress(ContactPoint context) { + public static String getTELAddress(ContactPoint context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TELADDRESS); } @@ -4458,16 +4458,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-codedString|0.1.0 // Coded string - public Extension makeCodedString(Coding value) { + public static Extension makeCodedString(Coding value) { return new Extension(ExtensionConstants.EXT_CODED_STRING).setValue(value); } - public StringType addCodedString(StringType context, Coding value) { + public static StringType addCodedString(StringType context, Coding value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_CODED_STRING, value); return context; } - public List getCodedStringList(StringType context) { + public static List getCodedStringList(StringType context) { return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_CODED_STRING); } @@ -4475,16 +4475,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor|0.1.0 // null flavor - public Extension makeNullFlavor(String value) { + public static Extension makeNullFlavor(String value) { return new Extension(ExtensionConstants.EXT_NULL_FLAVOR).setValue(new CodeType(value)); } - public Element setNullFlavor(Element context, String value) { + public static Element setNullFlavor(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NULL_FLAVOR, new CodeType(value)); return context; } - public String getNullFlavor(Element context) { + public static String getNullFlavor(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NULL_FLAVOR); } @@ -4492,34 +4492,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-preferred|0.1.0 // Preferred - public Extension makePreferred(boolean value) { + public static Extension makePreferred(boolean value) { return new Extension(ExtensionConstants.EXT_PREFERRED).setValue(new BooleanType(value)); } - public Address setPreferred(Address context, boolean value) { + public static Address setPreferred(Address context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PREFERRED, new BooleanType(value)); return context; } - public Boolean getPreferred(Address context) { + public static Boolean getPreferred(Address context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PREFERRED); } - public ContactPoint setPreferred(ContactPoint context, boolean value) { + public static ContactPoint setPreferred(ContactPoint context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PREFERRED, new BooleanType(value)); return context; } - public Boolean getPreferred(ContactPoint context) { + public static Boolean getPreferred(ContactPoint context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PREFERRED); } - public ExtendedContactDetail setPreferred(ExtendedContactDetail context, boolean value) { + public static ExtendedContactDetail setPreferred(ExtendedContactDetail context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PREFERRED, new BooleanType(value)); return context; } - public Boolean getPreferred(ExtendedContactDetail context) { + public static Boolean getPreferred(ExtendedContactDetail context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PREFERRED); } @@ -4527,16 +4527,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty|0.1.0 // Uncertainty - public Extension makeUncertainty(float value) { + public static Extension makeUncertainty(float value) { return new Extension(ExtensionConstants.EXT_UNCERTAINTY).setValue(new DecimalType(value)); } - public Quantity setUncertainty(Quantity context, float value) { + public static Quantity setUncertainty(Quantity context, float value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAINTY, new DecimalType(value)); return context; } - public BigDecimal getUncertainty(Quantity context) { + public static BigDecimal getUncertainty(Quantity context) { return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_UNCERTAINTY); } @@ -4544,16 +4544,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType|0.1.0 // Uncertainty type - public Extension makeUncertaintyType(String value) { + public static Extension makeUncertaintyType(String value) { return new Extension(ExtensionConstants.EXT_UNCERTAINTY_TYPE).setValue(new CodeType(value)); } - public Quantity setUncertaintyType(Quantity context, String value) { + public static Quantity setUncertaintyType(Quantity context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAINTY_TYPE, new CodeType(value)); return context; } - public String getUncertaintyType(Quantity context) { + public static String getUncertaintyType(Quantity context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_UNCERTAINTY_TYPE); } @@ -4561,16 +4561,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/itemWeight|0.1.0 // Item Weight - public Extension makeItemWeight(float value) { + public static Extension makeItemWeight(float value) { return new Extension(ExtensionConstants.EXT_ITEM_WEIGHT).setValue(new DecimalType(value)); } - public Coding setItemWeight(Coding context, float value) { + public static Coding setItemWeight(Coding context, float value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ITEM_WEIGHT, new DecimalType(value)); return context; } - public BigDecimal getItemWeight(Coding context) { + public static BigDecimal getItemWeight(Coding context) { return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_ITEM_WEIGHT); } @@ -4578,52 +4578,52 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/language|0.1.0 // Human Language - public Extension makeHumanLanguage(String value) { + public static Extension makeHumanLanguage(String value) { return new Extension(ExtensionConstants.EXT_HUMAN_LANGUAGE).setValue(new CodeType(value)); } - public Address setHumanLanguage(Address context, String value) { + public static Address setHumanLanguage(Address context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value)); return context; } - public String getHumanLanguage(Address context) { + public static String getHumanLanguage(Address context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE); } - public Annotation setHumanLanguage(Annotation context, String value) { + public static Annotation setHumanLanguage(Annotation context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value)); return context; } - public String getHumanLanguage(Annotation context) { + public static String getHumanLanguage(Annotation context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE); } - public HumanName setHumanLanguage(HumanName context, String value) { + public static HumanName setHumanLanguage(HumanName context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value)); return context; } - public String getHumanLanguage(HumanName context) { + public static String getHumanLanguage(HumanName context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE); } - public MarkdownType setHumanLanguage(MarkdownType context, String value) { + public static MarkdownType setHumanLanguage(MarkdownType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value)); return context; } - public String getHumanLanguage(MarkdownType context) { + public static String getHumanLanguage(MarkdownType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE); } - public StringType setHumanLanguage(StringType context, String value) { + public static StringType setHumanLanguage(StringType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_HUMAN_LANGUAGE, new CodeType(value)); return context; } - public String getHumanLanguage(StringType context) { + public static String getHumanLanguage(StringType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_HUMAN_LANGUAGE); } @@ -4631,16 +4631,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/largeValue|0.1.0 // Large Value - public Extension makeLargeValue(float value) { + public static Extension makeLargeValue(float value) { return new Extension(ExtensionConstants.EXT_LARGE_VALUE).setValue(new DecimalType(value)); } - public IntegerType setLargeValue(IntegerType context, float value) { + public static IntegerType setLargeValue(IntegerType context, float value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LARGE_VALUE, new DecimalType(value)); return context; } - public BigDecimal getLargeValue(IntegerType context) { + public static BigDecimal getLargeValue(IntegerType context) { return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_LARGE_VALUE); } @@ -4648,16 +4648,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/lastSourceSync|0.1.0 // Last source sync - public Extension makeLastSourceSync(String value) { + public static Extension makeLastSourceSync(String value) { return new Extension(ExtensionConstants.EXT_LAST_SOURCE_SYNC).setValue(new DateTimeType(value)); } - public Meta setLastSourceSync(Meta context, String value) { + public static Meta setLastSourceSync(Meta context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LAST_SOURCE_SYNC, new DateTimeType(value)); return context; } - public String getLastSourceSync(Meta context) { + public static String getLastSourceSync(Meta context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_LAST_SOURCE_SYNC); } @@ -4665,16 +4665,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/list-category|0.1.0 // List Category - public Extension makeListCategory(CodeableConcept value) { + public static Extension makeListCategory(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_LIST_CATEGORY).setValue(value); } - public ListResource setListCategory(ListResource context, CodeableConcept value) { + public static ListResource setListCategory(ListResource context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LIST_CATEGORY, value); return context; } - public CodeableConcept getListCategory(ListResource context) { + public static CodeableConcept getListCategory(ListResource context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_LIST_CATEGORY); } @@ -4682,16 +4682,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/list-changeBase|0.1.0 // List Change Base - public Extension makeListChangeBase(Reference value) { + public static Extension makeListChangeBase(Reference value) { return new Extension(ExtensionConstants.EXT_LIST_CHANGE_BASE).setValue(value); } - public ListResource setListChangeBase(ListResource context, Reference value) { + public static ListResource setListChangeBase(ListResource context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LIST_CHANGE_BASE, value); return context; } - public Reference getListChangeBase(ListResource context) { + public static Reference getListChangeBase(ListResource context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_LIST_CHANGE_BASE); } @@ -4699,16 +4699,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/list-for|0.1.0 // List For Extension - public Extension makeListFor(Reference value) { + public static Extension makeListFor(Reference value) { return new Extension(ExtensionConstants.EXT_LIST_FOR).setValue(value); } - public ListResource addListFor(ListResource context, Reference value) { + public static ListResource addListFor(ListResource context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_LIST_FOR, value); return context; } - public List getListForList(ListResource context) { + public static List getListForList(ListResource context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_LIST_FOR); } @@ -4716,16 +4716,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/location-boundary-geojson|0.1.0 // Location Boundary (GeoJSON) - public Extension makeLocBoundaryGeojson(Attachment value) { + public static Extension makeLocBoundaryGeojson(Attachment value) { return new Extension(ExtensionConstants.EXT_LOC_BOUNDARY_GEOJSON).setValue(value); } - public Location setLocBoundaryGeojson(Location context, Attachment value) { + public static Location setLocBoundaryGeojson(Location context, Attachment value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LOC_BOUNDARY_GEOJSON, value); return context; } - public Attachment getLocBoundaryGeojson(Location context) { + public static Attachment getLocBoundaryGeojson(Location context) { return ExtensionsUtils.getExtension(Attachment.class, context, ExtensionConstants.EXT_LOC_BOUNDARY_GEOJSON); } @@ -4733,16 +4733,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/location-communication|0.1.0 // Location Communication - public Extension makeLocCommunication(CodeableConcept value) { + public static Extension makeLocCommunication(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_LOC_COMMUNICATION).setValue(value); } - public Location setLocCommunication(Location context, CodeableConcept value) { + public static Location setLocCommunication(Location context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_LOC_COMMUNICATION, value); return context; } - public CodeableConcept getLocCommunication(Location context) { + public static CodeableConcept getLocCommunication(Location context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_LOC_COMMUNICATION); } @@ -4750,7 +4750,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/location-distance|0.1.0 // Bundle Location Distance - public Extension makeBundleLocationDistance(Distance value) { + public static Extension makeBundleLocationDistance(Distance value) { return new Extension(ExtensionConstants.EXT_BUNDLE_LOCATION_DISTANCE).setValue(value); } @@ -4758,7 +4758,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/match-grade|0.1.0 // Bundle Match Grade - public Extension makeBundleMatchGrade(String value) { + public static Extension makeBundleMatchGrade(String value) { return new Extension(ExtensionConstants.EXT_BUNDLE_MATCH_GRADE).setValue(new CodeType(value)); } @@ -4766,25 +4766,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces|0.1.0 // max decimal places - public Extension makeMaxDecimalPlaces(int value) { + public static Extension makeMaxDecimalPlaces(int value) { return new Extension(ExtensionConstants.EXT_MAX_DECIMAL_PLACES).setValue(new IntegerType(value)); } - public ElementDefinition setMaxDecimalPlaces(ElementDefinition context, int value) { + public static ElementDefinition setMaxDecimalPlaces(ElementDefinition context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_DECIMAL_PLACES, new IntegerType(value)); return context; } - public Integer getMaxDecimalPlaces(ElementDefinition context) { + public static Integer getMaxDecimalPlaces(ElementDefinition context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MAX_DECIMAL_PLACES); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxDecimalPlaces(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxDecimalPlaces(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_DECIMAL_PLACES, new IntegerType(value)); return context; } - public Integer getMaxDecimalPlaces(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static Integer getMaxDecimalPlaces(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MAX_DECIMAL_PLACES); } @@ -4792,25 +4792,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/maxSize|0.1.0 // max size - public Extension makeMaxSize(float value) { + public static Extension makeMaxSize(float value) { return new Extension(ExtensionConstants.EXT_MAX_SIZE).setValue(new DecimalType(value)); } - public ElementDefinition setMaxSize(ElementDefinition context, float value) { + public static ElementDefinition setMaxSize(ElementDefinition context, float value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_SIZE, new DecimalType(value)); return context; } - public BigDecimal getMaxSize(ElementDefinition context) { + public static BigDecimal getMaxSize(ElementDefinition context) { return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_MAX_SIZE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxSize(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, float value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxSize(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, float value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_SIZE, new DecimalType(value)); return context; } - public BigDecimal getMaxSize(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static BigDecimal getMaxSize(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionFloat(context, ExtensionConstants.EXT_MAX_SIZE); } @@ -4818,16 +4818,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/maxValue|0.1.0 // max value - public Extension makeMaxValue(DataType value) { + public static Extension makeMaxValue(DataType value) { return new Extension(ExtensionConstants.EXT_MAX_VALUE).setValue(value); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMaxValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MAX_VALUE, value); return context; } - public DataType getMaxValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static DataType getMaxValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtension(DataType.class, context, ExtensionConstants.EXT_MAX_VALUE); } @@ -4835,16 +4835,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining|0.1.0 // MedicationDispense Quantity Remaining - public Extension makeMedQuantityRemaining(Quantity value) { + public static Extension makeMedQuantityRemaining(Quantity value) { return new Extension(ExtensionConstants.EXT_MED_QUANTITY_REMAINING).setValue(value); } - public MedicationDispense setMedQuantityRemaining(MedicationDispense context, Quantity value) { + public static MedicationDispense setMedQuantityRemaining(MedicationDispense context, Quantity value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MED_QUANTITY_REMAINING, value); return context; } - public Quantity getMedQuantityRemaining(MedicationDispense context) { + public static Quantity getMedQuantityRemaining(MedicationDispense context) { return ExtensionsUtils.getExtension(Quantity.class, context, ExtensionConstants.EXT_MED_QUANTITY_REMAINING); } @@ -4852,16 +4852,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining|0.1.0 // MedicationDispense Refills Remaining - public Extension makeMedRefillsRemaining(int value) { + public static Extension makeMedRefillsRemaining(int value) { return new Extension(ExtensionConstants.EXT_MED_REFILLS_REMAINING).setValue(new IntegerType(value)); } - public MedicationDispense setMedRefillsRemaining(MedicationDispense context, int value) { + public static MedicationDispense setMedRefillsRemaining(MedicationDispense context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MED_REFILLS_REMAINING, new IntegerType(value)); return context; } - public Integer getMedRefillsRemaining(MedicationDispense context) { + public static Integer getMedRefillsRemaining(MedicationDispense context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MED_REFILLS_REMAINING); } @@ -4869,16 +4869,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/messageheader-response-request|0.1.0 // MessageHeader Response Request - public Extension makeMsgResponseRequest(String value) { + public static Extension makeMsgResponseRequest(String value) { return new Extension(ExtensionConstants.EXT_MSG_RESPONSE_REQUEST).setValue(new CodeType(value)); } - public MessageHeader setMsgResponseRequest(MessageHeader context, String value) { + public static MessageHeader setMsgResponseRequest(MessageHeader context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MSG_RESPONSE_REQUEST, new CodeType(value)); return context; } - public String getMsgResponseRequest(MessageHeader context) { + public static String getMsgResponseRequest(MessageHeader context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_MSG_RESPONSE_REQUEST); } @@ -4886,25 +4886,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/mimeType|0.1.0 // mime type - public Extension makeMimeType(String value) { + public static Extension makeMimeType(String value) { return new Extension(ExtensionConstants.EXT_MIME_TYPE).setValue(new CodeType(value)); } - public ElementDefinition addMimeType(ElementDefinition context, String value) { + public static ElementDefinition addMimeType(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_MIME_TYPE, new CodeType(value)); return context; } - public List getMimeTypeList(ElementDefinition context) { + public static List getMimeTypeList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_MIME_TYPE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addMimeType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addMimeType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_MIME_TYPE, new CodeType(value)); return context; } - public List getMimeTypeList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static List getMimeTypeList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_MIME_TYPE); } @@ -4912,25 +4912,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/minLength|0.1.0 // min length - public Extension makeMinLength(int value) { + public static Extension makeMinLength(int value) { return new Extension(ExtensionConstants.EXT_MIN_LENGTH).setValue(new IntegerType(value)); } - public ElementDefinition setMinLength(ElementDefinition context, int value) { + public static ElementDefinition setMinLength(ElementDefinition context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_LENGTH, new IntegerType(value)); return context; } - public Integer getMinLength(ElementDefinition context) { + public static Integer getMinLength(ElementDefinition context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MIN_LENGTH); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMinLength(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMinLength(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_LENGTH, new IntegerType(value)); return context; } - public Integer getMinLength(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static Integer getMinLength(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_MIN_LENGTH); } @@ -4938,16 +4938,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/minValue|0.1.0 // min value - public Extension makeMinValue(DataType value) { + public static Extension makeMinValue(DataType value) { return new Extension(ExtensionConstants.EXT_MIN_VALUE).setValue(value); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMinValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setMinValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MIN_VALUE, value); return context; } - public DataType getMinValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static DataType getMinValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtension(DataType.class, context, ExtensionConstants.EXT_MIN_VALUE); } @@ -4955,16 +4955,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit|0.1.0 // NamingSystem Check Digit - public Extension makeNSCheckDigit(String value) { + public static Extension makeNSCheckDigit(String value) { return new Extension(ExtensionConstants.EXT_NSCHECK_DIGIT).setValue(new StringType(value)); } - public NamingSystem setNSCheckDigit(NamingSystem context, String value) { + public static NamingSystem setNSCheckDigit(NamingSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NSCHECK_DIGIT, new StringType(value)); return context; } - public String getNSCheckDigit(NamingSystem context) { + public static String getNSCheckDigit(NamingSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NSCHECK_DIGIT); } @@ -4972,16 +4972,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/narrativeLink|0.1.0 // Narrative Link - public Extension makeNarrativeLink(String value) { + public static Extension makeNarrativeLink(String value) { return new Extension(ExtensionConstants.EXT_NARRATIVE_LINK).setValue(new UrlType(value)); } - public Element setNarrativeLink(Element context, String value) { + public static Element setNarrativeLink(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NARRATIVE_LINK, new UrlType(value)); return context; } - public String getNarrativeLink(Element context) { + public static String getNarrativeLink(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NARRATIVE_LINK); } @@ -4989,16 +4989,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/no-fixed-address|0.1.0 // Patient No Fixed Address - public Extension makePatNoFixedAddress(boolean value) { + public static Extension makePatNoFixedAddress(boolean value) { return new Extension(ExtensionConstants.EXT_PAT_NO_FIXED_ADDRESS).setValue(new BooleanType(value)); } - public Address setPatNoFixedAddress(Address context, boolean value) { + public static Address setPatNoFixedAddress(Address context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_NO_FIXED_ADDRESS, new BooleanType(value)); return context; } - public Boolean getPatNoFixedAddress(Address context) { + public static Boolean getPatNoFixedAddress(Address context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PAT_NO_FIXED_ADDRESS); } @@ -5006,16 +5006,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice|0.1.0 // NutritionOrder Adaptive Feeding Device - public Extension makeNttAdaptiveFeedingDevice(CodeableConcept value) { + public static Extension makeNttAdaptiveFeedingDevice(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_NTT_ADAPTIVE_FEEDING_DEVICE).setValue(value); } - public org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent addNttAdaptiveFeedingDevice(org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent addNttAdaptiveFeedingDevice(org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_NTT_ADAPTIVE_FEEDING_DEVICE, value); return context; } - public List getNttAdaptiveFeedingDeviceList(org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent context) { + public static List getNttAdaptiveFeedingDeviceList(org.hl7.fhir.r5.model.NutritionOrder.NutritionOrderOralDietComponent context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_NTT_ADAPTIVE_FEEDING_DEVICE); } @@ -5023,25 +5023,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-bodyPosition|0.1.0 // Observation Body Position - public Extension makeObsBodyPosition(CodeableConcept value) { + public static Extension makeObsBodyPosition(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_OBS_BODY_POSITION).setValue(value); } - public Observation setObsBodyPosition(Observation context, CodeableConcept value) { + public static Observation setObsBodyPosition(Observation context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_BODY_POSITION, value); return context; } - public CodeableConcept getObsBodyPosition(Observation context) { + public static CodeableConcept getObsBodyPosition(Observation context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_BODY_POSITION); } - public org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent setObsBodyPosition(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent setObsBodyPosition(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_BODY_POSITION, value); return context; } - public CodeableConcept getObsBodyPosition(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) { + public static CodeableConcept getObsBodyPosition(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_BODY_POSITION); } @@ -5049,16 +5049,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-delta|0.1.0 // Observation Delta - public Extension makeObsDelta(CodeableConcept value) { + public static Extension makeObsDelta(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_OBS_DELTA).setValue(value); } - public Observation setObsDelta(Observation context, CodeableConcept value) { + public static Observation setObsDelta(Observation context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_DELTA, value); return context; } - public CodeableConcept getObsDelta(Observation context) { + public static CodeableConcept getObsDelta(Observation context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_DELTA); } @@ -5066,16 +5066,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-deviceCode|0.1.0 // Observation Device Code - public Extension makeObsDeviceCode(CodeableConcept value) { + public static Extension makeObsDeviceCode(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_OBS_DEVICE_CODE).setValue(value); } - public Observation setObsDeviceCode(Observation context, CodeableConcept value) { + public static Observation setObsDeviceCode(Observation context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_DEVICE_CODE, value); return context; } - public CodeableConcept getObsDeviceCode(Observation context) { + public static CodeableConcept getObsDeviceCode(Observation context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_DEVICE_CODE); } @@ -5083,16 +5083,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-focusCode|0.1.0 // Observation Focal Subject Code - public Extension makeObsFocusCode(CodeableConcept value) { + public static Extension makeObsFocusCode(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_OBS_FOCUS_CODE).setValue(value); } - public Observation setObsFocusCode(Observation context, CodeableConcept value) { + public static Observation setObsFocusCode(Observation context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_FOCUS_CODE, value); return context; } - public CodeableConcept getObsFocusCode(Observation context) { + public static CodeableConcept getObsFocusCode(Observation context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_FOCUS_CODE); } @@ -5100,16 +5100,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice|0.1.0 // Observation Gateway Device - public Extension makeObsGatewayDevice(Reference value) { + public static Extension makeObsGatewayDevice(Reference value) { return new Extension(ExtensionConstants.EXT_OBS_GATEWAY_DEVICE).setValue(value); } - public Observation setObsGatewayDevice(Observation context, Reference value) { + public static Observation setObsGatewayDevice(Observation context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_GATEWAY_DEVICE, value); return context; } - public Reference getObsGatewayDevice(Observation context) { + public static Reference getObsGatewayDevice(Observation context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_OBS_GATEWAY_DEVICE); } @@ -5117,16 +5117,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-precondition|0.1.0 // Observation Precondition - public Extension makeObsPrecondition(Reference value) { + public static Extension makeObsPrecondition(Reference value) { return new Extension(ExtensionConstants.EXT_OBS_PRECONDITION).setValue(value); } - public Observation addObsPrecondition(Observation context, Reference value) { + public static Observation addObsPrecondition(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_PRECONDITION, value); return context; } - public List getObsPreconditionList(Observation context) { + public static List getObsPreconditionList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_OBS_PRECONDITION); } @@ -5134,16 +5134,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-reagent|0.1.0 // Observation Reagent - public Extension makeObsReagent(Reference value) { + public static Extension makeObsReagent(Reference value) { return new Extension(ExtensionConstants.EXT_OBS_REAGENT).setValue(value); } - public Observation addObsReagent(Observation context, Reference value) { + public static Observation addObsReagent(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_REAGENT, value); return context; } - public List getObsReagentList(Observation context) { + public static List getObsReagentList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_OBS_REAGENT); } @@ -5151,16 +5151,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-replaces|0.1.0 // Observation Replaces - public Extension makeObsReplaces(Reference value) { + public static Extension makeObsReplaces(Reference value) { return new Extension(ExtensionConstants.EXT_OBS_REPLACES).setValue(value); } - public Observation addObsReplaces(Observation context, Reference value) { + public static Observation addObsReplaces(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_REPLACES, value); return context; } - public List getObsReplacesList(Observation context) { + public static List getObsReplacesList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_OBS_REPLACES); } @@ -5168,16 +5168,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding|0.1.0 // Observation Secondary Finding - public Extension makeObsSecondaryFinding(CodeableConcept value) { + public static Extension makeObsSecondaryFinding(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_OBS_SECONDARY_FINDING).setValue(value); } - public Observation setObsSecondaryFinding(Observation context, CodeableConcept value) { + public static Observation setObsSecondaryFinding(Observation context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_SECONDARY_FINDING, value); return context; } - public CodeableConcept getObsSecondaryFinding(Observation context) { + public static CodeableConcept getObsSecondaryFinding(Observation context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_SECONDARY_FINDING); } @@ -5185,16 +5185,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-sequelTo|0.1.0 // Observation Sequel To - public Extension makeObsSequelTo(Reference value) { + public static Extension makeObsSequelTo(Reference value) { return new Extension(ExtensionConstants.EXT_OBS_SEQUEL_TO).setValue(value); } - public Observation addObsSequelTo(Observation context, Reference value) { + public static Observation addObsSequelTo(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_SEQUEL_TO, value); return context; } - public List getObsSequelToList(Observation context) { + public static List getObsSequelToList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_OBS_SEQUEL_TO); } @@ -5202,16 +5202,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-specimenCode|0.1.0 // Observation Specimen Code - public Extension makeObsSpecimenCode(CodeableConcept value) { + public static Extension makeObsSpecimenCode(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_OBS_SPECIMEN_CODE).setValue(value); } - public Observation setObsSpecimenCode(Observation context, CodeableConcept value) { + public static Observation setObsSpecimenCode(Observation context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OBS_SPECIMEN_CODE, value); return context; } - public CodeableConcept getObsSpecimenCode(Observation context) { + public static CodeableConcept getObsSpecimenCode(Observation context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_OBS_SPECIMEN_CODE); } @@ -5219,16 +5219,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/observation-timeOffset|0.1.0 // Observation Time Offset - public Extension makeObsTimeOffset(int value) { + public static Extension makeObsTimeOffset(int value) { return new Extension(ExtensionConstants.EXT_OBS_TIME_OFFSET).setValue(new IntegerType(value)); } - public org.hl7.fhir.r5.model.Observation.ObservationComponentComponent addObsTimeOffset(org.hl7.fhir.r5.model.Observation.ObservationComponentComponent context, int value) { + public static org.hl7.fhir.r5.model.Observation.ObservationComponentComponent addObsTimeOffset(org.hl7.fhir.r5.model.Observation.ObservationComponentComponent context, int value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_OBS_TIME_OFFSET, new IntegerType(value)); return context; } - public List getObsTimeOffsetList(org.hl7.fhir.r5.model.Observation.ObservationComponentComponent context) { + public static List getObsTimeOffsetList(org.hl7.fhir.r5.model.Observation.ObservationComponentComponent context) { return ExtensionsUtils.getExtensionIntList(context, ExtensionConstants.EXT_OBS_TIME_OFFSET); } @@ -5236,16 +5236,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/openEHR-administration|0.1.0 // AllergyIntolerance Administration - public Extension makeAIAdministration(Reference value) { + public static Extension makeAIAdministration(Reference value) { return new Extension(ExtensionConstants.EXT_AIADMINISTRATION).setValue(value); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIAdministration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Reference value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIAdministration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIADMINISTRATION, value); return context; } - public Reference getAIAdministration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static Reference getAIAdministration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_AIADMINISTRATION); } @@ -5253,16 +5253,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/openEHR-careplan|0.1.0 // AllergyIntolerance Careplan - public Extension makeAICareplan(Reference value) { + public static Extension makeAICareplan(Reference value) { return new Extension(ExtensionConstants.EXT_AICAREPLAN).setValue(value); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAICareplan(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Reference value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAICareplan(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AICAREPLAN, value); return context; } - public Reference getAICareplan(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static Reference getAICareplan(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_AICAREPLAN); } @@ -5270,16 +5270,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate|0.1.0 // AllergyIntolerance Exposure Date - public Extension makeAIExposureDate(String value) { + public static Extension makeAIExposureDate(String value) { return new Extension(ExtensionConstants.EXT_AIEXPOSURE_DATE).setValue(new DateTimeType(value)); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDate(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDate(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIEXPOSURE_DATE, new DateTimeType(value)); return context; } - public String getAIExposureDate(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static String getAIExposureDate(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_AIEXPOSURE_DATE); } @@ -5287,16 +5287,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription|0.1.0 // AllergyIntolerance ExposureDescription - public Extension makeAIExposureDescription(String value) { + public static Extension makeAIExposureDescription(String value) { return new Extension(ExtensionConstants.EXT_AIEXPOSURE_DESCRIPTION).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDescription(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDescription(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIEXPOSURE_DESCRIPTION, new StringType(value)); return context; } - public String getAIExposureDescription(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static String getAIExposureDescription(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_AIEXPOSURE_DESCRIPTION); } @@ -5304,16 +5304,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration|0.1.0 // AllergyIntolerance Exposure Duration - public Extension makeAIExposureDuration(Duration value) { + public static Extension makeAIExposureDuration(Duration value) { return new Extension(ExtensionConstants.EXT_AIEXPOSURE_DURATION).setValue(value); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Duration value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIExposureDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, Duration value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIEXPOSURE_DURATION, value); return context; } - public Duration getAIExposureDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static Duration getAIExposureDuration(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtension(Duration.class, context, ExtensionConstants.EXT_AIEXPOSURE_DURATION); } @@ -5321,16 +5321,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/openEHR-location|0.1.0 // AllergyIntolerance Location - public Extension makeAILocation(CodeableConcept value) { + public static Extension makeAILocation(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_AILOCATION).setValue(value); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent addAILocation(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent addAILocation(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_AILOCATION, value); return context; } - public List getAILocationList(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static List getAILocationList(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_AILOCATION); } @@ -5338,16 +5338,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/openEHR-management|0.1.0 // AllergyIntolerance Management - public Extension makeAIManagement(String value) { + public static Extension makeAIManagement(String value) { return new Extension(ExtensionConstants.EXT_AIMANAGEMENT).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIManagement(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) { + public static org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent setAIManagement(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_AIMANAGEMENT, new StringType(value)); return context; } - public String getAIManagement(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { + public static String getAIManagement(org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceReactionComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_AIMANAGEMENT); } @@ -5355,16 +5355,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/operationdefinition-profile|0.1.0 // OperationDefinition Profile - public Extension makeODProfile(String value) { + public static Extension makeODProfile(String value) { return new Extension(ExtensionConstants.EXT_ODPROFILE).setValue(new UriType(value)); } - public org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent addODProfile(org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent context, String value) { + public static org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent addODProfile(org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ODPROFILE, new UriType(value)); return context; } - public List getODProfileList(org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent context) { + public static List getODProfileList(org.hl7.fhir.r5.model.OperationDefinition.OperationDefinitionParameterComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ODPROFILE); } @@ -5372,16 +5372,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/operationoutcome-authority|0.1.0 // OperationOutcome Authority for Rule - public Extension makeOOAuthority(String value) { + public static Extension makeOOAuthority(String value) { return new Extension(ExtensionConstants.EXT_OOAUTHORITY).setValue(new UriType(value)); } - public org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOAuthority(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { + public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOAuthority(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOAUTHORITY, new UriType(value)); return context; } - public String getOOAuthority(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { + public static String getOOAuthority(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOAUTHORITY); } @@ -5389,16 +5389,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue|0.1.0 // OperationOutcome Detected Clinical Issue - public Extension makeOODetectedIssue(Reference value) { + public static Extension makeOODetectedIssue(Reference value) { return new Extension(ExtensionConstants.EXT_OODETECTED_ISSUE).setValue(value); } - public org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOODetectedIssue(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, Reference value) { + public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOODetectedIssue(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OODETECTED_ISSUE, value); return context; } - public Reference getOODetectedIssue(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { + public static Reference getOODetectedIssue(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_OODETECTED_ISSUE); } @@ -5406,16 +5406,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/operationoutcome-file|0.1.0 // OperationOutcome Source File - public Extension makeOOSourceFile(String value) { + public static Extension makeOOSourceFile(String value) { return new Extension(ExtensionConstants.EXT_OOSOURCE_FILE).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOSourceFile(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { + public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOSourceFile(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOSOURCE_FILE, new StringType(value)); return context; } - public String getOOSourceFile(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { + public static String getOOSourceFile(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOSOURCE_FILE); } @@ -5423,16 +5423,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col|0.1.0 // OperationOutcome Column of Issue - public Extension makeOOIssueCol(String value) { + public static Extension makeOOIssueCol(String value) { return new Extension(ExtensionConstants.EXT_OOISSUE_COL).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueCol(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { + public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueCol(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOISSUE_COL, new StringType(value)); return context; } - public String getOOIssueCol(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { + public static String getOOIssueCol(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOISSUE_COL); } @@ -5440,16 +5440,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line|0.1.0 // OperationOutcome Line of Issue - public Extension makeOOIssueline(String value) { + public static Extension makeOOIssueline(String value) { return new Extension(ExtensionConstants.EXT_OOISSUELINE).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueline(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { + public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueline(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOISSUELINE, new StringType(value)); return context; } - public String getOOIssueline(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { + public static String getOOIssueline(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOISSUELINE); } @@ -5457,16 +5457,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source|0.1.0 // OperationOutcome Source of Issue - public Extension makeOOIssuesource(String value) { + public static Extension makeOOIssuesource(String value) { return new Extension(ExtensionConstants.EXT_OOISSUESOURCE).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssuesource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { + public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssuesource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOISSUESOURCE, new StringType(value)); return context; } - public String getOOIssuesource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { + public static String getOOIssuesource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOISSUESOURCE); } @@ -5474,16 +5474,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id|0.1.0 // OperationOutcome Source of Issue - public Extension makeOOIssueSource(String value) { + public static Extension makeOOIssueSource(String value) { return new Extension(ExtensionConstants.EXT_OOISSUE_SOURCE).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueSource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { + public static org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent setOOIssueSource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_OOISSUE_SOURCE, new StringType(value)); return context; } - public String getOOIssueSource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { + public static String getOOIssueSource(org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_OOISSUE_SOURCE); } @@ -5491,16 +5491,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/organization-period|0.1.0 // Organization Period - public Extension makeOrgPeriod(Period value) { + public static Extension makeOrgPeriod(Period value) { return new Extension(ExtensionConstants.EXT_ORG_PERIOD).setValue(value); } - public Organization setOrgPeriod(Organization context, Period value) { + public static Organization setOrgPeriod(Organization context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORG_PERIOD, value); return context; } - public Period getOrgPeriod(Organization context) { + public static Period getOrgPeriod(Organization context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_ORG_PERIOD); } @@ -5508,16 +5508,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/organization-preferredContact|0.1.0 // Organization Preferred Contact - public Extension makeOrgPreferredContact(boolean value) { + public static Extension makeOrgPreferredContact(boolean value) { return new Extension(ExtensionConstants.EXT_ORG_PREFERRED_CONTACT).setValue(new BooleanType(value)); } - public ExtendedContactDetail setOrgPreferredContact(ExtendedContactDetail context, boolean value) { + public static ExtendedContactDetail setOrgPreferredContact(ExtendedContactDetail context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORG_PREFERRED_CONTACT, new BooleanType(value)); return context; } - public Boolean getOrgPreferredContact(ExtendedContactDetail context) { + public static Boolean getOrgPreferredContact(ExtendedContactDetail context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_ORG_PREFERRED_CONTACT); } @@ -5525,16 +5525,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd|0.1.0 // Organization Primary Indicator - public Extension makeOrgPrimaryInd(boolean value) { + public static Extension makeOrgPrimaryInd(boolean value) { return new Extension(ExtensionConstants.EXT_ORG_PRIMARY_IND).setValue(new BooleanType(value)); } - public CodeableConcept setOrgPrimaryInd(CodeableConcept context, boolean value) { + public static CodeableConcept setOrgPrimaryInd(CodeableConcept context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORG_PRIMARY_IND, new BooleanType(value)); return context; } - public Boolean getOrgPrimaryInd(CodeableConcept context) { + public static Boolean getOrgPrimaryInd(CodeableConcept context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_ORG_PRIMARY_IND); } @@ -5542,24 +5542,24 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/originalText|0.1.0 // Original Text - public Extension makeOriginalTextString(String value) { + public static Extension makeOriginalTextString(String value) { return new Extension(ExtensionConstants.EXT_ORIGINAL_TEXT).setValue(new StringType(value)); } - public Extension makeOriginalTextUrl(String value) { + public static Extension makeOriginalTextUrl(String value) { return new Extension(ExtensionConstants.EXT_ORIGINAL_TEXT).setValue(new UrlType(value)); } - public Element setOriginalTextString(Element context, String value) { + public static Element setOriginalTextString(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORIGINAL_TEXT, new StringType(value)); return context; } - public String getOriginalTextString(Element context) { + public static String getOriginalTextString(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_ORIGINAL_TEXT); } - public Element setOriginalTextUrl(Element context, String value) { + public static Element setOriginalTextUrl(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_ORIGINAL_TEXT, new UrlType(value)); return context; } @@ -5568,16 +5568,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/parameters-definition|0.1.0 // Parameters Definition for parameter - public Extension makeParametersDefinition(ParameterDefinition value) { + public static Extension makeParametersDefinition(ParameterDefinition value) { return new Extension(ExtensionConstants.EXT_PARAMETERS_DEFINITION).setValue(value); } - public org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent setParametersDefinition(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context, ParameterDefinition value) { + public static org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent setParametersDefinition(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context, ParameterDefinition value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PARAMETERS_DEFINITION, value); return context; } - public ParameterDefinition getParametersDefinition(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context) { + public static ParameterDefinition getParametersDefinition(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context) { return ExtensionsUtils.getExtension(ParameterDefinition.class, context, ExtensionConstants.EXT_PARAMETERS_DEFINITION); } @@ -5585,16 +5585,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/parameters-fullUrl|0.1.0 // Parameters FullUrl for resource - public Extension makeParamFullUrl(String value) { + public static Extension makeParamFullUrl(String value) { return new Extension(ExtensionConstants.EXT_PARAM_FULL_URL).setValue(new UriType(value)); } - public org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent setParamFullUrl(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context, String value) { + public static org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent setParamFullUrl(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PARAM_FULL_URL, new UriType(value)); return context; } - public String getParamFullUrl(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context) { + public static String getParamFullUrl(org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PARAM_FULL_URL); } @@ -5602,16 +5602,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo|0.1.0 // Patient Adoption Info - public Extension makePatAdoptionInfo(CodeableConcept value) { + public static Extension makePatAdoptionInfo(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PAT_ADOPTION_INFO).setValue(value); } - public Patient setPatAdoptionInfo(Patient context, CodeableConcept value) { + public static Patient setPatAdoptionInfo(Patient context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_ADOPTION_INFO, value); return context; } - public CodeableConcept getPatAdoptionInfo(Patient context) { + public static CodeableConcept getPatAdoptionInfo(Patient context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PAT_ADOPTION_INFO); } @@ -5619,16 +5619,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-birthPlace|0.1.0 // Patient Birth Place - public Extension makePatBirthPlace(Address value) { + public static Extension makePatBirthPlace(Address value) { return new Extension(ExtensionConstants.EXT_PAT_BIRTH_PLACE).setValue(value); } - public Patient setPatBirthPlace(Patient context, Address value) { + public static Patient setPatBirthPlace(Patient context, Address value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_BIRTH_PLACE, value); return context; } - public Address getPatBirthPlace(Patient context) { + public static Address getPatBirthPlace(Patient context) { return ExtensionsUtils.getExtension(Address.class, context, ExtensionConstants.EXT_PAT_BIRTH_PLACE); } @@ -5636,16 +5636,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-birthTime|0.1.0 // Patient Birth Time - public Extension makePatBirthTime(String value) { + public static Extension makePatBirthTime(String value) { return new Extension(ExtensionConstants.EXT_PAT_BIRTH_TIME).setValue(new DateTimeType(value)); } - public DateType setPatBirthTime(DateType context, String value) { + public static DateType setPatBirthTime(DateType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_BIRTH_TIME, new DateTimeType(value)); return context; } - public String getPatBirthTime(DateType context) { + public static String getPatBirthTime(DateType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PAT_BIRTH_TIME); } @@ -5653,16 +5653,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor|0.1.0 // Patient Is-Cadaveric Donor - public Extension makePatCadavericDonor(boolean value) { + public static Extension makePatCadavericDonor(boolean value) { return new Extension(ExtensionConstants.EXT_PAT_CADAVERIC_DONOR).setValue(new BooleanType(value)); } - public Patient setPatCadavericDonor(Patient context, boolean value) { + public static Patient setPatCadavericDonor(Patient context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_CADAVERIC_DONOR, new BooleanType(value)); return context; } - public Boolean getPatCadavericDonor(Patient context) { + public static Boolean getPatCadavericDonor(Patient context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PAT_CADAVERIC_DONOR); } @@ -5670,16 +5670,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-congregation|0.1.0 // Patient Congregation - public Extension makePatCongregation(String value) { + public static Extension makePatCongregation(String value) { return new Extension(ExtensionConstants.EXT_PAT_CONGREGATION).setValue(new StringType(value)); } - public Patient setPatCongregation(Patient context, String value) { + public static Patient setPatCongregation(Patient context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_CONGREGATION, new StringType(value)); return context; } - public String getPatCongregation(Patient context) { + public static String getPatCongregation(Patient context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PAT_CONGREGATION); } @@ -5687,16 +5687,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-disability|0.1.0 // Patient Disability - public Extension makePatDisability(CodeableConcept value) { + public static Extension makePatDisability(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PAT_DISABILITY).setValue(value); } - public Patient addPatDisability(Patient context, CodeableConcept value) { + public static Patient addPatDisability(Patient context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PAT_DISABILITY, value); return context; } - public List getPatDisabilityList(Patient context) { + public static List getPatDisabilityList(Patient context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_PAT_DISABILITY); } @@ -5704,16 +5704,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-importance|0.1.0 // Patient Importance - public Extension makePatImportance(CodeableConcept value) { + public static Extension makePatImportance(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PAT_IMPORTANCE).setValue(value); } - public Patient setPatImportance(Patient context, CodeableConcept value) { + public static Patient setPatImportance(Patient context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_IMPORTANCE, value); return context; } - public CodeableConcept getPatImportance(Patient context) { + public static CodeableConcept getPatImportance(Patient context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PAT_IMPORTANCE); } @@ -5721,16 +5721,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired|0.1.0 // Patient Interpreter Required - public Extension makePatInterpreterRequired(boolean value) { + public static Extension makePatInterpreterRequired(boolean value) { return new Extension(ExtensionConstants.EXT_PAT_INTERPRETER_REQUIRED).setValue(new BooleanType(value)); } - public Patient setPatInterpreterRequired(Patient context, boolean value) { + public static Patient setPatInterpreterRequired(Patient context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_INTERPRETER_REQUIRED, new BooleanType(value)); return context; } - public Boolean getPatInterpreterRequired(Patient context) { + public static Boolean getPatInterpreterRequired(Patient context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PAT_INTERPRETER_REQUIRED); } @@ -5738,16 +5738,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName|0.1.0 // Patient Mother's Maiden Name - public Extension makePatMothersMaidenName(String value) { + public static Extension makePatMothersMaidenName(String value) { return new Extension(ExtensionConstants.EXT_PAT_MOTHERS_MAIDEN_NAME).setValue(new StringType(value)); } - public Patient setPatMothersMaidenName(Patient context, String value) { + public static Patient setPatMothersMaidenName(Patient context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_MOTHERS_MAIDEN_NAME, new StringType(value)); return context; } - public String getPatMothersMaidenName(Patient context) { + public static String getPatMothersMaidenName(Patient context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PAT_MOTHERS_MAIDEN_NAME); } @@ -5755,16 +5755,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal|0.1.0 // Patient Multiple Birth Total - public Extension makePatMultipleBirthTotal(int value) { + public static Extension makePatMultipleBirthTotal(int value) { return new Extension(ExtensionConstants.EXT_PAT_MULTIPLE_BIRTH_TOTAL).setValue(new PositiveIntType(value)); } - public DataType setPatMultipleBirthTotal(DataType context, int value) { + public static DataType setPatMultipleBirthTotal(DataType context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PAT_MULTIPLE_BIRTH_TOTAL, new PositiveIntType(value)); return context; } - public Integer getPatMultipleBirthTotal(DataType context) { + public static Integer getPatMultipleBirthTotal(DataType context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_PAT_MULTIPLE_BIRTH_TOTAL); } @@ -5772,7 +5772,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-preferenceType|0.1.0 // Patient Preference Type - public Extension makePatPreferenceType(Coding value) { + public static Extension makePatPreferenceType(Coding value) { return new Extension(ExtensionConstants.EXT_PAT_PREFERENCE_TYPE).setValue(value); } @@ -5780,16 +5780,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-relatedPerson|0.1.0 // Patient Related Person - public Extension makePatRelatedPerson(Reference value) { + public static Extension makePatRelatedPerson(Reference value) { return new Extension(ExtensionConstants.EXT_PAT_RELATED_PERSON).setValue(value); } - public org.hl7.fhir.r5.model.Patient.ContactComponent addPatRelatedPerson(org.hl7.fhir.r5.model.Patient.ContactComponent context, Reference value) { + public static org.hl7.fhir.r5.model.Patient.ContactComponent addPatRelatedPerson(org.hl7.fhir.r5.model.Patient.ContactComponent context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PAT_RELATED_PERSON, value); return context; } - public List getPatRelatedPersonList(org.hl7.fhir.r5.model.Patient.ContactComponent context) { + public static List getPatRelatedPersonList(org.hl7.fhir.r5.model.Patient.ContactComponent context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PAT_RELATED_PERSON); } @@ -5797,16 +5797,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/patient-religion|0.1.0 // Patient Religion - public Extension makePatReligion(CodeableConcept value) { + public static Extension makePatReligion(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PAT_RELIGION).setValue(value); } - public Patient addPatReligion(Patient context, CodeableConcept value) { + public static Patient addPatReligion(Patient context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PAT_RELIGION, value); return context; } - public List getPatReligionList(Patient context) { + public static List getPatReligionList(Patient context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_PAT_RELIGION); } @@ -5814,25 +5814,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies|0.1.0 // Practitioner Animal Species - public Extension makePRAnimalSpecies(CodeableConcept value) { + public static Extension makePRAnimalSpecies(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PRANIMAL_SPECIES).setValue(value); } - public Practitioner setPRAnimalSpecies(Practitioner context, CodeableConcept value) { + public static Practitioner setPRAnimalSpecies(Practitioner context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRANIMAL_SPECIES, value); return context; } - public CodeableConcept getPRAnimalSpecies(Practitioner context) { + public static CodeableConcept getPRAnimalSpecies(Practitioner context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRANIMAL_SPECIES); } - public RelatedPerson setPRAnimalSpecies(RelatedPerson context, CodeableConcept value) { + public static RelatedPerson setPRAnimalSpecies(RelatedPerson context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRANIMAL_SPECIES, value); return context; } - public CodeableConcept getPRAnimalSpecies(RelatedPerson context) { + public static CodeableConcept getPRAnimalSpecies(RelatedPerson context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRANIMAL_SPECIES); } @@ -5840,25 +5840,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/practitioner-job-title|0.1.0 // Practitioner Job title - public Extension makePRJobTitle(CodeableConcept value) { + public static Extension makePRJobTitle(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PRJOB_TITLE).setValue(value); } - public Practitioner setPRJobTitle(Practitioner context, CodeableConcept value) { + public static Practitioner setPRJobTitle(Practitioner context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRJOB_TITLE, value); return context; } - public CodeableConcept getPRJobTitle(Practitioner context) { + public static CodeableConcept getPRJobTitle(Practitioner context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRJOB_TITLE); } - public PractitionerRole setPRJobTitle(PractitionerRole context, CodeableConcept value) { + public static PractitionerRole setPRJobTitle(PractitionerRole context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRJOB_TITLE, value); return context; } - public CodeableConcept getPRJobTitle(PractitionerRole context) { + public static CodeableConcept getPRJobTitle(PractitionerRole context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRJOB_TITLE); } @@ -5866,16 +5866,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd|0.1.0 // PractitionerRole Primary Indicator - public Extension makePRPrimaryInd(boolean value) { + public static Extension makePRPrimaryInd(boolean value) { return new Extension(ExtensionConstants.EXT_PRPRIMARY_IND).setValue(new BooleanType(value)); } - public CodeableConcept setPRPrimaryInd(CodeableConcept context, boolean value) { + public static CodeableConcept setPRPrimaryInd(CodeableConcept context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRPRIMARY_IND, new BooleanType(value)); return context; } - public Boolean getPRPrimaryInd(CodeableConcept context) { + public static Boolean getPRPrimaryInd(CodeableConcept context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_PRPRIMARY_IND); } @@ -5883,43 +5883,43 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure|0.1.0 // Procedure Approach Body Structure - public Extension makePRApproachBodyStructure(Reference value) { + public static Extension makePRApproachBodyStructure(Reference value) { return new Extension(ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE).setValue(value); } - public DeviceRequest addPRApproachBodyStructure(DeviceRequest context, Reference value) { + public static DeviceRequest addPRApproachBodyStructure(DeviceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE, value); return context; } - public List getPRApproachBodyStructureList(DeviceRequest context) { + public static List getPRApproachBodyStructureList(DeviceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE); } - public DeviceUsage addPRApproachBodyStructure(DeviceUsage context, Reference value) { + public static DeviceUsage addPRApproachBodyStructure(DeviceUsage context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE, value); return context; } - public List getPRApproachBodyStructureList(DeviceUsage context) { + public static List getPRApproachBodyStructureList(DeviceUsage context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE); } - public Procedure addPRApproachBodyStructure(Procedure context, Reference value) { + public static Procedure addPRApproachBodyStructure(Procedure context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE, value); return context; } - public List getPRApproachBodyStructureList(Procedure context) { + public static List getPRApproachBodyStructureList(Procedure context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE); } - public ServiceRequest addPRApproachBodyStructure(ServiceRequest context, Reference value) { + public static ServiceRequest addPRApproachBodyStructure(ServiceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE, value); return context; } - public List getPRApproachBodyStructureList(ServiceRequest context) { + public static List getPRApproachBodyStructureList(ServiceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRAPPROACH_BODY_STRUCTURE); } @@ -5927,16 +5927,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/procedure-causedBy|0.1.0 // Procedure Caused By - public Extension makePRCausedBy(Reference value) { + public static Extension makePRCausedBy(Reference value) { return new Extension(ExtensionConstants.EXT_PRCAUSED_BY).setValue(value); } - public Procedure addPRCausedBy(Procedure context, Reference value) { + public static Procedure addPRCausedBy(Procedure context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRCAUSED_BY, value); return context; } - public List getPRCausedByList(Procedure context) { + public static List getPRCausedByList(Procedure context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRCAUSED_BY); } @@ -5944,47 +5944,47 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/procedure-directedBy|0.1.0 // Procedure Directed By - public Extension makePRDirectedBy(CodeableConcept value) { + public static Extension makePRDirectedBy(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PRDIRECTED_BY).setValue(value); } - public Extension makePRDirectedBy(Reference value) { + public static Extension makePRDirectedBy(Reference value) { return new Extension(ExtensionConstants.EXT_PRDIRECTED_BY).setValue(value); } - public Procedure setPRDirectedBy(Procedure context, CodeableConcept value) { + public static Procedure setPRDirectedBy(Procedure context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRDIRECTED_BY, value); return context; } - public CodeableConcept getPRDirectedByCodeableConcept(Procedure context) { + public static CodeableConcept getPRDirectedByCodeableConcept(Procedure context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRDIRECTED_BY); } - public Procedure setPRDirectedBy(Procedure context, Reference value) { + public static Procedure setPRDirectedBy(Procedure context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRDIRECTED_BY, value); return context; } - public Reference getPRDirectedByReference(Procedure context) { + public static Reference getPRDirectedByReference(Procedure context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_PRDIRECTED_BY); } - public ServiceRequest setPRDirectedBy(ServiceRequest context, CodeableConcept value) { + public static ServiceRequest setPRDirectedBy(ServiceRequest context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRDIRECTED_BY, value); return context; } - public CodeableConcept getPRDirectedByCodeableConcept(ServiceRequest context) { + public static CodeableConcept getPRDirectedByCodeableConcept(ServiceRequest context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRDIRECTED_BY); } - public ServiceRequest setPRDirectedBy(ServiceRequest context, Reference value) { + public static ServiceRequest setPRDirectedBy(ServiceRequest context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRDIRECTED_BY, value); return context; } - public Reference getPRDirectedByReference(ServiceRequest context) { + public static Reference getPRDirectedByReference(ServiceRequest context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_PRDIRECTED_BY); } @@ -5992,16 +5992,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime|0.1.0 // Procedure Incision DateTime - public Extension makePRIncisionDateTime(String value) { + public static Extension makePRIncisionDateTime(String value) { return new Extension(ExtensionConstants.EXT_PRINCISION_DATE_TIME).setValue(new DateTimeType(value)); } - public Procedure setPRIncisionDateTime(Procedure context, String value) { + public static Procedure setPRIncisionDateTime(Procedure context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRINCISION_DATE_TIME, new DateTimeType(value)); return context; } - public String getPRIncisionDateTime(Procedure context) { + public static String getPRIncisionDateTime(Procedure context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_PRINCISION_DATE_TIME); } @@ -6009,16 +6009,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/procedure-method|0.1.0 // Procedure Method - public Extension makePRMethod(CodeableConcept value) { + public static Extension makePRMethod(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PRMETHOD).setValue(value); } - public Procedure addPRMethod(Procedure context, CodeableConcept value) { + public static Procedure addPRMethod(Procedure context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRMETHOD, value); return context; } - public List getPRMethodList(Procedure context) { + public static List getPRMethodList(Procedure context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_PRMETHOD); } @@ -6026,16 +6026,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/procedure-progressStatus|0.1.0 // Procedure Progress Status - public Extension makePRProgressStatus(CodeableConcept value) { + public static Extension makePRProgressStatus(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_PRPROGRESS_STATUS).setValue(value); } - public Procedure setPRProgressStatus(Procedure context, CodeableConcept value) { + public static Procedure setPRProgressStatus(Procedure context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRPROGRESS_STATUS, value); return context; } - public CodeableConcept getPRProgressStatus(Procedure context) { + public static CodeableConcept getPRProgressStatus(Procedure context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_PRPROGRESS_STATUS); } @@ -6043,25 +6043,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure|0.1.0 // Procedure Target Body Structure - public Extension makePRTargetBodyStructure(Reference value) { + public static Extension makePRTargetBodyStructure(Reference value) { return new Extension(ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE).setValue(value); } - public Procedure addPRTargetBodyStructure(Procedure context, Reference value) { + public static Procedure addPRTargetBodyStructure(Procedure context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE, value); return context; } - public List getPRTargetBodyStructureList(Procedure context) { + public static List getPRTargetBodyStructureList(Procedure context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE); } - public ServiceRequest addPRTargetBodyStructure(ServiceRequest context, Reference value) { + public static ServiceRequest addPRTargetBodyStructure(ServiceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE, value); return context; } - public List getPRTargetBodyStructureList(ServiceRequest context) { + public static List getPRTargetBodyStructureList(ServiceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_PRTARGET_BODY_STRUCTURE); } @@ -6069,16 +6069,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/quantity-precision|0.1.0 // Precision - public Extension makePrecision(int value) { + public static Extension makePrecision(int value) { return new Extension(ExtensionConstants.EXT_PRECISION).setValue(new IntegerType(value)); } - public DecimalType setPrecision(DecimalType context, int value) { + public static DecimalType setPrecision(DecimalType context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PRECISION, new IntegerType(value)); return context; } - public Integer getPrecision(DecimalType context) { + public static Integer getPrecision(DecimalType context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_PRECISION); } @@ -6086,25 +6086,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-baseType|0.1.0 // Questionnaire Base Type - public Extension makeQBaseType(String value) { + public static Extension makeQBaseType(String value) { return new Extension(ExtensionConstants.EXT_QBASE_TYPE).setValue(new CodeType(value)); } - public ElementDefinition setQBaseType(ElementDefinition context, String value) { + public static ElementDefinition setQBaseType(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QBASE_TYPE, new CodeType(value)); return context; } - public String getQBaseType(ElementDefinition context) { + public static String getQBaseType(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QBASE_TYPE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQBaseType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQBaseType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QBASE_TYPE, new CodeType(value)); return context; } - public String getQBaseType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static String getQBaseType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QBASE_TYPE); } @@ -6112,25 +6112,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation|0.1.0 // Questionnaire ChoiceOrientation - public Extension makeQChoiceOrientation(String value) { + public static Extension makeQChoiceOrientation(String value) { return new Extension(ExtensionConstants.EXT_QCHOICE_ORIENTATION).setValue(new CodeType(value)); } - public ElementDefinition setQChoiceOrientation(ElementDefinition context, String value) { + public static ElementDefinition setQChoiceOrientation(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QCHOICE_ORIENTATION, new CodeType(value)); return context; } - public String getQChoiceOrientation(ElementDefinition context) { + public static String getQChoiceOrientation(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QCHOICE_ORIENTATION); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQChoiceOrientation(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQChoiceOrientation(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QCHOICE_ORIENTATION, new CodeType(value)); return context; } - public String getQChoiceOrientation(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static String getQChoiceOrientation(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QCHOICE_ORIENTATION); } @@ -6138,16 +6138,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased|0.1.0 // Questionnaire is Definition Based - public Extension makeQDefinitionBased(boolean value) { + public static Extension makeQDefinitionBased(boolean value) { return new Extension(ExtensionConstants.EXT_QDEFINITION_BASED).setValue(new BooleanType(value)); } - public Questionnaire setQDefinitionBased(Questionnaire context, boolean value) { + public static Questionnaire setQDefinitionBased(Questionnaire context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QDEFINITION_BASED, new BooleanType(value)); return context; } - public Boolean getQDefinitionBased(Questionnaire context) { + public static Boolean getQDefinitionBased(Questionnaire context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_QDEFINITION_BASED); } @@ -6155,25 +6155,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory|0.1.0 // Questionnaire Display Category - public Extension makeQDisplayCategory(CodeableConcept value) { + public static Extension makeQDisplayCategory(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_QDISPLAY_CATEGORY).setValue(value); } - public ElementDefinition setQDisplayCategory(ElementDefinition context, CodeableConcept value) { + public static ElementDefinition setQDisplayCategory(ElementDefinition context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QDISPLAY_CATEGORY, value); return context; } - public CodeableConcept getQDisplayCategory(ElementDefinition context) { + public static CodeableConcept getQDisplayCategory(ElementDefinition context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QDISPLAY_CATEGORY); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQDisplayCategory(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQDisplayCategory(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QDISPLAY_CATEGORY, value); return context; } - public CodeableConcept getQDisplayCategory(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static CodeableConcept getQDisplayCategory(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QDISPLAY_CATEGORY); } @@ -6181,25 +6181,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType|0.1.0 // Questionnaire FHIR Type - public Extension makeQFhirType(String value) { + public static Extension makeQFhirType(String value) { return new Extension(ExtensionConstants.EXT_QFHIR_TYPE).setValue(new StringType(value)); } - public ElementDefinition setQFhirType(ElementDefinition context, String value) { + public static ElementDefinition setQFhirType(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QFHIR_TYPE, new StringType(value)); return context; } - public String getQFhirType(ElementDefinition context) { + public static String getQFhirType(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QFHIR_TYPE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQFhirType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQFhirType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QFHIR_TYPE, new StringType(value)); return context; } - public String getQFhirType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static String getQFhirType(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QFHIR_TYPE); } @@ -6207,25 +6207,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-hidden|0.1.0 // Questionnaire Hidden - public Extension makeQHidden(boolean value) { + public static Extension makeQHidden(boolean value) { return new Extension(ExtensionConstants.EXT_QHIDDEN).setValue(new BooleanType(value)); } - public ElementDefinition setQHidden(ElementDefinition context, boolean value) { + public static ElementDefinition setQHidden(ElementDefinition context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QHIDDEN, new BooleanType(value)); return context; } - public Boolean getQHidden(ElementDefinition context) { + public static Boolean getQHidden(ElementDefinition context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_QHIDDEN); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQHidden(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, boolean value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQHidden(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QHIDDEN, new BooleanType(value)); return context; } - public Boolean getQHidden(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static Boolean getQHidden(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_QHIDDEN); } @@ -6233,25 +6233,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl|0.1.0 // Questionnaire Item Control - public Extension makeQItemControl(CodeableConcept value) { + public static Extension makeQItemControl(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_QITEM_CONTROL).setValue(value); } - public ElementDefinition setQItemControl(ElementDefinition context, CodeableConcept value) { + public static ElementDefinition setQItemControl(ElementDefinition context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QITEM_CONTROL, value); return context; } - public CodeableConcept getQItemControl(ElementDefinition context) { + public static CodeableConcept getQItemControl(ElementDefinition context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QITEM_CONTROL); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQItemControl(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQItemControl(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QITEM_CONTROL, value); return context; } - public CodeableConcept getQItemControl(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static CodeableConcept getQItemControl(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QITEM_CONTROL); } @@ -6259,25 +6259,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs|0.1.0 // Questionnaire Max Occurs - public Extension makeQMaxOccurs(int value) { + public static Extension makeQMaxOccurs(int value) { return new Extension(ExtensionConstants.EXT_QMAX_OCCURS).setValue(new IntegerType(value)); } - public ElementDefinition setQMaxOccurs(ElementDefinition context, int value) { + public static ElementDefinition setQMaxOccurs(ElementDefinition context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QMAX_OCCURS, new IntegerType(value)); return context; } - public Integer getQMaxOccurs(ElementDefinition context) { + public static Integer getQMaxOccurs(ElementDefinition context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QMAX_OCCURS); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQMaxOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQMaxOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QMAX_OCCURS, new IntegerType(value)); return context; } - public Integer getQMaxOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static Integer getQMaxOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QMAX_OCCURS); } @@ -6285,25 +6285,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs|0.1.0 // Questionnaire Min Occurs - public Extension makeQMinOccurs(int value) { + public static Extension makeQMinOccurs(int value) { return new Extension(ExtensionConstants.EXT_QMIN_OCCURS).setValue(new IntegerType(value)); } - public ElementDefinition setQMinOccurs(ElementDefinition context, int value) { + public static ElementDefinition setQMinOccurs(ElementDefinition context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QMIN_OCCURS, new IntegerType(value)); return context; } - public Integer getQMinOccurs(ElementDefinition context) { + public static Integer getQMinOccurs(ElementDefinition context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QMIN_OCCURS); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQMinOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQMinOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QMIN_OCCURS, new IntegerType(value)); return context; } - public Integer getQMinOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static Integer getQMinOccurs(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QMIN_OCCURS); } @@ -6311,7 +6311,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive|0.1.0 // Questionnaire Option Exclusive - public Extension makeQOptionExclusive(boolean value) { + public static Extension makeQOptionExclusive(boolean value) { return new Extension(ExtensionConstants.EXT_QOPTION_EXCLUSIVE).setValue(new BooleanType(value)); } @@ -6319,7 +6319,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix|0.1.0 // Questionnaire Option Prefix - public Extension makeQOptionPrefix(String value) { + public static Extension makeQOptionPrefix(String value) { return new Extension(ExtensionConstants.EXT_QOPTION_PREFIX).setValue(new StringType(value)); } @@ -6327,25 +6327,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction|0.1.0 // Questionnaire Option Restriction - public Extension makeQOptionRestriction(DataType value) { + public static Extension makeQOptionRestriction(DataType value) { return new Extension(ExtensionConstants.EXT_QOPTION_RESTRICTION).setValue(value); } - public ElementDefinition addQOptionRestriction(ElementDefinition context, DataType value) { + public static ElementDefinition addQOptionRestriction(ElementDefinition context, DataType value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QOPTION_RESTRICTION, value); return context; } - public List getQOptionRestrictionList(ElementDefinition context) { + public static List getQOptionRestrictionList(ElementDefinition context) { return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_QOPTION_RESTRICTION); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQOptionRestriction(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQOptionRestriction(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, DataType value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QOPTION_RESTRICTION, value); return context; } - public List getQOptionRestrictionList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static List getQOptionRestrictionList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_QOPTION_RESTRICTION); } @@ -6353,25 +6353,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter|0.1.0 // referenceFilter - public Extension makeReferenceFilter(String value) { + public static Extension makeReferenceFilter(String value) { return new Extension(ExtensionConstants.EXT_REFERENCE_FILTER).setValue(new StringType(value)); } - public ElementDefinition setReferenceFilter(ElementDefinition context, String value) { + public static ElementDefinition setReferenceFilter(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REFERENCE_FILTER, new StringType(value)); return context; } - public String getReferenceFilter(ElementDefinition context) { + public static String getReferenceFilter(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_REFERENCE_FILTER); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setReferenceFilter(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setReferenceFilter(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REFERENCE_FILTER, new StringType(value)); return context; } - public String getReferenceFilter(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static String getReferenceFilter(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_REFERENCE_FILTER); } @@ -6379,25 +6379,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile|0.1.0 // Questionnaire Reference Profile - public Extension makeQReferenceProfile(String value) { + public static Extension makeQReferenceProfile(String value) { return new Extension(ExtensionConstants.EXT_QREFERENCE_PROFILE).setValue(new CanonicalType(value)); } - public ElementDefinition addQReferenceProfile(ElementDefinition context, String value) { + public static ElementDefinition addQReferenceProfile(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QREFERENCE_PROFILE, new CanonicalType(value)); return context; } - public List getQReferenceProfileList(ElementDefinition context) { + public static List getQReferenceProfileList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QREFERENCE_PROFILE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQReferenceProfile(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQReferenceProfile(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QREFERENCE_PROFILE, new CanonicalType(value)); return context; } - public List getQReferenceProfileList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static List getQReferenceProfileList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QREFERENCE_PROFILE); } @@ -6405,25 +6405,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource|0.1.0 // Questionnaire Reference Resource - public Extension makeQReferenceResource(String value) { + public static Extension makeQReferenceResource(String value) { return new Extension(ExtensionConstants.EXT_QREFERENCE_RESOURCE).setValue(new CodeType(value)); } - public ElementDefinition addQReferenceResource(ElementDefinition context, String value) { + public static ElementDefinition addQReferenceResource(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QREFERENCE_RESOURCE, new CodeType(value)); return context; } - public List getQReferenceResourceList(ElementDefinition context) { + public static List getQReferenceResourceList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QREFERENCE_RESOURCE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQReferenceResource(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQReferenceResource(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QREFERENCE_RESOURCE, new CodeType(value)); return context; } - public List getQReferenceResourceList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static List getQReferenceResourceList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QREFERENCE_RESOURCE); } @@ -6431,34 +6431,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired|0.1.0 // Questionnaire Signature Required - public Extension makeQSignatureRequired(CodeableConcept value) { + public static Extension makeQSignatureRequired(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_QSIGNATURE_REQUIRED).setValue(value); } - public ElementDefinition addQSignatureRequired(ElementDefinition context, CodeableConcept value) { + public static ElementDefinition addQSignatureRequired(ElementDefinition context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED, value); return context; } - public List getQSignatureRequiredList(ElementDefinition context) { + public static List getQSignatureRequiredList(ElementDefinition context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED); } - public Questionnaire addQSignatureRequired(Questionnaire context, CodeableConcept value) { + public static Questionnaire addQSignatureRequired(Questionnaire context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED, value); return context; } - public List getQSignatureRequiredList(Questionnaire context) { + public static List getQSignatureRequiredList(Questionnaire context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQSignatureRequired(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQSignatureRequired(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED, value); return context; } - public List getQSignatureRequiredList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static List getQSignatureRequiredList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_QSIGNATURE_REQUIRED); } @@ -6466,25 +6466,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue|0.1.0 // Questionnaire Slider Step Value - public Extension makeQSliderStepValue(int value) { + public static Extension makeQSliderStepValue(int value) { return new Extension(ExtensionConstants.EXT_QSLIDER_STEP_VALUE).setValue(new IntegerType(value)); } - public ElementDefinition setQSliderStepValue(ElementDefinition context, int value) { + public static ElementDefinition setQSliderStepValue(ElementDefinition context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QSLIDER_STEP_VALUE, new IntegerType(value)); return context; } - public Integer getQSliderStepValue(ElementDefinition context) { + public static Integer getQSliderStepValue(ElementDefinition context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QSLIDER_STEP_VALUE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQSliderStepValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQSliderStepValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QSLIDER_STEP_VALUE, new IntegerType(value)); return context; } - public Integer getQSliderStepValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static Integer getQSliderStepValue(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_QSLIDER_STEP_VALUE); } @@ -6492,25 +6492,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink|0.1.0 // Questionnaire Support Link - public Extension makeQSupportLink(String value) { + public static Extension makeQSupportLink(String value) { return new Extension(ExtensionConstants.EXT_QSUPPORT_LINK).setValue(new UriType(value)); } - public ElementDefinition addQSupportLink(ElementDefinition context, String value) { + public static ElementDefinition addQSupportLink(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSUPPORT_LINK, new UriType(value)); return context; } - public List getQSupportLinkList(ElementDefinition context) { + public static List getQSupportLinkList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QSUPPORT_LINK); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQSupportLink(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQSupportLink(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QSUPPORT_LINK, new UriType(value)); return context; } - public List getQSupportLinkList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static List getQSupportLinkList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_QSUPPORT_LINK); } @@ -6518,25 +6518,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-unit|0.1.0 // Questionnaire Unit - public Extension makeQUnit(Coding value) { + public static Extension makeQUnit(Coding value) { return new Extension(ExtensionConstants.EXT_QUNIT).setValue(value); } - public ElementDefinition setQUnit(ElementDefinition context, Coding value) { + public static ElementDefinition setQUnit(ElementDefinition context, Coding value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QUNIT, value); return context; } - public Coding getQUnit(ElementDefinition context) { + public static Coding getQUnit(ElementDefinition context) { return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_QUNIT); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQUnit(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Coding value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQUnit(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Coding value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QUNIT, value); return context; } - public Coding getQUnit(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static Coding getQUnit(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtension(Coding.class, context, ExtensionConstants.EXT_QUNIT); } @@ -6544,25 +6544,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption|0.1.0 // QuestionnaireResponse Unit Option - public Extension makeQRUnitOption(Coding value) { + public static Extension makeQRUnitOption(Coding value) { return new Extension(ExtensionConstants.EXT_QRUNIT_OPTION).setValue(value); } - public ElementDefinition addQRUnitOption(ElementDefinition context, Coding value) { + public static ElementDefinition addQRUnitOption(ElementDefinition context, Coding value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRUNIT_OPTION, value); return context; } - public List getQRUnitOptionList(ElementDefinition context) { + public static List getQRUnitOptionList(ElementDefinition context) { return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_QRUNIT_OPTION); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQRUnitOption(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Coding value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addQRUnitOption(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Coding value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRUNIT_OPTION, value); return context; } - public List getQRUnitOptionList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static List getQRUnitOptionList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionList(Coding.class, context, ExtensionConstants.EXT_QRUNIT_OPTION); } @@ -6570,25 +6570,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet|0.1.0 // QuestionnaireResponse Unit ValueSet - public Extension makeQRUnitValueSet(String value) { + public static Extension makeQRUnitValueSet(String value) { return new Extension(ExtensionConstants.EXT_QRUNIT_VALUE_SET).setValue(new CanonicalType(value)); } - public ElementDefinition setQRUnitValueSet(ElementDefinition context, String value) { + public static ElementDefinition setQRUnitValueSet(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRUNIT_VALUE_SET, new CanonicalType(value)); return context; } - public String getQRUnitValueSet(ElementDefinition context) { + public static String getQRUnitValueSet(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QRUNIT_VALUE_SET); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQRUnitValueSet(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQRUnitValueSet(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRUNIT_VALUE_SET, new CanonicalType(value)); return context; } - public String getQRUnitValueSet(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static String getQRUnitValueSet(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QRUNIT_VALUE_SET); } @@ -6596,25 +6596,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode|0.1.0 // QuestionnaireResponse Usage Mode - public Extension makeQRUsageMode(String value) { + public static Extension makeQRUsageMode(String value) { return new Extension(ExtensionConstants.EXT_QRUSAGE_MODE).setValue(new CodeType(value)); } - public ElementDefinition setQRUsageMode(ElementDefinition context, String value) { + public static ElementDefinition setQRUsageMode(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRUSAGE_MODE, new CodeType(value)); return context; } - public String getQRUsageMode(ElementDefinition context) { + public static String getQRUsageMode(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QRUSAGE_MODE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQRUsageMode(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent setQRUsageMode(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRUSAGE_MODE, new CodeType(value)); return context; } - public String getQRUsageMode(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static String getQRUsageMode(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_QRUSAGE_MODE); } @@ -6622,16 +6622,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author|0.1.0 // QuestionnaireResponse Author - public Extension makeQRAuthor(Reference value) { + public static Extension makeQRAuthor(Reference value) { return new Extension(ExtensionConstants.EXT_QRAUTHOR).setValue(value); } - public org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent setQRAuthor(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context, Reference value) { + public static org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent setQRAuthor(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRAUTHOR, value); return context; } - public Reference getQRAuthor(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context) { + public static Reference getQRAuthor(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_QRAUTHOR); } @@ -6639,16 +6639,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode|0.1.0 // QuestionnaireResponse Completion Mode - public Extension makeQRCompletionMode(CodeableConcept value) { + public static Extension makeQRCompletionMode(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_QRCOMPLETION_MODE).setValue(value); } - public QuestionnaireResponse setQRCompletionMode(QuestionnaireResponse context, CodeableConcept value) { + public static QuestionnaireResponse setQRCompletionMode(QuestionnaireResponse context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRCOMPLETION_MODE, value); return context; } - public CodeableConcept getQRCompletionMode(QuestionnaireResponse context) { + public static CodeableConcept getQRCompletionMode(QuestionnaireResponse context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_QRCOMPLETION_MODE); } @@ -6656,16 +6656,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason|0.1.0 // QuestionnaireResponse Reason - public Extension makeQRReason(CodeableConcept value) { + public static Extension makeQRReason(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_QRREASON).setValue(value); } - public QuestionnaireResponse addQRReason(QuestionnaireResponse context, CodeableConcept value) { + public static QuestionnaireResponse addQRReason(QuestionnaireResponse context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRREASON, value); return context; } - public List getQRReasonList(QuestionnaireResponse context) { + public static List getQRReasonList(QuestionnaireResponse context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_QRREASON); } @@ -6673,16 +6673,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer|0.1.0 // QuestionnaireResponse Reviewer - public Extension makeQRReviewer(Reference value) { + public static Extension makeQRReviewer(Reference value) { return new Extension(ExtensionConstants.EXT_QRREVIEWER).setValue(value); } - public QuestionnaireResponse setQRReviewer(QuestionnaireResponse context, Reference value) { + public static QuestionnaireResponse setQRReviewer(QuestionnaireResponse context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_QRREVIEWER, value); return context; } - public Reference getQRReviewer(QuestionnaireResponse context) { + public static Reference getQRReviewer(QuestionnaireResponse context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_QRREVIEWER); } @@ -6690,25 +6690,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature|0.1.0 // QuestionnaireResponse Signature - public Extension makeQRSignature(Signature value) { + public static Extension makeQRSignature(Signature value) { return new Extension(ExtensionConstants.EXT_QRSIGNATURE).setValue(value); } - public QuestionnaireResponse addQRSignature(QuestionnaireResponse context, Signature value) { + public static QuestionnaireResponse addQRSignature(QuestionnaireResponse context, Signature value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRSIGNATURE, value); return context; } - public List getQRSignatureList(QuestionnaireResponse context) { + public static List getQRSignatureList(QuestionnaireResponse context) { return ExtensionsUtils.getExtensionList(Signature.class, context, ExtensionConstants.EXT_QRSIGNATURE); } - public org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent addQRSignature(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context, Signature value) { + public static org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent addQRSignature(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context, Signature value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_QRSIGNATURE, value); return context; } - public List getQRSignatureList(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context) { + public static List getQRSignatureList(org.hl7.fhir.r5.model.QuestionnaireResponse.QuestionnaireResponseItemComponent context) { return ExtensionsUtils.getExtensionList(Signature.class, context, ExtensionConstants.EXT_QRSIGNATURE); } @@ -6716,16 +6716,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/referencesContained|0.1.0 // References Contained - public Extension makeReferencesContained(Reference value) { + public static Extension makeReferencesContained(Reference value) { return new Extension(ExtensionConstants.EXT_REFERENCES_CONTAINED).setValue(value); } - public Expression addReferencesContained(Expression context, Reference value) { + public static Expression addReferencesContained(Expression context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REFERENCES_CONTAINED, value); return context; } - public List getReferencesContainedList(Expression context) { + public static List getReferencesContainedList(Expression context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REFERENCES_CONTAINED); } @@ -6733,88 +6733,88 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/rendered-value|0.1.0 // Rendered Value - public Extension makeRenderedValue(String value) { + public static Extension makeRenderedValue(String value) { return new Extension(ExtensionConstants.EXT_RENDERED_VALUE).setValue(new StringType(value)); } - public CanonicalType setRenderedValue(CanonicalType context, String value) { + public static CanonicalType setRenderedValue(CanonicalType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(CanonicalType context) { + public static String getRenderedValue(CanonicalType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } - public CodeType setRenderedValue(CodeType context, String value) { + public static CodeType setRenderedValue(CodeType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(CodeType context) { + public static String getRenderedValue(CodeType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } - public DateTimeType setRenderedValue(DateTimeType context, String value) { + public static DateTimeType setRenderedValue(DateTimeType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(DateTimeType context) { + public static String getRenderedValue(DateTimeType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } - public DateType setRenderedValue(DateType context, String value) { + public static DateType setRenderedValue(DateType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(DateType context) { + public static String getRenderedValue(DateType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } - public DecimalType setRenderedValue(DecimalType context, String value) { + public static DecimalType setRenderedValue(DecimalType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(DecimalType context) { + public static String getRenderedValue(DecimalType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } - public InstantType setRenderedValue(InstantType context, String value) { + public static InstantType setRenderedValue(InstantType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(InstantType context) { + public static String getRenderedValue(InstantType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } - public IntegerType setRenderedValue(IntegerType context, String value) { + public static IntegerType setRenderedValue(IntegerType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(IntegerType context) { + public static String getRenderedValue(IntegerType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } - public StringType setRenderedValue(StringType context, String value) { + public static StringType setRenderedValue(StringType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(StringType context) { + public static String getRenderedValue(StringType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } - public TimeType setRenderedValue(TimeType context, String value) { + public static TimeType setRenderedValue(TimeType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERED_VALUE, new StringType(value)); return context; } - public String getRenderedValue(TimeType context) { + public static String getRenderedValue(TimeType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERED_VALUE); } @@ -6822,16 +6822,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/rendering-markdown|0.1.0 // Markdown - public Extension makeMarkdown(String value) { + public static Extension makeMarkdown(String value) { return new Extension(ExtensionConstants.EXT_MARKDOWN).setValue(new MarkdownType(value)); } - public StringType setMarkdown(StringType context, String value) { + public static StringType setMarkdown(StringType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_MARKDOWN, new MarkdownType(value)); return context; } - public String getMarkdown(StringType context) { + public static String getMarkdown(StringType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_MARKDOWN); } @@ -6839,16 +6839,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/rendering-style|0.1.0 // Rendering Style - public Extension makeRenderingStyle(String value) { + public static Extension makeRenderingStyle(String value) { return new Extension(ExtensionConstants.EXT_RENDERING_STYLE).setValue(new StringType(value)); } - public Element setRenderingStyle(Element context, String value) { + public static Element setRenderingStyle(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RENDERING_STYLE, new StringType(value)); return context; } - public String getRenderingStyle(Element context) { + public static String getRenderingStyle(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RENDERING_STYLE); } @@ -6856,16 +6856,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive|0.1.0 // style sensitive - public Extension makeStyleSensitive(boolean value) { + public static Extension makeStyleSensitive(boolean value) { return new Extension(ExtensionConstants.EXT_STYLE_SENSITIVE).setValue(new BooleanType(value)); } - public Element setStyleSensitive(Element context, boolean value) { + public static Element setStyleSensitive(Element context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_STYLE_SENSITIVE, new BooleanType(value)); return context; } - public Boolean getStyleSensitive(Element context) { + public static Boolean getStyleSensitive(Element context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_STYLE_SENSITIVE); } @@ -6873,16 +6873,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/rendering-xhtml|0.1.0 // XHTML Representation - public Extension makeXhtmlRepresentation(String value) { + public static Extension makeXhtmlRepresentation(String value) { return new Extension(ExtensionConstants.EXT_XHTML_REPRESENTATION).setValue(new StringType(value)); } - public StringType setXhtmlRepresentation(StringType context, String value) { + public static StringType setXhtmlRepresentation(StringType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_XHTML_REPRESENTATION, new StringType(value)); return context; } - public String getXhtmlRepresentation(StringType context) { + public static String getXhtmlRepresentation(StringType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_XHTML_REPRESENTATION); } @@ -6890,304 +6890,304 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/replaces|0.1.0 // Replaces - public Extension makeReplaces(String value) { + public static Extension makeReplaces(String value) { return new Extension(ExtensionConstants.EXT_REPLACES).setValue(new CanonicalType(value)); } - public ActivityDefinition addReplaces(ActivityDefinition context, String value) { + public static ActivityDefinition addReplaces(ActivityDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ActivityDefinition context) { + public static List getReplacesList(ActivityDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public ActorDefinition addReplaces(ActorDefinition context, String value) { + public static ActorDefinition addReplaces(ActorDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ActorDefinition context) { + public static List getReplacesList(ActorDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public CapabilityStatement addReplaces(CapabilityStatement context, String value) { + public static CapabilityStatement addReplaces(CapabilityStatement context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(CapabilityStatement context) { + public static List getReplacesList(CapabilityStatement context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public ChargeItemDefinition addReplaces(ChargeItemDefinition context, String value) { + public static ChargeItemDefinition addReplaces(ChargeItemDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ChargeItemDefinition context) { + public static List getReplacesList(ChargeItemDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public Citation addReplaces(Citation context, String value) { + public static Citation addReplaces(Citation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(Citation context) { + public static List getReplacesList(Citation context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public CodeSystem addReplaces(CodeSystem context, String value) { + public static CodeSystem addReplaces(CodeSystem context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(CodeSystem context) { + public static List getReplacesList(CodeSystem context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public CompartmentDefinition addReplaces(CompartmentDefinition context, String value) { + public static CompartmentDefinition addReplaces(CompartmentDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(CompartmentDefinition context) { + public static List getReplacesList(CompartmentDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public ConceptMap addReplaces(ConceptMap context, String value) { + public static ConceptMap addReplaces(ConceptMap context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ConceptMap context) { + public static List getReplacesList(ConceptMap context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public ConditionDefinition addReplaces(ConditionDefinition context, String value) { + public static ConditionDefinition addReplaces(ConditionDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ConditionDefinition context) { + public static List getReplacesList(ConditionDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public EventDefinition addReplaces(EventDefinition context, String value) { + public static EventDefinition addReplaces(EventDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(EventDefinition context) { + public static List getReplacesList(EventDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public Evidence addReplaces(Evidence context, String value) { + public static Evidence addReplaces(Evidence context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(Evidence context) { + public static List getReplacesList(Evidence context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public EvidenceReport addReplaces(EvidenceReport context, String value) { + public static EvidenceReport addReplaces(EvidenceReport context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(EvidenceReport context) { + public static List getReplacesList(EvidenceReport context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public EvidenceVariable addReplaces(EvidenceVariable context, String value) { + public static EvidenceVariable addReplaces(EvidenceVariable context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(EvidenceVariable context) { + public static List getReplacesList(EvidenceVariable context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public ExampleScenario addReplaces(ExampleScenario context, String value) { + public static ExampleScenario addReplaces(ExampleScenario context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ExampleScenario context) { + public static List getReplacesList(ExampleScenario context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public GraphDefinition addReplaces(GraphDefinition context, String value) { + public static GraphDefinition addReplaces(GraphDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(GraphDefinition context) { + public static List getReplacesList(GraphDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public ImplementationGuide addReplaces(ImplementationGuide context, String value) { + public static ImplementationGuide addReplaces(ImplementationGuide context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ImplementationGuide context) { + public static List getReplacesList(ImplementationGuide context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public Library addReplaces(Library context, String value) { + public static Library addReplaces(Library context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(Library context) { + public static List getReplacesList(Library context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public Measure addReplaces(Measure context, String value) { + public static Measure addReplaces(Measure context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(Measure context) { + public static List getReplacesList(Measure context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public MessageDefinition addReplaces(MessageDefinition context, String value) { + public static MessageDefinition addReplaces(MessageDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(MessageDefinition context) { + public static List getReplacesList(MessageDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public NamingSystem addReplaces(NamingSystem context, String value) { + public static NamingSystem addReplaces(NamingSystem context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(NamingSystem context) { + public static List getReplacesList(NamingSystem context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public ObservationDefinition addReplaces(ObservationDefinition context, String value) { + public static ObservationDefinition addReplaces(ObservationDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ObservationDefinition context) { + public static List getReplacesList(ObservationDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public OperationDefinition addReplaces(OperationDefinition context, String value) { + public static OperationDefinition addReplaces(OperationDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(OperationDefinition context) { + public static List getReplacesList(OperationDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public PlanDefinition addReplaces(PlanDefinition context, String value) { + public static PlanDefinition addReplaces(PlanDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(PlanDefinition context) { + public static List getReplacesList(PlanDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public Questionnaire addReplaces(Questionnaire context, String value) { + public static Questionnaire addReplaces(Questionnaire context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(Questionnaire context) { + public static List getReplacesList(Questionnaire context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public Requirements addReplaces(Requirements context, String value) { + public static Requirements addReplaces(Requirements context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(Requirements context) { + public static List getReplacesList(Requirements context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public SearchParameter addReplaces(SearchParameter context, String value) { + public static SearchParameter addReplaces(SearchParameter context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(SearchParameter context) { + public static List getReplacesList(SearchParameter context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public SpecimenDefinition addReplaces(SpecimenDefinition context, String value) { + public static SpecimenDefinition addReplaces(SpecimenDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(SpecimenDefinition context) { + public static List getReplacesList(SpecimenDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public StructureDefinition addReplaces(StructureDefinition context, String value) { + public static StructureDefinition addReplaces(StructureDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(StructureDefinition context) { + public static List getReplacesList(StructureDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public StructureMap addReplaces(StructureMap context, String value) { + public static StructureMap addReplaces(StructureMap context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(StructureMap context) { + public static List getReplacesList(StructureMap context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public SubscriptionTopic addReplaces(SubscriptionTopic context, String value) { + public static SubscriptionTopic addReplaces(SubscriptionTopic context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(SubscriptionTopic context) { + public static List getReplacesList(SubscriptionTopic context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public TerminologyCapabilities addReplaces(TerminologyCapabilities context, String value) { + public static TerminologyCapabilities addReplaces(TerminologyCapabilities context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(TerminologyCapabilities context) { + public static List getReplacesList(TerminologyCapabilities context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public TestScript addReplaces(TestScript context, String value) { + public static TestScript addReplaces(TestScript context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(TestScript context) { + public static List getReplacesList(TestScript context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } - public ValueSet addReplaces(ValueSet context, String value) { + public static ValueSet addReplaces(ValueSet context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REPLACES, new CanonicalType(value)); return context; } - public List getReplacesList(ValueSet context) { + public static List getReplacesList(ValueSet context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_REPLACES); } @@ -7195,16 +7195,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/request-doNotPerform|0.1.0 // do not perform - public Extension makeDoNotPerform(boolean value) { + public static Extension makeDoNotPerform(boolean value) { return new Extension(ExtensionConstants.EXT_DO_NOT_PERFORM).setValue(new BooleanType(value)); } - public NutritionOrder setDoNotPerform(NutritionOrder context, boolean value) { + public static NutritionOrder setDoNotPerform(NutritionOrder context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_DO_NOT_PERFORM, new BooleanType(value)); return context; } - public Boolean getDoNotPerform(NutritionOrder context) { + public static Boolean getDoNotPerform(NutritionOrder context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_DO_NOT_PERFORM); } @@ -7212,16 +7212,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/request-insurance|0.1.0 // Request Insurance - public Extension makeRequestInsurance(Reference value) { + public static Extension makeRequestInsurance(Reference value) { return new Extension(ExtensionConstants.EXT_REQUEST_INSURANCE).setValue(value); } - public NutritionOrder addRequestInsurance(NutritionOrder context, Reference value) { + public static NutritionOrder addRequestInsurance(NutritionOrder context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REQUEST_INSURANCE, value); return context; } - public List getRequestInsuranceList(NutritionOrder context) { + public static List getRequestInsuranceList(NutritionOrder context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REQUEST_INSURANCE); } @@ -7229,25 +7229,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/request-performerOrder|0.1.0 // performer order - public Extension makePerformerOrder(int value) { + public static Extension makePerformerOrder(int value) { return new Extension(ExtensionConstants.EXT_PERFORMER_ORDER).setValue(new IntegerType(value)); } - public CodeableReference setPerformerOrder(CodeableReference context, int value) { + public static CodeableReference setPerformerOrder(CodeableReference context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PERFORMER_ORDER, new IntegerType(value)); return context; } - public Integer getPerformerOrder(CodeableReference context) { + public static Integer getPerformerOrder(CodeableReference context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_PERFORMER_ORDER); } - public Reference setPerformerOrder(Reference context, int value) { + public static Reference setPerformerOrder(Reference context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_PERFORMER_ORDER, new IntegerType(value)); return context; } - public Integer getPerformerOrder(Reference context) { + public static Integer getPerformerOrder(Reference context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_PERFORMER_ORDER); } @@ -7255,34 +7255,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/request-relevantHistory|0.1.0 // relevant history - public Extension makeRelevantHistory(Reference value) { + public static Extension makeRelevantHistory(Reference value) { return new Extension(ExtensionConstants.EXT_RELEVANT_HISTORY).setValue(value); } - public CarePlan addRelevantHistory(CarePlan context, Reference value) { + public static CarePlan addRelevantHistory(CarePlan context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELEVANT_HISTORY, value); return context; } - public List getRelevantHistoryList(CarePlan context) { + public static List getRelevantHistoryList(CarePlan context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RELEVANT_HISTORY); } - public CommunicationRequest addRelevantHistory(CommunicationRequest context, Reference value) { + public static CommunicationRequest addRelevantHistory(CommunicationRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELEVANT_HISTORY, value); return context; } - public List getRelevantHistoryList(CommunicationRequest context) { + public static List getRelevantHistoryList(CommunicationRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RELEVANT_HISTORY); } - public NutritionOrder addRelevantHistory(NutritionOrder context, Reference value) { + public static NutritionOrder addRelevantHistory(NutritionOrder context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELEVANT_HISTORY, value); return context; } - public List getRelevantHistoryList(NutritionOrder context) { + public static List getRelevantHistoryList(NutritionOrder context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RELEVANT_HISTORY); } @@ -7290,34 +7290,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/request-replaces|0.1.0 // Request Replaces - public Extension makeRequestReplaces(Reference value) { + public static Extension makeRequestReplaces(Reference value) { return new Extension(ExtensionConstants.EXT_REQUEST_REPLACES).setValue(value); } - public NutritionOrder addRequestReplaces(NutritionOrder context, Reference value) { + public static NutritionOrder addRequestReplaces(NutritionOrder context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REQUEST_REPLACES, value); return context; } - public List getRequestReplacesList(NutritionOrder context) { + public static List getRequestReplacesList(NutritionOrder context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REQUEST_REPLACES); } - public SupplyRequest addRequestReplaces(SupplyRequest context, Reference value) { + public static SupplyRequest addRequestReplaces(SupplyRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REQUEST_REPLACES, value); return context; } - public List getRequestReplacesList(SupplyRequest context) { + public static List getRequestReplacesList(SupplyRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REQUEST_REPLACES); } - public Task addRequestReplaces(Task context, Reference value) { + public static Task addRequestReplaces(Task context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_REQUEST_REPLACES, value); return context; } - public List getRequestReplacesList(Task context) { + public static List getRequestReplacesList(Task context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_REQUEST_REPLACES); } @@ -7325,43 +7325,43 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/request-statusReason|0.1.0 // status reason - public Extension makeRequestStatusReason(CodeableConcept value) { + public static Extension makeRequestStatusReason(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_REQUEST_STATUS_REASON).setValue(value); } - public DeviceRequest setRequestStatusReason(DeviceRequest context, CodeableConcept value) { + public static DeviceRequest setRequestStatusReason(DeviceRequest context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REQUEST_STATUS_REASON, value); return context; } - public CodeableConcept getRequestStatusReason(DeviceRequest context) { + public static CodeableConcept getRequestStatusReason(DeviceRequest context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_REQUEST_STATUS_REASON); } - public NutritionOrder setRequestStatusReason(NutritionOrder context, CodeableConcept value) { + public static NutritionOrder setRequestStatusReason(NutritionOrder context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REQUEST_STATUS_REASON, value); return context; } - public CodeableConcept getRequestStatusReason(NutritionOrder context) { + public static CodeableConcept getRequestStatusReason(NutritionOrder context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_REQUEST_STATUS_REASON); } - public ServiceRequest setRequestStatusReason(ServiceRequest context, CodeableConcept value) { + public static ServiceRequest setRequestStatusReason(ServiceRequest context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REQUEST_STATUS_REASON, value); return context; } - public CodeableConcept getRequestStatusReason(ServiceRequest context) { + public static CodeableConcept getRequestStatusReason(ServiceRequest context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_REQUEST_STATUS_REASON); } - public SupplyRequest setRequestStatusReason(SupplyRequest context, CodeableConcept value) { + public static SupplyRequest setRequestStatusReason(SupplyRequest context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_REQUEST_STATUS_REASON, value); return context; } - public CodeableConcept getRequestStatusReason(SupplyRequest context) { + public static CodeableConcept getRequestStatusReason(SupplyRequest context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_REQUEST_STATUS_REASON); } @@ -7369,16 +7369,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration|0.1.0 // ResearchStudy Study Registration - public Extension makeRSStudyRegistration(DataType value) { + public static Extension makeRSStudyRegistration(DataType value) { return new Extension(ExtensionConstants.EXT_RSSTUDY_REGISTRATION).setValue(value); } - public ResearchStudy addRSStudyRegistration(ResearchStudy context, DataType value) { + public static ResearchStudy addRSStudyRegistration(ResearchStudy context, DataType value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RSSTUDY_REGISTRATION, value); return context; } - public List getRSStudyRegistrationList(ResearchStudy context) { + public static List getRSStudyRegistrationList(ResearchStudy context) { return ExtensionsUtils.getExtensionList(DataType.class, context, ExtensionConstants.EXT_RSSTUDY_REGISTRATION); } @@ -7386,34 +7386,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific|0.1.0 // Resolve as version specific - public Extension makeResolveAsVersionSpecific(boolean value) { + public static Extension makeResolveAsVersionSpecific(boolean value) { return new Extension(ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC).setValue(new BooleanType(value)); } - public Reference setResolveAsVersionSpecific(Reference context, boolean value) { + public static Reference setResolveAsVersionSpecific(Reference context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC, new BooleanType(value)); return context; } - public Boolean getResolveAsVersionSpecific(Reference context) { + public static Boolean getResolveAsVersionSpecific(Reference context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC); } - public UriType setResolveAsVersionSpecific(UriType context, boolean value) { + public static UriType setResolveAsVersionSpecific(UriType context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC, new BooleanType(value)); return context; } - public Boolean getResolveAsVersionSpecific(UriType context) { + public static Boolean getResolveAsVersionSpecific(UriType context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC); } - public UrlType setResolveAsVersionSpecific(UrlType context, boolean value) { + public static UrlType setResolveAsVersionSpecific(UrlType context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC, new BooleanType(value)); return context; } - public Boolean getResolveAsVersionSpecific(UrlType context) { + public static Boolean getResolveAsVersionSpecific(UrlType context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_RESOLVE_AS_VERSION_SPECIFIC); } @@ -7421,106 +7421,106 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/resource-approvalDate|0.1.0 // Resource Approval Date - public Extension makeResourceApprovalDate(String value) { + public static Extension makeResourceApprovalDate(String value) { return new Extension(ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE).setValue(new DateType(value)); } - public CapabilityStatement setResourceApprovalDate(CapabilityStatement context, String value) { + public static CapabilityStatement setResourceApprovalDate(CapabilityStatement context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(CapabilityStatement context) { + public static String getResourceApprovalDate(CapabilityStatement context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public CodeSystem setResourceApprovalDate(CodeSystem context, String value) { + public static CodeSystem setResourceApprovalDate(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(CodeSystem context) { + public static String getResourceApprovalDate(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public CompartmentDefinition setResourceApprovalDate(CompartmentDefinition context, String value) { + public static CompartmentDefinition setResourceApprovalDate(CompartmentDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(CompartmentDefinition context) { + public static String getResourceApprovalDate(CompartmentDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public ConceptMap setResourceApprovalDate(ConceptMap context, String value) { + public static ConceptMap setResourceApprovalDate(ConceptMap context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(ConceptMap context) { + public static String getResourceApprovalDate(ConceptMap context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public ImplementationGuide setResourceApprovalDate(ImplementationGuide context, String value) { + public static ImplementationGuide setResourceApprovalDate(ImplementationGuide context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(ImplementationGuide context) { + public static String getResourceApprovalDate(ImplementationGuide context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public NamingSystem setResourceApprovalDate(NamingSystem context, String value) { + public static NamingSystem setResourceApprovalDate(NamingSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(NamingSystem context) { + public static String getResourceApprovalDate(NamingSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public OperationDefinition setResourceApprovalDate(OperationDefinition context, String value) { + public static OperationDefinition setResourceApprovalDate(OperationDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(OperationDefinition context) { + public static String getResourceApprovalDate(OperationDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public SearchParameter setResourceApprovalDate(SearchParameter context, String value) { + public static SearchParameter setResourceApprovalDate(SearchParameter context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(SearchParameter context) { + public static String getResourceApprovalDate(SearchParameter context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public StructureDefinition setResourceApprovalDate(StructureDefinition context, String value) { + public static StructureDefinition setResourceApprovalDate(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(StructureDefinition context) { + public static String getResourceApprovalDate(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public StructureMap setResourceApprovalDate(StructureMap context, String value) { + public static StructureMap setResourceApprovalDate(StructureMap context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(StructureMap context) { + public static String getResourceApprovalDate(StructureMap context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } - public ValueSet setResourceApprovalDate(ValueSet context, String value) { + public static ValueSet setResourceApprovalDate(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE, new DateType(value)); return context; } - public String getResourceApprovalDate(ValueSet context) { + public static String getResourceApprovalDate(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_APPROVAL_DATE); } @@ -7528,106 +7528,106 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod|0.1.0 // Resource Effective Period - public Extension makeResourceEffectivePeriod(Period value) { + public static Extension makeResourceEffectivePeriod(Period value) { return new Extension(ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD).setValue(value); } - public CapabilityStatement setResourceEffectivePeriod(CapabilityStatement context, Period value) { + public static CapabilityStatement setResourceEffectivePeriod(CapabilityStatement context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(CapabilityStatement context) { + public static Period getResourceEffectivePeriod(CapabilityStatement context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public CodeSystem setResourceEffectivePeriod(CodeSystem context, Period value) { + public static CodeSystem setResourceEffectivePeriod(CodeSystem context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(CodeSystem context) { + public static Period getResourceEffectivePeriod(CodeSystem context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public CompartmentDefinition setResourceEffectivePeriod(CompartmentDefinition context, Period value) { + public static CompartmentDefinition setResourceEffectivePeriod(CompartmentDefinition context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(CompartmentDefinition context) { + public static Period getResourceEffectivePeriod(CompartmentDefinition context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public ConceptMap setResourceEffectivePeriod(ConceptMap context, Period value) { + public static ConceptMap setResourceEffectivePeriod(ConceptMap context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(ConceptMap context) { + public static Period getResourceEffectivePeriod(ConceptMap context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public ImplementationGuide setResourceEffectivePeriod(ImplementationGuide context, Period value) { + public static ImplementationGuide setResourceEffectivePeriod(ImplementationGuide context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(ImplementationGuide context) { + public static Period getResourceEffectivePeriod(ImplementationGuide context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public NamingSystem setResourceEffectivePeriod(NamingSystem context, Period value) { + public static NamingSystem setResourceEffectivePeriod(NamingSystem context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(NamingSystem context) { + public static Period getResourceEffectivePeriod(NamingSystem context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public OperationDefinition setResourceEffectivePeriod(OperationDefinition context, Period value) { + public static OperationDefinition setResourceEffectivePeriod(OperationDefinition context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(OperationDefinition context) { + public static Period getResourceEffectivePeriod(OperationDefinition context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public SearchParameter setResourceEffectivePeriod(SearchParameter context, Period value) { + public static SearchParameter setResourceEffectivePeriod(SearchParameter context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(SearchParameter context) { + public static Period getResourceEffectivePeriod(SearchParameter context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public StructureDefinition setResourceEffectivePeriod(StructureDefinition context, Period value) { + public static StructureDefinition setResourceEffectivePeriod(StructureDefinition context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(StructureDefinition context) { + public static Period getResourceEffectivePeriod(StructureDefinition context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public StructureMap setResourceEffectivePeriod(StructureMap context, Period value) { + public static StructureMap setResourceEffectivePeriod(StructureMap context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(StructureMap context) { + public static Period getResourceEffectivePeriod(StructureMap context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } - public ValueSet setResourceEffectivePeriod(ValueSet context, Period value) { + public static ValueSet setResourceEffectivePeriod(ValueSet context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD, value); return context; } - public Period getResourceEffectivePeriod(ValueSet context) { + public static Period getResourceEffectivePeriod(ValueSet context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_RESOURCE_EFFECTIVE_PERIOD); } @@ -7635,16 +7635,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/resource-instance-description|0.1.0 // Resource instance description - public Extension makeResourceInstanceDescription(String value) { + public static Extension makeResourceInstanceDescription(String value) { return new Extension(ExtensionConstants.EXT_RESOURCE_INSTANCE_DESCRIPTION).setValue(new MarkdownType(value)); } - public Resource setResourceInstanceDescription(Resource context, String value) { + public static Resource setResourceInstanceDescription(Resource context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_INSTANCE_DESCRIPTION, new MarkdownType(value)); return context; } - public String getResourceInstanceDescription(Resource context) { + public static String getResourceInstanceDescription(Resource context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_INSTANCE_DESCRIPTION); } @@ -7652,16 +7652,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/resource-instance-name|0.1.0 // Resource instance name - public Extension makeResourceInstanceName(String value) { + public static Extension makeResourceInstanceName(String value) { return new Extension(ExtensionConstants.EXT_RESOURCE_INSTANCE_NAME).setValue(new StringType(value)); } - public Resource setResourceInstanceName(Resource context, String value) { + public static Resource setResourceInstanceName(Resource context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESOURCE_INSTANCE_NAME, new StringType(value)); return context; } - public String getResourceInstanceName(Resource context) { + public static String getResourceInstanceName(Resource context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESOURCE_INSTANCE_NAME); } @@ -7669,106 +7669,106 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate|0.1.0 // Resource Last Review Date - public Extension makeReslastReviewDate(String value) { + public static Extension makeReslastReviewDate(String value) { return new Extension(ExtensionConstants.EXT_RESLAST_REVIEW_DATE).setValue(new DateType(value)); } - public CapabilityStatement setReslastReviewDate(CapabilityStatement context, String value) { + public static CapabilityStatement setReslastReviewDate(CapabilityStatement context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(CapabilityStatement context) { + public static String getReslastReviewDate(CapabilityStatement context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public CodeSystem setReslastReviewDate(CodeSystem context, String value) { + public static CodeSystem setReslastReviewDate(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(CodeSystem context) { + public static String getReslastReviewDate(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public CompartmentDefinition setReslastReviewDate(CompartmentDefinition context, String value) { + public static CompartmentDefinition setReslastReviewDate(CompartmentDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(CompartmentDefinition context) { + public static String getReslastReviewDate(CompartmentDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public ConceptMap setReslastReviewDate(ConceptMap context, String value) { + public static ConceptMap setReslastReviewDate(ConceptMap context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(ConceptMap context) { + public static String getReslastReviewDate(ConceptMap context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public ImplementationGuide setReslastReviewDate(ImplementationGuide context, String value) { + public static ImplementationGuide setReslastReviewDate(ImplementationGuide context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(ImplementationGuide context) { + public static String getReslastReviewDate(ImplementationGuide context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public NamingSystem setReslastReviewDate(NamingSystem context, String value) { + public static NamingSystem setReslastReviewDate(NamingSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(NamingSystem context) { + public static String getReslastReviewDate(NamingSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public OperationDefinition setReslastReviewDate(OperationDefinition context, String value) { + public static OperationDefinition setReslastReviewDate(OperationDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(OperationDefinition context) { + public static String getReslastReviewDate(OperationDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public SearchParameter setReslastReviewDate(SearchParameter context, String value) { + public static SearchParameter setReslastReviewDate(SearchParameter context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(SearchParameter context) { + public static String getReslastReviewDate(SearchParameter context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public StructureDefinition setReslastReviewDate(StructureDefinition context, String value) { + public static StructureDefinition setReslastReviewDate(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(StructureDefinition context) { + public static String getReslastReviewDate(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public StructureMap setReslastReviewDate(StructureMap context, String value) { + public static StructureMap setReslastReviewDate(StructureMap context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(StructureMap context) { + public static String getReslastReviewDate(StructureMap context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } - public ValueSet setReslastReviewDate(ValueSet context, String value) { + public static ValueSet setReslastReviewDate(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE, new DateType(value)); return context; } - public String getReslastReviewDate(ValueSet context) { + public static String getReslastReviewDate(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RESLAST_REVIEW_DATE); } @@ -7776,16 +7776,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal|0.1.0 // ServiceRequest Pertains To Goal - public Extension makeSRPertainsToGoal(Reference value) { + public static Extension makeSRPertainsToGoal(Reference value) { return new Extension(ExtensionConstants.EXT_SRPERTAINS_TO_GOAL).setValue(value); } - public Resource addSRPertainsToGoal(Resource context, Reference value) { + public static Resource addSRPertainsToGoal(Resource context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SRPERTAINS_TO_GOAL, value); return context; } - public List getSRPertainsToGoalList(Resource context) { + public static List getSRPertainsToGoalList(Resource context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SRPERTAINS_TO_GOAL); } @@ -7793,16 +7793,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/servicerequest-precondition|0.1.0 // ServiceRequest Precondition - public Extension makeSRPrecondition(CodeableConcept value) { + public static Extension makeSRPrecondition(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_SRPRECONDITION).setValue(value); } - public ServiceRequest addSRPrecondition(ServiceRequest context, CodeableConcept value) { + public static ServiceRequest addSRPrecondition(ServiceRequest context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SRPRECONDITION, value); return context; } - public List getSRPreconditionList(ServiceRequest context) { + public static List getSRPreconditionList(ServiceRequest context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_SRPRECONDITION); } @@ -7810,16 +7810,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest|0.1.0 // ServiceRequest Questionnaire Requested - public Extension makeSRQuestionnaireRequest(Reference value) { + public static Extension makeSRQuestionnaireRequest(Reference value) { return new Extension(ExtensionConstants.EXT_SRQUESTIONNAIRE_REQUEST).setValue(value); } - public ServiceRequest setSRQuestionnaireRequest(ServiceRequest context, Reference value) { + public static ServiceRequest setSRQuestionnaireRequest(ServiceRequest context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SRQUESTIONNAIRE_REQUEST, value); return context; } - public Reference getSRQuestionnaireRequest(ServiceRequest context) { + public static Reference getSRQuestionnaireRequest(ServiceRequest context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_SRQUESTIONNAIRE_REQUEST); } @@ -7827,16 +7827,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority|0.1.0 // Specimen Collection Priority - public Extension makeSpecCollectionPriority(CodeableConcept value) { + public static Extension makeSpecCollectionPriority(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_SPEC_COLLECTION_PRIORITY).setValue(value); } - public org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent setSpecCollectionPriority(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent setSpecCollectionPriority(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SPEC_COLLECTION_PRIORITY, value); return context; } - public CodeableConcept getSpecCollectionPriority(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) { + public static CodeableConcept getSpecCollectionPriority(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SPEC_COLLECTION_PRIORITY); } @@ -7844,7 +7844,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight|0.1.0 // Specimen Is Dry Weight - public Extension makeSpecIsDryWeight(boolean value) { + public static Extension makeSpecIsDryWeight(boolean value) { return new Extension(ExtensionConstants.EXT_SPEC_IS_DRY_WEIGHT).setValue(new BooleanType(value)); } @@ -7852,29 +7852,29 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/specimen-processingTime|0.1.0 // Specimen Processing Time - public Extension makeSpecProcessingTime(Period value) { + public static Extension makeSpecProcessingTime(Period value) { return new Extension(ExtensionConstants.EXT_SPEC_PROCESSING_TIME).setValue(value); } - public Extension makeSpecProcessingTime(Duration value) { + public static Extension makeSpecProcessingTime(Duration value) { return new Extension(ExtensionConstants.EXT_SPEC_PROCESSING_TIME).setValue(value); } - public org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent setSpecProcessingTime(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context, Period value) { + public static org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent setSpecProcessingTime(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SPEC_PROCESSING_TIME, value); return context; } - public Period getSpecProcessingTimePeriod(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context) { + public static Period getSpecProcessingTimePeriod(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_SPEC_PROCESSING_TIME); } - public org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent setSpecProcessingTime(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context, Duration value) { + public static org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent setSpecProcessingTime(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context, Duration value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SPEC_PROCESSING_TIME, value); return context; } - public Duration getSpecProcessingTimeDuration(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context) { + public static Duration getSpecProcessingTimeDuration(org.hl7.fhir.r5.model.Specimen.SpecimenProcessingComponent context) { return ExtensionsUtils.getExtension(Duration.class, context, ExtensionConstants.EXT_SPEC_PROCESSING_TIME); } @@ -7882,16 +7882,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber|0.1.0 // Specimen Sequence Number - public Extension makeSpecSequenceNumber(int value) { + public static Extension makeSpecSequenceNumber(int value) { return new Extension(ExtensionConstants.EXT_SPEC_SEQUENCE_NUMBER).setValue(new IntegerType(value)); } - public org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent setSpecSequenceNumber(org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent context, int value) { + public static org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent setSpecSequenceNumber(org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SPEC_SEQUENCE_NUMBER, new IntegerType(value)); return context; } - public Integer getSpecSequenceNumber(org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent context) { + public static Integer getSpecSequenceNumber(org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_SPEC_SEQUENCE_NUMBER); } @@ -7899,16 +7899,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/specimen-specialHandling|0.1.0 // Specimen Special handling - public Extension makeSpecSpecialHandling(CodeableConcept value) { + public static Extension makeSpecSpecialHandling(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_SPEC_SPECIAL_HANDLING).setValue(value); } - public org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent addSpecSpecialHandling(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) { + public static org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent addSpecSpecialHandling(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context, CodeableConcept value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SPEC_SPECIAL_HANDLING, value); return context; } - public List getSpecSpecialHandlingList(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) { + public static List getSpecSpecialHandlingList(org.hl7.fhir.r5.model.Specimen.SpecimenCollectionComponent context) { return ExtensionsUtils.getExtensionList(CodeableConcept.class, context, ExtensionConstants.EXT_SPEC_SPECIAL_HANDLING); } @@ -7916,16 +7916,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor|0.1.0 // StructureDefinition Ancestor - public Extension makeSDAncestor(String value) { + public static Extension makeSDAncestor(String value) { return new Extension(ExtensionConstants.EXT_SDANCESTOR).setValue(new UriType(value)); } - public StructureDefinition addSDAncestor(StructureDefinition context, String value) { + public static StructureDefinition addSDAncestor(StructureDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDANCESTOR, new UriType(value)); return context; } - public List getSDAncestorList(StructureDefinition context) { + public static List getSDAncestorList(StructureDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDANCESTOR); } @@ -7933,16 +7933,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version|0.1.0 // StructureDefinition Applicable Version - public Extension makeSDApplicableVersion(String value) { + public static Extension makeSDApplicableVersion(String value) { return new Extension(ExtensionConstants.EXT_SDAPPLICABLE_VERSION).setValue(new CodeType(value)); } - public StructureDefinition addSDApplicableVersion(StructureDefinition context, String value) { + public static StructureDefinition addSDApplicableVersion(StructureDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDAPPLICABLE_VERSION, new CodeType(value)); return context; } - public List getSDApplicableVersionList(StructureDefinition context) { + public static List getSDApplicableVersionList(StructureDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDAPPLICABLE_VERSION); } @@ -7950,16 +7950,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-category|0.1.0 // StructureDefinition Category - public Extension makeSDCategory(String value) { + public static Extension makeSDCategory(String value) { return new Extension(ExtensionConstants.EXT_SDCATEGORY).setValue(new StringType(value)); } - public StructureDefinition setSDCategory(StructureDefinition context, String value) { + public static StructureDefinition setSDCategory(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDCATEGORY, new StringType(value)); return context; } - public String getSDCategory(StructureDefinition context) { + public static String getSDCategory(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDCATEGORY); } @@ -7967,16 +7967,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super|0.1.0 // StructureDefinition Codegen Super - public Extension makeSDCodegenSuper(String value) { + public static Extension makeSDCodegenSuper(String value) { return new Extension(ExtensionConstants.EXT_SDCODEGEN_SUPER).setValue(new StringType(value)); } - public CanonicalType setSDCodegenSuper(CanonicalType context, String value) { + public static CanonicalType setSDCodegenSuper(CanonicalType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDCODEGEN_SUPER, new StringType(value)); return context; } - public String getSDCodegenSuper(CanonicalType context) { + public static String getSDCodegenSuper(CanonicalType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDCODEGEN_SUPER); } @@ -7984,16 +7984,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile|0.1.0 // StructureDefinition Compiles With Profile - public Extension makeSDcompliesWithProfile(String value) { + public static Extension makeSDcompliesWithProfile(String value) { return new Extension(ExtensionConstants.EXT_SDCOMPLIES_WITH_PROFILE).setValue(new CanonicalType(value)); } - public StructureDefinition addSDcompliesWithProfile(StructureDefinition context, String value) { + public static StructureDefinition addSDcompliesWithProfile(StructureDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDCOMPLIES_WITH_PROFILE, new CanonicalType(value)); return context; } - public List getSDcompliesWithProfileList(StructureDefinition context) { + public static List getSDcompliesWithProfileList(StructureDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDCOMPLIES_WITH_PROFILE); } @@ -8001,25 +8001,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom|0.1.0 // StructureDefinition Status Derivation - public Extension makeSDStatusDerivation(String value) { + public static Extension makeSDStatusDerivation(String value) { return new Extension(ExtensionConstants.EXT_SDSTATUS_DERIVATION).setValue(new CanonicalType(value)); } - public Element addSDStatusDerivation(Element context, String value) { + public static Element addSDStatusDerivation(Element context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDSTATUS_DERIVATION, new CanonicalType(value)); return context; } - public List getSDStatusDerivationList(Element context) { + public static List getSDStatusDerivationList(Element context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDSTATUS_DERIVATION); } - public Resource addSDStatusDerivation(Resource context, String value) { + public static Resource addSDStatusDerivation(Resource context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDSTATUS_DERIVATION, new CanonicalType(value)); return context; } - public List getSDStatusDerivationList(Resource context) { + public static List getSDStatusDerivationList(Resource context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDSTATUS_DERIVATION); } @@ -8027,16 +8027,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint|0.1.0 // StructureDefinition Display Hint - public Extension makeSDDisplayHint(String value) { + public static Extension makeSDDisplayHint(String value) { return new Extension(ExtensionConstants.EXT_SDDISPLAY_HINT).setValue(new StringType(value)); } - public ElementDefinition setSDDisplayHint(ElementDefinition context, String value) { + public static ElementDefinition setSDDisplayHint(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDDISPLAY_HINT, new StringType(value)); return context; } - public String getSDDisplayHint(ElementDefinition context) { + public static String getSDDisplayHint(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDDISPLAY_HINT); } @@ -8044,16 +8044,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name|0.1.0 // StructureDefinition Explicit Type Name - public Extension makeSDExplicitTypeName(String value) { + public static Extension makeSDExplicitTypeName(String value) { return new Extension(ExtensionConstants.EXT_SDEXPLICIT_TYPE_NAME).setValue(new StringType(value)); } - public ElementDefinition setSDExplicitTypeName(ElementDefinition context, String value) { + public static ElementDefinition setSDExplicitTypeName(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDEXPLICIT_TYPE_NAME, new StringType(value)); return context; } - public String getSDExplicitTypeName(ElementDefinition context) { + public static String getSDExplicitTypeName(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDEXPLICIT_TYPE_NAME); } @@ -8061,16 +8061,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning|0.1.0 // StructureDefinition Extension Meaning - public Extension makeSDExtensionMeaning(CodeableConcept value) { + public static Extension makeSDExtensionMeaning(CodeableConcept value) { return new Extension(ExtensionConstants.EXT_SDEXTENSION_MEANING).setValue(value); } - public Extension setSDExtensionMeaning(Extension context, CodeableConcept value) { + public static Extension setSDExtensionMeaning(Extension context, CodeableConcept value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDEXTENSION_MEANING, value); return context; } - public CodeableConcept getSDExtensionMeaning(Extension context) { + public static CodeableConcept getSDExtensionMeaning(Extension context) { return ExtensionsUtils.getExtension(CodeableConcept.class, context, ExtensionConstants.EXT_SDEXTENSION_MEANING); } @@ -8078,16 +8078,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type|0.1.0 // StructureDefinition FHIR Type - public Extension makeSDFhirType(String value) { + public static Extension makeSDFhirType(String value) { return new Extension(ExtensionConstants.EXT_SDFHIR_TYPE).setValue(new UrlType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setSDFhirType(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setSDFhirType(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDFHIR_TYPE, new UrlType(value)); return context; } - public String getSDFhirType(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static String getSDFhirType(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDFHIR_TYPE); } @@ -8095,16 +8095,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm|0.1.0 // StructureDefinition FMM Level - public Extension makeSDFmm(int value) { + public static Extension makeSDFmm(int value) { return new Extension(ExtensionConstants.EXT_SDFMM).setValue(new IntegerType(value)); } - public Element setSDFmm(Element context, int value) { + public static Element setSDFmm(Element context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDFMM, new IntegerType(value)); return context; } - public Integer getSDFmm(Element context) { + public static Integer getSDFmm(Element context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_SDFMM); } @@ -8112,16 +8112,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings|0.1.0 // StructureDefinition FMM If No Warnings - public Extension makeSDFmmNoWarnings(int value) { + public static Extension makeSDFmmNoWarnings(int value) { return new Extension(ExtensionConstants.EXT_SDFMM_NO_WARNINGS).setValue(new IntegerType(value)); } - public StructureDefinition setSDFmmNoWarnings(StructureDefinition context, int value) { + public static StructureDefinition setSDFmmNoWarnings(StructureDefinition context, int value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDFMM_NO_WARNINGS, new IntegerType(value)); return context; } - public Integer getSDFmmNoWarnings(StructureDefinition context) { + public static Integer getSDFmmNoWarnings(StructureDefinition context) { return ExtensionsUtils.getExtensionInt(context, ExtensionConstants.EXT_SDFMM_NO_WARNINGS); } @@ -8129,16 +8129,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support|0.1.0 // StructureDefinition FMM Supporting Documentation - public Extension makeSDFmmSupportDoco(String value) { + public static Extension makeSDFmmSupportDoco(String value) { return new Extension(ExtensionConstants.EXT_SDFMM_SUPPORT_DOCO).setValue(new MarkdownType(value)); } - public Element setSDFmmSupportDoco(Element context, String value) { + public static Element setSDFmmSupportDoco(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDFMM_SUPPORT_DOCO, new MarkdownType(value)); return context; } - public String getSDFmmSupportDoco(Element context) { + public static String getSDFmmSupportDoco(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDFMM_SUPPORT_DOCO); } @@ -8146,16 +8146,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy|0.1.0 // StructureDefinition Hierarchy - public Extension makeSDHierarchy(boolean value) { + public static Extension makeSDHierarchy(boolean value) { return new Extension(ExtensionConstants.EXT_SDHIERARCHY).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setSDHierarchy(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setSDHierarchy(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDHIERARCHY, new BooleanType(value)); return context; } - public Boolean getSDHierarchy(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static Boolean getSDHierarchy(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SDHIERARCHY); } @@ -8163,16 +8163,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile|0.1.0 // StructureDefinition Dependent Profiles - public Extension makeSDimposeProfile(String value) { + public static Extension makeSDimposeProfile(String value) { return new Extension(ExtensionConstants.EXT_SDIMPOSE_PROFILE).setValue(new CanonicalType(value)); } - public StructureDefinition addSDimposeProfile(StructureDefinition context, String value) { + public static StructureDefinition addSDimposeProfile(StructureDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SDIMPOSE_PROFILE, new CanonicalType(value)); return context; } - public List getSDimposeProfileList(StructureDefinition context) { + public static List getSDimposeProfileList(StructureDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SDIMPOSE_PROFILE); } @@ -8180,16 +8180,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control|0.1.0 // StructureDefinition Inheritance Control (for Extensions) - public Extension makeSDInheritanceControl(String value) { + public static Extension makeSDInheritanceControl(String value) { return new Extension(ExtensionConstants.EXT_SDINHERITANCE_CONTROL).setValue(new CodeType(value)); } - public StructureDefinition setSDInheritanceControl(StructureDefinition context, String value) { + public static StructureDefinition setSDInheritanceControl(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDINHERITANCE_CONTROL, new CodeType(value)); return context; } - public String getSDInheritanceControl(StructureDefinition context) { + public static String getSDInheritanceControl(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDINHERITANCE_CONTROL); } @@ -8197,16 +8197,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-interface|0.1.0 // StructureDefinition Interface - public Extension makeSDInterface(boolean value) { + public static Extension makeSDInterface(boolean value) { return new Extension(ExtensionConstants.EXT_SDINTERFACE).setValue(new BooleanType(value)); } - public StructureDefinition setSDInterface(StructureDefinition context, boolean value) { + public static StructureDefinition setSDInterface(StructureDefinition context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDINTERFACE, new BooleanType(value)); return context; } - public Boolean getSDInterface(StructureDefinition context) { + public static Boolean getSDInterface(StructureDefinition context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SDINTERFACE); } @@ -8214,25 +8214,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version|0.1.0 // StructureDefinition First Normative Version - public Extension makeSDNormativeVersion(String value) { + public static Extension makeSDNormativeVersion(String value) { return new Extension(ExtensionConstants.EXT_SDNORMATIVE_VERSION).setValue(new CodeType(value)); } - public CanonicalResource setSDNormativeVersion(CanonicalResource context, String value) { + public static CanonicalResource setSDNormativeVersion(CanonicalResource context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDNORMATIVE_VERSION, new CodeType(value)); return context; } - public String getSDNormativeVersion(CanonicalResource context) { + public static String getSDNormativeVersion(CanonicalResource context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDNORMATIVE_VERSION); } - public ElementDefinition setSDNormativeVersion(ElementDefinition context, String value) { + public static ElementDefinition setSDNormativeVersion(ElementDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDNORMATIVE_VERSION, new CodeType(value)); return context; } - public String getSDNormativeVersion(ElementDefinition context) { + public static String getSDNormativeVersion(ElementDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDNORMATIVE_VERSION); } @@ -8240,16 +8240,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category|0.1.0 // StructureDefinition Security Category - public Extension makeSDSecurityCategory(String value) { + public static Extension makeSDSecurityCategory(String value) { return new Extension(ExtensionConstants.EXT_SDSECURITY_CATEGORY).setValue(new CodeType(value)); } - public StructureDefinition setSDSecurityCategory(StructureDefinition context, String value) { + public static StructureDefinition setSDSecurityCategory(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDSECURITY_CATEGORY, new CodeType(value)); return context; } - public String getSDSecurityCategory(StructureDefinition context) { + public static String getSDSecurityCategory(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDSECURITY_CATEGORY); } @@ -8257,16 +8257,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status|0.1.0 // StructureDefinition Standards Status - public Extension makeSDStandardsStatus(String value) { + public static Extension makeSDStandardsStatus(String value) { return new Extension(ExtensionConstants.EXT_SDSTANDARDS_STATUS).setValue(new CodeType(value)); } - public Element setSDStandardsStatus(Element context, String value) { + public static Element setSDStandardsStatus(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDSTANDARDS_STATUS, new CodeType(value)); return context; } - public String getSDStandardsStatus(Element context) { + public static String getSDStandardsStatus(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDSTANDARDS_STATUS); } @@ -8274,16 +8274,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason|0.1.0 // StructureDefinition Standards Status Reason - public Extension makeSDStandardsStatusReason(String value) { + public static Extension makeSDStandardsStatusReason(String value) { return new Extension(ExtensionConstants.EXT_SDSTANDARDS_STATUS_REASON).setValue(new MarkdownType(value)); } - public Element setSDStandardsStatusReason(Element context, String value) { + public static Element setSDStandardsStatusReason(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDSTANDARDS_STATUS_REASON, new MarkdownType(value)); return context; } - public String getSDStandardsStatusReason(Element context) { + public static String getSDStandardsStatusReason(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDSTANDARDS_STATUS_REASON); } @@ -8291,16 +8291,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-summary|0.1.0 // Structure Definition Summary - public Extension makeSDSummary(String value) { + public static Extension makeSDSummary(String value) { return new Extension(ExtensionConstants.EXT_SDSUMMARY).setValue(new MarkdownType(value)); } - public StructureDefinition setSDSummary(StructureDefinition context, String value) { + public static StructureDefinition setSDSummary(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDSUMMARY, new MarkdownType(value)); return context; } - public String getSDSummary(StructureDefinition context) { + public static String getSDSummary(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDSUMMARY); } @@ -8308,16 +8308,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name|0.1.0 // StructureDefinition Table Name - public Extension makeSDTableName(String value) { + public static Extension makeSDTableName(String value) { return new Extension(ExtensionConstants.EXT_SDTABLE_NAME).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent setSDTableName(org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent context, String value) { + public static org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent setSDTableName(org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDTABLE_NAME, new StringType(value)); return context; } - public String getSDTableName(org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent context) { + public static String getSDTableName(org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionMappingComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDTABLE_NAME); } @@ -8325,16 +8325,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status|0.1.0 // StructureDefinition Template Status - public Extension makeSDTemplateStatus(String value) { + public static Extension makeSDTemplateStatus(String value) { return new Extension(ExtensionConstants.EXT_SDTEMPLATE_STATUS).setValue(new CodeType(value)); } - public StructureDefinition setSDTemplateStatus(StructureDefinition context, String value) { + public static StructureDefinition setSDTemplateStatus(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDTEMPLATE_STATUS, new CodeType(value)); return context; } - public String getSDTemplateStatus(StructureDefinition context) { + public static String getSDTemplateStatus(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDTEMPLATE_STATUS); } @@ -8342,16 +8342,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics|0.1.0 // Structure Type Characterstics (Constraint Control) - public Extension makeSDTypeCharacteristics(String value) { + public static Extension makeSDTypeCharacteristics(String value) { return new Extension(ExtensionConstants.EXT_SDTYPE_CHARACTERISTICS).setValue(new CodeType(value)); } - public StructureDefinition setSDTypeCharacteristics(StructureDefinition context, String value) { + public static StructureDefinition setSDTypeCharacteristics(StructureDefinition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDTYPE_CHARACTERISTICS, new CodeType(value)); return context; } - public String getSDTypeCharacteristics(StructureDefinition context) { + public static String getSDTypeCharacteristics(StructureDefinition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDTYPE_CHARACTERISTICS); } @@ -8359,16 +8359,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-wg|0.1.0 // StructureDefinition Work Group - public Extension makeSDWorkGroup(String value) { + public static Extension makeSDWorkGroup(String value) { return new Extension(ExtensionConstants.EXT_SDWORK_GROUP).setValue(new CodeType(value)); } - public Element setSDWorkGroup(Element context, String value) { + public static Element setSDWorkGroup(Element context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDWORK_GROUP, new CodeType(value)); return context; } - public String getSDWorkGroup(Element context) { + public static String getSDWorkGroup(Element context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SDWORK_GROUP); } @@ -8376,16 +8376,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order|0.1.0 // StructureDefinition Xml Has No Order - public Extension makeSDXmlHasNoOrder(boolean value) { + public static Extension makeSDXmlHasNoOrder(boolean value) { return new Extension(ExtensionConstants.EXT_SDXML_HAS_NO_ORDER).setValue(new BooleanType(value)); } - public StructureDefinition setSDXmlHasNoOrder(StructureDefinition context, boolean value) { + public static StructureDefinition setSDXmlHasNoOrder(StructureDefinition context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SDXML_HAS_NO_ORDER, new BooleanType(value)); return context; } - public Boolean getSDXmlHasNoOrder(StructureDefinition context) { + public static Boolean getSDXmlHasNoOrder(StructureDefinition context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SDXML_HAS_NO_ORDER); } @@ -8393,25 +8393,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/targetElement|0.1.0 // Target element - public Extension makeTargetElement(String value) { + public static Extension makeTargetElement(String value) { return new Extension(ExtensionConstants.EXT_TARGET_ELEMENT).setValue(new UriType(value)); } - public CanonicalType addTargetElement(CanonicalType context, String value) { + public static CanonicalType addTargetElement(CanonicalType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TARGET_ELEMENT, new UriType(value)); return context; } - public List getTargetElementList(CanonicalType context) { + public static List getTargetElementList(CanonicalType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_TARGET_ELEMENT); } - public Reference addTargetElement(Reference context, String value) { + public static Reference addTargetElement(Reference context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TARGET_ELEMENT, new UriType(value)); return context; } - public List getTargetElementList(Reference context) { + public static List getTargetElementList(Reference context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_TARGET_ELEMENT); } @@ -8419,25 +8419,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/targetPath|0.1.0 // Target path - public Extension makeTargetPath(String value) { + public static Extension makeTargetPath(String value) { return new Extension(ExtensionConstants.EXT_TARGET_PATH).setValue(new StringType(value)); } - public CanonicalType addTargetPath(CanonicalType context, String value) { + public static CanonicalType addTargetPath(CanonicalType context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TARGET_PATH, new StringType(value)); return context; } - public List getTargetPathList(CanonicalType context) { + public static List getTargetPathList(CanonicalType context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_TARGET_PATH); } - public Reference addTargetPath(Reference context, String value) { + public static Reference addTargetPath(Reference context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TARGET_PATH, new StringType(value)); return context; } - public List getTargetPathList(Reference context) { + public static List getTargetPathList(Reference context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_TARGET_PATH); } @@ -8445,16 +8445,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/task-replaces|0.1.0 // Task Replaces - public Extension makeTaskReplaces(Reference value) { + public static Extension makeTaskReplaces(Reference value) { return new Extension(ExtensionConstants.EXT_TASK_REPLACES).setValue(value); } - public Task addTaskReplaces(Task context, Reference value) { + public static Task addTaskReplaces(Task context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TASK_REPLACES, value); return context; } - public List getTaskReplacesList(Task context) { + public static List getTaskReplacesList(Task context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_TASK_REPLACES); } @@ -8462,52 +8462,52 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/timezone|0.1.0 // Timezone Code - public Extension makeTimezoneCode(String value) { + public static Extension makeTimezoneCode(String value) { return new Extension(ExtensionConstants.EXT_TIMEZONE_CODE).setValue(new CodeType(value)); } - public DateTimeType setTimezoneCode(DateTimeType context, String value) { + public static DateTimeType setTimezoneCode(DateTimeType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value)); return context; } - public String getTimezoneCode(DateTimeType context) { + public static String getTimezoneCode(DateTimeType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE); } - public DateType setTimezoneCode(DateType context, String value) { + public static DateType setTimezoneCode(DateType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value)); return context; } - public String getTimezoneCode(DateType context) { + public static String getTimezoneCode(DateType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE); } - public InstantType setTimezoneCode(InstantType context, String value) { + public static InstantType setTimezoneCode(InstantType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value)); return context; } - public String getTimezoneCode(InstantType context) { + public static String getTimezoneCode(InstantType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE); } - public Meta setTimezoneCode(Meta context, String value) { + public static Meta setTimezoneCode(Meta context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value)); return context; } - public String getTimezoneCode(Meta context) { + public static String getTimezoneCode(Meta context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE); } - public TimeType setTimezoneCode(TimeType context, String value) { + public static TimeType setTimezoneCode(TimeType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_CODE, new CodeType(value)); return context; } - public String getTimezoneCode(TimeType context) { + public static String getTimezoneCode(TimeType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_CODE); } @@ -8515,16 +8515,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth|0.1.0 // Timing day of month - public Extension makeTimingDayOfMonth(int value) { + public static Extension makeTimingDayOfMonth(int value) { return new Extension(ExtensionConstants.EXT_TIMING_DAY_OF_MONTH).setValue(new PositiveIntType(value)); } - public org.hl7.fhir.r5.model.Timing.TimingRepeatComponent addTimingDayOfMonth(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context, int value) { + public static org.hl7.fhir.r5.model.Timing.TimingRepeatComponent addTimingDayOfMonth(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context, int value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_TIMING_DAY_OF_MONTH, new PositiveIntType(value)); return context; } - public List getTimingDayOfMonthList(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context) { + public static List getTimingDayOfMonthList(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context) { return ExtensionsUtils.getExtensionIntList(context, ExtensionConstants.EXT_TIMING_DAY_OF_MONTH); } @@ -8532,16 +8532,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/timing-exact|0.1.0 // Timing Exact - public Extension makeTimingExact(boolean value) { + public static Extension makeTimingExact(boolean value) { return new Extension(ExtensionConstants.EXT_TIMING_EXACT).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.Timing.TimingRepeatComponent setTimingExact(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context, boolean value) { + public static org.hl7.fhir.r5.model.Timing.TimingRepeatComponent setTimingExact(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMING_EXACT, new BooleanType(value)); return context; } - public Boolean getTimingExact(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context) { + public static Boolean getTimingExact(org.hl7.fhir.r5.model.Timing.TimingRepeatComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_TIMING_EXACT); } @@ -8549,16 +8549,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/timing-uncertainDate|0.1.0 // Uncertain date - public Extension makeUncertainDate(Period value) { + public static Extension makeUncertainDate(Period value) { return new Extension(ExtensionConstants.EXT_UNCERTAIN_DATE).setValue(value); } - public DateTimeType setUncertainDate(DateTimeType context, Period value) { + public static DateTimeType setUncertainDate(DateTimeType context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAIN_DATE, value); return context; } - public Period getUncertainDate(DateTimeType context) { + public static Period getUncertainDate(DateTimeType context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_UNCERTAIN_DATE); } @@ -8566,16 +8566,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/tz-offset|0.1.0 // Timezone Offset - public Extension makeTimezoneOffset(String value) { + public static Extension makeTimezoneOffset(String value) { return new Extension(ExtensionConstants.EXT_TIMEZONE_OFFSET).setValue(new StringType(value)); } - public DateType setTimezoneOffset(DateType context, String value) { + public static DateType setTimezoneOffset(DateType context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TIMEZONE_OFFSET, new StringType(value)); return context; } - public String getTimezoneOffset(DateType context) { + public static String getTimezoneOffset(DateType context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TIMEZONE_OFFSET); } @@ -8583,25 +8583,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/uncertainPeriod|0.1.0 // Uncertain period - public Extension makeUncertainPeriod(Period value) { + public static Extension makeUncertainPeriod(Period value) { return new Extension(ExtensionConstants.EXT_UNCERTAIN_PERIOD).setValue(value); } - public DateTimeType setUncertainPeriod(DateTimeType context, Period value) { + public static DateTimeType setUncertainPeriod(DateTimeType context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAIN_PERIOD, value); return context; } - public Period getUncertainPeriod(DateTimeType context) { + public static Period getUncertainPeriod(DateTimeType context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_UNCERTAIN_PERIOD); } - public DateType setUncertainPeriod(DateType context, Period value) { + public static DateType setUncertainPeriod(DateType context, Period value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_UNCERTAIN_PERIOD, value); return context; } - public Period getUncertainPeriod(DateType context) { + public static Period getUncertainPeriod(DateType context) { return ExtensionsUtils.getExtension(Period.class, context, ExtensionConstants.EXT_UNCERTAIN_PERIOD); } @@ -8609,16 +8609,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/usagecontext-group|0.1.0 // Group - public Extension makeGroup(String value) { + public static Extension makeGroup(String value) { return new Extension(ExtensionConstants.EXT_GROUP).setValue(new StringType(value)); } - public UsageContext setGroup(UsageContext context, String value) { + public static UsageContext setGroup(UsageContext context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GROUP, new StringType(value)); return context; } - public String getGroup(UsageContext context) { + public static String getGroup(UsageContext context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GROUP); } @@ -8626,16 +8626,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource|0.1.0 // ValueSet Authoritative Source - public Extension makeVSAuthoritativeSource(String value) { + public static Extension makeVSAuthoritativeSource(String value) { return new Extension(ExtensionConstants.EXT_VSAUTHORITATIVE_SOURCE).setValue(new UriType(value)); } - public ValueSet setVSAuthoritativeSource(ValueSet context, String value) { + public static ValueSet setVSAuthoritativeSource(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSAUTHORITATIVE_SOURCE, new UriType(value)); return context; } - public String getVSAuthoritativeSource(ValueSet context) { + public static String getVSAuthoritativeSource(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSAUTHORITATIVE_SOURCE); } @@ -8643,7 +8643,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive|0.1.0 // ValueSet Case Sensitive - public Extension makeVSCaseSensitive(boolean value) { + public static Extension makeVSCaseSensitive(boolean value) { return new Extension(ExtensionConstants.EXT_VSCASE_SENSITIVE).setValue(new BooleanType(value)); } @@ -8651,16 +8651,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy|0.1.0 // ValueSet Compose CreatedBy - public Extension makeVSComposeCreatedBy(String value) { + public static Extension makeVSComposeCreatedBy(String value) { return new Extension(ExtensionConstants.EXT_VSCOMPOSE_CREATED_BY).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent setVSComposeCreatedBy(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context, String value) { + public static org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent setVSComposeCreatedBy(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSCOMPOSE_CREATED_BY, new StringType(value)); return context; } - public String getVSComposeCreatedBy(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context) { + public static String getVSComposeCreatedBy(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSCOMPOSE_CREATED_BY); } @@ -8668,16 +8668,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate|0.1.0 // ValueSet Compose Creation Date - public Extension makeVSComposeCreationDate(String value) { + public static Extension makeVSComposeCreationDate(String value) { return new Extension(ExtensionConstants.EXT_VSCOMPOSE_CREATION_DATE).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent setVSComposeCreationDate(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context, String value) { + public static org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent setVSComposeCreationDate(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSCOMPOSE_CREATION_DATE, new StringType(value)); return context; } - public String getVSComposeCreationDate(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context) { + public static String getVSComposeCreationDate(org.hl7.fhir.r5.model.ValueSet.ValueSetComposeComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSCOMPOSE_CREATION_DATE); } @@ -8685,7 +8685,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle|0.1.0 // ValueSet Include ValueSet Title - public Extension makeVSIncludeVSTitle(String value) { + public static Extension makeVSIncludeVSTitle(String value) { return new Extension(ExtensionConstants.EXT_VSINCLUDE_V_S_TITLE).setValue(new StringType(value)); } @@ -8693,7 +8693,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-concept-comments|0.1.0 // ValueSet Concept Comments - public Extension makeVSConceptComments(String value) { + public static Extension makeVSConceptComments(String value) { return new Extension(ExtensionConstants.EXT_VSCONCEPT_COMMENTS).setValue(new StringType(value)); } @@ -8701,7 +8701,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-concept-definition|0.1.0 // ValueSet Concept Definition - public Extension makeVSConceptDefinition(String value) { + public static Extension makeVSConceptDefinition(String value) { return new Extension(ExtensionConstants.EXT_VSCONCEPT_DEFINITION).setValue(new StringType(value)); } @@ -8709,7 +8709,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder|0.1.0 // ValueSet Concept Order - public Extension makeVSConceptOrder(int value) { + public static Extension makeVSConceptOrder(int value) { return new Extension(ExtensionConstants.EXT_VSCONCEPT_ORDER).setValue(new IntegerType(value)); } @@ -8717,7 +8717,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-deprecated|0.1.0 // ValueSet Deprecated - public Extension makeVSDeprecated(boolean value) { + public static Extension makeVSDeprecated(boolean value) { return new Extension(ExtensionConstants.EXT_VSDEPRECATED).setValue(new BooleanType(value)); } @@ -8725,16 +8725,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-expansionSource|0.1.0 // ValueSet Expansion Source - public Extension makeVSExpansionSource(String value) { + public static Extension makeVSExpansionSource(String value) { return new Extension(ExtensionConstants.EXT_VSEXPANSION_SOURCE).setValue(new UriType(value)); } - public org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSExpansionSource(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, String value) { + public static org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSExpansionSource(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSEXPANSION_SOURCE, new UriType(value)); return context; } - public String getVSExpansionSource(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) { + public static String getVSExpansionSource(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSEXPANSION_SOURCE); } @@ -8742,16 +8742,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-expression|0.1.0 // ValueSet Expression - public Extension makeVSExpression(Expression value) { + public static Extension makeVSExpression(Expression value) { return new Extension(ExtensionConstants.EXT_VSEXPRESSION).setValue(value); } - public ValueSet setVSExpression(ValueSet context, Expression value) { + public static ValueSet setVSExpression(ValueSet context, Expression value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSEXPRESSION, value); return context; } - public Expression getVSExpression(ValueSet context) { + public static Expression getVSExpression(ValueSet context) { return ExtensionsUtils.getExtension(Expression.class, context, ExtensionConstants.EXT_VSEXPRESSION); } @@ -8759,16 +8759,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-extensible|0.1.0 // ValueSet Extensible - public Extension makeVSExtensible(boolean value) { + public static Extension makeVSExtensible(boolean value) { return new Extension(ExtensionConstants.EXT_VSEXTENSIBLE).setValue(new BooleanType(value)); } - public ValueSet setVSExtensible(ValueSet context, boolean value) { + public static ValueSet setVSExtensible(ValueSet context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSEXTENSIBLE, new BooleanType(value)); return context; } - public Boolean getVSExtensible(ValueSet context) { + public static Boolean getVSExtensible(ValueSet context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_VSEXTENSIBLE); } @@ -8776,16 +8776,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-keyWord|0.1.0 // ValueSet Keyword - public Extension makeVSKeyword(String value) { + public static Extension makeVSKeyword(String value) { return new Extension(ExtensionConstants.EXT_VSKEYWORD).setValue(new StringType(value)); } - public ValueSet addVSKeyword(ValueSet context, String value) { + public static ValueSet addVSKeyword(ValueSet context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VSKEYWORD, new StringType(value)); return context; } - public List getVSKeywordList(ValueSet context) { + public static List getVSKeywordList(ValueSet context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VSKEYWORD); } @@ -8793,7 +8793,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-label|0.1.0 // ValueSet Label - public Extension makeVSLabel(String value) { + public static Extension makeVSLabel(String value) { return new Extension(ExtensionConstants.EXT_VSLABEL).setValue(new StringType(value)); } @@ -8801,16 +8801,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-map|0.1.0 // ValueSet Map - public Extension makeVSMap(String value) { + public static Extension makeVSMap(String value) { return new Extension(ExtensionConstants.EXT_VSMAP).setValue(new CanonicalType(value)); } - public ValueSet setVSMap(ValueSet context, String value) { + public static ValueSet setVSMap(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSMAP, new CanonicalType(value)); return context; } - public String getVSMap(ValueSet context) { + public static String getVSMap(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSMAP); } @@ -8818,7 +8818,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-parameterSource|0.1.0 // ValueSet Parameter Source - public Extension makeVSParameterSource(String value) { + public static Extension makeVSParameterSource(String value) { return new Extension(ExtensionConstants.EXT_VSPARAMETER_SOURCE).setValue(new CodeType(value)); } @@ -8826,16 +8826,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-reference|0.1.0 // ValueSet Reference - public Extension makeVSReference(String value) { + public static Extension makeVSReference(String value) { return new Extension(ExtensionConstants.EXT_VSREFERENCE).setValue(new UriType(value)); } - public Coding setVSReference(Coding context, String value) { + public static Coding setVSReference(Coding context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSREFERENCE, new UriType(value)); return context; } - public String getVSReference(Coding context) { + public static String getVSReference(Coding context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSREFERENCE); } @@ -8843,16 +8843,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-rules-text|0.1.0 // ValueSet Rules Text - public Extension makeVSRulesText(String value) { + public static Extension makeVSRulesText(String value) { return new Extension(ExtensionConstants.EXT_VSRULES_TEXT).setValue(new MarkdownType(value)); } - public ValueSet setVSRulesText(ValueSet context, String value) { + public static ValueSet setVSRulesText(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSRULES_TEXT, new MarkdownType(value)); return context; } - public String getVSRulesText(ValueSet context) { + public static String getVSRulesText(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSRULES_TEXT); } @@ -8860,16 +8860,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-sourceReference|0.1.0 // ValueSet Source Reference - public Extension makeVSSourceReference(String value) { + public static Extension makeVSSourceReference(String value) { return new Extension(ExtensionConstants.EXT_VSSOURCE_REFERENCE).setValue(new UriType(value)); } - public ValueSet setVSSourceReference(ValueSet context, String value) { + public static ValueSet setVSSourceReference(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSSOURCE_REFERENCE, new UriType(value)); return context; } - public String getVSSourceReference(ValueSet context) { + public static String getVSSourceReference(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSSOURCE_REFERENCE); } @@ -8877,25 +8877,25 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-special-status|0.1.0 // ValueSet Special Status - public Extension makeVSSpecialStatus(String value) { + public static Extension makeVSSpecialStatus(String value) { return new Extension(ExtensionConstants.EXT_VSSPECIAL_STATUS).setValue(new StringType(value)); } - public CodeSystem setVSSpecialStatus(CodeSystem context, String value) { + public static CodeSystem setVSSpecialStatus(CodeSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSSPECIAL_STATUS, new StringType(value)); return context; } - public String getVSSpecialStatus(CodeSystem context) { + public static String getVSSpecialStatus(CodeSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSSPECIAL_STATUS); } - public ValueSet setVSSpecialStatus(ValueSet context, String value) { + public static ValueSet setVSSpecialStatus(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSSPECIAL_STATUS, new StringType(value)); return context; } - public String getVSSpecialStatus(ValueSet context) { + public static String getVSSpecialStatus(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSSPECIAL_STATUS); } @@ -8903,16 +8903,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-supplement|0.1.0 // ValueSet Supplement - public Extension makeVSSupplement(String value) { + public static Extension makeVSSupplement(String value) { return new Extension(ExtensionConstants.EXT_VSSUPPLEMENT).setValue(new CanonicalType(value)); } - public ValueSet addVSSupplement(ValueSet context, String value) { + public static ValueSet addVSSupplement(ValueSet context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VSSUPPLEMENT, new CanonicalType(value)); return context; } - public List getVSSupplementList(ValueSet context) { + public static List getVSSupplementList(ValueSet context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VSSUPPLEMENT); } @@ -8920,7 +8920,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-system|0.1.0 // ValueSet System - public Extension makeVSSystem(String value) { + public static Extension makeVSSystem(String value) { return new Extension(ExtensionConstants.EXT_VSSYSTEM).setValue(new CanonicalType(value)); } @@ -8928,7 +8928,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-systemName|0.1.0 // ValueSet System Name - public Extension makeVSSystemName(String value) { + public static Extension makeVSSystemName(String value) { return new Extension(ExtensionConstants.EXT_VSSYSTEM_NAME).setValue(new StringType(value)); } @@ -8936,7 +8936,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-systemRef|0.1.0 // ValueSet System Reference - public Extension makeVSSystemReference(String value) { + public static Extension makeVSSystemReference(String value) { return new Extension(ExtensionConstants.EXT_VSSYSTEM_REFERENCE).setValue(new UriType(value)); } @@ -8944,7 +8944,7 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-systemTitle|0.1.0 // Value Set System Title - public Extension makeVSSystemTitle(String value) { + public static Extension makeVSSystemTitle(String value) { return new Extension(ExtensionConstants.EXT_VSSYSTEM_TITLE).setValue(new StringType(value)); } @@ -8952,16 +8952,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-toocostly|0.1.0 // Valueset Too Costly (Expansion Truncated) - public Extension makeVSToocostly(boolean value) { + public static Extension makeVSToocostly(boolean value) { return new Extension(ExtensionConstants.EXT_VSTOOCOSTLY).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSToocostly(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSToocostly(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSTOOCOSTLY, new BooleanType(value)); return context; } - public Boolean getVSToocostly(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) { + public static Boolean getVSToocostly(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_VSTOOCOSTLY); } @@ -8969,16 +8969,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion|0.1.0 // Valueset Trusted Expansion - public Extension makeVSTrustedExpansion(String value) { + public static Extension makeVSTrustedExpansion(String value) { return new Extension(ExtensionConstants.EXT_VSTRUSTED_EXPANSION).setValue(new UrlType(value)); } - public ValueSet addVSTrustedExpansion(ValueSet context, String value) { + public static ValueSet addVSTrustedExpansion(ValueSet context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VSTRUSTED_EXPANSION, new UrlType(value)); return context; } - public List getVSTrustedExpansionList(ValueSet context) { + public static List getVSTrustedExpansionList(ValueSet context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VSTRUSTED_EXPANSION); } @@ -8986,16 +8986,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-unclosed|0.1.0 // ValueSet Unclosed - public Extension makeVSUnclosed(boolean value) { + public static Extension makeVSUnclosed(boolean value) { return new Extension(ExtensionConstants.EXT_VSUNCLOSED).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSUnclosed(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent setVSUnclosed(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSUNCLOSED, new BooleanType(value)); return context; } - public Boolean getVSUnclosed(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) { + public static Boolean getVSUnclosed(org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_VSUNCLOSED); } @@ -9003,16 +9003,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-warning|0.1.0 // ValueSet Warning - public Extension makeVSWarning(String value) { + public static Extension makeVSWarning(String value) { return new Extension(ExtensionConstants.EXT_VSWARNING).setValue(new MarkdownType(value)); } - public ValueSet setVSWarning(ValueSet context, String value) { + public static ValueSet setVSWarning(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_VSWARNING, new MarkdownType(value)); return context; } - public String getVSWarning(ValueSet context) { + public static String getVSWarning(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_VSWARNING); } @@ -9020,16 +9020,16 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription|0.1.0 // Workflow Status Description - public Extension makeWorkflowStatusDescription(String value) { + public static Extension makeWorkflowStatusDescription(String value) { return new Extension(ExtensionConstants.EXT_WORKFLOW_STATUS_DESCRIPTION).setValue(new StringType(value)); } - public ValueSet setWorkflowStatusDescription(ValueSet context, String value) { + public static ValueSet setWorkflowStatusDescription(ValueSet context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_WORKFLOW_STATUS_DESCRIPTION, new StringType(value)); return context; } - public String getWorkflowStatusDescription(ValueSet context) { + public static String getWorkflowStatusDescription(ValueSet context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_WORKFLOW_STATUS_DESCRIPTION); } @@ -9037,88 +9037,88 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/variable|0.1.0 // Variable - public Extension makeVariable(Expression value) { + public static Extension makeVariable(Expression value) { return new Extension(ExtensionConstants.EXT_VARIABLE).setValue(value); } - public ActivityDefinition addVariable(ActivityDefinition context, Expression value) { + public static ActivityDefinition addVariable(ActivityDefinition context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(ActivityDefinition context) { + public static List getVariableList(ActivityDefinition context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } - public Measure addVariable(Measure context, Expression value) { + public static Measure addVariable(Measure context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(Measure context) { + public static List getVariableList(Measure context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } - public PlanDefinition addVariable(PlanDefinition context, Expression value) { + public static PlanDefinition addVariable(PlanDefinition context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(PlanDefinition context) { + public static List getVariableList(PlanDefinition context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } - public Questionnaire addVariable(Questionnaire context, Expression value) { + public static Questionnaire addVariable(Questionnaire context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(Questionnaire context) { + public static List getVariableList(Questionnaire context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } - public RequestOrchestration addVariable(RequestOrchestration context, Expression value) { + public static RequestOrchestration addVariable(RequestOrchestration context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(RequestOrchestration context) { + public static List getVariableList(RequestOrchestration context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } - public org.hl7.fhir.r5.model.Measure.MeasureGroupComponent addVariable(org.hl7.fhir.r5.model.Measure.MeasureGroupComponent context, Expression value) { + public static org.hl7.fhir.r5.model.Measure.MeasureGroupComponent addVariable(org.hl7.fhir.r5.model.Measure.MeasureGroupComponent context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(org.hl7.fhir.r5.model.Measure.MeasureGroupComponent context) { + public static List getVariableList(org.hl7.fhir.r5.model.Measure.MeasureGroupComponent context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } - public org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent addVariable(org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent context, Expression value) { + public static org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent addVariable(org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent context) { + public static List getVariableList(org.hl7.fhir.r5.model.PlanDefinition.PlanDefinitionActionComponent context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } - public org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addVariable(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Expression value) { + public static org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent addVariable(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { + public static List getVariableList(org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemComponent context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } - public org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent addVariable(org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent context, Expression value) { + public static org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent addVariable(org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent context, Expression value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VARIABLE, value); return context; } - public List getVariableList(org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent context) { + public static List getVariableList(org.hl7.fhir.r5.model.RequestOrchestration.RequestOrchestrationActionComponent context) { return ExtensionsUtils.getExtensionList(Expression.class, context, ExtensionConstants.EXT_VARIABLE); } @@ -9126,267 +9126,267 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-adheresTo|0.1.0 // adheres to - public Extension makeAdheresToCanonical(String value) { + public static Extension makeAdheresToCanonical(String value) { return new Extension(ExtensionConstants.EXT_ADHERES_TO).setValue(new CanonicalType(value)); } - public Extension makeAdheresTo(Reference value) { + public static Extension makeAdheresTo(Reference value) { return new Extension(ExtensionConstants.EXT_ADHERES_TO).setValue(value); } - public Extension makeAdheresToUri(String value) { + public static Extension makeAdheresToUri(String value) { return new Extension(ExtensionConstants.EXT_ADHERES_TO).setValue(new UriType(value)); } - public Communication addAdheresToCanonical(Communication context, String value) { + public static Communication addAdheresToCanonical(Communication context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(Communication context) { + public static List getAdheresToStringList(Communication context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public Communication addAdheresTo(Communication context, Reference value) { + public static Communication addAdheresTo(Communication context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(Communication context) { + public static List getAdheresToReferenceList(Communication context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public Communication addAdheresToUri(Communication context, String value) { + public static Communication addAdheresToUri(Communication context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public Condition addAdheresToCanonical(Condition context, String value) { + public static Condition addAdheresToCanonical(Condition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(Condition context) { + public static List getAdheresToStringList(Condition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public Condition addAdheresTo(Condition context, Reference value) { + public static Condition addAdheresTo(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(Condition context) { + public static List getAdheresToReferenceList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public Condition addAdheresToUri(Condition context, String value) { + public static Condition addAdheresToUri(Condition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public DiagnosticReport addAdheresToCanonical(DiagnosticReport context, String value) { + public static DiagnosticReport addAdheresToCanonical(DiagnosticReport context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(DiagnosticReport context) { + public static List getAdheresToStringList(DiagnosticReport context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public DiagnosticReport addAdheresTo(DiagnosticReport context, Reference value) { + public static DiagnosticReport addAdheresTo(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(DiagnosticReport context) { + public static List getAdheresToReferenceList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public DiagnosticReport addAdheresToUri(DiagnosticReport context, String value) { + public static DiagnosticReport addAdheresToUri(DiagnosticReport context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public DocumentReference addAdheresToCanonical(DocumentReference context, String value) { + public static DocumentReference addAdheresToCanonical(DocumentReference context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(DocumentReference context) { + public static List getAdheresToStringList(DocumentReference context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public DocumentReference addAdheresTo(DocumentReference context, Reference value) { + public static DocumentReference addAdheresTo(DocumentReference context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(DocumentReference context) { + public static List getAdheresToReferenceList(DocumentReference context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public DocumentReference addAdheresToUri(DocumentReference context, String value) { + public static DocumentReference addAdheresToUri(DocumentReference context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public Encounter addAdheresToCanonical(Encounter context, String value) { + public static Encounter addAdheresToCanonical(Encounter context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(Encounter context) { + public static List getAdheresToStringList(Encounter context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public Encounter addAdheresTo(Encounter context, Reference value) { + public static Encounter addAdheresTo(Encounter context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(Encounter context) { + public static List getAdheresToReferenceList(Encounter context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public Encounter addAdheresToUri(Encounter context, String value) { + public static Encounter addAdheresToUri(Encounter context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public FamilyMemberHistory addAdheresToCanonical(FamilyMemberHistory context, String value) { + public static FamilyMemberHistory addAdheresToCanonical(FamilyMemberHistory context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(FamilyMemberHistory context) { + public static List getAdheresToStringList(FamilyMemberHistory context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public FamilyMemberHistory addAdheresTo(FamilyMemberHistory context, Reference value) { + public static FamilyMemberHistory addAdheresTo(FamilyMemberHistory context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(FamilyMemberHistory context) { + public static List getAdheresToReferenceList(FamilyMemberHistory context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public FamilyMemberHistory addAdheresToUri(FamilyMemberHistory context, String value) { + public static FamilyMemberHistory addAdheresToUri(FamilyMemberHistory context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public Immunization addAdheresToCanonical(Immunization context, String value) { + public static Immunization addAdheresToCanonical(Immunization context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(Immunization context) { + public static List getAdheresToStringList(Immunization context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public Immunization addAdheresTo(Immunization context, Reference value) { + public static Immunization addAdheresTo(Immunization context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(Immunization context) { + public static List getAdheresToReferenceList(Immunization context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public Immunization addAdheresToUri(Immunization context, String value) { + public static Immunization addAdheresToUri(Immunization context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public ImmunizationEvaluation addAdheresToCanonical(ImmunizationEvaluation context, String value) { + public static ImmunizationEvaluation addAdheresToCanonical(ImmunizationEvaluation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(ImmunizationEvaluation context) { + public static List getAdheresToStringList(ImmunizationEvaluation context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public ImmunizationEvaluation addAdheresTo(ImmunizationEvaluation context, Reference value) { + public static ImmunizationEvaluation addAdheresTo(ImmunizationEvaluation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(ImmunizationEvaluation context) { + public static List getAdheresToReferenceList(ImmunizationEvaluation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public ImmunizationEvaluation addAdheresToUri(ImmunizationEvaluation context, String value) { + public static ImmunizationEvaluation addAdheresToUri(ImmunizationEvaluation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public Observation addAdheresToCanonical(Observation context, String value) { + public static Observation addAdheresToCanonical(Observation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(Observation context) { + public static List getAdheresToStringList(Observation context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public Observation addAdheresTo(Observation context, Reference value) { + public static Observation addAdheresTo(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(Observation context) { + public static List getAdheresToReferenceList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public Observation addAdheresToUri(Observation context, String value) { + public static Observation addAdheresToUri(Observation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public QuestionnaireResponse addAdheresToCanonical(QuestionnaireResponse context, String value) { + public static QuestionnaireResponse addAdheresToCanonical(QuestionnaireResponse context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(QuestionnaireResponse context) { + public static List getAdheresToStringList(QuestionnaireResponse context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public QuestionnaireResponse addAdheresTo(QuestionnaireResponse context, Reference value) { + public static QuestionnaireResponse addAdheresTo(QuestionnaireResponse context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(QuestionnaireResponse context) { + public static List getAdheresToReferenceList(QuestionnaireResponse context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public QuestionnaireResponse addAdheresToUri(QuestionnaireResponse context, String value) { + public static QuestionnaireResponse addAdheresToUri(QuestionnaireResponse context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } - public SupplyDelivery addAdheresToCanonical(SupplyDelivery context, String value) { + public static SupplyDelivery addAdheresToCanonical(SupplyDelivery context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new CanonicalType(value)); return context; } - public List getAdheresToStringList(SupplyDelivery context) { + public static List getAdheresToStringList(SupplyDelivery context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ADHERES_TO); } - public SupplyDelivery addAdheresTo(SupplyDelivery context, Reference value) { + public static SupplyDelivery addAdheresTo(SupplyDelivery context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, value); return context; } - public List getAdheresToReferenceList(SupplyDelivery context) { + public static List getAdheresToReferenceList(SupplyDelivery context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_ADHERES_TO); } - public SupplyDelivery addAdheresToUri(SupplyDelivery context, String value) { + public static SupplyDelivery addAdheresToUri(SupplyDelivery context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ADHERES_TO, new UriType(value)); return context; } @@ -9395,34 +9395,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-barrier|0.1.0 // Workflow Barrier - public Extension makeWorkflowBarrier(CodeableReference value) { + public static Extension makeWorkflowBarrier(CodeableReference value) { return new Extension(ExtensionConstants.EXT_WORKFLOW_BARRIER).setValue(value); } - public CommunicationRequest addWorkflowBarrier(CommunicationRequest context, CodeableReference value) { + public static CommunicationRequest addWorkflowBarrier(CommunicationRequest context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_BARRIER, value); return context; } - public List getWorkflowBarrierList(CommunicationRequest context) { + public static List getWorkflowBarrierList(CommunicationRequest context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_BARRIER); } - public Goal addWorkflowBarrier(Goal context, CodeableReference value) { + public static Goal addWorkflowBarrier(Goal context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_BARRIER, value); return context; } - public List getWorkflowBarrierList(Goal context) { + public static List getWorkflowBarrierList(Goal context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_BARRIER); } - public org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent addWorkflowBarrier(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, CodeableReference value) { + public static org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent addWorkflowBarrier(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_BARRIER, value); return context; } - public List getWorkflowBarrierList(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) { + public static List getWorkflowBarrierList(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_BARRIER); } @@ -9430,221 +9430,221 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-compliesWith|0.1.0 // complies with - public Extension makeCompliesWithCanonical(String value) { + public static Extension makeCompliesWithCanonical(String value) { return new Extension(ExtensionConstants.EXT_COMPLIES_WITH).setValue(new CanonicalType(value)); } - public Extension makeCompliesWith(Reference value) { + public static Extension makeCompliesWith(Reference value) { return new Extension(ExtensionConstants.EXT_COMPLIES_WITH).setValue(value); } - public Extension makeCompliesWithUri(String value) { + public static Extension makeCompliesWithUri(String value) { return new Extension(ExtensionConstants.EXT_COMPLIES_WITH).setValue(new UriType(value)); } - public CarePlan addCompliesWithCanonical(CarePlan context, String value) { + public static CarePlan addCompliesWithCanonical(CarePlan context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(CarePlan context) { + public static List getCompliesWithStringList(CarePlan context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public CarePlan addCompliesWith(CarePlan context, Reference value) { + public static CarePlan addCompliesWith(CarePlan context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(CarePlan context) { + public static List getCompliesWithReferenceList(CarePlan context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public CarePlan addCompliesWithUri(CarePlan context, String value) { + public static CarePlan addCompliesWithUri(CarePlan context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } - public CommunicationRequest addCompliesWithCanonical(CommunicationRequest context, String value) { + public static CommunicationRequest addCompliesWithCanonical(CommunicationRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(CommunicationRequest context) { + public static List getCompliesWithStringList(CommunicationRequest context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public CommunicationRequest addCompliesWith(CommunicationRequest context, Reference value) { + public static CommunicationRequest addCompliesWith(CommunicationRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(CommunicationRequest context) { + public static List getCompliesWithReferenceList(CommunicationRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public CommunicationRequest addCompliesWithUri(CommunicationRequest context, String value) { + public static CommunicationRequest addCompliesWithUri(CommunicationRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } - public DeviceRequest addCompliesWithCanonical(DeviceRequest context, String value) { + public static DeviceRequest addCompliesWithCanonical(DeviceRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(DeviceRequest context) { + public static List getCompliesWithStringList(DeviceRequest context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public DeviceRequest addCompliesWith(DeviceRequest context, Reference value) { + public static DeviceRequest addCompliesWith(DeviceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(DeviceRequest context) { + public static List getCompliesWithReferenceList(DeviceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public DeviceRequest addCompliesWithUri(DeviceRequest context, String value) { + public static DeviceRequest addCompliesWithUri(DeviceRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } - public ImmunizationRecommendation addCompliesWithCanonical(ImmunizationRecommendation context, String value) { + public static ImmunizationRecommendation addCompliesWithCanonical(ImmunizationRecommendation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(ImmunizationRecommendation context) { + public static List getCompliesWithStringList(ImmunizationRecommendation context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public ImmunizationRecommendation addCompliesWith(ImmunizationRecommendation context, Reference value) { + public static ImmunizationRecommendation addCompliesWith(ImmunizationRecommendation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(ImmunizationRecommendation context) { + public static List getCompliesWithReferenceList(ImmunizationRecommendation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public ImmunizationRecommendation addCompliesWithUri(ImmunizationRecommendation context, String value) { + public static ImmunizationRecommendation addCompliesWithUri(ImmunizationRecommendation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } - public NutritionOrder addCompliesWithCanonical(NutritionOrder context, String value) { + public static NutritionOrder addCompliesWithCanonical(NutritionOrder context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(NutritionOrder context) { + public static List getCompliesWithStringList(NutritionOrder context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public NutritionOrder addCompliesWith(NutritionOrder context, Reference value) { + public static NutritionOrder addCompliesWith(NutritionOrder context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(NutritionOrder context) { + public static List getCompliesWithReferenceList(NutritionOrder context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public NutritionOrder addCompliesWithUri(NutritionOrder context, String value) { + public static NutritionOrder addCompliesWithUri(NutritionOrder context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } - public RequestOrchestration addCompliesWithCanonical(RequestOrchestration context, String value) { + public static RequestOrchestration addCompliesWithCanonical(RequestOrchestration context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(RequestOrchestration context) { + public static List getCompliesWithStringList(RequestOrchestration context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public RequestOrchestration addCompliesWith(RequestOrchestration context, Reference value) { + public static RequestOrchestration addCompliesWith(RequestOrchestration context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(RequestOrchestration context) { + public static List getCompliesWithReferenceList(RequestOrchestration context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public RequestOrchestration addCompliesWithUri(RequestOrchestration context, String value) { + public static RequestOrchestration addCompliesWithUri(RequestOrchestration context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } - public ServiceRequest addCompliesWithCanonical(ServiceRequest context, String value) { + public static ServiceRequest addCompliesWithCanonical(ServiceRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(ServiceRequest context) { + public static List getCompliesWithStringList(ServiceRequest context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public ServiceRequest addCompliesWith(ServiceRequest context, Reference value) { + public static ServiceRequest addCompliesWith(ServiceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(ServiceRequest context) { + public static List getCompliesWithReferenceList(ServiceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public ServiceRequest addCompliesWithUri(ServiceRequest context, String value) { + public static ServiceRequest addCompliesWithUri(ServiceRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } - public SupplyRequest addCompliesWithCanonical(SupplyRequest context, String value) { + public static SupplyRequest addCompliesWithCanonical(SupplyRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(SupplyRequest context) { + public static List getCompliesWithStringList(SupplyRequest context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public SupplyRequest addCompliesWith(SupplyRequest context, Reference value) { + public static SupplyRequest addCompliesWith(SupplyRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(SupplyRequest context) { + public static List getCompliesWithReferenceList(SupplyRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public SupplyRequest addCompliesWithUri(SupplyRequest context, String value) { + public static SupplyRequest addCompliesWithUri(SupplyRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } - public Task addCompliesWithCanonical(Task context, String value) { + public static Task addCompliesWithCanonical(Task context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new CanonicalType(value)); return context; } - public List getCompliesWithStringList(Task context) { + public static List getCompliesWithStringList(Task context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_COMPLIES_WITH); } - public Task addCompliesWith(Task context, Reference value) { + public static Task addCompliesWith(Task context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, value); return context; } - public List getCompliesWithReferenceList(Task context) { + public static List getCompliesWithReferenceList(Task context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_COMPLIES_WITH); } - public Task addCompliesWithUri(Task context, String value) { + public static Task addCompliesWithUri(Task context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_COMPLIES_WITH, new UriType(value)); return context; } @@ -9653,421 +9653,421 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare|0.1.0 // episode of care - public Extension makeEpisodeOfCare(Reference value) { + public static Extension makeEpisodeOfCare(Reference value) { return new Extension(ExtensionConstants.EXT_EPISODE_OF_CARE).setValue(value); } - public AdverseEvent addEpisodeOfCare(AdverseEvent context, Reference value) { + public static AdverseEvent addEpisodeOfCare(AdverseEvent context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(AdverseEvent context) { + public static List getEpisodeOfCareList(AdverseEvent context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Appointment addEpisodeOfCare(Appointment context, Reference value) { + public static Appointment addEpisodeOfCare(Appointment context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Appointment context) { + public static List getEpisodeOfCareList(Appointment context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Basic addEpisodeOfCare(Basic context, Reference value) { + public static Basic addEpisodeOfCare(Basic context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Basic context) { + public static List getEpisodeOfCareList(Basic context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public CarePlan addEpisodeOfCare(CarePlan context, Reference value) { + public static CarePlan addEpisodeOfCare(CarePlan context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(CarePlan context) { + public static List getEpisodeOfCareList(CarePlan context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public ChargeItem addEpisodeOfCare(ChargeItem context, Reference value) { + public static ChargeItem addEpisodeOfCare(ChargeItem context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(ChargeItem context) { + public static List getEpisodeOfCareList(ChargeItem context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public ClinicalImpression addEpisodeOfCare(ClinicalImpression context, Reference value) { + public static ClinicalImpression addEpisodeOfCare(ClinicalImpression context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(ClinicalImpression context) { + public static List getEpisodeOfCareList(ClinicalImpression context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Communication addEpisodeOfCare(Communication context, Reference value) { + public static Communication addEpisodeOfCare(Communication context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Communication context) { + public static List getEpisodeOfCareList(Communication context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public CommunicationRequest addEpisodeOfCare(CommunicationRequest context, Reference value) { + public static CommunicationRequest addEpisodeOfCare(CommunicationRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(CommunicationRequest context) { + public static List getEpisodeOfCareList(CommunicationRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Composition addEpisodeOfCare(Composition context, Reference value) { + public static Composition addEpisodeOfCare(Composition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Composition context) { + public static List getEpisodeOfCareList(Composition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Condition addEpisodeOfCare(Condition context, Reference value) { + public static Condition addEpisodeOfCare(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Condition context) { + public static List getEpisodeOfCareList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Consent addEpisodeOfCare(Consent context, Reference value) { + public static Consent addEpisodeOfCare(Consent context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Consent context) { + public static List getEpisodeOfCareList(Consent context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public DetectedIssue addEpisodeOfCare(DetectedIssue context, Reference value) { + public static DetectedIssue addEpisodeOfCare(DetectedIssue context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(DetectedIssue context) { + public static List getEpisodeOfCareList(DetectedIssue context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public DeviceRequest addEpisodeOfCare(DeviceRequest context, Reference value) { + public static DeviceRequest addEpisodeOfCare(DeviceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(DeviceRequest context) { + public static List getEpisodeOfCareList(DeviceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public DeviceUsage addEpisodeOfCare(DeviceUsage context, Reference value) { + public static DeviceUsage addEpisodeOfCare(DeviceUsage context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(DeviceUsage context) { + public static List getEpisodeOfCareList(DeviceUsage context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public DiagnosticReport addEpisodeOfCare(DiagnosticReport context, Reference value) { + public static DiagnosticReport addEpisodeOfCare(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(DiagnosticReport context) { + public static List getEpisodeOfCareList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public DocumentReference addEpisodeOfCare(DocumentReference context, Reference value) { + public static DocumentReference addEpisodeOfCare(DocumentReference context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(DocumentReference context) { + public static List getEpisodeOfCareList(DocumentReference context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Encounter addEpisodeOfCare(Encounter context, Reference value) { + public static Encounter addEpisodeOfCare(Encounter context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Encounter context) { + public static List getEpisodeOfCareList(Encounter context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public EnrollmentRequest addEpisodeOfCare(EnrollmentRequest context, Reference value) { + public static EnrollmentRequest addEpisodeOfCare(EnrollmentRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(EnrollmentRequest context) { + public static List getEpisodeOfCareList(EnrollmentRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public EnrollmentResponse addEpisodeOfCare(EnrollmentResponse context, Reference value) { + public static EnrollmentResponse addEpisodeOfCare(EnrollmentResponse context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(EnrollmentResponse context) { + public static List getEpisodeOfCareList(EnrollmentResponse context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public FamilyMemberHistory addEpisodeOfCare(FamilyMemberHistory context, Reference value) { + public static FamilyMemberHistory addEpisodeOfCare(FamilyMemberHistory context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(FamilyMemberHistory context) { + public static List getEpisodeOfCareList(FamilyMemberHistory context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Flag addEpisodeOfCare(Flag context, Reference value) { + public static Flag addEpisodeOfCare(Flag context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Flag context) { + public static List getEpisodeOfCareList(Flag context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Goal addEpisodeOfCare(Goal context, Reference value) { + public static Goal addEpisodeOfCare(Goal context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Goal context) { + public static List getEpisodeOfCareList(Goal context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public ImagingStudy addEpisodeOfCare(ImagingStudy context, Reference value) { + public static ImagingStudy addEpisodeOfCare(ImagingStudy context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(ImagingStudy context) { + public static List getEpisodeOfCareList(ImagingStudy context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Immunization addEpisodeOfCare(Immunization context, Reference value) { + public static Immunization addEpisodeOfCare(Immunization context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Immunization context) { + public static List getEpisodeOfCareList(Immunization context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public ImmunizationEvaluation addEpisodeOfCare(ImmunizationEvaluation context, Reference value) { + public static ImmunizationEvaluation addEpisodeOfCare(ImmunizationEvaluation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(ImmunizationEvaluation context) { + public static List getEpisodeOfCareList(ImmunizationEvaluation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public ImmunizationRecommendation addEpisodeOfCare(ImmunizationRecommendation context, Reference value) { + public static ImmunizationRecommendation addEpisodeOfCare(ImmunizationRecommendation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(ImmunizationRecommendation context) { + public static List getEpisodeOfCareList(ImmunizationRecommendation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Invoice addEpisodeOfCare(Invoice context, Reference value) { + public static Invoice addEpisodeOfCare(Invoice context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Invoice context) { + public static List getEpisodeOfCareList(Invoice context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public ListResource addEpisodeOfCare(ListResource context, Reference value) { + public static ListResource addEpisodeOfCare(ListResource context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(ListResource context) { + public static List getEpisodeOfCareList(ListResource context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public MeasureReport addEpisodeOfCare(MeasureReport context, Reference value) { + public static MeasureReport addEpisodeOfCare(MeasureReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(MeasureReport context) { + public static List getEpisodeOfCareList(MeasureReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public MedicationAdministration addEpisodeOfCare(MedicationAdministration context, Reference value) { + public static MedicationAdministration addEpisodeOfCare(MedicationAdministration context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(MedicationAdministration context) { + public static List getEpisodeOfCareList(MedicationAdministration context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public MedicationDispense addEpisodeOfCare(MedicationDispense context, Reference value) { + public static MedicationDispense addEpisodeOfCare(MedicationDispense context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(MedicationDispense context) { + public static List getEpisodeOfCareList(MedicationDispense context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public MedicationRequest addEpisodeOfCare(MedicationRequest context, Reference value) { + public static MedicationRequest addEpisodeOfCare(MedicationRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(MedicationRequest context) { + public static List getEpisodeOfCareList(MedicationRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public MedicationStatement addEpisodeOfCare(MedicationStatement context, Reference value) { + public static MedicationStatement addEpisodeOfCare(MedicationStatement context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(MedicationStatement context) { + public static List getEpisodeOfCareList(MedicationStatement context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public MolecularSequence addEpisodeOfCare(MolecularSequence context, Reference value) { + public static MolecularSequence addEpisodeOfCare(MolecularSequence context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(MolecularSequence context) { + public static List getEpisodeOfCareList(MolecularSequence context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public NutritionIntake addEpisodeOfCare(NutritionIntake context, Reference value) { + public static NutritionIntake addEpisodeOfCare(NutritionIntake context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(NutritionIntake context) { + public static List getEpisodeOfCareList(NutritionIntake context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public NutritionOrder addEpisodeOfCare(NutritionOrder context, Reference value) { + public static NutritionOrder addEpisodeOfCare(NutritionOrder context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(NutritionOrder context) { + public static List getEpisodeOfCareList(NutritionOrder context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Observation addEpisodeOfCare(Observation context, Reference value) { + public static Observation addEpisodeOfCare(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Observation context) { + public static List getEpisodeOfCareList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public Procedure addEpisodeOfCare(Procedure context, Reference value) { + public static Procedure addEpisodeOfCare(Procedure context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(Procedure context) { + public static List getEpisodeOfCareList(Procedure context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public QuestionnaireResponse addEpisodeOfCare(QuestionnaireResponse context, Reference value) { + public static QuestionnaireResponse addEpisodeOfCare(QuestionnaireResponse context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(QuestionnaireResponse context) { + public static List getEpisodeOfCareList(QuestionnaireResponse context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public RequestOrchestration addEpisodeOfCare(RequestOrchestration context, Reference value) { + public static RequestOrchestration addEpisodeOfCare(RequestOrchestration context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(RequestOrchestration context) { + public static List getEpisodeOfCareList(RequestOrchestration context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public ResearchSubject addEpisodeOfCare(ResearchSubject context, Reference value) { + public static ResearchSubject addEpisodeOfCare(ResearchSubject context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(ResearchSubject context) { + public static List getEpisodeOfCareList(ResearchSubject context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public RiskAssessment addEpisodeOfCare(RiskAssessment context, Reference value) { + public static RiskAssessment addEpisodeOfCare(RiskAssessment context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(RiskAssessment context) { + public static List getEpisodeOfCareList(RiskAssessment context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public ServiceRequest addEpisodeOfCare(ServiceRequest context, Reference value) { + public static ServiceRequest addEpisodeOfCare(ServiceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(ServiceRequest context) { + public static List getEpisodeOfCareList(ServiceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public SupplyDelivery addEpisodeOfCare(SupplyDelivery context, Reference value) { + public static SupplyDelivery addEpisodeOfCare(SupplyDelivery context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(SupplyDelivery context) { + public static List getEpisodeOfCareList(SupplyDelivery context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public SupplyRequest addEpisodeOfCare(SupplyRequest context, Reference value) { + public static SupplyRequest addEpisodeOfCare(SupplyRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(SupplyRequest context) { + public static List getEpisodeOfCareList(SupplyRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } - public VisionPrescription addEpisodeOfCare(VisionPrescription context, Reference value) { + public static VisionPrescription addEpisodeOfCare(VisionPrescription context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EPISODE_OF_CARE, value); return context; } - public List getEpisodeOfCareList(VisionPrescription context) { + public static List getEpisodeOfCareList(VisionPrescription context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_EPISODE_OF_CARE); } @@ -10075,52 +10075,52 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-followOnOf|0.1.0 // follow on of - public Extension makeFollowOnOf(Reference value) { + public static Extension makeFollowOnOf(Reference value) { return new Extension(ExtensionConstants.EXT_FOLLOW_ON_OF).setValue(value); } - public DeviceRequest addFollowOnOf(DeviceRequest context, Reference value) { + public static DeviceRequest addFollowOnOf(DeviceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value); return context; } - public List getFollowOnOfList(DeviceRequest context) { + public static List getFollowOnOfList(DeviceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF); } - public Encounter addFollowOnOf(Encounter context, Reference value) { + public static Encounter addFollowOnOf(Encounter context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value); return context; } - public List getFollowOnOfList(Encounter context) { + public static List getFollowOnOfList(Encounter context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF); } - public Procedure addFollowOnOf(Procedure context, Reference value) { + public static Procedure addFollowOnOf(Procedure context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value); return context; } - public List getFollowOnOfList(Procedure context) { + public static List getFollowOnOfList(Procedure context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF); } - public ServiceRequest addFollowOnOf(ServiceRequest context, Reference value) { + public static ServiceRequest addFollowOnOf(ServiceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value); return context; } - public List getFollowOnOfList(ServiceRequest context) { + public static List getFollowOnOfList(ServiceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF); } - public Task addFollowOnOf(Task context, Reference value) { + public static Task addFollowOnOf(Task context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_FOLLOW_ON_OF, value); return context; } - public List getFollowOnOfList(Task context) { + public static List getFollowOnOfList(Task context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_FOLLOW_ON_OF); } @@ -10128,97 +10128,97 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom|0.1.0 // generated from - public Extension makeGeneratedFrom(String value) { + public static Extension makeGeneratedFrom(String value) { return new Extension(ExtensionConstants.EXT_GENERATED_FROM).setValue(new CanonicalType(value)); } - public CarePlan setGeneratedFrom(CarePlan context, String value) { + public static CarePlan setGeneratedFrom(CarePlan context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(CarePlan context) { + public static String getGeneratedFrom(CarePlan context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public CommunicationRequest setGeneratedFrom(CommunicationRequest context, String value) { + public static CommunicationRequest setGeneratedFrom(CommunicationRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(CommunicationRequest context) { + public static String getGeneratedFrom(CommunicationRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public DeviceRequest setGeneratedFrom(DeviceRequest context, String value) { + public static DeviceRequest setGeneratedFrom(DeviceRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(DeviceRequest context) { + public static String getGeneratedFrom(DeviceRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public ImmunizationEvaluation setGeneratedFrom(ImmunizationEvaluation context, String value) { + public static ImmunizationEvaluation setGeneratedFrom(ImmunizationEvaluation context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(ImmunizationEvaluation context) { + public static String getGeneratedFrom(ImmunizationEvaluation context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public ImmunizationRecommendation setGeneratedFrom(ImmunizationRecommendation context, String value) { + public static ImmunizationRecommendation setGeneratedFrom(ImmunizationRecommendation context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(ImmunizationRecommendation context) { + public static String getGeneratedFrom(ImmunizationRecommendation context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public NutritionOrder setGeneratedFrom(NutritionOrder context, String value) { + public static NutritionOrder setGeneratedFrom(NutritionOrder context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(NutritionOrder context) { + public static String getGeneratedFrom(NutritionOrder context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public RequestOrchestration setGeneratedFrom(RequestOrchestration context, String value) { + public static RequestOrchestration setGeneratedFrom(RequestOrchestration context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(RequestOrchestration context) { + public static String getGeneratedFrom(RequestOrchestration context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public ServiceRequest setGeneratedFrom(ServiceRequest context, String value) { + public static ServiceRequest setGeneratedFrom(ServiceRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(ServiceRequest context) { + public static String getGeneratedFrom(ServiceRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public SupplyRequest setGeneratedFrom(SupplyRequest context, String value) { + public static SupplyRequest setGeneratedFrom(SupplyRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(SupplyRequest context) { + public static String getGeneratedFrom(SupplyRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } - public Task setGeneratedFrom(Task context, String value) { + public static Task setGeneratedFrom(Task context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_GENERATED_FROM, new CanonicalType(value)); return context; } - public String getGeneratedFrom(Task context) { + public static String getGeneratedFrom(Task context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_GENERATED_FROM); } @@ -10226,34 +10226,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor|0.1.0 // protective factor - public Extension makeProtectiveFactor(CodeableReference value) { + public static Extension makeProtectiveFactor(CodeableReference value) { return new Extension(ExtensionConstants.EXT_PROTECTIVE_FACTOR).setValue(value); } - public CommunicationRequest addProtectiveFactor(CommunicationRequest context, CodeableReference value) { + public static CommunicationRequest addProtectiveFactor(CommunicationRequest context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PROTECTIVE_FACTOR, value); return context; } - public List getProtectiveFactorList(CommunicationRequest context) { + public static List getProtectiveFactorList(CommunicationRequest context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_PROTECTIVE_FACTOR); } - public Goal addProtectiveFactor(Goal context, CodeableReference value) { + public static Goal addProtectiveFactor(Goal context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PROTECTIVE_FACTOR, value); return context; } - public List getProtectiveFactorList(Goal context) { + public static List getProtectiveFactorList(Goal context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_PROTECTIVE_FACTOR); } - public org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent addProtectiveFactor(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, CodeableReference value) { + public static org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent addProtectiveFactor(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PROTECTIVE_FACTOR, value); return context; } - public List getProtectiveFactorList(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) { + public static List getProtectiveFactorList(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_PROTECTIVE_FACTOR); } @@ -10261,43 +10261,43 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-reason|0.1.0 // Workflow Reason - public Extension makeWorkflowReason(CodeableReference value) { + public static Extension makeWorkflowReason(CodeableReference value) { return new Extension(ExtensionConstants.EXT_WORKFLOW_REASON).setValue(value); } - public DiagnosticReport addWorkflowReason(DiagnosticReport context, CodeableReference value) { + public static DiagnosticReport addWorkflowReason(DiagnosticReport context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_REASON, value); return context; } - public List getWorkflowReasonList(DiagnosticReport context) { + public static List getWorkflowReasonList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_REASON); } - public DocumentReference addWorkflowReason(DocumentReference context, CodeableReference value) { + public static DocumentReference addWorkflowReason(DocumentReference context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_REASON, value); return context; } - public List getWorkflowReasonList(DocumentReference context) { + public static List getWorkflowReasonList(DocumentReference context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_REASON); } - public NutritionOrder addWorkflowReason(NutritionOrder context, CodeableReference value) { + public static NutritionOrder addWorkflowReason(NutritionOrder context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_REASON, value); return context; } - public List getWorkflowReasonList(NutritionOrder context) { + public static List getWorkflowReasonList(NutritionOrder context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_REASON); } - public Observation addWorkflowReason(Observation context, CodeableReference value) { + public static Observation addWorkflowReason(Observation context, CodeableReference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_WORKFLOW_REASON, value); return context; } - public List getWorkflowReasonList(Observation context) { + public static List getWorkflowReasonList(Observation context) { return ExtensionsUtils.getExtensionList(CodeableReference.class, context, ExtensionConstants.EXT_WORKFLOW_REASON); } @@ -10305,34 +10305,34 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact|0.1.0 // related artifact - public Extension makeRelatedArtifact(RelatedArtifact value) { + public static Extension makeRelatedArtifact(RelatedArtifact value) { return new Extension(ExtensionConstants.EXT_RELATED_ARTIFACT).setValue(value); } - public ConceptMap addRelatedArtifact(ConceptMap context, RelatedArtifact value) { + public static ConceptMap addRelatedArtifact(ConceptMap context, RelatedArtifact value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELATED_ARTIFACT, value); return context; } - public List getRelatedArtifactList(ConceptMap context) { + public static List getRelatedArtifactList(ConceptMap context) { return ExtensionsUtils.getExtensionList(RelatedArtifact.class, context, ExtensionConstants.EXT_RELATED_ARTIFACT); } - public DiagnosticReport addRelatedArtifact(DiagnosticReport context, RelatedArtifact value) { + public static DiagnosticReport addRelatedArtifact(DiagnosticReport context, RelatedArtifact value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELATED_ARTIFACT, value); return context; } - public List getRelatedArtifactList(DiagnosticReport context) { + public static List getRelatedArtifactList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(RelatedArtifact.class, context, ExtensionConstants.EXT_RELATED_ARTIFACT); } - public Observation addRelatedArtifact(Observation context, RelatedArtifact value) { + public static Observation addRelatedArtifact(Observation context, RelatedArtifact value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RELATED_ARTIFACT, value); return context; } - public List getRelatedArtifactList(Observation context) { + public static List getRelatedArtifactList(Observation context) { return ExtensionsUtils.getExtensionList(RelatedArtifact.class, context, ExtensionConstants.EXT_RELATED_ARTIFACT); } @@ -10340,241 +10340,241 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-releaseDate|0.1.0 // release date - public Extension makeReleaseDate(String value) { + public static Extension makeReleaseDate(String value) { return new Extension(ExtensionConstants.EXT_RELEASE_DATE).setValue(new DateTimeType(value)); } - public Account setReleaseDate(Account context, String value) { + public static Account setReleaseDate(Account context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Account context) { + public static String getReleaseDate(Account context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public Appointment setReleaseDate(Appointment context, String value) { + public static Appointment setReleaseDate(Appointment context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Appointment context) { + public static String getReleaseDate(Appointment context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public ArtifactAssessment setReleaseDate(ArtifactAssessment context, String value) { + public static ArtifactAssessment setReleaseDate(ArtifactAssessment context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(ArtifactAssessment context) { + public static String getReleaseDate(ArtifactAssessment context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public CarePlan setReleaseDate(CarePlan context, String value) { + public static CarePlan setReleaseDate(CarePlan context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(CarePlan context) { + public static String getReleaseDate(CarePlan context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public ClinicalImpression setReleaseDate(ClinicalImpression context, String value) { + public static ClinicalImpression setReleaseDate(ClinicalImpression context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(ClinicalImpression context) { + public static String getReleaseDate(ClinicalImpression context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public Communication setReleaseDate(Communication context, String value) { + public static Communication setReleaseDate(Communication context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Communication context) { + public static String getReleaseDate(Communication context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public CommunicationRequest setReleaseDate(CommunicationRequest context, String value) { + public static CommunicationRequest setReleaseDate(CommunicationRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(CommunicationRequest context) { + public static String getReleaseDate(CommunicationRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public Contract setReleaseDate(Contract context, String value) { + public static Contract setReleaseDate(Contract context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Contract context) { + public static String getReleaseDate(Contract context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public DeviceDispense setReleaseDate(DeviceDispense context, String value) { + public static DeviceDispense setReleaseDate(DeviceDispense context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(DeviceDispense context) { + public static String getReleaseDate(DeviceDispense context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public DeviceRequest setReleaseDate(DeviceRequest context, String value) { + public static DeviceRequest setReleaseDate(DeviceRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(DeviceRequest context) { + public static String getReleaseDate(DeviceRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public DeviceUsage setReleaseDate(DeviceUsage context, String value) { + public static DeviceUsage setReleaseDate(DeviceUsage context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(DeviceUsage context) { + public static String getReleaseDate(DeviceUsage context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public Encounter setReleaseDate(Encounter context, String value) { + public static Encounter setReleaseDate(Encounter context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Encounter context) { + public static String getReleaseDate(Encounter context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public Endpoint setReleaseDate(Endpoint context, String value) { + public static Endpoint setReleaseDate(Endpoint context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Endpoint context) { + public static String getReleaseDate(Endpoint context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public EpisodeOfCare setReleaseDate(EpisodeOfCare context, String value) { + public static EpisodeOfCare setReleaseDate(EpisodeOfCare context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(EpisodeOfCare context) { + public static String getReleaseDate(EpisodeOfCare context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public Goal setReleaseDate(Goal context, String value) { + public static Goal setReleaseDate(Goal context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Goal context) { + public static String getReleaseDate(Goal context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public MedicationAdministration setReleaseDate(MedicationAdministration context, String value) { + public static MedicationAdministration setReleaseDate(MedicationAdministration context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(MedicationAdministration context) { + public static String getReleaseDate(MedicationAdministration context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public MedicationDispense setReleaseDate(MedicationDispense context, String value) { + public static MedicationDispense setReleaseDate(MedicationDispense context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(MedicationDispense context) { + public static String getReleaseDate(MedicationDispense context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public MedicationRequest setReleaseDate(MedicationRequest context, String value) { + public static MedicationRequest setReleaseDate(MedicationRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(MedicationRequest context) { + public static String getReleaseDate(MedicationRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public NutritionIntake setReleaseDate(NutritionIntake context, String value) { + public static NutritionIntake setReleaseDate(NutritionIntake context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(NutritionIntake context) { + public static String getReleaseDate(NutritionIntake context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public NutritionOrder setReleaseDate(NutritionOrder context, String value) { + public static NutritionOrder setReleaseDate(NutritionOrder context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(NutritionOrder context) { + public static String getReleaseDate(NutritionOrder context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public Procedure setReleaseDate(Procedure context, String value) { + public static Procedure setReleaseDate(Procedure context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Procedure context) { + public static String getReleaseDate(Procedure context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public RequestOrchestration setReleaseDate(RequestOrchestration context, String value) { + public static RequestOrchestration setReleaseDate(RequestOrchestration context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(RequestOrchestration context) { + public static String getReleaseDate(RequestOrchestration context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public ServiceRequest setReleaseDate(ServiceRequest context, String value) { + public static ServiceRequest setReleaseDate(ServiceRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(ServiceRequest context) { + public static String getReleaseDate(ServiceRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public SupplyRequest setReleaseDate(SupplyRequest context, String value) { + public static SupplyRequest setReleaseDate(SupplyRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(SupplyRequest context) { + public static String getReleaseDate(SupplyRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public Task setReleaseDate(Task context, String value) { + public static Task setReleaseDate(Task context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(Task context) { + public static String getReleaseDate(Task context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } - public org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent setReleaseDate(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, String value) { + public static org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent setReleaseDate(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_RELEASE_DATE, new DateTimeType(value)); return context; } - public String getReleaseDate(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) { + public static String getReleaseDate(org.hl7.fhir.r5.model.CarePlan.CarePlanActivityComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_RELEASE_DATE); } @@ -10582,169 +10582,169 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-researchStudy|0.1.0 // research study - public Extension makeResearchStudy(Reference value) { + public static Extension makeResearchStudy(Reference value) { return new Extension(ExtensionConstants.EXT_RESEARCH_STUDY).setValue(value); } - public Composition addResearchStudy(Composition context, Reference value) { + public static Composition addResearchStudy(Composition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(Composition context) { + public static List getResearchStudyList(Composition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public Consent addResearchStudy(Consent context, Reference value) { + public static Consent addResearchStudy(Consent context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(Consent context) { + public static List getResearchStudyList(Consent context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public DeviceUsage addResearchStudy(DeviceUsage context, Reference value) { + public static DeviceUsage addResearchStudy(DeviceUsage context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(DeviceUsage context) { + public static List getResearchStudyList(DeviceUsage context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public DiagnosticReport addResearchStudy(DiagnosticReport context, Reference value) { + public static DiagnosticReport addResearchStudy(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(DiagnosticReport context) { + public static List getResearchStudyList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public DocumentReference addResearchStudy(DocumentReference context, Reference value) { + public static DocumentReference addResearchStudy(DocumentReference context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(DocumentReference context) { + public static List getResearchStudyList(DocumentReference context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public Encounter addResearchStudy(Encounter context, Reference value) { + public static Encounter addResearchStudy(Encounter context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(Encounter context) { + public static List getResearchStudyList(Encounter context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public FamilyMemberHistory addResearchStudy(FamilyMemberHistory context, Reference value) { + public static FamilyMemberHistory addResearchStudy(FamilyMemberHistory context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(FamilyMemberHistory context) { + public static List getResearchStudyList(FamilyMemberHistory context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public Immunization addResearchStudy(Immunization context, Reference value) { + public static Immunization addResearchStudy(Immunization context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(Immunization context) { + public static List getResearchStudyList(Immunization context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public MedicationAdministration addResearchStudy(MedicationAdministration context, Reference value) { + public static MedicationAdministration addResearchStudy(MedicationAdministration context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(MedicationAdministration context) { + public static List getResearchStudyList(MedicationAdministration context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public MedicationDispense addResearchStudy(MedicationDispense context, Reference value) { + public static MedicationDispense addResearchStudy(MedicationDispense context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(MedicationDispense context) { + public static List getResearchStudyList(MedicationDispense context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public MedicationStatement addResearchStudy(MedicationStatement context, Reference value) { + public static MedicationStatement addResearchStudy(MedicationStatement context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(MedicationStatement context) { + public static List getResearchStudyList(MedicationStatement context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public Observation addResearchStudy(Observation context, Reference value) { + public static Observation addResearchStudy(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(Observation context) { + public static List getResearchStudyList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public Procedure addResearchStudy(Procedure context, Reference value) { + public static Procedure addResearchStudy(Procedure context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(Procedure context) { + public static List getResearchStudyList(Procedure context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public QuestionnaireResponse addResearchStudy(QuestionnaireResponse context, Reference value) { + public static QuestionnaireResponse addResearchStudy(QuestionnaireResponse context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(QuestionnaireResponse context) { + public static List getResearchStudyList(QuestionnaireResponse context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public RiskAssessment addResearchStudy(RiskAssessment context, Reference value) { + public static RiskAssessment addResearchStudy(RiskAssessment context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(RiskAssessment context) { + public static List getResearchStudyList(RiskAssessment context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public ServiceRequest addResearchStudy(ServiceRequest context, Reference value) { + public static ServiceRequest addResearchStudy(ServiceRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(ServiceRequest context) { + public static List getResearchStudyList(ServiceRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public SupplyDelivery addResearchStudy(SupplyDelivery context, Reference value) { + public static SupplyDelivery addResearchStudy(SupplyDelivery context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(SupplyDelivery context) { + public static List getResearchStudyList(SupplyDelivery context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } - public Task addResearchStudy(Task context, Reference value) { + public static Task addResearchStudy(Task context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_RESEARCH_STUDY, value); return context; } - public List getResearchStudyList(Task context) { + public static List getResearchStudyList(Task context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_RESEARCH_STUDY); } @@ -10752,267 +10752,267 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith|0.1.0 // shall comply with - public Extension makeShallComplyWithCanonical(String value) { + public static Extension makeShallComplyWithCanonical(String value) { return new Extension(ExtensionConstants.EXT_SHALL_COMPLY_WITH).setValue(new CanonicalType(value)); } - public Extension makeShallComplyWith(Reference value) { + public static Extension makeShallComplyWith(Reference value) { return new Extension(ExtensionConstants.EXT_SHALL_COMPLY_WITH).setValue(value); } - public Extension makeShallComplyWithUri(String value) { + public static Extension makeShallComplyWithUri(String value) { return new Extension(ExtensionConstants.EXT_SHALL_COMPLY_WITH).setValue(new UriType(value)); } - public ActivityDefinition addShallComplyWithCanonical(ActivityDefinition context, String value) { + public static ActivityDefinition addShallComplyWithCanonical(ActivityDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(ActivityDefinition context) { + public static List getShallComplyWithStringList(ActivityDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public ActivityDefinition addShallComplyWith(ActivityDefinition context, Reference value) { + public static ActivityDefinition addShallComplyWith(ActivityDefinition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(ActivityDefinition context) { + public static List getShallComplyWithReferenceList(ActivityDefinition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public ActivityDefinition addShallComplyWithUri(ActivityDefinition context, String value) { + public static ActivityDefinition addShallComplyWithUri(ActivityDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public CommunicationRequest addShallComplyWithCanonical(CommunicationRequest context, String value) { + public static CommunicationRequest addShallComplyWithCanonical(CommunicationRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(CommunicationRequest context) { + public static List getShallComplyWithStringList(CommunicationRequest context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public CommunicationRequest addShallComplyWith(CommunicationRequest context, Reference value) { + public static CommunicationRequest addShallComplyWith(CommunicationRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(CommunicationRequest context) { + public static List getShallComplyWithReferenceList(CommunicationRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public CommunicationRequest addShallComplyWithUri(CommunicationRequest context, String value) { + public static CommunicationRequest addShallComplyWithUri(CommunicationRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public Condition addShallComplyWithCanonical(Condition context, String value) { + public static Condition addShallComplyWithCanonical(Condition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(Condition context) { + public static List getShallComplyWithStringList(Condition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public Condition addShallComplyWith(Condition context, Reference value) { + public static Condition addShallComplyWith(Condition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(Condition context) { + public static List getShallComplyWithReferenceList(Condition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public Condition addShallComplyWithUri(Condition context, String value) { + public static Condition addShallComplyWithUri(Condition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public DiagnosticReport addShallComplyWithCanonical(DiagnosticReport context, String value) { + public static DiagnosticReport addShallComplyWithCanonical(DiagnosticReport context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(DiagnosticReport context) { + public static List getShallComplyWithStringList(DiagnosticReport context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public DiagnosticReport addShallComplyWith(DiagnosticReport context, Reference value) { + public static DiagnosticReport addShallComplyWith(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(DiagnosticReport context) { + public static List getShallComplyWithReferenceList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public DiagnosticReport addShallComplyWithUri(DiagnosticReport context, String value) { + public static DiagnosticReport addShallComplyWithUri(DiagnosticReport context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public DocumentReference addShallComplyWithCanonical(DocumentReference context, String value) { + public static DocumentReference addShallComplyWithCanonical(DocumentReference context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(DocumentReference context) { + public static List getShallComplyWithStringList(DocumentReference context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public DocumentReference addShallComplyWith(DocumentReference context, Reference value) { + public static DocumentReference addShallComplyWith(DocumentReference context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(DocumentReference context) { + public static List getShallComplyWithReferenceList(DocumentReference context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public DocumentReference addShallComplyWithUri(DocumentReference context, String value) { + public static DocumentReference addShallComplyWithUri(DocumentReference context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public Measure addShallComplyWithCanonical(Measure context, String value) { + public static Measure addShallComplyWithCanonical(Measure context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(Measure context) { + public static List getShallComplyWithStringList(Measure context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public Measure addShallComplyWith(Measure context, Reference value) { + public static Measure addShallComplyWith(Measure context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(Measure context) { + public static List getShallComplyWithReferenceList(Measure context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public Measure addShallComplyWithUri(Measure context, String value) { + public static Measure addShallComplyWithUri(Measure context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public Observation addShallComplyWithCanonical(Observation context, String value) { + public static Observation addShallComplyWithCanonical(Observation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(Observation context) { + public static List getShallComplyWithStringList(Observation context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public Observation addShallComplyWith(Observation context, Reference value) { + public static Observation addShallComplyWith(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(Observation context) { + public static List getShallComplyWithReferenceList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public Observation addShallComplyWithUri(Observation context, String value) { + public static Observation addShallComplyWithUri(Observation context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public OperationDefinition addShallComplyWithCanonical(OperationDefinition context, String value) { + public static OperationDefinition addShallComplyWithCanonical(OperationDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(OperationDefinition context) { + public static List getShallComplyWithStringList(OperationDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public OperationDefinition addShallComplyWith(OperationDefinition context, Reference value) { + public static OperationDefinition addShallComplyWith(OperationDefinition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(OperationDefinition context) { + public static List getShallComplyWithReferenceList(OperationDefinition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public OperationDefinition addShallComplyWithUri(OperationDefinition context, String value) { + public static OperationDefinition addShallComplyWithUri(OperationDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public PlanDefinition addShallComplyWithCanonical(PlanDefinition context, String value) { + public static PlanDefinition addShallComplyWithCanonical(PlanDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(PlanDefinition context) { + public static List getShallComplyWithStringList(PlanDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public PlanDefinition addShallComplyWith(PlanDefinition context, Reference value) { + public static PlanDefinition addShallComplyWith(PlanDefinition context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(PlanDefinition context) { + public static List getShallComplyWithReferenceList(PlanDefinition context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public PlanDefinition addShallComplyWithUri(PlanDefinition context, String value) { + public static PlanDefinition addShallComplyWithUri(PlanDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public SupplyDelivery addShallComplyWithCanonical(SupplyDelivery context, String value) { + public static SupplyDelivery addShallComplyWithCanonical(SupplyDelivery context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(SupplyDelivery context) { + public static List getShallComplyWithStringList(SupplyDelivery context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public SupplyDelivery addShallComplyWith(SupplyDelivery context, Reference value) { + public static SupplyDelivery addShallComplyWith(SupplyDelivery context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(SupplyDelivery context) { + public static List getShallComplyWithReferenceList(SupplyDelivery context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public SupplyDelivery addShallComplyWithUri(SupplyDelivery context, String value) { + public static SupplyDelivery addShallComplyWithUri(SupplyDelivery context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } - public SupplyRequest addShallComplyWithCanonical(SupplyRequest context, String value) { + public static SupplyRequest addShallComplyWithCanonical(SupplyRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new CanonicalType(value)); return context; } - public List getShallComplyWithStringList(SupplyRequest context) { + public static List getShallComplyWithStringList(SupplyRequest context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public SupplyRequest addShallComplyWith(SupplyRequest context, Reference value) { + public static SupplyRequest addShallComplyWith(SupplyRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, value); return context; } - public List getShallComplyWithReferenceList(SupplyRequest context) { + public static List getShallComplyWithReferenceList(SupplyRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SHALL_COMPLY_WITH); } - public SupplyRequest addShallComplyWithUri(SupplyRequest context, String value) { + public static SupplyRequest addShallComplyWithUri(SupplyRequest context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SHALL_COMPLY_WITH, new UriType(value)); return context; } @@ -11021,52 +11021,52 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo|0.1.0 // supporting info - public Extension makeSupportingInfo(Reference value) { + public static Extension makeSupportingInfo(Reference value) { return new Extension(ExtensionConstants.EXT_SUPPORTING_INFO).setValue(value); } - public CommunicationRequest addSupportingInfo(CommunicationRequest context, Reference value) { + public static CommunicationRequest addSupportingInfo(CommunicationRequest context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value); return context; } - public List getSupportingInfoList(CommunicationRequest context) { + public static List getSupportingInfoList(CommunicationRequest context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO); } - public DiagnosticReport addSupportingInfo(DiagnosticReport context, Reference value) { + public static DiagnosticReport addSupportingInfo(DiagnosticReport context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value); return context; } - public List getSupportingInfoList(DiagnosticReport context) { + public static List getSupportingInfoList(DiagnosticReport context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO); } - public DocumentReference addSupportingInfo(DocumentReference context, Reference value) { + public static DocumentReference addSupportingInfo(DocumentReference context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value); return context; } - public List getSupportingInfoList(DocumentReference context) { + public static List getSupportingInfoList(DocumentReference context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO); } - public Encounter addSupportingInfo(Encounter context, Reference value) { + public static Encounter addSupportingInfo(Encounter context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value); return context; } - public List getSupportingInfoList(Encounter context) { + public static List getSupportingInfoList(Encounter context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO); } - public Observation addSupportingInfo(Observation context, Reference value) { + public static Observation addSupportingInfo(Observation context, Reference value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_SUPPORTING_INFO, value); return context; } - public List getSupportingInfoList(Observation context) { + public static List getSupportingInfoList(Observation context) { return ExtensionsUtils.getExtensionList(Reference.class, context, ExtensionConstants.EXT_SUPPORTING_INFO); } @@ -11074,451 +11074,451 @@ public class Extensions { // http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy|0.1.0 // triggered by - public Extension makeTriggeredByCanonical(String value) { + public static Extension makeTriggeredByCanonical(String value) { return new Extension(ExtensionConstants.EXT_TRIGGERED_BY).setValue(new CanonicalType(value)); } - public Extension makeTriggeredBy(Reference value) { + public static Extension makeTriggeredBy(Reference value) { return new Extension(ExtensionConstants.EXT_TRIGGERED_BY).setValue(value); } - public Extension makeTriggeredByUri(String value) { + public static Extension makeTriggeredByUri(String value) { return new Extension(ExtensionConstants.EXT_TRIGGERED_BY).setValue(new UriType(value)); } - public CarePlan setTriggeredByCanonical(CarePlan context, String value) { + public static CarePlan setTriggeredByCanonical(CarePlan context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(CarePlan context) { + public static String getTriggeredByString(CarePlan context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public CarePlan setTriggeredBy(CarePlan context, Reference value) { + public static CarePlan setTriggeredBy(CarePlan context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(CarePlan context) { + public static Reference getTriggeredByReference(CarePlan context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public CarePlan setTriggeredByUri(CarePlan context, String value) { + public static CarePlan setTriggeredByUri(CarePlan context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public Communication setTriggeredByCanonical(Communication context, String value) { + public static Communication setTriggeredByCanonical(Communication context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(Communication context) { + public static String getTriggeredByString(Communication context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Communication setTriggeredBy(Communication context, Reference value) { + public static Communication setTriggeredBy(Communication context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(Communication context) { + public static Reference getTriggeredByReference(Communication context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Communication setTriggeredByUri(Communication context, String value) { + public static Communication setTriggeredByUri(Communication context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public CommunicationRequest setTriggeredByCanonical(CommunicationRequest context, String value) { + public static CommunicationRequest setTriggeredByCanonical(CommunicationRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(CommunicationRequest context) { + public static String getTriggeredByString(CommunicationRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public CommunicationRequest setTriggeredBy(CommunicationRequest context, Reference value) { + public static CommunicationRequest setTriggeredBy(CommunicationRequest context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(CommunicationRequest context) { + public static Reference getTriggeredByReference(CommunicationRequest context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public CommunicationRequest setTriggeredByUri(CommunicationRequest context, String value) { + public static CommunicationRequest setTriggeredByUri(CommunicationRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public Condition setTriggeredByCanonical(Condition context, String value) { + public static Condition setTriggeredByCanonical(Condition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(Condition context) { + public static String getTriggeredByString(Condition context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Condition setTriggeredBy(Condition context, Reference value) { + public static Condition setTriggeredBy(Condition context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(Condition context) { + public static Reference getTriggeredByReference(Condition context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Condition setTriggeredByUri(Condition context, String value) { + public static Condition setTriggeredByUri(Condition context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public DeviceRequest setTriggeredByCanonical(DeviceRequest context, String value) { + public static DeviceRequest setTriggeredByCanonical(DeviceRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(DeviceRequest context) { + public static String getTriggeredByString(DeviceRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public DeviceRequest setTriggeredBy(DeviceRequest context, Reference value) { + public static DeviceRequest setTriggeredBy(DeviceRequest context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(DeviceRequest context) { + public static Reference getTriggeredByReference(DeviceRequest context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public DeviceRequest setTriggeredByUri(DeviceRequest context, String value) { + public static DeviceRequest setTriggeredByUri(DeviceRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public DiagnosticReport setTriggeredByCanonical(DiagnosticReport context, String value) { + public static DiagnosticReport setTriggeredByCanonical(DiagnosticReport context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(DiagnosticReport context) { + public static String getTriggeredByString(DiagnosticReport context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public DiagnosticReport setTriggeredBy(DiagnosticReport context, Reference value) { + public static DiagnosticReport setTriggeredBy(DiagnosticReport context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(DiagnosticReport context) { + public static Reference getTriggeredByReference(DiagnosticReport context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public DiagnosticReport setTriggeredByUri(DiagnosticReport context, String value) { + public static DiagnosticReport setTriggeredByUri(DiagnosticReport context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public DocumentReference setTriggeredByCanonical(DocumentReference context, String value) { + public static DocumentReference setTriggeredByCanonical(DocumentReference context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(DocumentReference context) { + public static String getTriggeredByString(DocumentReference context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public DocumentReference setTriggeredBy(DocumentReference context, Reference value) { + public static DocumentReference setTriggeredBy(DocumentReference context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(DocumentReference context) { + public static Reference getTriggeredByReference(DocumentReference context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public DocumentReference setTriggeredByUri(DocumentReference context, String value) { + public static DocumentReference setTriggeredByUri(DocumentReference context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public Encounter setTriggeredByCanonical(Encounter context, String value) { + public static Encounter setTriggeredByCanonical(Encounter context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(Encounter context) { + public static String getTriggeredByString(Encounter context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Encounter setTriggeredBy(Encounter context, Reference value) { + public static Encounter setTriggeredBy(Encounter context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(Encounter context) { + public static Reference getTriggeredByReference(Encounter context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Encounter setTriggeredByUri(Encounter context, String value) { + public static Encounter setTriggeredByUri(Encounter context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public FamilyMemberHistory setTriggeredByCanonical(FamilyMemberHistory context, String value) { + public static FamilyMemberHistory setTriggeredByCanonical(FamilyMemberHistory context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(FamilyMemberHistory context) { + public static String getTriggeredByString(FamilyMemberHistory context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public FamilyMemberHistory setTriggeredBy(FamilyMemberHistory context, Reference value) { + public static FamilyMemberHistory setTriggeredBy(FamilyMemberHistory context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(FamilyMemberHistory context) { + public static Reference getTriggeredByReference(FamilyMemberHistory context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public FamilyMemberHistory setTriggeredByUri(FamilyMemberHistory context, String value) { + public static FamilyMemberHistory setTriggeredByUri(FamilyMemberHistory context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public Immunization setTriggeredByCanonical(Immunization context, String value) { + public static Immunization setTriggeredByCanonical(Immunization context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(Immunization context) { + public static String getTriggeredByString(Immunization context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Immunization setTriggeredBy(Immunization context, Reference value) { + public static Immunization setTriggeredBy(Immunization context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(Immunization context) { + public static Reference getTriggeredByReference(Immunization context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Immunization setTriggeredByUri(Immunization context, String value) { + public static Immunization setTriggeredByUri(Immunization context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public ImmunizationRecommendation setTriggeredByCanonical(ImmunizationRecommendation context, String value) { + public static ImmunizationRecommendation setTriggeredByCanonical(ImmunizationRecommendation context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(ImmunizationRecommendation context) { + public static String getTriggeredByString(ImmunizationRecommendation context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public ImmunizationRecommendation setTriggeredBy(ImmunizationRecommendation context, Reference value) { + public static ImmunizationRecommendation setTriggeredBy(ImmunizationRecommendation context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(ImmunizationRecommendation context) { + public static Reference getTriggeredByReference(ImmunizationRecommendation context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public ImmunizationRecommendation setTriggeredByUri(ImmunizationRecommendation context, String value) { + public static ImmunizationRecommendation setTriggeredByUri(ImmunizationRecommendation context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public NutritionOrder setTriggeredByCanonical(NutritionOrder context, String value) { + public static NutritionOrder setTriggeredByCanonical(NutritionOrder context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(NutritionOrder context) { + public static String getTriggeredByString(NutritionOrder context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public NutritionOrder setTriggeredBy(NutritionOrder context, Reference value) { + public static NutritionOrder setTriggeredBy(NutritionOrder context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(NutritionOrder context) { + public static Reference getTriggeredByReference(NutritionOrder context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public NutritionOrder setTriggeredByUri(NutritionOrder context, String value) { + public static NutritionOrder setTriggeredByUri(NutritionOrder context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public Observation setTriggeredByCanonical(Observation context, String value) { + public static Observation setTriggeredByCanonical(Observation context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(Observation context) { + public static String getTriggeredByString(Observation context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Observation setTriggeredBy(Observation context, Reference value) { + public static Observation setTriggeredBy(Observation context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(Observation context) { + public static Reference getTriggeredByReference(Observation context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Observation setTriggeredByUri(Observation context, String value) { + public static Observation setTriggeredByUri(Observation context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public QuestionnaireResponse setTriggeredByCanonical(QuestionnaireResponse context, String value) { + public static QuestionnaireResponse setTriggeredByCanonical(QuestionnaireResponse context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(QuestionnaireResponse context) { + public static String getTriggeredByString(QuestionnaireResponse context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public QuestionnaireResponse setTriggeredBy(QuestionnaireResponse context, Reference value) { + public static QuestionnaireResponse setTriggeredBy(QuestionnaireResponse context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(QuestionnaireResponse context) { + public static Reference getTriggeredByReference(QuestionnaireResponse context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public QuestionnaireResponse setTriggeredByUri(QuestionnaireResponse context, String value) { + public static QuestionnaireResponse setTriggeredByUri(QuestionnaireResponse context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public RequestOrchestration setTriggeredByCanonical(RequestOrchestration context, String value) { + public static RequestOrchestration setTriggeredByCanonical(RequestOrchestration context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(RequestOrchestration context) { + public static String getTriggeredByString(RequestOrchestration context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public RequestOrchestration setTriggeredBy(RequestOrchestration context, Reference value) { + public static RequestOrchestration setTriggeredBy(RequestOrchestration context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(RequestOrchestration context) { + public static Reference getTriggeredByReference(RequestOrchestration context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public RequestOrchestration setTriggeredByUri(RequestOrchestration context, String value) { + public static RequestOrchestration setTriggeredByUri(RequestOrchestration context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public ServiceRequest setTriggeredByCanonical(ServiceRequest context, String value) { + public static ServiceRequest setTriggeredByCanonical(ServiceRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(ServiceRequest context) { + public static String getTriggeredByString(ServiceRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public ServiceRequest setTriggeredBy(ServiceRequest context, Reference value) { + public static ServiceRequest setTriggeredBy(ServiceRequest context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(ServiceRequest context) { + public static Reference getTriggeredByReference(ServiceRequest context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public ServiceRequest setTriggeredByUri(ServiceRequest context, String value) { + public static ServiceRequest setTriggeredByUri(ServiceRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public SupplyDelivery setTriggeredByCanonical(SupplyDelivery context, String value) { + public static SupplyDelivery setTriggeredByCanonical(SupplyDelivery context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(SupplyDelivery context) { + public static String getTriggeredByString(SupplyDelivery context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public SupplyDelivery setTriggeredBy(SupplyDelivery context, Reference value) { + public static SupplyDelivery setTriggeredBy(SupplyDelivery context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(SupplyDelivery context) { + public static Reference getTriggeredByReference(SupplyDelivery context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public SupplyDelivery setTriggeredByUri(SupplyDelivery context, String value) { + public static SupplyDelivery setTriggeredByUri(SupplyDelivery context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public SupplyRequest setTriggeredByCanonical(SupplyRequest context, String value) { + public static SupplyRequest setTriggeredByCanonical(SupplyRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(SupplyRequest context) { + public static String getTriggeredByString(SupplyRequest context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public SupplyRequest setTriggeredBy(SupplyRequest context, Reference value) { + public static SupplyRequest setTriggeredBy(SupplyRequest context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(SupplyRequest context) { + public static Reference getTriggeredByReference(SupplyRequest context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public SupplyRequest setTriggeredByUri(SupplyRequest context, String value) { + public static SupplyRequest setTriggeredByUri(SupplyRequest context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } - public Task setTriggeredByCanonical(Task context, String value) { + public static Task setTriggeredByCanonical(Task context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new CanonicalType(value)); return context; } - public String getTriggeredByString(Task context) { + public static String getTriggeredByString(Task context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Task setTriggeredBy(Task context, Reference value) { + public static Task setTriggeredBy(Task context, Reference value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, value); return context; } - public Reference getTriggeredByReference(Task context) { + public static Reference getTriggeredByReference(Task context) { return ExtensionsUtils.getExtension(Reference.class, context, ExtensionConstants.EXT_TRIGGERED_BY); } - public Task setTriggeredByUri(Task context, String value) { + public static Task setTriggeredByUri(Task context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_TRIGGERED_BY, new UriType(value)); return context; } @@ -11527,16 +11527,16 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/binding-definition|0.1.0 // Binding Definition - public Extension makeBindingDefinition(String value) { + public static Extension makeBindingDefinition(String value) { return new Extension(ExtensionConstants.EXT_BINDING_DEFINITION).setValue(new MarkdownType(value)); } - public org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addBindingDefinition(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent addBindingDefinition(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_BINDING_DEFINITION, new MarkdownType(value)); return context; } - public List getBindingDefinitionList(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { + public static List getBindingDefinitionList(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_BINDING_DEFINITION); } @@ -11544,16 +11544,16 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/binding-style|0.1.0 // Vocab Binding Style Extension - public Extension makeVocabBindingStylesEXT(String value) { + public static Extension makeVocabBindingStylesEXT(String value) { return new Extension(ExtensionConstants.EXT_VOCAB_BINDING_STYLES_E_X_T).setValue(new CodeType(value)); } - public StructureDefinition addVocabBindingStylesEXT(StructureDefinition context, String value) { + public static StructureDefinition addVocabBindingStylesEXT(StructureDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_VOCAB_BINDING_STYLES_E_X_T, new CodeType(value)); return context; } - public List getVocabBindingStylesEXTList(StructureDefinition context) { + public static List getVocabBindingStylesEXTList(StructureDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_VOCAB_BINDING_STYLES_E_X_T); } @@ -11561,16 +11561,16 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format|0.1.0 // Date Format String - public Extension makeDateFormat(String value) { + public static Extension makeDateFormat(String value) { return new Extension(ExtensionConstants.EXT_DATE_FORMAT).setValue(new StringType(value)); } - public ElementDefinition addDateFormat(ElementDefinition context, String value) { + public static ElementDefinition addDateFormat(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_DATE_FORMAT, new StringType(value)); return context; } - public List getDateFormatList(ElementDefinition context) { + public static List getDateFormatList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_DATE_FORMAT); } @@ -11578,16 +11578,16 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-json-name|0.1.0 // Json Property Name Extension - public Extension makeJsonPropertyName(String value) { + public static Extension makeJsonPropertyName(String value) { return new Extension(ExtensionConstants.EXT_JSON_PROPERTY_NAME).setValue(new StringType(value)); } - public ElementDefinition addJsonPropertyName(ElementDefinition context, String value) { + public static ElementDefinition addJsonPropertyName(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_PROPERTY_NAME, new StringType(value)); return context; } - public List getJsonPropertyNameList(ElementDefinition context) { + public static List getJsonPropertyNameList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_PROPERTY_NAME); } @@ -11595,16 +11595,16 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/extension-style|0.1.0 // Extension Style Extension - public Extension makeExtensionStylesEXT(String value) { + public static Extension makeExtensionStylesEXT(String value) { return new Extension(ExtensionConstants.EXT_EXTENSION_STYLES_E_X_T).setValue(new CodeType(value)); } - public StructureDefinition addExtensionStylesEXT(StructureDefinition context, String value) { + public static StructureDefinition addExtensionStylesEXT(StructureDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_EXTENSION_STYLES_E_X_T, new CodeType(value)); return context; } - public List getExtensionStylesEXTList(StructureDefinition context) { + public static List getExtensionStylesEXTList(StructureDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_EXTENSION_STYLES_E_X_T); } @@ -11612,25 +11612,25 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/id-expectation|0.1.0 // Id Expectation Extension - public Extension makeIdExpectationExt(String value) { + public static Extension makeIdExpectationExt(String value) { return new Extension(ExtensionConstants.EXT_ID_EXPECTATION_EXT).setValue(new CodeType(value)); } - public ElementDefinition addIdExpectationExt(ElementDefinition context, String value) { + public static ElementDefinition addIdExpectationExt(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ID_EXPECTATION_EXT, new CodeType(value)); return context; } - public List getIdExpectationExtList(ElementDefinition context) { + public static List getIdExpectationExtList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ID_EXPECTATION_EXT); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addIdExpectationExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addIdExpectationExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_ID_EXPECTATION_EXT, new CodeType(value)); return context; } - public List getIdExpectationExtList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static List getIdExpectationExtList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_ID_EXPECTATION_EXT); } @@ -11638,7 +11638,7 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/ig-page-name|0.1.0 // IG Page Name - public Extension makeIGPageName(String value) { + public static Extension makeIGPageName(String value) { return new Extension(ExtensionConstants.EXT_IGPAGE_NAME).setValue(new UrlType(value)); } @@ -11646,16 +11646,16 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/implementationguide-dependency-comment|0.1.0 // IG Dependency Comment - public Extension makeIGDependencyComment(String value) { + public static Extension makeIGDependencyComment(String value) { return new Extension(ExtensionConstants.EXT_IGDEPENDENCY_COMMENT).setValue(new MarkdownType(value)); } - public org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent addIGDependencyComment(org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent context, String value) { + public static org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent addIGDependencyComment(org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_IGDEPENDENCY_COMMENT, new MarkdownType(value)); return context; } - public List getIGDependencyCommentList(org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent context) { + public static List getIGDependencyCommentList(org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_IGDEPENDENCY_COMMENT); } @@ -11663,7 +11663,7 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/implementationguide-resource-format|0.1.0 // Binary Resource Format - public Extension makeBinaryResourceFormat(String value) { + public static Extension makeBinaryResourceFormat(String value) { return new Extension(ExtensionConstants.EXT_BINARY_RESOURCE_FORMAT).setValue(new CodeType(value)); } @@ -11671,7 +11671,7 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/implementationguide-resource-logical|0.1.0 // Binary Resource Logical - public Extension makeBinaryResourceLogical(String value) { + public static Extension makeBinaryResourceLogical(String value) { return new Extension(ExtensionConstants.EXT_BINARY_RESOURCE_LOGICAL).setValue(new CanonicalType(value)); } @@ -11679,16 +11679,16 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix|0.1.0 // Implied String Prefix - public Extension makeImpliedStringPrefix(String value) { + public static Extension makeImpliedStringPrefix(String value) { return new Extension(ExtensionConstants.EXT_IMPLIED_STRING_PREFIX).setValue(new StringType(value)); } - public ElementDefinition addImpliedStringPrefix(ElementDefinition context, String value) { + public static ElementDefinition addImpliedStringPrefix(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_IMPLIED_STRING_PREFIX, new StringType(value)); return context; } - public List getImpliedStringPrefixList(ElementDefinition context) { + public static List getImpliedStringPrefixList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_IMPLIED_STRING_PREFIX); } @@ -11696,25 +11696,25 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/json-empty-behavior|0.1.0 // Json Empty Behavior Extension - public Extension makeJsonEmptyBehavior(String value) { + public static Extension makeJsonEmptyBehavior(String value) { return new Extension(ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR).setValue(new CodeType(value)); } - public ElementDefinition addJsonEmptyBehavior(ElementDefinition context, String value) { + public static ElementDefinition addJsonEmptyBehavior(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR, new CodeType(value)); return context; } - public List getJsonEmptyBehaviorList(ElementDefinition context) { + public static List getJsonEmptyBehaviorList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addJsonEmptyBehavior(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addJsonEmptyBehavior(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR, new CodeType(value)); return context; } - public List getJsonEmptyBehaviorList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static List getJsonEmptyBehaviorList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_EMPTY_BEHAVIOR); } @@ -11722,25 +11722,25 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/json-nullable|0.1.0 // Json Nullable Extension - public Extension makeJsonNullableExt(boolean value) { + public static Extension makeJsonNullableExt(boolean value) { return new Extension(ExtensionConstants.EXT_JSON_NULLABLE_EXT).setValue(new BooleanType(value)); } - public ElementDefinition setJsonNullableExt(ElementDefinition context, boolean value) { + public static ElementDefinition setJsonNullableExt(ElementDefinition context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_JSON_NULLABLE_EXT, new BooleanType(value)); return context; } - public Boolean getJsonNullableExt(ElementDefinition context) { + public static Boolean getJsonNullableExt(ElementDefinition context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_JSON_NULLABLE_EXT); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setJsonNullableExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setJsonNullableExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_JSON_NULLABLE_EXT, new BooleanType(value)); return context; } - public Boolean getJsonNullableExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static Boolean getJsonNullableExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_JSON_NULLABLE_EXT); } @@ -11748,25 +11748,25 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/json-primitive-choice|0.1.0 // Json Primitive Choice Extension - public Extension makeJsonPrimitiveChoiceExt(boolean value) { + public static Extension makeJsonPrimitiveChoiceExt(boolean value) { return new Extension(ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT).setValue(new BooleanType(value)); } - public ElementDefinition setJsonPrimitiveChoiceExt(ElementDefinition context, boolean value) { + public static ElementDefinition setJsonPrimitiveChoiceExt(ElementDefinition context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT, new BooleanType(value)); return context; } - public Boolean getJsonPrimitiveChoiceExt(ElementDefinition context) { + public static Boolean getJsonPrimitiveChoiceExt(ElementDefinition context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setJsonPrimitiveChoiceExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setJsonPrimitiveChoiceExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT, new BooleanType(value)); return context; } - public Boolean getJsonPrimitiveChoiceExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static Boolean getJsonPrimitiveChoiceExt(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_JSON_PRIMITIVE_CHOICE_EXT); } @@ -11774,25 +11774,25 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/json-property-key|0.1.0 // Json Property Key Extension - public Extension makeJsonPropertyKey(String value) { + public static Extension makeJsonPropertyKey(String value) { return new Extension(ExtensionConstants.EXT_JSON_PROPERTY_KEY).setValue(new CodeType(value)); } - public ElementDefinition addJsonPropertyKey(ElementDefinition context, String value) { + public static ElementDefinition addJsonPropertyKey(ElementDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_PROPERTY_KEY, new CodeType(value)); return context; } - public List getJsonPropertyKeyList(ElementDefinition context) { + public static List getJsonPropertyKeyList(ElementDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_PROPERTY_KEY); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addJsonPropertyKey(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent addJsonPropertyKey(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_JSON_PROPERTY_KEY, new CodeType(value)); return context; } - public List getJsonPropertyKeyList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static List getJsonPropertyKeyList(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_JSON_PROPERTY_KEY); } @@ -11800,25 +11800,25 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/no-binding|0.1.0 // No Binding Extension - public Extension makeNoBinding(boolean value) { + public static Extension makeNoBinding(boolean value) { return new Extension(ExtensionConstants.EXT_NO_BINDING).setValue(new BooleanType(value)); } - public ElementDefinition setNoBinding(ElementDefinition context, boolean value) { + public static ElementDefinition setNoBinding(ElementDefinition context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NO_BINDING, new BooleanType(value)); return context; } - public Boolean getNoBinding(ElementDefinition context) { + public static Boolean getNoBinding(ElementDefinition context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_NO_BINDING); } - public org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setNoBinding(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { + public static org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent setNoBinding(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NO_BINDING, new BooleanType(value)); return context; } - public Boolean getNoBinding(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { + public static Boolean getNoBinding(org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_NO_BINDING); } @@ -11826,7 +11826,7 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/profile-mapping|0.1.0 // Profile Mapping Extension - public Extension makeProfileMapping(DataType value) { + public static Extension makeProfileMapping(DataType value) { return new Extension(ExtensionConstants.EXT_PROFILE_MAPPING).setValue(value); } @@ -11834,16 +11834,16 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/profile-summary|0.1.0 // ProfileSummary - public Extension makeProfileSummary(String value) { + public static Extension makeProfileSummary(String value) { return new Extension(ExtensionConstants.EXT_PROFILE_SUMMARY).setValue(new MarkdownType(value)); } - public StructureDefinition addProfileSummary(StructureDefinition context, String value) { + public static StructureDefinition addProfileSummary(StructureDefinition context, String value) { ExtensionsUtils.addExtension(context, ExtensionConstants.EXT_PROFILE_SUMMARY, new MarkdownType(value)); return context; } - public List getProfileSummaryList(StructureDefinition context) { + public static List getProfileSummaryList(StructureDefinition context) { return ExtensionsUtils.getExtensionStringList(context, ExtensionConstants.EXT_PROFILE_SUMMARY); } @@ -11851,7 +11851,7 @@ public class Extensions { // http://hl7.org/fhir/tools/StructureDefinition/select-by-map|0.1.0 // Select By Map - public Extension makeSelectByMap(String value) { + public static Extension makeSelectByMap(String value) { return new Extension(ExtensionConstants.EXT_SELECT_BY_MAP).setValue(new CanonicalType(value)); } @@ -11859,16 +11859,16 @@ public class Extensions { // http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName|0.0.34 // MIF concept relationship inverse name - public Extension makeSupportedConceptRelationshipInverseName(String value) { + public static Extension makeSupportedConceptRelationshipInverseName(String value) { return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_INVERSE_NAME).setValue(new StringType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipInverseName(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { + public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipInverseName(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_INVERSE_NAME, new StringType(value)); return context; } - public String getSupportedConceptRelationshipInverseName(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { + public static String getSupportedConceptRelationshipInverseName(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_INVERSE_NAME); } @@ -11876,16 +11876,16 @@ public class Extensions { // http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable|0.0.34 // MIF concept relationship is navigable - public Extension makeSupportedConceptRelationshipIsNavigable(boolean value) { + public static Extension makeSupportedConceptRelationshipIsNavigable(boolean value) { return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_IS_NAVIGABLE).setValue(new BooleanType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipIsNavigable(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, boolean value) { + public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipIsNavigable(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, boolean value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_IS_NAVIGABLE, new BooleanType(value)); return context; } - public Boolean getSupportedConceptRelationshipIsNavigable(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { + public static Boolean getSupportedConceptRelationshipIsNavigable(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { return ExtensionsUtils.getExtensionBoolean(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_IS_NAVIGABLE); } @@ -11893,16 +11893,16 @@ public class Extensions { // http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity|0.0.34 // MIF concept relationship is reflexivity - public Extension makeSupportedConceptRelationshipReflexivity(String value) { + public static Extension makeSupportedConceptRelationshipReflexivity(String value) { return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_REFLEXIVITY).setValue(new CodeType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipReflexivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { + public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipReflexivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_REFLEXIVITY, new CodeType(value)); return context; } - public String getSupportedConceptRelationshipReflexivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { + public static String getSupportedConceptRelationshipReflexivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_REFLEXIVITY); } @@ -11910,16 +11910,16 @@ public class Extensions { // http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind|0.0.34 // MIF concept relationship kind - public Extension makeSupportedConceptRelationshipRelationshipKind(String value) { + public static Extension makeSupportedConceptRelationshipRelationshipKind(String value) { return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_RELATIONSHIP_KIND).setValue(new CodeType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipRelationshipKind(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { + public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipRelationshipKind(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_RELATIONSHIP_KIND, new CodeType(value)); return context; } - public String getSupportedConceptRelationshipRelationshipKind(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { + public static String getSupportedConceptRelationshipRelationshipKind(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_RELATIONSHIP_KIND); } @@ -11927,16 +11927,16 @@ public class Extensions { // http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry|0.0.34 // MIF concept relationship symmetry - public Extension makeSupportedConceptRelationshipSymmetry(String value) { + public static Extension makeSupportedConceptRelationshipSymmetry(String value) { return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_SYMMETRY).setValue(new CodeType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipSymmetry(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { + public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipSymmetry(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_SYMMETRY, new CodeType(value)); return context; } - public String getSupportedConceptRelationshipSymmetry(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { + public static String getSupportedConceptRelationshipSymmetry(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_SYMMETRY); } @@ -11944,16 +11944,16 @@ public class Extensions { // http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity|0.0.34 // MIF concept relationship transitivity - public Extension makeSupportedConceptRelationshipTransitivity(String value) { + public static Extension makeSupportedConceptRelationshipTransitivity(String value) { return new Extension(ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_TRANSITIVITY).setValue(new CodeType(value)); } - public org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipTransitivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { + public static org.hl7.fhir.r5.model.CodeSystem.PropertyComponent setSupportedConceptRelationshipTransitivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_TRANSITIVITY, new CodeType(value)); return context; } - public String getSupportedConceptRelationshipTransitivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { + public static String getSupportedConceptRelationshipTransitivity(org.hl7.fhir.r5.model.CodeSystem.PropertyComponent context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_SUPPORTED_CONCEPT_RELATIONSHIP_TRANSITIVITY); } @@ -11961,16 +11961,16 @@ public class Extensions { // http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title|0.0.34 // NamingSystem title - public Extension makeNamingSystemTitle(String value) { + public static Extension makeNamingSystemTitle(String value) { return new Extension(ExtensionConstants.EXT_NAMING_SYSTEM_TITLE).setValue(new StringType(value)); } - public NamingSystem setNamingSystemTitle(NamingSystem context, String value) { + public static NamingSystem setNamingSystemTitle(NamingSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NAMING_SYSTEM_TITLE, new StringType(value)); return context; } - public String getNamingSystemTitle(NamingSystem context) { + public static String getNamingSystemTitle(NamingSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NAMING_SYSTEM_TITLE); } @@ -11978,16 +11978,16 @@ public class Extensions { // http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version|0.0.34 // NamingSystem version - public Extension makeNamingSystemVersion(String value) { + public static Extension makeNamingSystemVersion(String value) { return new Extension(ExtensionConstants.EXT_NAMING_SYSTEM_VERSION).setValue(new StringType(value)); } - public NamingSystem setNamingSystemVersion(NamingSystem context, String value) { + public static NamingSystem setNamingSystemVersion(NamingSystem context, String value) { ExtensionsUtils.setExtension(context, ExtensionConstants.EXT_NAMING_SYSTEM_VERSION, new StringType(value)); return context; } - public String getNamingSystemVersion(NamingSystem context) { + public static String getNamingSystemVersion(NamingSystem context) { return ExtensionsUtils.getExtensionString(context, ExtensionConstants.EXT_NAMING_SYSTEM_VERSION); } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/formats/ResourceFolderVisitor.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/formats/ResourceFolderVisitor.java new file mode 100644 index 000000000..42a88b912 --- /dev/null +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/formats/ResourceFolderVisitor.java @@ -0,0 +1,72 @@ +package org.hl7.fhir.r5.utils.formats; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.util.ArrayList; +import java.util.List; + +import javax.sound.sampled.FloatControl.Type; + +import org.hl7.fhir.r5.formats.JsonParser; +import org.hl7.fhir.r5.formats.XmlParser; +import org.hl7.fhir.r5.formats.IParser.OutputStyle; +import org.hl7.fhir.r5.model.Resource; + +public class ResourceFolderVisitor { + + public interface IResourceObserver { + public boolean visitResource(String filename, Resource resource); + } + + private IResourceObserver observer; + private List types = new ArrayList<>(); + + public ResourceFolderVisitor(IResourceObserver observer) { + super(); + this.observer = observer; + } + + public ResourceFolderVisitor(IResourceObserver observer, String... types) { + super(); + this.observer = observer; + for (String t : types) { + this.types.add(t); + } + } + + + public void visit(String folder) { + visit(new File(folder)); + } + + public void visit(File file) { + for (File f : file.listFiles()) { + if (f.isDirectory()) { + visit(f); + } else if (f.getName().endsWith(".xml")) { + try { + Resource res = new XmlParser().parse(new FileInputStream(f)); + if (types.isEmpty() || types.contains(res.fhirType())) { + if (observer.visitResource(f.getAbsolutePath(), res)) { + new XmlParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream(f), res); + } + } + } catch (Exception e) { + } + } else if (f.getName().endsWith(".json")) { + try { + Resource res = new JsonParser().parse(new FileInputStream(f)); + if (types.isEmpty() || types.contains(res.fhirType())) { + if (observer.visitResource(f.getAbsolutePath(), res)) { + new JsonParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream(f), res); + } + } + } catch (Exception e) { + } + } + } + } + + +}