public class ParametersUtil extends Object
| Constructor and Description |
|---|
ParametersUtil() |
| Modifier and Type | Method and Description |
|---|---|
static IBase |
addParameterToParameters(FhirContext theContext,
IBaseParameters theParameters,
String theName)
Add a parameter with no value (typically because we'll be adding sub-parameters)
|
static void |
addParameterToParameters(FhirContext theContext,
IBaseParameters theParameters,
String theName,
Object theValue)
Add a paratemer value to a Parameters resource
|
static void |
addParameterToParameters(FhirContext theContext,
IBaseParameters theParameters,
String theName,
String thePrimitiveDatatype,
String theValue)
Add a paratemer value to a Parameters resource
|
static void |
addParameterToParametersBoolean(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
boolean theValue) |
static void |
addParameterToParametersCode(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
String theValue) |
static void |
addParameterToParametersInteger(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
int theValue) |
static void |
addParameterToParametersReference(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
String theReference) |
static void |
addParameterToParametersString(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
String theValue) |
static void |
addParameterToParametersUri(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
String theValue) |
static void |
addPartCode(FhirContext theContext,
IBase theParameter,
String theName,
String theCode) |
static void |
addPartCoding(FhirContext theContext,
IBase theParameter,
String theName,
String theSystem,
String theCode,
String theDisplay) |
static void |
addPartString(FhirContext theContext,
IBase theParameter,
String theName,
String theValue) |
static IPrimitiveType<?> |
createCode(FhirContext theContext,
String theValue) |
static IPrimitiveType<?> |
createString(FhirContext theContext,
String theValue) |
static IPrimitiveType<?> |
createUri(FhirContext theContext,
String theValue) |
static List<String> |
getNamedParameterValuesAsString(FhirContext theCtx,
IBaseParameters theParameters,
String theParameterName) |
static IBaseParameters |
newInstance(FhirContext theContext) |
public ParametersUtil()
public static List<String> getNamedParameterValuesAsString(FhirContext theCtx, IBaseParameters theParameters, String theParameterName)
public static void addParameterToParameters(FhirContext theContext, IBaseParameters theParameters, String theName, Object theValue)
public static void addParameterToParameters(FhirContext theContext, IBaseParameters theParameters, String theName, String thePrimitiveDatatype, String theValue)
theContext - The FhirContexttheParameters - The Parameters resourcetheName - The parameter namethePrimitiveDatatype - The datatype, e.g. "string", or "uri"theValue - The valuepublic static IPrimitiveType<?> createString(FhirContext theContext, String theValue)
public static IPrimitiveType<?> createUri(FhirContext theContext, String theValue)
public static IPrimitiveType<?> createCode(FhirContext theContext, String theValue)
public static IBaseParameters newInstance(FhirContext theContext)
public static void addParameterToParametersBoolean(FhirContext theCtx, IBaseParameters theParameters, String theName, boolean theValue)
public static void addParameterToParametersCode(FhirContext theCtx, IBaseParameters theParameters, String theName, String theValue)
public static void addParameterToParametersInteger(FhirContext theCtx, IBaseParameters theParameters, String theName, int theValue)
public static void addParameterToParametersReference(FhirContext theCtx, IBaseParameters theParameters, String theName, String theReference)
public static void addParameterToParametersString(FhirContext theCtx, IBaseParameters theParameters, String theName, String theValue)
public static void addParameterToParametersUri(FhirContext theCtx, IBaseParameters theParameters, String theName, String theValue)
public static IBase addParameterToParameters(FhirContext theContext, IBaseParameters theParameters, String theName)
public static void addPartCode(FhirContext theContext, IBase theParameter, String theName, String theCode)
public static void addPartString(FhirContext theContext, IBase theParameter, String theName, String theValue)
public static void addPartCoding(FhirContext theContext, IBase theParameter, String theName, String theSystem, String theCode, String theDisplay)
Copyright © 2014–2019 University Health Network. All rights reserved.