Lab Diagnostic Report
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.Must Support Elements
status
category
(must include category:LAB
)code
(LOINC preferred)subject
(patient)effectiveDateTime
issued
performer
result
Supported Search Combinations
1.
GET /DiagnosticReport?patient=Patient/{id}
2.
GET /DiagnosticReport?patient=Patient/{id}&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB
3.
GET /DiagnosticReport?patient=Patient/{id}&code=http://loinc.org|24323-8
4.
GET /DiagnosticReport?patient=Patient/{id}&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date=ge2023-01-01
5.
GET /DiagnosticReport?patient=Patient/{id}&status=final
6.
GET /DiagnosticReport?patient=Patient/{id}&code=http://loinc.org|24323-8&date=ge2023-01-01
Query Parameters
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 |
Authorization Header
Header | Type | Required | Example |
---|---|---|---|
Authorization | string | ✅ Yes | Bearer ACCESS_TOKEN |
Standard Responses
Code | Description |
---|---|
200 | OK – Successful request |
400 | Bad Request |
401 | Unauthorized |
404 | Not Found |
500 | Internal Server Error |