Tabnine Logo
CapabilityStatement$CapabilityStatementRestComponent.getCompartment
Code IndexAdd Tabnine to your IDE (free)

How to use
getCompartment
method
in
org.hl7.fhir.dstu3.model.CapabilityStatement$CapabilityStatementRestComponent

Best Java code snippets using org.hl7.fhir.dstu3.model.CapabilityStatement$CapabilityStatementRestComponent.getCompartment (Showing top 6 results out of 315)

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

@Override
public Base setProperty(String name, Base value) throws FHIRException {
 if (name.equals("mode")) {
  value = new RestfulCapabilityModeEnumFactory().fromType(castToCode(value));
  this.mode = (Enumeration) value; // Enumeration<RestfulCapabilityMode>
 } else if (name.equals("documentation")) {
  this.documentation = castToString(value); // StringType
 } else if (name.equals("security")) {
  this.security = (CapabilityStatementRestSecurityComponent) value; // CapabilityStatementRestSecurityComponent
 } else if (name.equals("resource")) {
  this.getResource().add((CapabilityStatementRestResourceComponent) value);
 } else if (name.equals("interaction")) {
  this.getInteraction().add((SystemInteractionComponent) value);
 } else if (name.equals("searchParam")) {
  this.getSearchParam().add((CapabilityStatementRestResourceSearchParamComponent) value);
 } else if (name.equals("operation")) {
  this.getOperation().add((CapabilityStatementRestOperationComponent) value);
 } else if (name.equals("compartment")) {
  this.getCompartment().add(castToUri(value));
 } else
  return super.setProperty(name, value);
 return value;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu3

 return value;
case -397756334: // compartment
 this.getCompartment().add(castToUri(value)); // UriType
 return value;
default: return super.setProperty(hash, name, value);
origin: ca.uhn.hapi.fhir/hapi-fhir-converter

for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestOperationComponent t : src.getOperation())
 tgt.addOperation(convertConformanceRestOperationComponent(t));
for (org.hl7.fhir.dstu3.model.UriType t : src.getCompartment())
 tgt.addCompartment(t.getValue());
return tgt;
origin: ca.uhn.hapi.fhir/hapi-fhir-converter

public static org.hl7.fhir.dstu2016may.model.Conformance.ConformanceRestComponent convertConformanceRestComponent(org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestComponent src) throws FHIRException {
 if (src == null || src.isEmpty())
  return null;
 org.hl7.fhir.dstu2016may.model.Conformance.ConformanceRestComponent tgt = new org.hl7.fhir.dstu2016may.model.Conformance.ConformanceRestComponent();
 copyElement(src, tgt);
 tgt.setMode(convertRestfulConformanceMode(src.getMode()));
 if (src.hasDocumentation())
  tgt.setDocumentation(src.getDocumentation());
 tgt.setSecurity(convertConformanceRestSecurityComponent(src.getSecurity()));
 for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestResourceComponent t : src.getResource())
  tgt.addResource(convertConformanceRestResourceComponent(t));
 for (org.hl7.fhir.dstu3.model.CapabilityStatement.SystemInteractionComponent t : src.getInteraction())
  tgt.addInteraction(convertSystemInteractionComponent(t));
 for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestResourceSearchParamComponent t : src.getSearchParam())
  tgt.addSearchParam(convertConformanceRestResourceSearchParamComponent(t));
 for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestOperationComponent t : src.getOperation())
  tgt.addOperation(convertConformanceRestOperationComponent(t));
 for (org.hl7.fhir.dstu3.model.UriType t : src.getCompartment())
  tgt.addCompartment(t.getValue());
 return tgt;
}
origin: jamesagnew/hapi-fhir

for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestOperationComponent t : src.getOperation())
 tgt.addOperation(convertConformanceRestOperationComponent(t));
for (org.hl7.fhir.dstu3.model.UriType t : src.getCompartment())
 tgt.addCompartment(t.getValue());
return tgt;
origin: jamesagnew/hapi-fhir

public static org.hl7.fhir.dstu2016may.model.Conformance.ConformanceRestComponent convertConformanceRestComponent(org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestComponent src) throws FHIRException {
 if (src == null || src.isEmpty())
  return null;
 org.hl7.fhir.dstu2016may.model.Conformance.ConformanceRestComponent tgt = new org.hl7.fhir.dstu2016may.model.Conformance.ConformanceRestComponent();
 copyElement(src, tgt);
 tgt.setMode(convertRestfulConformanceMode(src.getMode()));
 if (src.hasDocumentation())
  tgt.setDocumentation(src.getDocumentation());
 tgt.setSecurity(convertConformanceRestSecurityComponent(src.getSecurity()));
 for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestResourceComponent t : src.getResource())
  tgt.addResource(convertConformanceRestResourceComponent(t));
 for (org.hl7.fhir.dstu3.model.CapabilityStatement.SystemInteractionComponent t : src.getInteraction())
  tgt.addInteraction(convertSystemInteractionComponent(t));
 for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestResourceSearchParamComponent t : src.getSearchParam())
  tgt.addSearchParam(convertConformanceRestResourceSearchParamComponent(t));
 for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestOperationComponent t : src.getOperation())
  tgt.addOperation(convertConformanceRestOperationComponent(t));
 for (org.hl7.fhir.dstu3.model.UriType t : src.getCompartment())
  tgt.addCompartment(t.getValue());
 return tgt;
}
org.hl7.fhir.dstu3.modelCapabilityStatement$CapabilityStatementRestComponentgetCompartment

Popular methods of CapabilityStatement$CapabilityStatementRestComponent

  • getSecurity
  • getInteraction
  • getOperation
  • getResource
  • <init>
    Constructor
  • addInteraction
  • addOperation
  • addResource
  • addSearchParam
  • getSearchParam
  • isEmpty
  • setMode
  • isEmpty,
  • setMode,
  • addCompartment,
  • addCompartmentElement,
  • castToCode,
  • castToString,
  • castToUri,
  • compareDeep,
  • compareValues

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
  • getContentResolver (Context)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Github Copilot 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