public class ProfileCodeStore extends AbstractCodeStore
Constructor and Description |
---|
ProfileCodeStore(String uri)
Creates a ProfileCodeStore object that uses tables found in an 'spec xml tables only' xml doc
specified by the input URI.
|
ProfileCodeStore(URL url)
As string constructor but accepts a URL object
|
Modifier and Type | Method and Description |
---|---|
String[] |
getValidCodes(String codeSystem)
Retrieves all codes for a given conformance profile and codeSystem.
|
boolean |
knowsCodes(String codeSystem)
Validates the codeSystem against the input conformance profile.
|
isValidCode
public ProfileCodeStore(String uri) throws ProfileException, IOException
uri
- the location of the specification XML fileProfileException
IOException
public ProfileCodeStore(URL url) throws ProfileException, IOException
ProfileException
IOException
public String[] getValidCodes(String codeSystem) throws ProfileException
codeSystem
- ProfileException
ca.uhn.hl7v2.conf.store.CodeStore#getValidCodes(java.lang.String, java.lang.String)
public boolean knowsCodes(String codeSystem)
codeSystem
- ca.uhn.hl7v2.conf.store.CodeStore#knowsCodes(java.lang.String, java.lang.String)
Copyright © 2001–2017 University Health Network. All rights reserved.