All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hl7.cql_annotations.r1.ErrorSeverity Maven / Gradle / Ivy

Go to download

The elm library for the Clinical Quality Language Java reference implementation

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.08.16 at 09:36:51 AM MDT 
//


package org.hl7.cql_annotations.r1;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 

Java class for ErrorSeverity. * *

The following schema fragment specifies the expected content contained within this class. *

 * <simpleType name="ErrorSeverity">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *     <enumeration value="info"/>
 *     <enumeration value="warning"/>
 *     <enumeration value="error"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ErrorSeverity", namespace = "urn:hl7-org:cql-annotations:r1") @XmlEnum public enum ErrorSeverity { /** * The message is informational and does not impact the translator output. * */ @XmlEnumValue("info") INFO("info"), /** * The message is a warning that some unexpected behavior may occur, but is not critical enough to prevent translation. * */ @XmlEnumValue("warning") WARNING("warning"), /** * The message is an error that is preventing the translation from completing successfully. * */ @XmlEnumValue("error") ERROR("error"); private final String value; ErrorSeverity(String v) { value = v; } public String value() { return value; } public static ErrorSeverity fromValue(String v) { for (ErrorSeverity c: ErrorSeverity.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy