|  | DataConverter Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: SanteDB.Messaging.HL7
 Syntax
SyntaxThe DataConverter type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|   | FromModel(HD, AssigningAuthority) | 
            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 AssigningAuthority 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
             | 
 See Also
See Also