Retrieves patient data as a CCDA document in XML format.
Method Type: GET
Authorization:
- Token (Required)
- Type: Bearer Token
Authorization token
Syntax
https://test.hs1api.com/ascend-gateway/api/v0/MU/getccdaxml?filter=patId==1000006,patDb==1000016,startDate==1/1/2015,endDate==3/18/2019
Parameters
- filter (Required)
- Filter expression, using a combination of the following
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
Headers
- Organization-ID (Required)
- Type: string
Organization Id
Request Body
None
Response
- statusCode
- Type: numeric
Response status code
- data
- Type: xml
CCDA document in XML format
Example
{
"statusCode": 200,
"data": "<?xml version=\"1.0\" encoding=\"utf-8\"?>XML content </xml>"
}
Possible Errors