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: 2.2.1
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 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.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates 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 methodToString
Returns 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
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
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