public interface FDBCodingSchemeVersion extends CodingSchemeVersion
CodingSchemeVersion
by providing
operations that are specific to the First Data Bank (FDB) drug codes terminology.
ETS assigns an internal concept code to the FDB Concepts.
This internal code consists of FDB code (external concept code) of the concept,
suffixed with a string that identifies the concept type. For example, an FDB allergen
group concept that has an external concept code of 001 can have an internal
concept code of 001-AGRP. An internal concept code is passed as a parameter to the getConceptByConceptCode(String)
method defined in CodingSchemeVersion
interface.CodingSchemeVersion
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_AHFS_CLASSIFICATION
Constant that contains the AHFS Classification (AHFS) type code.
|
static String |
TYPE_ALLERGEN_GROUP
Constant that contains the Allergen Group (AGRP) type code.
|
static String |
TYPE_BRAND_NAME
Constant that contains the Brand Name (BN) type code.
|
static String |
TYPE_DOSAGE_FORM
Constant that contains the Dosage Form (DF) type code.
|
static String |
TYPE_ETC
Constant that contains the Enhanced Therapeutic Classification (ETC) type Code.
|
static String |
TYPE_HIC
Constant that contains the Hierarchical Ingredient Code (HIC) type code.
|
static String |
TYPE_MEDICATION
Constant that contains the Medication (MED) type code.
|
static String |
TYPE_MEDICATION_NAME
Constant that contains the Medication Name (MEDNM) type code.
|
static String |
TYPE_MEDICATION_ROUTE
Constant that contains the Medication Route (RT) type code.
|
static String |
TYPE_NDC
Constant that contains the NDC Drug (NDC) type code.
|
static String |
TYPE_RDF_MEDICATION
Constant that contains the Routed Dosage Form Medication (RDFM) type code.
|
static String |
TYPE_ROUTED_MEDICATION
Constant that contains the Routed Medication (RTMED) type code.
|
Modifier and Type | Method and Description |
---|---|
String |
convertToFDBNDCCode(String code,
int ndcFormatIndicator)
Converts an FDA NDC, PIN, HRI, or UPC code to an FDB NDC code by using the
specified NDC format indicator.
|
FDBAHFSClassificationConcept[] |
getAllAHFSClassifications()
Gets an array of AHFS classification concepts available within
this
FDBCodingSchemeVersion . |
FDBAllergenGroupConcept[] |
getAllAllergenGroups()
Gets an array of all FDB allergen group concepts available
in this
FDBCodingSchemeVersion . |
FDBETCConcept[] |
getAllETCs()
Gets an array of all FDB ETC concepts available in this
FDBCodingSchemeVersion . |
FDBConcept |
getConceptByExternalConceptCode(String conceptCode,
String conceptType)
Gets the FDB concept that matches the specified external concept code
and type identifier.
|
boolean |
isValidExternalConceptCode(String conceptCode,
String conceptType)
Indicates whether the specified FDB external concept code is valid for the
given Concept Type Identifier.
|
findConceptsByMatchingDescPatternAndConTypeCode, findConceptsByMatchingDescPatternAndDescTypeCode, getAllVersions, getCodingScheme, getConceptByConceptCode, getConceptsByExtendedTypeCode, getDefaultVersion, getDescription, getLatestActiveVersion, getLoadDate, getLocaleMaps, getName, getNextVersion, getPreviousVersion, getRelationshipTypes, getRetiredDate, isActive, isDefaultVersion, isQuarantined, isRetired, isValidConceptCode
contains, getAllConcepts, getConceptsWithAttribute, getConceptsWithAttributeName, getMatchingConceptsByDescriptionTerm, getMatchingConceptsByDescriptionTerm, getNumberOfConcepts
getAttributeNames, getAttributes, getAttributes
getCreationDate, getETSID, getImportDate, getLastUpdateDate
static final String TYPE_MEDICATION_NAME
static final String TYPE_MEDICATION
static final String TYPE_ROUTED_MEDICATION
static final String TYPE_MEDICATION_ROUTE
static final String TYPE_NDC
static final String TYPE_RDF_MEDICATION
static final String TYPE_DOSAGE_FORM
static final String TYPE_AHFS_CLASSIFICATION
static final String TYPE_ETC
static final String TYPE_BRAND_NAME
static final String TYPE_HIC
static final String TYPE_ALLERGEN_GROUP
FDBAHFSClassificationConcept[] getAllAHFSClassifications() throws ETSDataException
FDBCodingSchemeVersion
. This method returns an empty array if this
FDBCodingSchemeVersion
does not contain any AHFS classification
concepts.FDBCodingSchemeVersion
does not contain any AHFS classification
concepts.ETSDataException
- If a data transport error occurs.FDBETCConcept[] getAllETCs() throws ETSDataException
FDBCodingSchemeVersion
. This method returns an empty array if this
FDBCodingSchemeVersion
does not contain any FDB ETC concepts.FDBCodingSchemeVersion
does not contain any FDB ETC concepts.ETSDataException
- If a data transport error occurs.FDBAllergenGroupConcept[] getAllAllergenGroups() throws ETSDataException
FDBCodingSchemeVersion
. This method returns an empty array if
this FDBCodingSchemeVersion
does not contain any FDB allergen
group concepts.FDBCodingSchemeVersion
does not contain any FDB allergen
group concepts.ETSDataException
- If a data transport error occurs.FDBConcept getConceptByExternalConceptCode(String conceptCode, String conceptType) throws ETSNotFoundException, ETSBadParameterException, ETSDataException
String
constants provided by this interface. If the method cannot find the FDB concept
with the given concept code and type, it throws an ETSNotFoundException
.conceptCode
- External concept code of the specified FDB concept.conceptType
- Concept type identifier of the specified FDB concept.ETSNotFoundException
- If FDB concept cannot be found.ETSBadParameterException
- If invalid argument is passed. For example,
if a null
parameter is passed to the method.ETSDataException
- If a data transport error occurs.boolean isValidExternalConceptCode(String conceptCode, String conceptType) throws ETSBadParameterException, ETSDataException
true
if the specified
external concept code is valid for the given concept type Identifier.
The method returns false
if the specified
external concept code is invalid for the given concept type Identifier.conceptCode
- FDB external concept code.conceptType
- Concept type identifier.true
if the specified external concept code is valid
for the given concept type identifier or false
if the specified
external concept code is invalid for the given concept type identifier.ETSBadParameterException
- If an invalid parameter is passed.ETSDataException
- If a data transport error occurs.String convertToFDBNDCCode(String code, int ndcFormatIndicator) throws ETSBadParameterException
code
parameter must be compatible
with the NDC format indicator, else the method returns an invalid result.code
- FDA NDC, PIN, HRI, or UPC code to convert.ndcFormatIndicator
- NDC format indicator that specifies the format of conversion.ETSBadParameterException
- If an invalid parameter is passed.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved