Tabnine Logo
Encounter$Participant.addType
Code IndexAdd Tabnine to your IDE (free)

How to use
addType
method
in
ca.uhn.fhir.model.dstu2.resource.Encounter$Participant

Best Java code snippets using ca.uhn.fhir.model.dstu2.resource.Encounter$Participant.addType (Showing top 3 results out of 315)

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

/**
 * Gets the first repetition for <b>type</b> (),
 * creating it if it does not already exist.
 *
 * <p>
 * <b>Definition:</b>
 * Role of participant in encounter
 * </p> 
 */
public BoundCodeableConceptDt<ParticipantTypeEnum> getTypeFirstRep() {
  if (getType().size() == 0) {
    addType();
  }
  return getType().get(0);
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

/**
 * Sets the value(s), and clears any existing value(s) for <b>type</b> ()
 *
 * <p>
 * <b>Definition:</b>
 * Role of participant in encounter
 * </p> 
 */
public Participant setType(ParticipantTypeEnum theValue) {
  getType().clear();
  addType(theValue);
  return this;
}
origin: org.carewebframework/org.carewebframework.cal.api.core

public static boolean addType(Participant participant, CodingDt participationType) {
  if (!hasType(participant, participationType)) {
    CodeableConceptDt cpt = participant.addType();
    cpt.getCoding().add(participationType);
    return true;
  }
  
  return false;
}

ca.uhn.fhir.model.dstu2.resourceEncounter$ParticipantaddType

Javadoc

Add a value for type ()

Definition: Role of participant in encounter

Popular methods of Encounter$Participant

  • getIndividual
    Gets the value(s) for individual (who). creating it if it does not exist. Will not return null.Defin
  • <init>
  • getType
    Gets the value(s) for type (). creating it if it does not exist. Will not return null.Definition: R
  • isEmpty
  • setIndividual
    Sets the value(s) for individual (who)Definition:

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Top Vim 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