|  | DataConverterToConcept Method (IS, String, Boolean) | 
 
            Convert a simple string to a concept in the specified domain
            
 
    Namespace: 
   SanteDB.Messaging.HL7
    Assembly:
   SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
 Syntax
Syntaxpublic static Concept ToConcept(
	this IS me,
	string domain,
	bool throwIfNotFound = true
)
<ExtensionAttribute>
Public Shared Function ToConcept ( 
	me As IS,
	domain As String,
	Optional throwIfNotFound As Boolean = true
) As Concept
public:
[ExtensionAttribute]
static Concept^ ToConcept(
	IS^ me, 
	String^ domain, 
	bool throwIfNotFound = true
)
[<ExtensionAttribute>]
static member ToConcept : 
        me : IS * 
        domain : string * 
        ?throwIfNotFound : bool 
(* Defaults:
        let _throwIfNotFound = defaultArg throwIfNotFound true
*)
-> Concept 
Parameters
- me
- Type: IS
 [Missing <param name="me"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToConcept(NHapi.Model.V25.Datatype.IS,System.String,System.Boolean)"] 
- domain
- Type: SystemString
 [Missing <param name="domain"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToConcept(NHapi.Model.V25.Datatype.IS,System.String,System.Boolean)"] 
- throwIfNotFound (Optional)
- Type: SystemBoolean
 [Missing <param name="throwIfNotFound"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToConcept(NHapi.Model.V25.Datatype.IS,System.String,System.Boolean)"] 
Return Value
Type: 
Concept[Missing <returns> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToConcept(NHapi.Model.V25.Datatype.IS,System.String,System.Boolean)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IS. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
 See Also
See Also