| 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() or FhirContext.forR4() |
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() or FhirContext.forR4() |
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 | Method and Description |
|---|---|
List<IBaseResource> |
IContextValidationSupport.fetchAllConformanceResources(FhirContext theContext)
Load and return all conformance resources associated with this
validation support module.
|
| 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 |
|---|---|
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.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,
boolean theSubResource) |
| 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.
|
IBaseResource |
IVersionSpecificBundleFactory.getResourceBundle() |
| Modifier and Type | Method and Description |
|---|---|
List<IBaseResource> |
IVersionSpecificBundleFactory.toListOfResources() |
| Modifier and Type | Method and Description |
|---|---|
void |
IVersionSpecificBundleFactory.initializeWithBundleResource(IBaseResource theResource) |
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 | Method and Description |
|---|---|
void |
IVersionSpecificBundleFactory.addResourcesToBundle(List<IBaseResource> theResult,
BundleTypeEnum theBundleType,
String theServerBase,
BundleInclusionRule theBundleInclusionRule,
Set<Include> theIncludes) |
void |
IVersionSpecificBundleFactory.initializeBundleFromResourceList(String theAuthor,
List<? extends IBaseResource> theResult,
String theServerBase,
String theCompleteUrl,
int theTotalResults,
BundleTypeEnum theBundleType) |
| 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.
|
<T extends IBaseResource> |
IGenericClient.read(Class<T> theType,
String theId)
Deprecated.
Use
read() fluent method instead (deprecated in HAPI FHIR 3.0.0) |
<T extends IBaseResource> |
IGenericClient.read(Class<T> theType,
UriDt theUrl)
Deprecated.
Use
read() fluent method instead (deprecated in HAPI FHIR 3.0.0) |
<T extends IBaseResource> |
IGenericClient.vread(Class<T> theType,
IdDt theId)
Deprecated.
Use
read() fluent method instead (deprecated in HAPI FHIR 3.0.0) |
<T extends IBaseResource> |
IGenericClient.vread(Class<T> theType,
String theId,
String theVersionId)
Deprecated.
Use
read() fluent method instead (deprecated in HAPI FHIR 3.0.0) |
| Modifier and Type | Method and Description |
|---|---|
IBaseResource |
IGenericClient.read(UriDt theUrl)
Deprecated.
Use
read() fluent method instead (deprecated in HAPI FHIR 3.0.0) |
| Modifier and Type | Method and Description |
|---|---|
MethodOutcome |
IGenericClient.update(IdDt theId,
IBaseResource theResource)
Deprecated.
Use
update() fluent method instead (deprecated in HAPI FHIR 3.0.0) |
MethodOutcome |
IGenericClient.update(String theId,
IBaseResource theResource)
Deprecated.
Use
update() fluent method instead (deprecated in HAPI FHIR 3.0.0) |
MethodOutcome |
IGenericClient.validate(IBaseResource theResource)
Deprecated.
Use
validate() fluent method instead (deprecated in HAPI FHIR 3.0.0) |
| 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<T> |
IUntypedQuery.forResource(Class<? extends IBaseResource> theClass) |
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 |
|---|---|
Class<? extends IBaseResource> |
ReferenceParam.getResourceType(FhirContext theCtx) |
| Constructor and Description |
|---|
ResourceGoneException(Class<? extends IBaseResource> theClass,
BaseIdentifierDt thePatientId)
Deprecated.
This constructor has a dependency on a specific model version and will be removed. Deprecated in HAPI
1.6 - 2016-07-02
|
ResourceGoneException(Class<? extends IBaseResource> theClass,
IIdType theResourceId)
Constructor which creates an error message based on a given resource ID
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends IBaseResource> |
BundleUtil.toListOfResourcesOfType(FhirContext theContext,
IBaseBundle theBundle,
Class<T> theTypeToInclude)
Extract all of the resources of a given type from a given bundle
|
| 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.subContext(IValidationContext<IBaseResource> theCtx,
IBaseResource theResource) |
| Modifier and Type | Method and Description |
|---|---|
static IValidationContext<IBaseResource> |
ValidationContext.subContext(IValidationContext<IBaseResource> theCtx,
IBaseResource theResource) |
ValidationResult |
FhirValidator.validateWithResult(IBaseResource theResource)
Validates a resource instance returning a
ValidationResult which contains the results. |
| Modifier and Type | Method and Description |
|---|---|
static IValidationContext<IBaseResource> |
ValidationContext.subContext(IValidationContext<IBaseResource> theCtx,
IBaseResource theResource) |
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.