public class ProfileCodeStore extends AbstractCodeStore
| Constructor and Description |
|---|
ProfileCodeStore(String uri) |
ProfileCodeStore(URL url)
As string constructor but accepts a URL object
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getValidCodes(String codeSystem) |
boolean |
knowsCodes(String codeSystem) |
isValidCodepublic ProfileCodeStore(String uri) throws ProfileException, IOException
uri - the location of the specification XML fileProfileExceptionIOException - Creates a ProfileCodeStore object that uses tables found in an 'spec xml tables only'
xml doc specified by the input URI. The private field member tableDoc is created with
content from the xml doc specified by the URI.public ProfileCodeStore(URL url) throws ProfileException, IOException
ProfileExceptionIOExceptionpublic String[] getValidCodes(String codeSystem) throws ProfileException
codeSystem - ProfileExceptionRetreives all codes for a given conformance profile and codeSystem.
Note: The codeSystem parameter value must be a concatenation of a coding authority
and coding table number that is 4 digits long.
Note: The current implementation only accepts a coding authority of HL7public boolean knowsCodes(String codeSystem)
codeSystem - Validates the codeSytem against the input conformance profile. If valid then
output is 'true' else 'false'.
Note: The codeSystem parameter value must be a concatenation of a coding authority
and coding table number that is 4 digits long.
Note: The current implementation only accepts a coding authority of HL7Copyright © 2001-2012 University Health Network. All Rights Reserved.