|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.lang.Enum
ca.infoway.messagebuilder.lang.EnumPattern
ca.infoway.messagebuilder.xml.ConformanceLevel
public class ConformanceLevel
Conformance level.
This enum models the various conformance levels in the HL7 standards materials.
Field Summary | |
---|---|
static ConformanceLevel |
IGNORED
The ignored conformance level. |
static ConformanceLevel |
MANDATORY
The mandatory conformance level. |
static ConformanceLevel |
NOT_ALLOWED
The not allowed conformance level. |
static ConformanceLevel |
OPTIONAL
The optional conformance level. |
static ConformanceLevel |
POPULATED
The populated conformance level. |
static ConformanceLevel |
REQUIRED
The requied conformance level. |
Fields inherited from class ca.infoway.messagebuilder.lang.Enum |
---|
INNER_CLASS_SEPARATOR_CHAR, iToString, PACKAGE_SEPARATOR_CHAR |
Method Summary | |
---|---|
String |
getDescription()
Gets a human-readable description of the conformance level. |
boolean |
isMorePermissive(ConformanceLevel conformanceLevel)
A convenience method to see if one conformance level is more permissive than another conformance level. |
Methods inherited from class ca.infoway.messagebuilder.lang.EnumPattern |
---|
getEnumConstants, isEnum, name, toString, valueOf, values |
Methods inherited from class ca.infoway.messagebuilder.lang.Enum |
---|
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, getShortClassName, getShortClassName, hashCode, iterator, readResolve |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ConformanceLevel MANDATORY
The mandatory conformance level. A mandatory data element must exist in the HL7 message and must have a non-null value.
public static final ConformanceLevel POPULATED
The populated conformance level. A populated data element must exist in the HL7 message, but may have a null flavor associated with it.
public static final ConformanceLevel REQUIRED
The requied conformance level. This term is prone to misunderstanding, becase in terms of the data in the message, required elements are closest to optional elements. What distinguishes the required conformance level from the optional conformance level is that a compliant system should save, persist or process any data values provided.
public static final ConformanceLevel OPTIONAL
The optional conformance level. An optional data element might or might not exist in the HL7 message. Null flavors are also possible.
public static final ConformanceLevel IGNORED
The ignored conformance level.
public static final ConformanceLevel NOT_ALLOWED
The not allowed conformance level.
Method Detail |
---|
public String getDescription()
Gets a human-readable description of the conformance level.
public boolean isMorePermissive(ConformanceLevel conformanceLevel)
A convenience method to see if one conformance level is more permissive than another conformance level.
conformanceLevel
- - the other conformance level.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |