// 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.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** The type of the clinical document. */
public final class ClinicalDocumentType extends ExpandableStringEnum<ClinicalDocumentType> {
    /** Static value consultation for ClinicalDocumentType. */
    public static final ClinicalDocumentType CONSULTATION = fromString("consultation");

    /** Static value dischargeSummary for ClinicalDocumentType. */
    public static final ClinicalDocumentType DISCHARGE_SUMMARY = fromString("dischargeSummary");

    /** Static value historyAndPhysical for ClinicalDocumentType. */
    public static final ClinicalDocumentType HISTORY_AND_PHYSICAL = fromString("historyAndPhysical");

    /** Static value procedure for ClinicalDocumentType. */
    public static final ClinicalDocumentType PROCEDURE = fromString("procedure");

    /** Static value progress for ClinicalDocumentType. */
    public static final ClinicalDocumentType PROGRESS = fromString("progress");

    /** Static value imaging for ClinicalDocumentType. */
    public static final ClinicalDocumentType IMAGING = fromString("imaging");

    /** Static value laboratory for ClinicalDocumentType. */
    public static final ClinicalDocumentType LABORATORY = fromString("laboratory");

    /** Static value pathology for ClinicalDocumentType. */
    public static final ClinicalDocumentType PATHOLOGY = fromString("pathology");

    /**
     * Creates a new instance of ClinicalDocumentType value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ClinicalDocumentType() {}

    /**
     * Creates or finds a ClinicalDocumentType from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ClinicalDocumentType.
     */
    @JsonCreator
    public static ClinicalDocumentType fromString(String name) {
        return fromString(name, ClinicalDocumentType.class);
    }

    /**
     * Gets known ClinicalDocumentType values.
     *
     * @return known ClinicalDocumentType values.
     */
    public static Collection<ClinicalDocumentType> values() {
        return values(ClinicalDocumentType.class);
    }
}
