DataManager GetCCDAXml Method
Retrieves patient data as a CCDA document in XML format.
Namespace:  Dtx.DataAccessExt
Assembly:  Dtx.DataAccessExt (in Dtx.DataAccessExt.dll) Version: 11.0.12.85
Syntax
C#
public string GetCCDAXml(
        int patId,
        int patDb,
        Nullable<DateTime> startDate,
        Nullable<DateTime> endDate
)

Parameters

patId (Required)
Type: numeric
Patient Id
patDb (Required)
Type: numeric
Patient Db
startDate (Optional)
Type: Date
Start date of the time period
endDate (Optional)
Type: Date
End date of the time period

Return Value

Type: String
String of CCDA XML file
Exceptions
Exception Condition
DtxApiErrorException Throws an exception with error codes declared in DtxApiErrorType
SqlException When SQL Server returns a warning or error.
See Also