congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CapabilityStatement$CapabilityStatementRestComponent.getSearchParam
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.hl7.fhir.dstu3.model.CapabilityStatement$CapabilityStatementRestComponent.getSearchParam (Showing top 7 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 The first repetition of repeating field {@link #searchParam}, creating it if it does not already exist
 */
public CapabilityStatementRestResourceSearchParamComponent getSearchParamFirstRep() { 
 if (getSearchParam().isEmpty()) {
  addSearchParam();
 }
 return getSearchParam().get(0);
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu3

 return value;
case -553645115: // searchParam
 this.getSearchParam().add((CapabilityStatementRestResourceSearchParamComponent) value); // CapabilityStatementRestResourceSearchParamComponent
 return value;
case 1662702951: // operation
origin: ca.uhn.hapi.fhir/hapi-fhir-converter

else
 tgt.setTransactionMode(transaction ? org.hl7.fhir.instance.model.Conformance.TransactionMode.TRANSACTION : org.hl7.fhir.instance.model.Conformance.TransactionMode.NOTSUPPORTED);
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())
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

else
 tgt.setTransactionMode(transaction ? org.hl7.fhir.instance.model.Conformance.TransactionMode.TRANSACTION : org.hl7.fhir.instance.model.Conformance.TransactionMode.NOTSUPPORTED);
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())
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$CapabilityStatementRestComponentgetSearchParam

Popular methods of CapabilityStatement$CapabilityStatementRestComponent

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

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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