// 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 patient document, such as 'note' (text document) or 'fhirBundle' (FHIR JSON document). */
public final class DocumentType extends ExpandableStringEnum<DocumentType> {
    /** Static value note for DocumentType. */
    public static final DocumentType NOTE = fromString("note");

    /** Static value fhirBundle for DocumentType. */
    public static final DocumentType FHIR_BUNDLE = fromString("fhirBundle");

    /** Static value dicom for DocumentType. */
    public static final DocumentType DICOM = fromString("dicom");

    /** Static value genomicSequencing for DocumentType. */
    public static final DocumentType GENOMIC_SEQUENCING = fromString("genomicSequencing");

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

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

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