# This file was auto-generated by Fern from our API Definition.

from __future__ import annotations

import typing

import pydantic


class TestResult_Hematocrit(pydantic.BaseModel):
    value: float
    type: typing.Literal["hematocrit"] = "hematocrit"

    class Config:
        frozen = True
        smart_union = True


class TestResult_Hemoglobin(pydantic.BaseModel):
    value: float
    type: typing.Literal["hemoglobin"] = "hemoglobin"

    class Config:
        frozen = True
        smart_union = True


TestResult = typing.Union[TestResult_Hematocrit, TestResult_Hemoglobin]
