diff --git a/fhirpathpy/engine/invocations/filtering.py b/fhirpathpy/engine/invocations/filtering.py index 23e1d53..3c525bb 100644 --- a/fhirpathpy/engine/invocations/filtering.py +++ b/fhirpathpy/engine/invocations/filtering.py @@ -113,7 +113,7 @@ def check_fhir_type(ctx, x, tp): if tp == "integer" and isinstance(x, int) and not isinstance(x, bool): return True - if tp == "decimal" and isinstance(x, (int, Decimal)) and not isinstance(x, bool): + if tp == "decimal" and isinstance(x, Decimal): return True return False