|
||||||||||
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.SpecificationVersion
public class SpecificationVersion
An enum that lists the various supported hl7 versions.
Field Summary | |
---|---|
static SpecificationVersion |
R02_04_02
R02.04.00 is the designation given to Maintenance Release 2009 (MR 2009), officially released on 2009-03-16. |
static SpecificationVersion |
R02_04_03
|
static SpecificationVersion |
R02_04_03_AB
|
static SpecificationVersion |
V01R04_2_SK
Saskatchewan (V01R04.2) Base version should technically be V01R04_2 (which isn't a MB HL7v3 release), but the value is really only used to determine the main release (CeRx, in this case) so we should be ok to use V01R04_3. |
static SpecificationVersion |
V01R04_3
This designation is used for a stand-alone version of the IEHR messages. |
static SpecificationVersion |
V02R01
|
static SpecificationVersion |
V02R02
This designation is used for the major release of CeRx, CR, PR and other messages. |
static SpecificationVersion |
V02R02_AB
Alberta |
Fields inherited from class ca.infoway.messagebuilder.lang.Enum |
---|
INNER_CLASS_SEPARATOR_CHAR, iToString, PACKAGE_SEPARATOR_CHAR |
Method Summary | |
---|---|
Hl7BaseVersion |
getBaseVersion()
Gets the base version of HL7v3 applicable to this version. |
String |
getDescription()
Gets the description. |
String |
getVersionLiteral()
Gets the version literal. |
static boolean |
isExactVersion(VersionNumber version1,
VersionNumber version2)
|
static boolean |
isVersion(VersionNumber version,
Hl7BaseVersion versionToCheck)
Checks if the supplied VersionNumber is based on a particular HL7v3 release |
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 SpecificationVersion V01R04_3
This designation is used for a stand-alone version of the IEHR messages. It was released on 2007-05-08
public static final SpecificationVersion V02R01
public static final SpecificationVersion V02R02
This designation is used for the major release of CeRx, CR, PR and other messages. It appears to have been officially released on 2007-12-07.
public static final SpecificationVersion R02_04_02
R02.04.00 is the designation given to Maintenance Release 2009 (MR 2009), officially released on 2009-03-16.
public static final SpecificationVersion R02_04_03
public static final SpecificationVersion V01R04_2_SK
public static final SpecificationVersion V02R02_AB
public static final SpecificationVersion R02_04_03_AB
Method Detail |
---|
public String getVersionLiteral()
Gets the version literal. Null should not be returned.
getVersionLiteral
in interface VersionNumber
public String getDescription()
Gets the description.
public Hl7BaseVersion getBaseVersion()
Gets the base version of HL7v3 applicable to this version.
getBaseVersion
in interface VersionNumber
public static boolean isVersion(VersionNumber version, Hl7BaseVersion versionToCheck)
version
- versionToCheck
-
public static boolean isExactVersion(VersionNumber version1, VersionNumber version2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |