Click or drag to resize

DataConverter Class

Data converter for base types
Inheritance Hierarchy
SystemObject
  SanteDB.Messaging.HL7DataConverter

Namespace:  SanteDB.Messaging.HL7
Assembly:  SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
Syntax
public static class DataConverter

The DataConverter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFromModel(HD, AssigningAuthority)
Convert assigning authortiy to v2
Public methodStatic memberFromModel(XAD, EntityAddress)
Convert address to XAD
Public methodStatic memberFromModel(XPN, EntityName)
Convert name to XPN
Public methodStatic memberFromModel(XTN, EntityTelecomAddress)
Convert a telecom address to an XTN v2 structure
Public methodStatic memberFromModel(ID, Concept, String)
From a model
Public methodStatic memberFromModel(IS, Concept, String)
From a model
Public methodStatic memberFromModel(CE, Concept, String, Boolean)
Convert entity identifier to a CX
Public methodStatic memberFromModelTBind(CX, IdentifierBaseTBind)
Convert entity identifier to a CX
Public methodStatic memberToConcept(ID, String)
Convert a simple string to a concept in the specified domain
Public methodStatic memberToConcept(IS, String, Boolean)
Convert a simple string to a concept in the specified domain
Public methodStatic memberToDatePrecision
Convert to date precision
Public methodStatic memberToModel(CX)
Converts an CX instance to an EntityIdentifier instance.
Public methodStatic memberToModel(CX)
Converts a list of CX identifiers to a list of EntityIdentifier identifiers.
Public methodStatic memberToModel(HD)
Converts an HD instance to an AssigningAuthority instance.
Public methodStatic memberToModel(TS)
Converts a TS instance to a DateTime instance.
Public methodStatic memberToModel(XAD)
Converts the specified HL7v2 XAD to an entity address
Public methodStatic memberToModel(XAD)
Converts a list of XAD addresses to a list of EntityAddress addresses.
Public methodStatic memberToModel(XON)
Converts an CX instance to an EntityIdentifier instance.
Public methodStatic memberToModel(XON)
Converts a list of CX identifiers to a list of EntityIdentifier identifiers.
Public methodStatic memberToModel(XPN)
Converts the specified XPN instance to an entity name
Public methodStatic memberToModel(XTN)
Converts a XTN instance to a EntityTelecomAddress instance.
Public methodStatic memberToModel(XTN)
Return as a model
Public methodStatic memberToModel(XPN, NullableGuid)
Converts a list of XPN instance to EntityName instances
Public methodStatic memberToModel(CE, String, Boolean)
Convert a CE to a concept
Public methodStatic memberToModel(CE, String, Boolean)
Convert CE to Concept
Public methodStatic memberToVersion25
Convert the message to v2.5
Top
See Also