GetRequiredObservation provide the targeted observationResult from given observation list by identifying through ID

Namespace: SmartCDSSKBLibrary.khu.kbmlm
Assembly: SmartCDSSKBLibrary (in SmartCDSSKBLibrary.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected ObservationResult GetRequiredObservationResult(
	List<ClinicalStatement> obsList,
	string id
)
Visual Basic
Protected Function GetRequiredObservationResult ( 
	obsList As List(Of ClinicalStatement),
	id As String
) As ObservationResult
Visual C++
protected:
ObservationResult^ GetRequiredObservationResult(
	List<ClinicalStatement^>^ obsList, 
	String^ id
)
F#
member GetRequiredObservationResult : 
        obsList : List<ClinicalStatement> * 
        id : string -> ObservationResult 

Parameters

obsList
Type: System.Collections.Generic..::..List<(Of <(<'ClinicalStatement>)>)>
List of ObservationResults provided by consumer application
id
Type: System..::..String
Intended ID of ObservationResult

Return Value

Type: ObservationResult
ObservtionResult which have specified id mentioned in 'id' parameter. It will return null if ObservationResult with 'id' is not found. In case of exception, the error message is logged at MLMParseError

See Also