Tabnine Logo
DurationDt.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
ca.uhn.fhir.model.dstu2.composite.DurationDt
constructor

Best Java code snippets using ca.uhn.fhir.model.dstu2.composite.DurationDt.<init> (Showing top 3 results out of 315)

origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

/**
 * Gets the value(s) for <b>expectedSupplyDuration</b> ().
 * creating it if it does
 * not exist. Will not return <code>null</code>.
 *
 * <p>
 * <b>Definition:</b>
 * Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.
 * </p> 
 */
public DurationDt getExpectedSupplyDuration() {  
  if (myExpectedSupplyDuration == null) {
    myExpectedSupplyDuration = new DurationDt();
  }
  return myExpectedSupplyDuration;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

/**
 * Gets the value(s) for <b>length</b> ().
 * creating it if it does
 * not exist. Will not return <code>null</code>.
 *
 * <p>
 * <b>Definition:</b>
 * Quantity of time the encounter lasted. This excludes the time during leaves of absence.
 * </p> 
 */
public DurationDt getLength() {  
  if (myLength == null) {
    myLength = new DurationDt();
  }
  return myLength;
}
origin: jamesagnew/hapi-fhir

javax.measure.converter.UnitConverter dayConverter = unit.getConverterTo(NonSI.DAY);
double dayValue = dayConverter.convert(nextValue.getValue().doubleValue());
DurationDt newValue = new DurationDt();
newValue.setSystem(SearchParamConstants.UCUM_NS);
newValue.setCode(NonSI.DAY.toString());
ca.uhn.fhir.model.dstu2.compositeDurationDt<init>

Popular methods of DurationDt

  • getCode
  • getSystemElement
  • getValue
  • getValueElement
  • setCode
  • setSystem
  • setValue

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top Sublime Text plugins
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