Tabnine Logo
BoundCodeDt.setValueAsString
Code IndexAdd Tabnine to your IDE (free)

How to use
setValueAsString
method
in
ca.uhn.fhir.model.primitive.BoundCodeDt

Best Java code snippets using ca.uhn.fhir.model.primitive.BoundCodeDt.setValueAsString (Showing top 14 results out of 315)

origin: jamesagnew/hapi-fhir

@Override
public INarrative setStatusAsString(String theString) {
  getStatus().setValueAsString(theString);
  return this;
}
origin: jamesagnew/hapi-fhir

((IResource) input).getText().getStatus().setValueAsString((String) null);
if (input instanceof Bundle) {
  for (Entry nextEntry : ((Bundle) input).getEntry()) {
    if (nextEntry.getResource() != null) {
      nextEntry.getResource().getText().getDiv().setValueAsString((String) null);
      nextEntry.getResource().getText().getStatus().setValueAsString((String) null);
origin: jamesagnew/hapi-fhir

entry.getRequest().getMethodElement().setValueAsString(httpVerb.getCode());
origin: jamesagnew/hapi-fhir

BundleEntryTransactionMethodEnum httpVerb = ResourceMetadataKeyEnum.ENTRY_TRANSACTION_METHOD.get(next);
if (httpVerb != null) {
  entry.getRequest().getMethodElement().setValueAsString(httpVerb.getCode());
origin: jamesagnew/hapi-fhir

@Override
public void addRootPropertiesToBundle(String theId, String theServerBase, String theLinkSelf, String theLinkPrev, String theLinkNext, Integer theTotalResults, BundleTypeEnum theBundleType,
                         IPrimitiveType<Date> theLastUpdated) {
  myBase = theServerBase;
  if (myBundle.getIdElement().isEmpty()) {
    myBundle.setId(theId);
  }
  if (myBundle.getId().isEmpty()) {
    myBundle.setId(UUID.randomUUID().toString());
  }
  if (ResourceMetadataKeyEnum.UPDATED.get(myBundle) == null) {
    ResourceMetadataKeyEnum.UPDATED.put(myBundle, (InstantDt) theLastUpdated);
  }
  if (!hasLink(Constants.LINK_SELF, myBundle) && isNotBlank(theLinkSelf)) {
    myBundle.addLink().setRelation(Constants.LINK_SELF).setUrl(theLinkSelf);
  }
  if (!hasLink(Constants.LINK_NEXT, myBundle) && isNotBlank(theLinkNext)) {
    myBundle.addLink().setRelation(Constants.LINK_NEXT).setUrl(theLinkNext);
  }
  if (!hasLink(Constants.LINK_PREVIOUS, myBundle) && isNotBlank(theLinkPrev)) {
    myBundle.addLink().setRelation(Constants.LINK_PREVIOUS).setUrl(theLinkPrev);
  }
  if (myBundle.getTypeElement().isEmpty() && theBundleType != null) {
    myBundle.getTypeElement().setValueAsString(theBundleType.getCode());
  }
  if (myBundle.getTotalElement().isEmpty() && theTotalResults != null) {
    myBundle.getTotalElement().setValue(theTotalResults);
  }
}
origin: ca.uhn.hapi.fhir/hapi-fhir-base

@Override
public INarrative setStatusAsString(String theString) {
  getStatus().setValueAsString(theString);
  return this;
}
origin: jamesagnew/hapi-fhir

myBundle.getTypeElement().setValueAsString(theBundleType.getCode());
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

param.getTypeElement().setValueAsString(nextParameter.getParamType().getCode());
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

entry.getRequest().getMethodElement().setValueAsString(httpVerb.getCode());
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

BundleEntryTransactionMethodEnum httpVerb = ResourceMetadataKeyEnum.ENTRY_TRANSACTION_METHOD.get(next);
if (httpVerb != null) {
  entry.getRequest().getMethodElement().setValueAsString(httpVerb.getCode());
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

@Override
public void addRootPropertiesToBundle(String theId, String theServerBase, String theLinkSelf, String theLinkPrev, String theLinkNext, Integer theTotalResults, BundleTypeEnum theBundleType,
                         IPrimitiveType<Date> theLastUpdated) {
  ensureBundle();
  myBase = theServerBase;
  if (myBundle.getIdElement().isEmpty()) {
    myBundle.setId(theId);
  }
  if (myBundle.getId().isEmpty()) {
    myBundle.setId(UUID.randomUUID().toString());
  }
  if (ResourceMetadataKeyEnum.UPDATED.get(myBundle) == null) {
    ResourceMetadataKeyEnum.UPDATED.put(myBundle, (InstantDt) theLastUpdated);
  }
  if (!hasLink(Constants.LINK_SELF, myBundle) && isNotBlank(theLinkSelf)) {
    myBundle.addLink().setRelation(Constants.LINK_SELF).setUrl(theLinkSelf);
  }
  if (!hasLink(Constants.LINK_NEXT, myBundle) && isNotBlank(theLinkNext)) {
    myBundle.addLink().setRelation(Constants.LINK_NEXT).setUrl(theLinkNext);
  }
  if (!hasLink(Constants.LINK_PREVIOUS, myBundle) && isNotBlank(theLinkPrev)) {
    myBundle.addLink().setRelation(Constants.LINK_PREVIOUS).setUrl(theLinkPrev);
  }
  if (myBundle.getTypeElement().isEmpty() && theBundleType != null) {
    myBundle.getTypeElement().setValueAsString(theBundleType.getCode());
  }
  if (myBundle.getTotalElement().isEmpty() && theTotalResults != null) {
    myBundle.getTotalElement().setValue(theTotalResults);
  }
}
origin: org.carewebframework/org.carewebframework.cal.api.core

result.getUseElement().setValueAsString(value);
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu

@Override
public void addRootPropertiesToBundle(String theAuthor, String theServerBase, String theCompleteUrl, Integer theTotalResults, BundleTypeEnum theBundleType, IPrimitiveType<Date> theLastUpdated) {
  if (myBundle.getAuthorName().isEmpty()) {
    myBundle.getAuthorName().setValue(theAuthor);
  }
  if (theLastUpdated != null && myBundle.getUpdated().isEmpty() && isNotBlank(theLastUpdated.getValueAsString())) {
    myBundle.getUpdated().setValueAsString(theLastUpdated.getValueAsString());
  }
  if (myBundle.getBundleId().isEmpty()) {
    myBundle.getBundleId().setValue(UUID.randomUUID().toString());
  }
  if (myBundle.getLinkBase().isEmpty()) {
    myBundle.getLinkBase().setValue(theServerBase);
  }
  if (myBundle.getLinkSelf().isEmpty()) {
    myBundle.getLinkSelf().setValue(theCompleteUrl);
  }
  if (theBundleType != null && myBundle.getType().isEmpty()) {
    myBundle.getType().setValueAsString(theBundleType.getCode());
  }
  if (myBundle.getTotalResults().isEmpty() && theTotalResults != null) {
    myBundle.getTotalResults().setValue(theTotalResults);
  }
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

myBundle.getTypeElement().setValueAsString(theBundleType.getCode());
ca.uhn.fhir.model.primitiveBoundCodeDtsetValueAsString

Popular methods of BoundCodeDt

  • getValueAsEnum
  • getValue
  • setValue
  • getValueAsString
  • setValueAsEnum
  • <init>
  • isEmpty
  • getBinder

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • String (java.lang)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now