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

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

Best Java code snippets using ca.uhn.fhir.model.dstu2.resource.Encounter$Participant.getType (Showing top 6 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: org.carewebframework/org.carewebframework.cal.api.core

public static boolean removeType(Participant participant, CodingDt participationType) {
  CodeableConceptDt cpt;
  boolean found = false;
  
  while ((cpt = findType(participant, participationType)) != null) {
    participant.getType().remove(cpt);
    found = true;
  }
  
  return found;
}

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

/**
 * Add a value for <b>type</b> ()
 *
 * <p>
 * <b>Definition:</b>
 * Role of participant in encounter
 * </p> 
 */
public BoundCodeableConceptDt<ParticipantTypeEnum> addType() {
  BoundCodeableConceptDt<ParticipantTypeEnum> retVal = new BoundCodeableConceptDt<ParticipantTypeEnum>(ParticipantTypeEnum.VALUESET_BINDER);
  getType().add(retVal);
  return retVal;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

/**
 * Add a value for <b>type</b> () using an enumerated type. This
 * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory
 * or contain the desirable codes. If you wish to use codes other than those which are built-in, 
 * you may also use the {@link #addType()} method.
 *
 * <p>
 * <b>Definition:</b>
 * Role of participant in encounter
 * </p> 
 */
public BoundCodeableConceptDt<ParticipantTypeEnum> addType(ParticipantTypeEnum theValue) {
  BoundCodeableConceptDt<ParticipantTypeEnum> retVal = new BoundCodeableConceptDt<ParticipantTypeEnum>(ParticipantTypeEnum.VALUESET_BINDER, theValue);
  getType().add(retVal);
  return retVal;
}
origin: org.carewebframework/org.carewebframework.cal.api.core

private static CodeableConceptDt findType(Participant participant, CodingDt participationType) {
  if (participant != null) {
    for (CodeableConceptDt tp : participant.getType()) {
      for (CodingDt coding : tp.getCoding()) {
        if (coding.getSystem().equals(participationType.getSystem())
            && coding.getCode().equals(participationType.getCode())) {
          return tp;
        }
      }
    }
  }
  
  return null;
}

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;
}
ca.uhn.fhir.model.dstu2.resourceEncounter$ParticipantgetType

Javadoc

Gets the value(s) for type (). creating it if it does not exist. Will not return null.

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>
  • addType
    Add a value for type () using an enumerated type. This is intended as a convenience method for situa
  • isEmpty
  • setIndividual
    Sets the value(s) for individual (who)Definition:

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JLabel (javax.swing)
  • Top PhpStorm 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