Click or drag to resize

SubstanceResourceHandler Class

Represents a resource handler that can handle substances
Inheritance Hierarchy
SystemObject
  SanteDB.Messaging.FHIR.HandlersResourceHandlerBaseSubstance, Material
    SanteDB.Messaging.FHIR.HandlersRepositoryResourceHandlerBaseSubstance, Material
      SanteDB.Messaging.FHIR.HandlersSubstanceResourceHandler

Namespace:  SanteDB.Messaging.FHIR.Handlers
Assembly:  SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 2.2.1
Syntax
public class SubstanceResourceHandler : RepositoryResourceHandlerBase<Substance, Material>

The SubstanceResourceHandler type exposes the following members.

Constructors
  NameDescription
Public methodSubstanceResourceHandler
Create new resource handler
Top
Properties
Methods
  NameDescription
Public methodCanMapObject
True if this handler can process the object
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Protected methodCreate(TModel, TransactionMode)
Create the object
(Inherited from RepositoryResourceHandlerBaseTFhirResource, TModel.)
Public methodCreate(Resource, TransactionMode)
Create the specified resource.
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Protected methodCreateConceptSetFilter
Create concept set filter based on act type
(Inherited from RepositoryResourceHandlerBaseTFhirResource, TModel.)
Protected methodDelete(Guid)
Perform a delete operation
(Inherited from RepositoryResourceHandlerBaseTFhirResource, TModel.)
Public methodDelete(String, TransactionMode)
Deletes a specified resource.
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetIncludes (Overrides ResourceHandlerBaseTFhirResource, TModelGetIncludes(TModel, IEnumerableResourceHandlerBaseTFhirResource, TModelIncludeInstruction).)
Protected methodGetInteractions
Get interactions
(Overrides ResourceHandlerBaseTFhirResource, TModelGetInteractions.)
Public methodGetResourceDefinition
Get definition for the specified resource
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Protected methodGetReverseIncludes (Overrides ResourceHandlerBaseTFhirResource, TModelGetReverseIncludes(TModel, IEnumerableResourceHandlerBaseTFhirResource, TModelIncludeInstruction).)
Public methodGetStructureDefinition
Get structure definitions
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHistory
Reads the complete history of the specified identifier
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Public methodMapToFhir(IdentifiedData)
Map to FHIR
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Protected methodMapToFhir(Material)
Map the substance to FHIR
(Overrides ResourceHandlerBaseTFhirResource, TModelMapToFhir(TModel).)
Public methodMapToModel(Resource)
Map the object to model
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Protected methodMapToModel(Substance)
Maps a FHIR based resource to a model based resource
(Overrides ResourceHandlerBaseTFhirResource, TModelMapToModel(TFhirResource).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodProcessIncludes
Process includes for the specified result set
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Public methodQuery(NameValueCollection)
Queries for a specified resource.
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Protected methodQuery(ExpressionFuncTModel, Boolean, Guid, Int32, Int32, Int32)
Query for patients.
(Inherited from RepositoryResourceHandlerBaseTFhirResource, TModel.)
Protected methodQueryExTPredicate
Represents the predicate model
(Inherited from RepositoryResourceHandlerBaseTFhirResource, TModel.)
Protected methodRead(Guid, Guid)
Perform a read operation
(Inherited from RepositoryResourceHandlerBaseTFhirResource, TModel.)
Public methodRead(String, String)
Retrieves a specific resource.
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUpdate(TModel, TransactionMode)
Perform an update operation
(Inherited from RepositoryResourceHandlerBaseTFhirResource, TModel.)
Public methodUpdate(String, Resource, TransactionMode)
Updates the specified resource.
(Inherited from ResourceHandlerBaseTFhirResource, TModel.)
Top
Fields
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
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.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also