{
"description": "Searches for conditions (diagnoses) for a given patient. Supports filtering by clinical status, ICD-10-GM code prefix, diagnostic certainty (Diagnosesicherheit), and a recorded-date range. Returns a FHIR Bundle (searchset) of Mxx_HealthHub_Condition resources. Search parameters are passed as a FHIR Parameters resource (camelCase), consistent with the implemented IHS operations (e.g. SearchAvailableSlots).",
"_filename": "SearchConditions.OperationDefinition.json",
"package_name": "medatixx.healthhub",
"date": null,
"system": false,
"publisher": "medatixx GmbH & Co. KG",
"instance": false,
"name": "SearchConditions",
"copyright": "medatixx GmbH & Co. KG",
"type": "true",
"experimental": null,
"resourceType": "OperationDefinition",
"title": null,
"package_version": "1.5.0",
"status": "active",
"id": "e4452c2a-b6f2-4837-a2d7-4fc79e9237a4",
"resource": [ "Condition" ],
"affectsState": false,
"kind": "operation",
"url": "https://fhir.medatixx.de/HealthHub/OperationDefinition/SearchConditions",
"code": "searchConditions",
"version": "1.5.0",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "subject",
"type": "Reference",
"documentation": "Patient whose conditions 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 Condition.recordedDate. ISO 8601, YYYY-MM-DD. Filters on recordedDate, not onsetDateTime."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "endDate",
"type": "date",
"documentation": "Upper bound (inclusive) on Condition.recordedDate. ISO 8601, YYYY-MM-DD."
}, {
"max": "*",
"min": 0,
"use": "in",
"name": "clinicalStatus",
"type": "code",
"binding": {
"strength": "required",
"valueSet": "https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_ConditionClinicalStatus"
},
"documentation": "Filter by clinical status. Multiple values use OR logic. When omitted, no filter is applied. Bound to Mxx_HealthHub_VS_ConditionClinicalStatus."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "icdCode",
"type": "string",
"documentation": "Filter by ICD-10-GM code. Prefix match allows searching by category (e.g., 'E11' for all Type 2 diabetes codes). Case-insensitive."
}, {
"max": "*",
"min": 0,
"use": "in",
"name": "diagnosisCertainty",
"type": "code",
"binding": {
"strength": "required",
"valueSet": "https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_DiagnosisCertainty"
},
"documentation": "Filter by German diagnostic certainty (Diagnosesicherheit). Multiple values use OR logic. Bound to Mxx_HealthHub_VS_DiagnosisCertainty."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "_count",
"type": "integer",
"documentation": "Results per page. Default: 100, maximum: 500."
}, {
"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_Condition resources. Sorted by recordedDate (most recent first)."
} ]
}