/** * @return {@link #format} (A list of the formats supported by this implementation using their content types.) */ public CodeType addFormatElement() {//2 CodeType t = new CodeType(); if (this.format == null) this.format = new ArrayList<CodeType>(); this.format.add(t); return t; }
/** * @return {@link #resource} (The types on which this operation can be executed.) */ public CodeType addResourceElement() {//2 CodeType t = new CodeType(); if (this.resource == null) this.resource = new ArrayList<CodeType>(); this.resource.add(t); return t; }
/** * @param value Specifies a code for the concept to be included or excluded. */ public ConceptReferenceComponent setCode(String value) { if (this.code == null) this.code = new CodeType(); this.code.setValue(value); return this; }
/** * @param value MimeType of the binary content represented as a standard MimeType (BCP 13). */ public Binary setContentType(String value) { if (this.contentType == null) this.contentType = new CodeType(); this.contentType.setValue(value); return this; }
/** * @param value The type of resource that all instances must conform to. */ public ImplementationGuideGlobalComponent setType(String value) { if (this.type == null) this.type = new CodeType(); this.type.setValue(value); return this; }
public static CodeType newCode(String value) { if (value == null) return null; CodeType res = new CodeType(); res.setValue(value); return res; }
/** * @param value A type of resource exposed via the restful interface. */ public CapabilityStatementRestResourceComponent setType(String value) { if (this.type == null) this.type = new CodeType(); this.type.setValue(value); return this; }
/** * @param value The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile. */ public DataRequirement setType(String value) { if (this.type == null) this.type = new CodeType(); this.type.setValue(value); return this; }
/** * @param value {@link #resource} (The types on which this operation can be executed.) */ public OperationDefinition addResource(String value) { //1 CodeType t = new CodeType(); t.setValue(value); if (this.resource == null) this.resource = new ArrayList<CodeType>(); this.resource.add(t); return this; }
/** * @return {@link #code} (The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value */ public CodeType getCodeElement() { if (this.code == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ValueSetExpansionContainsComponent.code"); else if (Configuration.doAutoCreate()) this.code = new CodeType(); // bb return this.code; }
/** * @return {@link #contentType} (Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value */ public CodeType getContentTypeElement() { if (this.contentType == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Attachment.contentType"); else if (Configuration.doAutoCreate()) this.contentType = new CodeType(); // bb return this.contentType; }
/** * @return {@link #contentType} (MimeType of the binary content represented as a standard MimeType (BCP 13).). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value */ public CodeType getContentTypeElement() { if (this.contentType == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Binary.contentType"); else if (Configuration.doAutoCreate()) this.contentType = new CodeType(); // bb return this.contentType; }
/** * @return {@link #code} (Type of template specified.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value */ public CodeType getCodeElement() { if (this.code == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImplementationGuideDefinitionTemplateComponent.code"); else if (Configuration.doAutoCreate()) this.code = new CodeType(); // bb return this.code; }
} public boolean hasStatusElement() { return this.status != null && !this.status.isEmpty(); } public boolean hasStatus() { return this.status != null && !this.status.isEmpty(); } /** * @param value {@link #status} (Will generally be set to show that the administration has been completed. For some long running administrations such as infusions, it is possible for an administration to be started but not completed or it may be paused while some other process is under way.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
/** * @return {@link #targetFormat} (A mime type that indicates the technical format of the target resources signed by the signature.). This is the underlying object with id, value and extensions. The accessor "getTargetFormat" gives direct access to the value */ public CodeType getTargetFormatElement() { if (this.targetFormat == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Signature.targetFormat"); else if (Configuration.doAutoCreate()) this.targetFormat = new CodeType(); // bb return this.targetFormat; }
/** * @return {@link #code} (A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value */ public CodeType getCodeElement() { if (this.code == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Coding.code"); else if (Configuration.doAutoCreate()) this.code = new CodeType(); // bb return this.code; }
/** * @return {@link #name} (The name of the parameter used to allow access to the value of the parameter in evaluation contexts.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value */ public CodeType getNameElement() { if (this.name == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ParameterDefinition.name"); else if (Configuration.doAutoCreate()) this.name = new CodeType(); // bb return this.name; }
/** * @return {@link #type} (The type of the parameter.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value */ public CodeType getTypeElement() { if (this.type == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ParameterDefinition.type"); else if (Configuration.doAutoCreate()) this.type = new CodeType(); // bb return this.type; }
/** * @return {@link #name} (The name of used to identify the parameter.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value */ public CodeType getNameElement() { if (this.name == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create OperationDefinitionParameterComponent.name"); else if (Configuration.doAutoCreate()) this.name = new CodeType(); // bb return this.name; }
@Override public CodeType copy() { CodeType ret = new CodeType(getValue()); copyValues(ret); return ret; }