 | DataConverter Class |
Data converter for base types
Inheritance Hierarchy Namespace: SanteDB.Messaging.HL7Assembly: SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 3.0.2081-alpha+e82e56b43bfab0d631a8b4d1ba2ab44b8aff02dd
Syntaxpublic static class DataConverter
<ExtensionAttribute>
Public NotInheritable Class DataConverter
[ExtensionAttribute]
public ref class DataConverter abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type DataConverter = class end
The DataConverter type exposes the following members.
Methods| | Name | Description |
|---|
 | FromModel(HD, IdentityDomain) |
Convert assigning authortiy to v2
|
 | FromModel(XAD, EntityAddress) |
Convert address to XAD
|
 | FromModel(XPN, EntityName) |
Convert name to XPN
|
 | FromModel(XTN, EntityTelecomAddress) |
Convert a telecom address to an XTN v2 structure
|
 | FromModel(ID, Concept, String) |
From a model
|
 | FromModel(IS, Concept, String) |
From a model
|
 | FromModel(CE, Concept, String, Boolean) |
Convert entity identifier to a CX
|
 | FromModelTBind(CX, IdentifierBaseTBind) |
Convert entity identifier to a CX
|
 | ToConcept(ID, String) |
Convert a simple string to a concept in the specified domain
|
 | ToConcept(IS, String, Boolean) |
Convert a simple string to a concept in the specified domain
|
 | ToDatePrecision |
Convert to date precision
|
 | ToModel(CX) |
Converts an CX instance to an EntityIdentifier instance.
|
 | ToModel(CX) |
Converts a list of CX identifiers to a list of EntityIdentifier identifiers.
|
 | ToModel(HD) |
Converts an HD instance to an IdentityDomain instance.
|
 | ToModel(TS) |
Converts a TS instance to a DateTime instance.
|
 | ToModel(XAD) |
Converts the specified HL7v2 XAD to an entity address
|
 | ToModel(XAD) |
Converts a list of XAD addresses to a list of EntityAddress addresses.
|
 | ToModel(XON) |
Converts an CX instance to an EntityIdentifier instance.
|
 | ToModel(XON) |
Converts a list of CX identifiers to a list of EntityIdentifier identifiers.
|
 | ToModel(XPN) |
Converts the specified XPN instance to an entity name
|
 | ToModel(XTN) |
Converts a XTN instance to a EntityTelecomAddress instance.
|
 | ToModel(XTN) |
Return as a model
|
 | ToModel(XPN, NullableGuid) |
Converts a list of XPN instance to EntityName instances
|
 | ToModel(CE, String, Boolean) |
Convert a CE to a concept
|
 | ToModel(CE, String, Boolean) |
Convert CE to Concept |
  | ToVersion25 |
Convert the message to v2.5
|
Top
See Also