Package ca.uhn.hl7v2.conf.store
Class AbstractCodeStore
java.lang.Object
ca.uhn.hl7v2.conf.store.AbstractCodeStore
- All Implemented Interfaces:
CodeStore
- Direct Known Subclasses:
ProfileCodeStore
Abstract class for used retrieving and validating codes from user defined and HL7 specific tables
that correspond to a conformance profile.
- Author:
- Neal Acharya
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidCode(String codeSystem, String code) Validates the input code value against the input conformance profile and corresponding input codeSystem.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.conf.store.CodeStore
getValidCodes, knowsCodes
-
Constructor Details
-
AbstractCodeStore
public AbstractCodeStore()
-
-
Method Details
-
isValidCode
Description copied from interface:CodeStoreValidates the input code value against the input conformance profile and corresponding input codeSystem. Returns true if the code is valid and false if it isn't.- Specified by:
isValidCodein interfaceCodeStore- Returns:
trueif code is valid for the codeSystem- See Also:
-