| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
RuntimeResourceDefinition.toProfile()
Deprecated.
|
IBaseResource |
RuntimeResourceDefinition.toProfile(String theServerBase) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends IBaseResource> |
FhirContext.getDefaultTypeForProfile(String theProfile)
Returns the default resource type for the given profile
|
List<Class<? extends IBaseResource>> |
RuntimeChildResourceDefinition.getResourceTypes() |
List<Class<? extends IBaseResource>> |
RuntimeChildChoiceDefinition.getResourceTypes() |
| Modifier and Type | Method and Description |
|---|---|
RuntimeResourceDefinition |
FhirContext.getResourceDefinition(IBaseResource theResource)
Returns the scanned runtime model for the given type.
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeResourceDefinition |
FhirContext.getResourceDefinition(Class<? extends IBaseResource> theResourceType)
Returns the scanned runtime model for the given type.
|
void |
FhirContext.setDefaultTypeForProfile(String theProfile,
Class<? extends IBaseResource> theClass)
Sets the default type which will be used when parsing a resource that is found to be
of the given profile.
|
| Constructor and Description |
|---|
FhirContext(Class<? extends IBaseResource> theResourceType)
Deprecated.
It is recommended that you use one of the static initializer methods instead
of this method, e.g.
FhirContext.forDstu2() or FhirContext.forDstu3() |
FhirContext(Collection<Class<? extends IBaseResource>> theResourceTypes)
Deprecated.
It is recommended that you use one of the static initializer methods instead
of this method, e.g.
FhirContext.forDstu2() or FhirContext.forDstu3() |
RuntimeChildResourceDefinition(Field theField,
String theElementName,
Child theChildAnnotation,
Description theDescriptionAnnotation,
List<Class<? extends IBaseResource>> theResourceTypes)
Constructor
|
RuntimeElemContainedResourceList(Class<IBaseResource> theClass,
boolean theStandardType) |
RuntimeResourceDefinition(FhirContext theContext,
String theResourceName,
Class<? extends IBaseResource> theClass,
ResourceDef theResourceAnnotation,
boolean theStandardType,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends IBaseResource> |
IContextValidationSupport.fetchResource(FhirContext theContext,
Class<T> theClass,
String theUri)
Loads a resource needed by the validation (a StructureDefinition, or a
ValueSet)
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IResource
This interface is the parent interface for all FHIR Resource definition classes.
|
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
IFhirVersion.generateProfile(RuntimeResourceDefinition theRuntimeResourceDefinition,
String theServerBase) |
| Modifier and Type | Method and Description |
|---|---|
IServerConformanceProvider<? extends IBaseResource> |
IFhirVersion.createServerConformanceProvider(RestfulServer theRestfulServer) |
| Modifier and Type | Method and Description |
|---|---|
IPrimitiveType<Date> |
IFhirVersion.getLastUpdated(IBaseResource theResource) |
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
BaseResourceReferenceDt.getResource()
Gets the actual loaded and parsed resource instance, if it is already present.
|
IBaseResource |
BaseResourceReferenceDt.loadResource(IRestfulClient theClient)
Returns the referenced resource, fetching it if it has not already been loaded.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseResourceReferenceDt.setResource(IBaseResource theResource) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BaseConformance |
interface |
BaseOperationOutcome |
interface |
BaseSecurityEvent |
| Modifier and Type | Method and Description |
|---|---|
void |
IdDt.applyTo(IBaseResource theResouce) |
static IdDt |
IdDt.of(IBaseResource theResouce)
Retrieves the ID from the given resource instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseThymeleafNarrativeGenerator.generateNarrative(FhirContext theContext,
IBaseResource theResource,
INarrative theNarrative) |
void |
INarrativeGenerator.generateNarrative(FhirContext theContext,
IBaseResource theResource,
INarrative theNarrative) |
| Modifier and Type | Method and Description |
|---|---|
<T extends IBaseResource> |
JsonParser.doParseResource(Class<T> theResourceType,
JsonLikeStructure theJsonStructure) |
<T extends IBaseResource> |
JsonParser.doParseResource(Class<T> theResourceType,
Reader theReader) |
protected abstract <T extends IBaseResource> |
BaseParser.doParseResource(Class<T> theResourceType,
Reader theReader) |
<T extends IBaseResource> |
XmlParser.doParseResource(Class<T> theResourceType,
Reader theReader) |
<T extends IBaseResource> |
JsonParser.parseBundle(Class<T> theResourceType,
JsonLikeStructure theJsonStructure) |
<T extends IBaseResource> |
IJsonLikeParser.parseBundle(Class<T> theResourceType,
JsonLikeStructure theJsonLikeStructure)
Parse a DSTU1 style Atom Bundle.
|
<T extends IBaseResource> |
JsonParser.parseBundle(Class<T> theResourceType,
Reader theReader) |
<T extends IBaseResource> |
XmlParser.parseBundle(Class<T> theResourceType,
Reader theReader) |
<T extends IBaseResource> |
IParser.parseBundle(Class<T> theResourceType,
Reader theReader)
Parse a DSTU1 style Atom Bundle.
|
<T extends IBaseResource> |
JsonParser.parseResource(Class<T> theResourceType,
JsonLikeStructure theJsonLikeStructure) |
<T extends IBaseResource> |
IJsonLikeParser.parseResource(Class<T> theResourceType,
JsonLikeStructure theJsonLikeStructure)
Parses a resource from a JSON-like data structure
|
<T extends IBaseResource> |
BaseParser.parseResource(Class<T> theResourceType,
Reader theReader) |
<T extends IBaseResource> |
IParser.parseResource(Class<T> theResourceType,
Reader theReader)
Parses a resource
|
<T extends IBaseResource> |
BaseParser.parseResource(Class<T> theResourceType,
String theMessageString) |
<T extends IBaseResource> |
IParser.parseResource(Class<T> theResourceType,
String theString)
Parses a resource
|
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
JsonParser.parseResource(JsonLikeStructure theJsonLikeStructure) |
IBaseResource |
IJsonLikeParser.parseResource(JsonLikeStructure theJsonLikeStructure)
Parses a resource from a JSON-like data structure
|
IBaseResource |
BaseParser.parseResource(Reader theReader) |
IBaseResource |
IParser.parseResource(Reader theReader)
Parses a resource
|
IBaseResource |
BaseParser.parseResource(String theMessageString) |
IBaseResource |
IParser.parseResource(String theMessageString)
Parses a resource
|
| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends IBaseResource>> |
BaseParser.getPreferTypes() |
List<Class<? extends IBaseResource>> |
IParser.getPreferTypes()
Gets the preferred types, as set using
IParser.setPreferTypes(List) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseParser.containResourcesForEncoding(IBaseResource theResource) |
void |
JsonParser.doEncodeResourceToJsonLikeWriter(IBaseResource theResource,
JsonLikeWriter theEventWriter) |
protected void |
JsonParser.doEncodeResourceToWriter(IBaseResource theResource,
Writer theWriter) |
protected abstract void |
BaseParser.doEncodeResourceToWriter(IBaseResource theResource,
Writer theWriter) |
void |
XmlParser.doEncodeResourceToWriter(IBaseResource theResource,
Writer theWriter) |
void |
JsonParser.encodeResourceToJsonLikeWriter(IBaseResource theResource,
JsonLikeWriter theJsonLikeWriter) |
void |
IJsonLikeParser.encodeResourceToJsonLikeWriter(IBaseResource theResource,
JsonLikeWriter theJsonLikeWriter) |
String |
BaseParser.encodeResourceToString(IBaseResource theResource) |
String |
IParser.encodeResourceToString(IBaseResource theResource) |
void |
BaseParser.encodeResourceToWriter(IBaseResource theResource,
Writer theWriter) |
void |
IParser.encodeResourceToWriter(IBaseResource theResource,
Writer theWriter) |
protected <T extends IPrimitiveType<String>> |
BaseParser.getProfileTagsForEncoding(IBaseResource theResource,
List<T> theProfiles) |
protected List<? extends IBase> |
BaseParser.preProcessValues(BaseRuntimeChildDefinition theMetaChildUncast,
IBaseResource theResource,
List<? extends IBase> theValues,
BaseParser.CompositeChildElement theCompositeChildElement) |
protected boolean |
BaseParser.shouldEncodeResourceId(IBaseResource theResource) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseParser.setPreferTypes(List<Class<? extends IBaseResource>> thePreferTypes) |
void |
IParser.setPreferTypes(List<Class<? extends IBaseResource>> thePreferTypes)
If set, when parsing resources the parser will try to use the given types when possible, in
the order that they are provided (from highest to lowest priority).
|
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
MethodOutcome.getResource()
From a client response: If the method returned an actual resource body (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
MethodOutcome |
MethodOutcome.setResource(IBaseResource theResource)
In a server response: This field may be populated in server code with the final resource for operations
where a resource body is being created/updated.
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
BaseClient.ResourceResponseHandler<T extends IBaseResource> |
| Modifier and Type | Method and Description |
|---|---|
<T extends IBaseResource> |
BaseClient.fetchResourceFromUrl(Class<T> theResourceType,
String theUrl) |
<T extends IBaseResource> |
GenericClient.history(Class<T> theType,
IdDt theIdDt,
DateTimeDt theSince,
Integer theLimit)
Deprecated.
|
<T extends IBaseResource> |
IGenericClient.history(Class<T> theType,
IdDt theId,
DateTimeDt theSince,
Integer theLimit)
Deprecated.
As of 0.9, use the fluent
IGenericClient.history() method instead |
<T extends IBaseResource> |
GenericClient.history(Class<T> theType,
String theId,
DateTimeDt theSince,
Integer theLimit)
Deprecated.
|
<T extends IBaseResource> |
IGenericClient.history(Class<T> theType,
String theId,
DateTimeDt theSince,
Integer theLimit)
Deprecated.
As of 0.9, use the fluent
IGenericClient.history() method instead |
<T extends IBaseResource> |
GenericClient.read(Class<T> theType,
String theId) |
<T extends IBaseResource> |
IGenericClient.read(Class<T> theType,
String theId)
Implementation of the "instance read" method.
|
<T extends IBaseResource> |
GenericClient.read(Class<T> theType,
UriDt theUrl) |
<T extends IBaseResource> |
IGenericClient.read(Class<T> theType,
UriDt theUrl)
Perform the "read" operation (retrieve the latest version of a resource instance by ID) using an absolute URL.
|
<T extends IBaseResource> |
GenericClient.search(Class<T> theType,
Map<String,List<IQueryParameterType>> theParams) |
<T extends IBaseResource> |
IGenericClient.search(Class<T> theType,
Map<String,List<IQueryParameterType>> theParams)
Implementation of the "instance search" method.
|
<T extends IBaseResource> |
GenericClient.search(Class<T> theType,
UriDt theUrl) |
<T extends IBaseResource> |
IGenericClient.search(Class<T> theType,
UriDt theUrl)
Perform the "search" operation using an absolute URL.
|
<T extends IBaseResource> |
GenericClient.vread(Class<T> theType,
IdDt theId) |
<T extends IBaseResource> |
IGenericClient.vread(Class<T> theType,
IdDt theId)
Implementation of the "instance vread" method.
|
<T extends IBaseResource> |
GenericClient.vread(Class<T> theType,
IdDt theId,
IdDt theVersionId)
Deprecated.
|
<T extends IBaseResource> |
IGenericClient.vread(Class<T> theType,
IdDt theId,
IdDt theVersionId)
Deprecated.
Deprecated in 0.7 - IdDt can contain an ID and a version, so this class doesn't make a lot of sense
|
<T extends IBaseResource> |
GenericClient.vread(Class<T> theType,
String theId,
String theVersionId) |
<T extends IBaseResource> |
IGenericClient.vread(Class<T> theType,
String theId,
String theVersionId)
Implementation of the "instance vread" method.
|
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
GenericClient.read(UriDt theUrl) |
IBaseResource |
IGenericClient.read(UriDt theUrl)
Perform the "read" operation (retrieve the latest version of a resource instance by ID) using an absolute URL.
|
| Modifier and Type | Method and Description |
|---|---|
List<IBaseResource> |
GenericClient.transaction(List<IBaseResource> theResources)
Deprecated.
|
List<IBaseResource> |
IGenericClient.transaction(List<IBaseResource> theResources)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MethodOutcome |
GenericClient.create(IBaseResource theResource)
Deprecated.
|
MethodOutcome |
IGenericClient.create(IBaseResource theResource)
Deprecated.
Use
fluent method instead. This method will be removed. |
protected String |
GenericClient.getPreferredId(IBaseResource theResource,
String theId) |
MethodOutcome |
GenericClient.update(IdDt theIdDt,
IBaseResource theResource) |
MethodOutcome |
IGenericClient.update(IdDt theId,
IBaseResource theResource)
Implementation of the "instance update" method.
|
MethodOutcome |
GenericClient.update(String theId,
IBaseResource theResource) |
MethodOutcome |
IGenericClient.update(String theId,
IBaseResource theResource)
Implementation of the "instance update" method.
|
MethodOutcome |
GenericClient.validate(IBaseResource theResource) |
MethodOutcome |
IGenericClient.validate(IBaseResource theResource)
Implementation of the "type validate" method.
|
| Modifier and Type | Method and Description |
|---|---|
MethodOutcome |
GenericClient.delete(Class<? extends IBaseResource> theType,
IdDt theId)
Deprecated.
|
MethodOutcome |
IGenericClient.delete(Class<? extends IBaseResource> theType,
IdDt theId)
Deprecated.
Use
IGenericClient.delete() instead |
MethodOutcome |
GenericClient.delete(Class<? extends IBaseResource> theType,
String theId)
Deprecated.
|
MethodOutcome |
IGenericClient.delete(Class<? extends IBaseResource> theType,
String theId)
Deprecated.
Use
IGenericClient.delete() instead |
void |
BaseClient.ResourceResponseHandler.setPreferResponseTypes(List<Class<? extends IBaseResource>> thePreferResponseTypes) |
List<IBaseResource> |
GenericClient.transaction(List<IBaseResource> theResources)
Deprecated.
|
List<IBaseResource> |
IGenericClient.transaction(List<IBaseResource> theResources)
Deprecated.
|
| Constructor and Description |
|---|
ResourceResponseHandler(Class<T> theReturnType,
Class<? extends IBaseResource> thePreferResponseType,
IIdType theId) |
ResourceResponseHandler(Class<T> theReturnType,
Class<? extends IBaseResource> thePreferResponseType,
IIdType theId,
boolean theAllowHtmlResponse) |
ResourceResponseHandler(Class<T> theClass,
List<Class<? extends IBaseResource>> thePreferResponseTypes) |
ResourceResponseHandler(Class<T> theReturnType,
List<Class<? extends IBaseResource>> thePreferResponseTypes,
IIdType theId,
boolean theAllowHtmlResponse) |
| Modifier and Type | Method and Description |
|---|---|
<T extends IBaseResource> |
IRestfulClient.fetchResourceFromUrl(Class<T> theResourceType,
String theUrl)
Retrieve the contents at the given URL and parse them as a resource.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IOperationProcessMsgMode<T extends IBaseResource> |
interface |
IReadExecutable<T extends IBaseResource> |
interface |
IReadIfNoneMatch<T extends IBaseResource> |
interface |
IReadTyped<T extends IBaseResource> |
| Modifier and Type | Method and Description |
|---|---|
<R extends IBaseResource> |
IOperationProcessMsgMode.asynchronous(Class<R> theResponseClass) |
<T extends IBaseResource> |
IRead.resource(Class<T> theResourceType)
Construct a read for the given resource type (e.g.
|
<R extends IBaseResource> |
IOperationUntypedWithInput.returnResourceType(Class<R> theReturnType)
If this operation returns a single resource body as its return type instead of a
Parameters
resource, use this method to specify that resource type. |
<R extends IBaseResource> |
IOperationProcessMsg.setMessageBundle(IBaseBundle theMsgBundle)
Set the Message Bundle to POST to the messaging server.
After this call you must choose either the method synchronous or asynchronous to set the processing mode. |
<R extends IBaseResource> |
IOperationProcessMsgMode.synchronous(Class<R> theResponseClass) |
| Modifier and Type | Method and Description |
|---|---|
IReadTyped<IBaseResource> |
IRead.resource(String theResourceType)
Construct a read for the given resource type (e.g.
|
ITransactionTyped<List<IBaseResource>> |
ITransaction.withResources(List<? extends IBaseResource> theResources)
Use a list of resources as the transaction input
|
| Modifier and Type | Method and Description |
|---|---|
ICreateTyped |
ICreate.resource(IBaseResource theResource) |
IValidateUntyped |
IValidate.resource(IBaseResource theResource)
Use a resource as validate input
|
IDeleteTyped |
IDelete.resource(IBaseResource theResource) |
IUpdateTyped |
IUpdate.resource(IBaseResource theResource) |
| Modifier and Type | Method and Description |
|---|---|
IPatchWithQuery |
IPatchWithBody.conditional(Class<? extends IBaseResource> theClass)
Build a conditional URL using fluent constants on resource types
|
IQuery<Bundle> |
IUntypedQuery.forResource(Class<? extends IBaseResource> theClass) |
IGetTags |
IGetTags.forResource(Class<? extends IBaseResource> theClass) |
IGetTags |
IGetTags.forResource(Class<? extends IBaseResource> theClass,
String theId) |
IGetTags |
IGetTags.forResource(Class<? extends IBaseResource> theClass,
String theId,
String theVersionId) |
T |
IBaseOn.onType(Class<? extends IBaseResource> theResourceType)
Perform the operation across all versions of all resources of the given type on the server
|
T |
IClientExecutable.preferResponseType(Class<? extends IBaseResource> theType)
Explicitly specify a custom structure type to attempt to use when parsing the response.
|
T |
IClientExecutable.preferResponseTypes(List<Class<? extends IBaseResource>> theTypes)
Explicitly specify a list of custom structure types to attempt to use (in order from most to
least preferred) when parsing the response.
|
IDeleteWithQuery |
IDelete.resourceConditionalByType(Class<? extends IBaseResource> theResourceType)
Delete using a conditional/match URL.
|
ITransactionTyped<List<IBaseResource>> |
ITransaction.withResources(List<? extends IBaseResource> theResources)
Use a list of resources as the transaction input
|
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle.getResource() |
IBaseResource |
PageMethodBinding.provider() |
| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends IBaseResource>> |
SearchParameter.getDeclaredTypes() |
| Modifier and Type | Method and Description |
|---|---|
static HttpPostClientInvocation |
MethodUtil.createCreateInvocation(IBaseResource theResource,
FhirContext theContext) |
static HttpPostClientInvocation |
MethodUtil.createCreateInvocation(IBaseResource theResource,
String theResourceBody,
String theId,
FhirContext theContext) |
static HttpPostClientInvocation |
MethodUtil.createCreateInvocation(IBaseResource theResource,
String theResourceBody,
String theId,
FhirContext theContext,
Map<String,List<String>> theIfNoneExistParams) |
static HttpPostClientInvocation |
MethodUtil.createCreateInvocation(IBaseResource theResource,
String theResourceBody,
String theId,
FhirContext theContext,
String theIfNoneExistUrl) |
static HttpPutClientInvocation |
MethodUtil.createUpdateInvocation(FhirContext theContext,
IBaseResource theResource,
String theResourceBody,
Map<String,List<String>> theMatchParams) |
static HttpPutClientInvocation |
MethodUtil.createUpdateInvocation(FhirContext theContext,
IBaseResource theResource,
String theResourceBody,
String theMatchUrl) |
static HttpPutClientInvocation |
MethodUtil.createUpdateInvocation(IBaseResource theResource,
String theResourceBody,
IIdType theId,
FhirContext theContext) |
static BaseHttpClientInvocation |
ValidateMethodBindingDstu2Plus.createValidateInvocation(FhirContext theContext,
IBaseResource theResource) |
static HttpPostClientInvocation |
ValidateMethodBindingDstu1.createValidateInvocation(IBaseResource theResource,
IdDt theId,
FhirContext theContext) |
static void |
MethodUtil.parseClientRequestResourceHeaders(IIdType theRequestedId,
Map<String,List<String>> theHeaders,
IBaseResource resource) |
void |
IRequestOperationCallback.resourceCreated(IBaseResource theResource) |
void |
IRequestOperationCallback.resourceDeleted(IBaseResource theResource) |
void |
IRequestOperationCallback.resourceUpdated(IBaseResource theResource) |
void |
IParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
CountParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
RawParamsParmeter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
SummaryEnumParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
OperationParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
DynamicSearchParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
SortParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
ElementsParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
protected void |
CreateMethodBinding.validateResourceIdAndUrlIdForNonConditionalOperation(IBaseResource theResource,
String theResourceId,
String theUrlId,
String theMatchUrl) |
protected void |
UpdateMethodBinding.validateResourceIdAndUrlIdForNonConditionalOperation(IBaseResource theResource,
String theResourceId,
String theUrlId,
String theMatchUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected IParser |
BaseMethodBinding.createAppropriateParserForParsingResponse(String theResponseMimeType,
Reader theResponseReader,
int theResponseStatusCode,
List<Class<? extends IBaseResource>> thePreferTypes) |
static BaseHttpClientInvocation |
TransactionMethodBinding.createTransactionInvocation(List<? extends IBaseResource> theResources,
FhirContext theContext) |
void |
IRequestOperationCallback.resourcesCreated(Collection<? extends IBaseResource> theResource) |
void |
IRequestOperationCallback.resourcesDeleted(Collection<? extends IBaseResource> theResource) |
void |
IRequestOperationCallback.resourcesUpdated(Collection<? extends IBaseResource> theResource) |
| Constructor and Description |
|---|
HttpPostClientInvocation(FhirContext theContext,
IBaseResource theResource) |
HttpPostClientInvocation(FhirContext theContext,
IBaseResource theResource,
String theUrlExtension) |
HttpPutClientInvocation(FhirContext theContext,
IBaseResource theResource,
String theUrlExtension) |
ResourceOrDstu1Bundle(IBaseResource theResource) |
| Constructor and Description |
|---|
BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBody(Method theMethod,
FhirContext theContext,
Object theProvider,
Class<?> theMethodAnnotationType,
Class<? extends IBaseResource> theResourceTypeFromAnnotation) |
DynamicSearchMethodBinding(Class<? extends IBaseResource> theReturnResourceType,
Method theMethod,
FhirContext theContext,
IDynamicSearchResourceProvider theProvider) |
HttpPostClientInvocation(FhirContext theContext,
List<? extends IBaseResource> theResources,
BundleTypeEnum theBundleType) |
OperationMethodBinding(Class<?> theReturnResourceType,
Class<? extends IBaseResource> theReturnTypeFromRp,
Method theMethod,
FhirContext theContext,
Object theProvider,
boolean theIdempotent,
String theOperationName,
Class<? extends IBaseResource> theOperationType,
OperationParam[] theReturnParams,
BundleTypeEnum theBundleType) |
OperationMethodBinding(Class<?> theReturnResourceType,
Class<? extends IBaseResource> theReturnTypeFromRp,
Method theMethod,
FhirContext theContext,
Object theProvider,
boolean theIdempotent,
String theOperationName,
Class<? extends IBaseResource> theOperationType,
OperationParam[] theReturnParams,
BundleTypeEnum theBundleType) |
OperationMethodBinding(Class<?> theReturnResourceType,
Class<? extends IBaseResource> theReturnTypeFromRp,
Method theMethod,
FhirContext theContext,
Object theProvider,
Operation theAnnotation) |
ReadMethodBinding(Class<? extends IBaseResource> theAnnotatedResourceType,
Method theMethod,
FhirContext theContext,
Object theProvider) |
SearchMethodBinding(Class<? extends IBaseResource> theReturnResourceType,
Method theMethod,
FhirContext theContext,
Object theProvider) |
ValidateMethodBindingDstu2Plus(Class<?> theReturnResourceType,
Class<? extends IBaseResource> theReturnTypeFromRp,
Method theMethod,
FhirContext theContext,
Object theProvider,
Validate theAnnotation) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IBaseResource> |
ResourceParameter.loadResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<T> theResourceType) |
| Modifier and Type | Method and Description |
|---|---|
static IBaseResource |
ResourceParameter.parseResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<? extends IBaseResource> theResourceType) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends IBaseResource> |
ResourceParameter.getResourceType() |
Class<? extends IBaseResource> |
ReferenceParam.getResourceType(FhirContext theCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
BaseQueryParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
void |
TransactionParameter.translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
| Modifier and Type | Method and Description |
|---|---|
static IBaseResource |
ResourceParameter.parseResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<? extends IBaseResource> theResourceType) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IServerConformanceProvider<T extends IBaseResource> |
| Modifier and Type | Method and Description |
|---|---|
<T extends IBaseResource> |
IRestfulServerUtil.loadResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<T> theResourceType) |
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
IVersionSpecificBundleFactory.getResourceBundle() |
IBaseResource |
IRestfulServerUtil.parseResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<? extends IBaseResource> theResourceType) |
| Modifier and Type | Method and Description |
|---|---|
List<IBaseResource> |
IBundleProvider.getResources(int theFromIndex,
int theToIndex)
Load the given collection of resources by index, plus any additional resources per the
server's processing rules (e.g.
|
List<IBaseResource> |
SimpleBundleProvider.getResources(int theFromIndex,
int theToIndex) |
Class<? extends IBaseResource> |
IResourceProvider.getResourceType()
Returns the type of resource returned by this provider
|
List<IBaseResource> |
IVersionSpecificBundleFactory.toListOfResources() |
| Modifier and Type | Method and Description |
|---|---|
static IPrimitiveType<Date> |
RestfulServerUtils.extractLastUpdatedFromResource(IBaseResource theResource) |
static IIdType |
RestfulServerUtils.fullyQualifyResourceIdOrReturnNull(IRestfulServerDefaults theServer,
IBaseResource theResource,
String theServerBase,
IIdType theResourceId) |
void |
IVersionSpecificBundleFactory.initializeWithBundleResource(IBaseResource theResource) |
static IBundleProvider |
BundleProviders.newList(IBaseResource theResource) |
Object |
IRestfulResponse.streamResponseAsResource(IBaseResource theActualResourceToReturn,
boolean thePrettyPrint,
Set<SummaryEnum> theSummaryMode,
int theStatusCode,
String theStatusMessage,
boolean theRespondGzip,
boolean theAddContentLocation) |
Object |
RestfulResponse.streamResponseAsResource(IBaseResource theResource,
boolean thePrettyPrint,
Set<SummaryEnum> theSummaryMode,
int theStatusCode,
String theStatusMessage,
boolean theRespondGzip,
boolean theAddContentLocation) |
static Object |
RestfulServerUtils.streamResponseAsResource(IRestfulServerDefaults theServer,
IBaseResource theResource,
Set<SummaryEnum> theSummaryMode,
int stausCode,
boolean theAddContentLocationHeader,
boolean respondGzip,
RequestDetails theRequestDetails) |
static Object |
RestfulServerUtils.streamResponseAsResource(IRestfulServerDefaults theServer,
IBaseResource theResource,
Set<SummaryEnum> theSummaryMode,
int theStausCode,
String theStatusMessage,
boolean theAddContentLocationHeader,
boolean respondGzip,
RequestDetails theRequestDetails,
IIdType theOperationResourceId,
IPrimitiveType<Date> theOperationResourceLastUpdated) |
| Modifier and Type | Method and Description |
|---|---|
void |
IVersionSpecificBundleFactory.addResourcesToBundle(List<IBaseResource> theResult,
BundleTypeEnum theBundleType,
String theServerBase,
BundleInclusionRule theBundleInclusionRule,
Set<Include> theIncludes) |
Object |
IRestfulServerUtil.getRequestResource(RequestDetails theRequest,
TransactionParameter.ParamStyle myParamStyle,
Class<? extends IBaseResource> myResourceBundleType) |
Object |
IRestfulServerUtil.getResourceParameter(RequestDetails requestDetails,
ResourceParameter.Mode myMode,
BaseMethodBinding<?> theMethodBinding,
Class<? extends IBaseResource> myResourceType) |
void |
IVersionSpecificBundleFactory.initializeBundleFromResourceList(String theAuthor,
List<? extends IBaseResource> theResult,
String theServerBase,
String theCompleteUrl,
int theTotalResults,
BundleTypeEnum theBundleType) |
static IBundleProvider |
BundleProviders.newList(List<IBaseResource> theResources) |
IBaseResource |
IRestfulServerUtil.parseResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<? extends IBaseResource> theResourceType) |
static void |
RestfulServerUtils.validateResourceListNotNull(List<? extends IBaseResource> theResourceList) |
| Constructor and Description |
|---|
SimpleBundleProvider(IBaseResource theResource) |
| Constructor and Description |
|---|
SimpleBundleProvider(List<IBaseResource> theList) |
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
IServerInterceptor.ActionRequestDetails.getResource()
For requests where a resource is passed from the client to the server (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RequestValidatingInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject) |
boolean |
ResponseValidatingInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject) |
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
ResponseHighlighterInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
void |
ServerOperationInterceptorAdapter.resourceCreated(RequestDetails theRequest,
IBaseResource theResource) |
void |
IServerOperationInterceptor.resourceCreated(RequestDetails theRequest,
IBaseResource theResource)
User code may call this method to indicate to an interceptor that
a resource is being created
|
void |
ServerOperationInterceptorAdapter.resourceDeleted(RequestDetails theRequest,
IBaseResource theResource) |
void |
IServerOperationInterceptor.resourceDeleted(RequestDetails theRequest,
IBaseResource theResource)
User code may call this method to indicate to an interceptor that
a resource is being deleted
|
void |
ServerOperationInterceptorAdapter.resourceUpdated(RequestDetails theRequest,
IBaseResource theResource) |
void |
IServerOperationInterceptor.resourceUpdated(RequestDetails theRequest,
IBaseResource theResource)
User code may call this method to indicate to an interceptor that
a resource is being updated
|
void |
IServerInterceptor.ActionRequestDetails.setResource(IBaseResource theObject)
This method should not be called by client code
|
| Constructor and Description |
|---|
ActionRequestDetails(RequestDetails theRequestDetails,
FhirContext theContext,
IBaseResource theResource) |
ActionRequestDetails(RequestDetails theRequestDetails,
IBaseResource theResource) |
ActionRequestDetails(RequestDetails theRequestDetails,
IBaseResource theResource,
String theResourceType,
IIdType theId) |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationInterceptor.Verdict |
IAuthRule.applyRule(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource,
IRuleApplier theRuleApplier)
Applies the rule and returns a policy decision, or
null if the rule does not apply |
AuthorizationInterceptor.Verdict |
RuleImplConditional.applyRule(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource,
IRuleApplier theRuleApplier) |
AuthorizationInterceptor.Verdict |
AuthorizationInterceptor.applyRulesAndReturnDecision(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource) |
AuthorizationInterceptor.Verdict |
IRuleApplier.applyRulesAndReturnDecision(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource) |
boolean |
AuthorizationInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject) |
void |
AuthorizationInterceptor.resourceCreated(RequestDetails theRequest,
IBaseResource theResource) |
void |
AuthorizationInterceptor.resourceDeleted(RequestDetails theRequest,
IBaseResource theResource) |
void |
AuthorizationInterceptor.resourceUpdated(RequestDetails theRequest,
IBaseResource theResource) |
| Modifier and Type | Method and Description |
|---|---|
IAuthRuleBuilderRuleOpClassifierFinished |
IAuthRuleBuilderOperationNamed.onInstancesOfType(Class<? extends IBaseResource> theType)
Rule applies to invocations of this operation at the
instance level on any instance of the given type |
IAuthRuleBuilderRuleOpClassifierFinished |
IAuthRuleBuilderOperationNamed.onType(Class<? extends IBaseResource> theType)
Rule applies to invocations of this operation at the
type level |
T |
IAuthRuleBuilderAppliesTo.resourcesOfType(Class<? extends IBaseResource> theType)
Rule applies to resources of the given type
|
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
BundleUtil.BundleEntryParts.getResource() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.commons.lang3.tuple.Pair<String,IBaseResource>> |
BundleUtil.getBundleEntryUrlsAndResources(FhirContext theContext,
IBaseBundle theBundle) |
static List<IBaseResource> |
BundleUtil.toListOfResources(FhirContext theContext,
IBaseBundle theBundle)
Extract all of the resources from a given bundle
|
| Modifier and Type | Method and Description |
|---|---|
void |
IModelVisitor.acceptElement(IBaseResource theResource,
IBase theElement,
List<String> thePathToElement,
BaseRuntimeChildDefinition theChildDefinition,
BaseRuntimeElementDefinition<?> theDefinition) |
static void |
ParametersUtil.addParameterToParameters(FhirContext theContext,
IBaseResource theTargetResource,
Object sourceClientArgument,
String theName) |
<T extends IBase> |
FhirTerser.getAllPopulatedChildElementsOfType(IBaseResource theResource,
Class<T> theType)
Returns a list containing all child elements (including the resource itself) which are non-empty and are either of the exact type specified, or are a subclass of that type.
|
List<ResourceReferenceInfo> |
FhirTerser.getAllResourceReferences(IBaseResource theResource) |
List<Object> |
FhirTerser.getValues(IBaseResource theResource,
String thePath) |
<T> List<T> |
FhirTerser.getValues(IBaseResource theResource,
String thePath,
Class<T> theWantedClass) |
boolean |
FhirTerser.isSourceInCompartmentForTarget(String theCompartmentName,
IBaseResource theSource,
IIdType theTarget)
Returns
true if theSource is in the compartment named theCompartmentName
belonging to resource theTarget |
void |
FhirTerser.visit(IBaseResource theResource,
IModelVisitor theVisitor)
Visit all elements in a given resource
|
| Modifier and Type | Method and Description |
|---|---|
BaseRuntimeChildDefinition |
FhirTerser.getDefinition(Class<? extends IBaseResource> theResourceType,
String thePath) |
| Constructor and Description |
|---|
BundleEntryParts(RequestTypeEnum theRequestType,
String theUrl,
IBaseResource theResource) |
ResourceReferenceInfo(FhirContext theContext,
IBaseResource theOwningResource,
List<String> thePathToElement,
IBaseReference theElement) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IBaseResource> |
ValidationContext.forResource(FhirContext theContext,
T theResource) |
<T extends IBaseResource> |
IResourceLoader.load(Class<T> theType,
IIdType theId)
Load the latest version of a given resource
|
| Modifier and Type | Method and Description |
|---|---|
static IValidationContext<IBaseResource> |
ValidationContext.forText(FhirContext theContext,
String theResourceBody) |
static IValidationContext<IBaseResource> |
ValidationContext.newChild(IValidationContext<Bundle> theContext,
IResource theResource) |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
FhirValidator.validateWithResult(IBaseResource theResource)
Validates a resource instance returning a
ValidationResult which contains the results. |
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaBaseValidator.validateResource(IValidationContext<IBaseResource> theContext) |
void |
IValidatorModule.validateResource(IValidationContext<IBaseResource> theCtx)
Validate the actual resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SchematronBaseValidator.validateResource(IValidationContext<IBaseResource> theCtx) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IAnyResource |
interface |
IBaseBinary |
interface |
IBaseBundle |
interface |
IBaseConformance |
interface |
IBaseOperationOutcome |
interface |
IBaseParameters |
interface |
IDomainResource |
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
IBaseReference.getResource() |
IBaseResource |
IBaseResource.setId(IIdType theId) |
IBaseResource |
IBaseResource.setId(String theId) |
| Modifier and Type | Method and Description |
|---|---|
void |
IIdType.applyTo(IBaseResource theResource) |
void |
IBaseReference.setResource(IBaseResource theResource) |
Copyright © 2014–2017 University Health Network. All rights reserved.