// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.health.insights.clinicalmatching.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The results of the model's work for a single patient. */
@Immutable
public final class TrialMatcherPatientResult {
    /*
     * The identifier given for the patient in the request.
     */
    @JsonProperty(value = "id", required = true)
    private String id;

    /*
     * The model's inferences for the given patient.
     */
    @JsonProperty(value = "inferences", required = true)
    private List<TrialMatcherInference> inferences;

    /*
     * Clinical information which is needed to provide better trial matching results for the patient.
     */
    @JsonProperty(value = "neededClinicalInfo")
    private List<ExtendedClinicalCodedElement> neededClinicalInfo;

    /**
     * Creates an instance of TrialMatcherPatientResult class.
     *
     * @param id the id value to set.
     * @param inferences the inferences value to set.
     */
    @JsonCreator
    private TrialMatcherPatientResult(
            @JsonProperty(value = "id", required = true) String id,
            @JsonProperty(value = "inferences", required = true) List<TrialMatcherInference> inferences) {
        this.id = id;
        this.inferences = inferences;
    }

    /**
     * Get the id property: The identifier given for the patient in the request.
     *
     * @return the id value.
     */
    public String getId() {
        return this.id;
    }

    /**
     * Get the inferences property: The model's inferences for the given patient.
     *
     * @return the inferences value.
     */
    public List<TrialMatcherInference> getInferences() {
        return this.inferences;
    }

    /**
     * Get the neededClinicalInfo property: Clinical information which is needed to provide better trial matching
     * results for the patient.
     *
     * @return the neededClinicalInfo value.
     */
    public List<ExtendedClinicalCodedElement> getNeededClinicalInfo() {
        return this.neededClinicalInfo;
    }
}
