ResourceHandlerBaseTFhirResource, TModel Class |
Namespace: SanteDB.Messaging.FHIR.Handlers
public abstract class ResourceHandlerBase<TFhirResource, TModel> : IFhirResourceHandler, IFhirResourceMapper, IServiceImplementation where TFhirResource : new(), Resource where TModel : new(), IdentifiedData
The ResourceHandlerBaseTFhirResource, TModel type exposes the following members.
Name | Description | |
---|---|---|
ResourceHandlerBaseTFhirResource, TModel |
Creates the resource handler
|
Name | Description | |
---|---|---|
CanonicalType |
Gets the canonical type
| |
ResourceClrType |
Gets the CLR type
| |
ResourceType |
Gets the name of the resource.
| |
ServiceName |
Get service name
|
Name | Description | |
---|---|---|
CanMapObject |
True if this handler can process the object
| |
Create(Resource, TransactionMode) |
Create the specified resource.
| |
Create(TModel, TransactionMode) |
Creates the specified model instance.
| |
Delete(Guid) |
Deletes the specified model identifier.
| |
Delete(String, TransactionMode) |
Deletes a specified resource.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIncludes |
Gets includes
| |
GetInteractions |
Get interactions supported by this handler
| |
GetResourceDefinition |
Get definition for the specified resource
| |
GetReverseIncludes |
Gets the revers include paths
| |
GetStructureDefinition |
Get structure definitions
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
History |
Reads the complete history of the specified identifier
| |
MapToFhir(IdentifiedData) |
Map to FHIR
| |
MapToFhir(TModel) |
Maps a model instance to a FHIR instance.
| |
MapToModel(Resource) |
Map the object to model
| |
MapToModel(TFhirResource) |
Maps a FHIR resource to a model instance.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ProcessIncludes |
Process includes for the specified result set
| |
Query(NameValueCollection) |
Queries for a specified resource.
| |
Query(ExpressionFuncTModel, Boolean, Guid, Int32, Int32, Int32) |
Queries the specified query.
| |
Read(Guid, Guid) |
Reads the specified identifier.
| |
Read(String, String) |
Retrieves a specific resource.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update(TModel, TransactionMode) |
Updates the specified model.
| |
Update(String, Resource, TransactionMode) |
Updates the specified resource.
|
Name | Description | |
---|---|---|
m_localizationService |
The localization service.
| |
m_traceSource |
The trace source instance.
|
Name | Description | |
---|---|---|
ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |