be.fgov.ehealth.standards.kmehr.cd.v1
Enum CDMSMEDICATIONTYPEvalues

java.lang.Object
  extended by java.lang.Enum<CDMSMEDICATIONTYPEvalues>
      extended by be.fgov.ehealth.standards.kmehr.cd.v1.CDMSMEDICATIONTYPEvalues
All Implemented Interfaces:
Serializable, Comparable<CDMSMEDICATIONTYPEvalues>

public enum CDMSMEDICATIONTYPEvalues
extends Enum<CDMSMEDICATIONTYPEvalues>

Java class for CD-MS-MEDICATIONTYPEvalues.

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

 <simpleType name="CD-MS-MEDICATIONTYPEvalues">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="onprescription"/>
     <enumeration value="otc"/>
     <enumeration value="other"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ONPRESCRIPTION
           
OTC
           
OTHER
           
 
Method Summary
static CDMSMEDICATIONTYPEvalues fromValue(String v)
           
 String value()
           
static CDMSMEDICATIONTYPEvalues valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CDMSMEDICATIONTYPEvalues[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ONPRESCRIPTION

public static final CDMSMEDICATIONTYPEvalues ONPRESCRIPTION

OTC

public static final CDMSMEDICATIONTYPEvalues OTC

OTHER

public static final CDMSMEDICATIONTYPEvalues OTHER
Method Detail

values

public static CDMSMEDICATIONTYPEvalues[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CDMSMEDICATIONTYPEvalues c : CDMSMEDICATIONTYPEvalues.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CDMSMEDICATIONTYPEvalues valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static CDMSMEDICATIONTYPEvalues fromValue(String v)



Connector Business ORGPHARMACY 3.13.1 API
Copyright © {inceptionYear}-2017 eHealth. All Rights Reserved.