 | DataConverterToConcept(IS, String, Boolean) Method |
Convert a simple string to a concept in the specified domain
Namespace: SanteDB.Messaging.HL7Assembly: SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 3.0.2081-alpha+e82e56b43bfab0d631a8b4d1ba2ab44b8aff02dd
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 IS
[Missing <param name="me"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToConcept(NHapi.Model.V25.Datatype.IS,System.String,System.Boolean)"]
- domain String
[Missing <param name="domain"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToConcept(NHapi.Model.V25.Datatype.IS,System.String,System.Boolean)"]
- throwIfNotFound Boolean (Optional)
[Missing <param name="throwIfNotFound"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToConcept(NHapi.Model.V25.Datatype.IS,System.String,System.Boolean)"]
Return Value
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