Package org.hl7.fhir.r5.terminologies
Class ConceptMapUtilities
java.lang.Object
org.hl7.fhir.r5.terminologies.ConceptMapUtilities
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkReciprocal
(ConceptMap left, ConceptMap right, List<String> issues, boolean makeChanges) static ConceptMap
collapse
(String id, String url, boolean cumulative, ConceptMap src, ConceptMap... sequence) combineRelationships
(Enumerations.ConceptMapRelationship rel1, Enumerations.ConceptMapRelationship rel2) static String
getOID
(ConceptMap cm) static boolean
hasMappingForSource
(ConceptMap cm, String system, String version, String code) static boolean
hasOID
(ConceptMap cm) static ConceptMap
invert
(ConceptMap src, String id, String url, String name, boolean collate) static boolean
isUnityMap
(ConceptMap cm) listCodesWithNoMappings
(Set<Coding> codes, ConceptMap map) listTargets
(ConceptMap cm, List<String> systems) static ConceptMap
static int
mapCount
(ConceptMap cm) static void
setOID
(ConceptMap cm, String oid) translateCode
(String name, String defaultValue, ConceptMap... cmList) translateCode
(String name, ConceptMap... cmList) translateCoding
(Coding code, ConceptMap... cmList)
-
Constructor Details
-
ConceptMapUtilities
public ConceptMapUtilities()
-
-
Method Details
-
hasOID
-
getOID
-
setOID
-
hasMappingForSource
public static boolean hasMappingForSource(ConceptMap cm, String system, String version, String code) -
listTargets
-
invert
public static ConceptMap invert(ConceptMap src, String id, String url, String name, boolean collate) -
collapse
public static ConceptMap collapse(String id, String url, boolean cumulative, ConceptMap src, ConceptMap... sequence) -
combineRelationships
-
checkReciprocal
public static boolean checkReciprocal(ConceptMap left, ConceptMap right, List<String> issues, boolean makeChanges) -
isUnityMap
- Parameters:
cmF
-- Returns:
- true if all the maps simply map to the same code
-
mapCount
-
listCodesWithNoMappings
-
translateCode
-
translateCode
-
translateCoding
-