public interface CodeStore
Modifier and Type | Method and Description |
---|---|
String[] |
getValidCodes(String codeSystem)
Retrieves all codes for a given conformance profile and codeSystem.
|
boolean |
isValidCode(String codeSystem,
String code)
Validates the input code value against the input conformance profile and corresponding input
codeSystem.
|
boolean |
knowsCodes(String codeSystem)
Validates the codeSystem against the input conformance profile.
|
String[] getValidCodes(String codeSystem) throws ProfileException
codeSystem
- a table of codes (for example, HL70001 for administrative sex) valid tables
are defined in the HL7 table 0396ProfileException
boolean knowsCodes(String codeSystem)
codeSystem
- true
if CodeStore knows the codeSystemboolean isValidCode(String codeSystem, String code)
codeSystem
- code
- true
if code is valid for the codeSystemCopyright © 2001–2017 University Health Network. All rights reserved.