ca.uhn.hl7v2.conf.store
Class AbstractCodeStore

java.lang.Object
  extended by ca.uhn.hl7v2.conf.store.AbstractCodeStore
All Implemented Interfaces:
CodeStore
Direct Known Subclasses:
ProfileCodeStore

public abstract class AbstractCodeStore
extends java.lang.Object
implements CodeStore

Created on 27-Aug-2003

Author:
Neal Acharya Abstract class for used retreiving and validating codes from user defined and HL7 specific tables that correspond to a conformance profile.

Constructor Summary
AbstractCodeStore()
           
 
Method Summary
 boolean isValidCode(java.lang.String codeSystem, java.lang.String code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.uhn.hl7v2.conf.store.CodeStore
getValidCodes, knowsCodes
 

Constructor Detail

AbstractCodeStore

public AbstractCodeStore()
Method Detail

isValidCode

public boolean isValidCode(java.lang.String codeSystem,
                           java.lang.String code)
Specified by:
isValidCode in interface CodeStore
Parameters:
codeSystem -
code -
Returns:
boolean
See Also:
Validates 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.


Copyright © 2001-2011 University Health Network. All Rights Reserved.