 | DataConverterFromModel Method (CE, Concept, String, Boolean) |
Convert entity identifier to a CX
Namespace:
SanteDB.Messaging.HL7
Assembly:
SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
Syntaxpublic static CE FromModel(
this CE me,
Concept concept,
string domain,
bool exact = true
)
<ExtensionAttribute>
Public Shared Function FromModel (
me As CE,
concept As Concept,
domain As String,
Optional exact As Boolean = true
) As CE
public:
[ExtensionAttribute]
static CE^ FromModel(
CE^ me,
Concept^ concept,
String^ domain,
bool exact = true
)
[<ExtensionAttribute>]
static member FromModel :
me : CE *
concept : Concept *
domain : string *
?exact : bool
(* Defaults:
let _exact = defaultArg exact true
*)
-> CE
Parameters
- me
- Type: CE
The CE to populate - concept
- Type: SanteDB.Core.Model.DataTypesConcept
The concept to fetch the reference term for - domain
- Type: SystemString
The domain in the code - exact (Optional)
- Type: SystemBoolean
True if only SAME_AS should be returned
Return Value
Type:
CE[Missing <returns> documentation for "M:SanteDB.Messaging.HL7.DataConverter.FromModel(NHapi.Model.V25.Datatype.CE,SanteDB.Core.Model.DataTypes.Concept,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
CE. 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