congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
UriParam.getValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getValue
method
in
ca.uhn.fhir.rest.param.UriParam

Best Java code snippets using ca.uhn.fhir.rest.param.UriParam.getValue (Showing top 11 results out of 315)

origin: jamesagnew/hapi-fhir

@Override
public String toString() {
  ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
  builder.append("value", getValue());
  return builder.toString();
}
origin: jamesagnew/hapi-fhir

UriParam param = (UriParam) nextOr;
String value = param.getValue();
if (value == null) {
  continue;
origin: jamesagnew/hapi-fhir

IdType resourceId = new IdType(next.getValue());
ValidateUtil.isTrueOrThrowInvalidRequest(resourceId.hasResourceType(), RESOURCE_ID + " parameter must have resource type");
ValidateUtil.isTrueOrThrowInvalidRequest(resourceId.hasIdPart(), RESOURCE_ID + " parameter must have resource ID part");
origin: jamesagnew/hapi-fhir

if (isNotBlank(nextParam.getValue())) {
  haveTags = true;
code = nextParam.getValue();
system = null;
origin: ca.uhn.hapi.fhir/hapi-fhir-base

@Override
public String toString() {
  ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
  builder.append("value", getValue());
  return builder.toString();
}
origin: ca.uhn.hapi.fhir/hapi-fhir-jpaserver-base

UriParam param = (UriParam) nextOr;
String value = param.getValue();
if (value == null) {
  continue;
origin: ca.uhn.hapi.fhir/hapi-fhir-jpaserver-base

IdType resourceId = new IdType(next.getValue());
ValidateUtil.isTrueOrThrowInvalidRequest(resourceId.hasResourceType(), RESOURCE_ID + " parameter must have resource type");
ValidateUtil.isTrueOrThrowInvalidRequest(resourceId.hasIdPart(), RESOURCE_ID + " parameter must have resource ID part");
origin: ca.uhn.hapi.fhir/hapi-fhir-jpaserver-base

if (isNotBlank(nextParam.getValue())) {
  haveTags = true;
code = nextParam.getValue();
system = null;
origin: org.openehealth.ipf.commons/ipf-commons-ihe-fhir-pixpdq

  /**
   * Handles the PIXm Retrieve. Note that this is not part of the specification, but a useful variant that allows to use resource IDs
   * in requests such as .../Patient/4711/$ihe-pix would be equivalent with .../Patient/$ihe-pix?sourceIdentifier=URI|4711 where URI
   * identifies the NamingSystem used for resource IDs
   *
   * @param resourceId          resource ID
   * @param targetSystemParam   target system URI
   * @param httpServletRequest  servlet request
   * @param httpServletResponse servlet response
   * @return {@link Parameters} containing found identifiers
   */
  @Operation(name = Iti83Constants.PIXM_OPERATION_NAME, type = Patient.class, idempotent = true, returnParameters = {@OperationParam(name = "return", type = Identifier.class, max = 100)})
  public Parameters pixmRetrieve(
      @IdParam IdType resourceId,
      @OperationParam(name = TARGET_SYSTEM_NAME) UriParam targetSystemParam,
      HttpServletRequest httpServletRequest,
      HttpServletResponse httpServletResponse) {
    UriType targetUri = targetSystemParam == null ? null : new UriType(targetSystemParam.getValue());

    Parameters inParams = new Parameters();
    inParams.addParameter().setName(SOURCE_IDENTIFIER_NAME).setValue(new Identifier().setValue(resourceId.getIdPart()));
    inParams.addParameter().setName(TARGET_SYSTEM_NAME).setValue(targetUri);

    // Run down the route
    return requestResource(inParams, Parameters.class, httpServletRequest, httpServletResponse);
  }
}
origin: org.openehealth.ipf.commons/ipf-commons-ihe-fhir-pixpdq

/**
 * Handles the PIXm Query
 *
 * @param sourceIdentifierParam Identifier to search for. Should be an {@link Identifier}, but obviously
 *                              non-primitive types are forbidden in GET operations
 * @param targetSystemParam     target system URI
 * @return {@link Parameters} containing found identifiers
 */
@SuppressWarnings("unused")
@Operation(name = Iti83Constants.PIXM_OPERATION_NAME, type = Patient.class, idempotent = true, returnParameters = {@OperationParam(name = "return", type = Identifier.class, max = 100)})
public Parameters pixmQuery(
    @OperationParam(name = SOURCE_IDENTIFIER_NAME) TokenParam sourceIdentifierParam,
    @OperationParam(name = TARGET_SYSTEM_NAME) UriParam targetSystemParam,
    HttpServletRequest httpServletRequest,
    HttpServletResponse httpServletResponse) {
  Identifier sourceIdentifier = new Identifier()
      .setSystem(sourceIdentifierParam.getSystem())
      .setValue(sourceIdentifierParam.getValue());
  UriType targetUri = targetSystemParam == null ? null : new UriType(targetSystemParam.getValue());
  Parameters inParams = new Parameters();
  inParams.addParameter().setName(SOURCE_IDENTIFIER_NAME).setValue(sourceIdentifier);
  inParams.addParameter().setName(TARGET_SYSTEM_NAME).setValue(targetUri);
  // Run down the route
  return requestResource(inParams, Parameters.class, httpServletRequest, httpServletResponse);
}
origin: org.openehealth.ipf.commons/ipf-commons-ihe-fhir-r4-pixpdq

  sourceIdentifier.setValue(resourceId.getIdPart());
UriType targetUri = targetSystemParam == null ? null : new UriType(targetSystemParam.getValue());
ca.uhn.fhir.rest.paramUriParamgetValue

Popular methods of UriParam

  • <init>
  • getQualifier
    Gets the qualifier for this param (may be null and generally will be)
  • getValueNotNull
  • setValue
    Sets the value for this param

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 12 Jupyter Notebook extensions
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