Skip to content

Endpoint: /Patient/GetAllData ​

This endpoint will allow a GEHRIMED Patient ID, a time range, and a source to be supplied, returning all categories of data for a patient with that GEHRIMED Patient ID from the chosen source. The result will be JSON and the CCDA property will contain a CCDA R2.1 XML document.

Request: JSON

{
    "PatientID": "159987",
    "StartDate": "2011-11-09",
    "EndDate": "2012-11-09",
    "Source": "PatientAgent"
}
FieldData TypeRequiredComments
PatientIDLongRequiredGEHRIMED PatientID
StartDateDateOptionalStart date to filter data on.
EndDateDateOptionalEnd date to filter data on.
SourceStringOptionalOrigin of data

Response: JSON Encapsulated CCDA

{
    "Metadata": {
        "ApiSender": "GEHRIMED",
        "ApiConsumer": "client_id",
        "MessageDateTime": "2018-09-07T19:24:32.6246499Z"
    },
    "Data": {
        "PatientID": "159987",
        "CCDA": "<?xml version="1.0" encoding="utf-8"?>...</xml>"
    }
}

Last updated:

Access to this API requires prior authorization.