Click or drag to resize

SimpleDecisionSupportService Class

Represents a care plan service that can bundle protocol acts together based on their start/stop times
Inheritance Hierarchy
SystemObject
  SanteDB.Core.CdssSimpleDecisionSupportService
    SanteDB.Core.CdssSimpleCarePlanService

Namespace: SanteDB.Core.Cdss
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public class SimpleDecisionSupportService : IDecisionSupportService, 
	IServiceImplementation

The SimpleDecisionSupportService type exposes the following members.

Constructors
 NameDescription
Public methodSimpleDecisionSupportService Constructs the aggregate care planner
Top
Properties
 NameDescription
Public propertyServiceName Gets the service name
Top
Methods
 NameDescription
Public methodAnalyze Instructs the implementation to analyze the data for collectedData according to the protocols specified in librariesToApply
Public methodAnalyzeGlobal Instructs the implementation to analyze the data provided in collectedData using every registered clinical protocol in the SanteDB instance.
Public methodCreateCarePlan(Patient) Create a care plan for the specified patient
Public methodCreateCarePlan(Patient, Boolean) Create a new care plan (using all available protocols which the patient is eligible) and group the instructions as PatientEncounter instances
Public methodCreateCarePlan(Patient, Boolean, IDictionaryString, Object, ICdssLibrary) Creates a care plan for the specified patient, using only the protocols provided
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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
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

This implementation of the care plan service is capable of calling ICdssProtocol instances registered from the clinical protocol manager to construct Act instances representing the proposed actions to take for the patient. The care planner is also capable of simple interval hull functions to group these acts together into PatientEncounter instances based on safe time for grouping.

See Also