com.pixelmed.anatproc
Class CombinedAnatomicConcepts
java.lang.Object
com.pixelmed.anatproc.Concept
com.pixelmed.anatproc.CodedConcept
com.pixelmed.anatproc.DisplayableConcept
com.pixelmed.anatproc.CombinedAnatomicConcepts
public class CombinedAnatomicConcepts
- extends DisplayableConcept
This class supports anatomic concepts that may be combinations of one another.
|
Field Summary |
protected static com.pixelmed.anatproc.Combination[] |
combinations
|
| Methods inherited from class com.pixelmed.anatproc.CodedConcept |
getCodeAsString, getCodedSequenceItem, getCodeMeaning, getCodeStringEquivalent, getCodeValue, getCodingSchemeDesignator, getCodingSchemeVersion, getConceptIdentifier, getLegacyCodingSchemeDesignator, getSynonyms, toStringBrief |
combinations
protected static com.pixelmed.anatproc.Combination[] combinations
CombinedAnatomicConcepts
public CombinedAnatomicConcepts()
newConceptArray
protected static Concept[] newConceptArray(Concept... values)
getCombinedConcept
public static Concept getCombinedConcept(Concept a,
Concept b)
Combine two concepts into a single concept containing both if possible.
- Parameters:
a - one conceptb - another concept
- Returns:
- a combined concept if it exists, else null
getCombinedConcept
public static DisplayableConcept getCombinedConcept(Concept a,
Concept b,
DictionaryOfConcepts dict)
Combine two concepts into a single concept containing both if possible.
- Parameters:
a - one conceptb - another conceptdict - dictionary of concepts to lookup
- Returns:
- a combined concept if it exists and is present in the dictionary, else null