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

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

Best Java code snippets using org.hl7.fhir.dstu3.model.CapabilityStatement$CapabilityStatementRestComponent.getInteraction (Showing top 8 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 #interaction}, creating it if it does not already exist
 */
public SystemInteractionComponent getInteractionFirstRep() { 
 if (getInteraction().isEmpty()) {
  addInteraction();
 }
 return getInteraction().get(0);
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu3

 return value;
case 1844104722: // interaction
 this.getInteraction().add((SystemInteractionComponent) value); // SystemInteractionComponent
 return value;
case -553645115: // searchParam
origin: ca.uhn.hapi.fhir/hapi-fhir-converter

boolean batch = false;
boolean transaction = false;
for (org.hl7.fhir.dstu3.model.CapabilityStatement.SystemInteractionComponent t : src.getInteraction()) {
 if (t.getCode().equals(SystemRestfulInteraction.BATCH))
  batch = true;
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: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-mhd

@Test
public void testGetConformance() {
  CapabilityStatement conf = client.capabilities().ofType(CapabilityStatement.class).execute();
  CapabilityStatement.CapabilityStatementRestComponent component = conf.getRest().iterator().next();
  assertEquals(CapabilityStatement.SystemRestfulInteraction.TRANSACTION, component.getInteraction().get(0).getCode());
}
origin: jamesagnew/hapi-fhir

boolean batch = false;
boolean transaction = false;
for (org.hl7.fhir.dstu3.model.CapabilityStatement.SystemInteractionComponent t : src.getInteraction()) {
 if (t.getCode().equals(SystemRestfulInteraction.BATCH))
  batch = true;
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$CapabilityStatementRestComponentgetInteraction

Popular methods of CapabilityStatement$CapabilityStatementRestComponent

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

Popular in Java

  • Reactive rest calls using spring rest template
  • getSystemService (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Top 15 Vim 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