Click or drag to resize

FhirMessageHandler Class

Implementation of an IApiEndpointProvider for HL7 Fast Health Interoperability Resources (FHIR) REST Interface
Inheritance Hierarchy
SystemObject
  SanteDB.Messaging.FHIRFhirMessageHandler

Namespace: SanteDB.Messaging.FHIR
Assembly: SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 3.0.2081-alpha+4e2291b954f20d29cba15591683155ca851b26eb
Syntax
public class FhirMessageHandler : IDaemonService, 
	IServiceImplementation, IApiEndpointProvider

The FhirMessageHandler type exposes the following members.

Constructors
 NameDescription
Public methodFhirMessageHandler Constructor, load configuration
Top
Properties
 NameDescription
Public propertyApiType Endpoint API type
Public propertyBehaviorType Gets the contract type
Public propertyCapabilities Capabilities
Public propertyIsRunning True if the FHIR message handler is active and running
Public propertyServiceName Gets the service name
Public propertyUrl Url
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStart Start the FHIR message handler
Public methodStop Stop the FHIR message handler
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventStarted Fired when the FHIR message handler has started
Public eventStarting Fired when the FHIR message handler is starting
Public eventStopped Fired when the FHIR message handler has stopped
Public eventStopping Fired when the FHIR message handler is stopping
Top
Fields
 NameDescription
Public fieldStatic memberConfigurationName Configuration name as it appear in the rest configuration section
Top
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 MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
Remarks

The FHIR based message handler is responsible for starting the IFhirServiceContract REST service and enables SanteDB's FHIR REST services. Consult the Enabling FHIR Interfaces documentation for more information on enabling these services in SanteDB.

See Also