/** * @return The identifier of a specific version of a resource. */ public String getVersionId() { return this.versionId == null ? null : this.versionId.getValue(); }
/** * @param value The match value may be either a code defined by the system, or a string value, which is a regex match on the literal string of the property value (if the filter represents a property defined in CodeSystem) or of the system filter value (if the filter represents a filter defined in CodeSystem) when the operation is 'regex', or one of the values (true and false), when the operation is 'exists'. */ public ConceptSetFilterComponent setValue(String value) { if (this.value == null) this.value = new StringType(); this.value.setValue(value); return this; }
public boolean hasModification() { if (this.modification == null) return false; for (StringType item : this.modification) if (!item.isEmpty()) return true; return false; }
private String describeCardinality(ElementDefinition definition, ElementDefinition fallback, UnusedTracker tracker) { IntegerType min = definition.hasMinElement() ? definition.getMinElement() : new IntegerType(); StringType max = definition.hasMaxElement() ? definition.getMaxElement() : new StringType(); if (min.isEmpty() && fallback != null) min = fallback.getMinElement(); if (max.isEmpty() && fallback != null) max = fallback.getMaxElement(); tracker.used = !max.isEmpty() && !max.getValue().equals("0"); if (min.isEmpty() && max.isEmpty()) return null; else return (!min.hasValue() ? "" : Integer.toString(min.getValue())) + ".." + (!max.hasValue() ? "" : max.getValue()); }
public static org.hl7.fhir.dstu2016may.model.StringType convertString(org.hl7.fhir.r4.model.StringType src) throws FHIRException { org.hl7.fhir.dstu2016may.model.StringType tgt = new org.hl7.fhir.dstu2016may.model.StringType(); if (src.hasValue()) tgt.setValue(src.getValue()); copyElement(src, tgt); return tgt; }
public String castToXhtmlString(Base b) throws FHIRException { if (b instanceof Element) { return ((Element) b).getValue(); } else if (b instanceof XhtmlType) { try { return new XhtmlComposer(true).compose(((XhtmlType) b).getValue()); } catch (IOException e) { return null; } } else if (b instanceof StringType) { return ((StringType) b).asStringValue(); } else throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to XHtml string"); }
public static org.hl7.fhir.dstu2016may.model.StructureMap.StructureMapGroupRuleDependentComponent convertStructureMapGroupRuleDependentComponent(org.hl7.fhir.r4.model.StructureMap.StructureMapGroupRuleDependentComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2016may.model.StructureMap.StructureMapGroupRuleDependentComponent tgt = new org.hl7.fhir.dstu2016may.model.StructureMap.StructureMapGroupRuleDependentComponent(); copyElement(src, tgt); tgt.setName(src.getName()); for (org.hl7.fhir.r4.model.StringType t : src.getVariable()) tgt.addVariable(t.asStringValue()); return tgt; }
/** * @param value ID or acronym of actor. */ public ExampleScenarioActorComponent setActorId(String value) { if (this.actorId == null) this.actorId = new StringType(); this.actorId.setValue(value); return this; }
/** * @return The diagram title of the group of operations. */ public String getTitle() { return this.title == null ? null : this.title.getValue(); }
public boolean hasLinkId() { if (this.linkId == null) return false; for (StringType item : this.linkId) if (!item.isEmpty()) return true; return false; }
/** * @param value Each resource contained in the instance. */ public ExampleScenarioInstanceContainedInstanceComponent setResourceId(String value) { if (this.resourceId == null) this.resourceId = new StringType(); this.resourceId.setValue(value); return this; }
/** * @return The label to display for the alternative that gives a sense of the circumstance in which the alternative should be invoked. */ public String getTitle() { return this.title == null ? null : this.title.getValue(); }
public boolean hasReasonLinkId() { if (this.reasonLinkId == null) return false; for (StringType item : this.reasonLinkId) if (!item.isEmpty()) return true; return false; }
/** * @param value The label to display for the alternative that gives a sense of the circumstance in which the alternative should be invoked. */ public ExampleScenarioProcessStepAlternativeComponent setTitle(String value) { if (this.title == null) this.title = new StringType(); this.title.setValue(value); return this; }
/** * @return The name of the organization or individual that published the example scenario. */ public String getPublisher() { return this.publisher == null ? null : this.publisher.getValue(); }
public boolean hasAlias() { if (this.alias == null) return false; for (StringType item : this.alias) if (!item.isEmpty()) return true; return false; }
/** * @param value A description of what the value for the filter should be. */ public CodeSystemFilterComponent setValue(String value) { if (this.value == null) this.value = new StringType(); this.value.setValue(value); return this; }
/** * @return The identifier that is used to identify this version of the code system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the code system author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. This is used in [Coding](datatypes.html#Coding).version. */ public String getVersion() { return this.version == null ? null : this.version.getValue(); }
public boolean hasLine() { if (this.line == null) return false; for (StringType item : this.line) if (!item.isEmpty()) return true; return false; }
/** * @param value The type of extra detail provided in the value. */ public AuditEventEntityDetailComponent setType(String value) { if (this.type == null) this.type = new StringType(); this.type.setValue(value); return this; }