Click or drag to resize

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
Syntax
public static CE FromModel(
	this CE me,
	Concept concept,
	string domain,
	bool exact = true
)

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