Package com.ibm.fhir.server.util
Class FHIROperationUtil
- java.lang.Object
-
- com.ibm.fhir.server.util.FHIROperationUtil
-
public class FHIROperationUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Parameters
getInputParameters(OperationDefinition definition, Resource resource)
static Parameters
getInputParameters(OperationDefinition definition, Map<String,List<String>> queryParameters)
static Parameters
getOutputParameters(Resource resource)
static Parameters
getOutputParameters(String name, Resource resource)
static Resource
getSingleResourceOutputParameter(Parameters parameters)
static boolean
hasSingleResourceOutputParameter(Parameters parameters)
-
-
-
Method Detail
-
getInputParameters
public static Parameters getInputParameters(OperationDefinition definition, Map<String,List<String>> queryParameters) throws FHIROperationException
- Throws:
FHIROperationException
-
getInputParameters
public static Parameters getInputParameters(OperationDefinition definition, Resource resource) throws Exception
- Throws:
Exception
-
getOutputParameters
public static Parameters getOutputParameters(Resource resource) throws Exception
- Throws:
Exception
-
getOutputParameters
public static Parameters getOutputParameters(String name, Resource resource) throws Exception
- Throws:
Exception
-
hasSingleResourceOutputParameter
public static boolean hasSingleResourceOutputParameter(Parameters parameters)
-
getSingleResourceOutputParameter
public static Resource getSingleResourceOutputParameter(Parameters parameters) throws Exception
- Throws:
Exception
-
-