generalFhirSearch
Execute FHIR searches across any resource type with custom parameters using the Medplum MCP Server. Retrieve healthcare data efficiently by specifying resource types and query criteria.
Instructions
Performs a generic FHIR search operation on any resource type with custom query parameters.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
queryParams | Yes | A record of query parameters, where keys are FHIR search parameters and values are their corresponding values. | |
resourceType | Yes | The FHIR resource type to search for (e.g., 'Patient', 'Observation'). |
Input Schema (JSON Schema)
{
"properties": {
"queryParams": {
"additionalProperties": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"description": "A record of query parameters, where keys are FHIR search parameters and values are their corresponding values.",
"type": "object"
},
"resourceType": {
"description": "The FHIR resource type to search for (e.g., 'Patient', 'Observation').",
"type": "string"
}
},
"required": [
"resourceType",
"queryParams"
],
"type": "object"
}