{
"description": "Searches for laboratory reports (DiagnosticReport) for a given patient. Supports filtering by an inclusive effective-date range, DiagnosticReport status, and pagination. Supports FHIR _include to resolve referenced Observation resources in a single Bundle response. Search parameters are passed as a FHIR Parameters resource (camelCase), consistent with SearchConditions and SearchVitalSigns. Returns a FHIR Bundle (searchset) of Mxx_HealthHub_DiagnosticReport resources.",
"_filename": "SearchLaborReports.OperationDefinition.json",
"package_name": "medatixx.healthhub",
"date": null,
"system": false,
"publisher": "medatixx GmbH & Co. KG",
"instance": false,
"name": "SearchLaborReports",
"copyright": "medatixx GmbH & Co. KG",
"type": "true",
"experimental": null,
"resourceType": "OperationDefinition",
"title": "Search Labor Reports",
"package_version": "1.5.0",
"status": "active",
"id": "7ace18e3-154c-4357-b294-ce7db67b217b",
"resource": [ "DiagnosticReport" ],
"affectsState": false,
"kind": "operation",
"url": "https://fhir.medatixx.de/HealthHub/OperationDefinition/SearchLaborReports",
"code": "searchLaborReports",
"version": "1.5.0",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "subject",
"type": "Reference",
"documentation": "Patient whose laboratory reports are searched, as a reference in the form Patient/{id}.",
"targetProfile": [ "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient" ]
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "startDate",
"type": "date",
"documentation": "Lower bound (inclusive) on DiagnosticReport.effectiveDateTime. ISO 8601, YYYY-MM-DD."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "endDate",
"type": "date",
"documentation": "Upper bound (inclusive) on DiagnosticReport.effectiveDateTime. ISO 8601, YYYY-MM-DD."
}, {
"max": "*",
"min": 0,
"use": "in",
"name": "status",
"type": "code",
"binding": {
"strength": "required",
"valueSet": "https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_DiagnosticReportStatus"
},
"documentation": "Filter by DiagnosticReport status. Multiple values use OR logic. Bound to Mxx_HealthHub_VS_DiagnosticReportStatus."
}, {
"max": "*",
"min": 0,
"use": "in",
"name": "_include",
"type": "string",
"documentation": "FHIR _include directive to embed referenced resources in the response Bundle. Supported value: DiagnosticReport:result (resolves Observation references). DiagnosticReport:specimen is not supported."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "_count",
"type": "integer",
"documentation": "Number of DiagnosticReport entries per page. Default: 20, maximum: 100."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "_offset",
"type": "integer",
"documentation": "Starting result index (0-based) for pagination."
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "return",
"type": "Bundle",
"documentation": "A FHIR Bundle of type searchset containing matching Mxx_HealthHub_DiagnosticReport entries and, when requested via _include=DiagnosticReport:result, referenced Mxx_HealthHub_Observation resources. Sorted by effectiveDateTime (most recent first)."
} ]
}