ca.infoway.messagebuilder.marshalling.hl7
Class PqValidationUtils
java.lang.Object
ca.infoway.messagebuilder.marshalling.hl7.PqValidationUtils
public class PqValidationUtils
- extends Object
Method Summary |
int |
getMaxFractionDigits(VersionNumber version,
String type)
|
int |
getMaxIntDigits(VersionNumber version,
String type)
|
Class<? extends UnitsOfMeasureCaseSensitive> |
getUnitTypeByHl7Type(StandardDataType dataType,
String propertyPath,
Hl7Errors errors)
|
Class<? extends UnitsOfMeasureCaseSensitive> |
getUnitTypeByHl7Type(String typeAsString,
Element element,
String propertyPath,
Hl7Errors errors)
|
UnitsOfMeasureCaseSensitive |
validateUnits(String type,
String unitsAsString,
Element element,
String propertyPath,
Hl7Errors errors)
|
BigDecimal |
validateValue(String value,
VersionNumber version,
String type,
Element element,
String propertyPath,
Hl7Errors errors)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXIMUM_INTEGER_DIGITS
public static final int MAXIMUM_INTEGER_DIGITS
- See Also:
- Constant Field Values
MAXIMUM_FRACTION_DIGITS
public static final int MAXIMUM_FRACTION_DIGITS
- See Also:
- Constant Field Values
maximum_fraction_digits_exceptions
public static final Map<String,Integer> maximum_fraction_digits_exceptions
maximum_integer_digits_exceptions
public static final Map<String,Integer> maximum_integer_digits_exceptions
PqValidationUtils
public PqValidationUtils()
getMaxFractionDigits
public int getMaxFractionDigits(VersionNumber version,
String type)
getMaxIntDigits
public int getMaxIntDigits(VersionNumber version,
String type)
getUnitTypeByHl7Type
public Class<? extends UnitsOfMeasureCaseSensitive> getUnitTypeByHl7Type(StandardDataType dataType,
String propertyPath,
Hl7Errors errors)
getUnitTypeByHl7Type
public Class<? extends UnitsOfMeasureCaseSensitive> getUnitTypeByHl7Type(String typeAsString,
Element element,
String propertyPath,
Hl7Errors errors)
validateValue
public BigDecimal validateValue(String value,
VersionNumber version,
String type,
Element element,
String propertyPath,
Hl7Errors errors)
validateUnits
public UnitsOfMeasureCaseSensitive validateUnits(String type,
String unitsAsString,
Element element,
String propertyPath,
Hl7Errors errors)
Copyright © 2013. All Rights Reserved.