DiagnosticReport resource in Edvak Health EHR represents laboratory test results and findings such as blood tests, urinalysis, and other lab-based diagnostics. It returns atomic values or full text reports (e.g. PDFs), mapped with LOINC codes and associated patient information.statuscategory (must include category:LAB)code (LOINC preferred)subject (patient)effectiveDateTimeissuedperformerresultGET /DiagnosticReport?patient=Patient/{id}GET /DiagnosticReport?patient=Patient/{id}&category=http://terminology.hl7.org/CodeSystem/v2-0074|LABGET /DiagnosticReport?patient=Patient/{id}&code=http://loinc.org|24323-8GET /DiagnosticReport?patient=Patient/{id}&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date=ge2023-01-01GET /DiagnosticReport?patient=Patient/{id}&status=finalGET /DiagnosticReport?patient=Patient/{id}&code=http://loinc.org|24323-8&date=ge2023-01-01| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| patient | string | ✅ Yes | Patient/123 | Patient resource reference |
| category | token | Optional | `http://terminology.hl7.org/CodeSystem/v2-0074 | LAB` |
| code | token | Optional | `http://loinc.org | 24323-8` |
| date | date | Optional | ge2023-01-01 | Date or date range for when test was performed |
| status | token | Optional | final | Diagnostic report status |
| Header | Type | Required | Example |
|---|---|---|---|
| Authorization | string | ✅ Yes | Bearer ACCESS_TOKEN |
| Code | Description |
|---|---|
| 200 | OK – Successful request |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Not Found |
| 500 | Internal Server Error |