FHIR Resource Sanitizer Operator#
Authors: Holoscan SDK Team (NVIDIA)
Supported platforms: x86_64, aarch64
Language: Python
Last modified: March 9, 2026
Latest version: 1.1
Minimum Holoscan SDK version: 2.0.0
Tested Holoscan SDK versions: 2.5.0, 3.3.0
Contribution metric: Level 2 - Trusted
A Holoscan operator that processes and sanitizes FHIR medical records into a standardized, AI-friendly format while maintaining essential medical information.
Overview#
The FHIR Resource Sanitizer Operator is designed to transform raw FHIR (Fast Healthcare Interoperability Resources) medical records into a more standardized format suitable for AI processing. It handles various FHIR resource types including Patient, Observation, Condition, DiagnosticReport, ImagingStudy, and more, while implementing robust error handling and logging mechanisms.
Requirements#
- holoscan
- fhir.resources
- pydantic
Example Usage#
Please check fhir_client.py in Generative AI Application on Holoscan integrating with FHIR Services.
Name Input/Output#
-
Input:
records: A FHIRQueryResponse object containing patient medical records -
Output:
out: A sanitized FHIRQueryResponse object with standardized medical records
Parameters#
fhir_endpoint(str): FHIR service endpoint URL (default: "http://localhost:8080/")
API Reference#
Python#
FhirResourceSanitizerOp#
Inherits from: Operator
Named inputs: requests: a FHIRQueryResponse object
Methods#
| Method | Description |
|---|---|
__init__(fragment) |
An operator that queries FHIR service based on information received via |
setup(spec) |
|
compute(op_input, op_output, context) |
Sanitizes a given FHIR resource. |