Package org.hl7.fhir.r5.terminologies
Class CodeSystemUtilities
java.lang.Object
org.hl7.fhir.r5.terminologies.TerminologyUtilities
org.hl7.fhir.r5.terminologies.CodeSystemUtilities
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addOtherChild
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent owner, String code) static boolean
checkDisplay
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent cd, String display) static boolean
codes
(CodeSystem cs) static int
countCodes
(CodeSystem cs) static void
static void
static void
defineCodeSystemProperty
(CodeSystem cs, String code, String description, CodeSystem.PropertyType type) static void
static void
static void
findCode
(List<CodeSystem.ConceptDefinitionComponent> list, String code) findCodeOrAltCode
(List<CodeSystem.ConceptDefinitionComponent> list, String code, String use) findCodeWithParents
(List<CodeSystem.ConceptDefinitionComponent> parents, List<CodeSystem.ConceptDefinitionComponent> list, String code) getCode
(CodeSystem cs, String code) static String
getCodeDefinition
(CodeSystem cs, String code) static String
getProperty
(CodeSystem.ConceptDefinitionComponent concept, String code) static DataType
getProperty
(CodeSystem cs, String code, String property) static DataType
getProperty
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent def, String property) static CodeSystem.PropertyComponent
getPropertyDefinition
(CodeSystem cs, String property) property in this case is the name of a property that appears in a ValueSet filtergetPropertyValues
(CodeSystem.ConceptDefinitionComponent concept, String code) static String
getSystemReference
(String system, IWorkerContext ctxt) static boolean
hasCode
(CodeSystem cs, String code) static boolean
static boolean
static boolean
hasMarkdownInDefinitions
(CodeSystem cs, org.hl7.fhir.utilities.MarkDownProcessor md) static boolean
static boolean
static boolean
static boolean
hasPropertyDef
(CodeSystem cs, String property) static boolean
isDefinedProperty
(CodeSystem cs, String property) static boolean
isDeprecated
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent def, boolean ignoreStatus) static boolean
static boolean
isInactive
(CodeSystem cs, String code) static boolean
static boolean
isInactive
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent def, boolean ignoreStatus) static boolean
static boolean
isNotSelectable
(CodeSystem cs, String code) static boolean
static CodeSystem
static void
markStatus
(CodeSystem cs, String wg, org.hl7.fhir.utilities.StandardsStatus status, String pckage, String fmm, String normativeVersion) static CodeSystem
mergeSupplements
(CodeSystem cs, List<CodeSystem> supplements) static Coding
readCoding
(String jurisdiction) static DataType
readProperty
(CodeSystem.ConceptDefinitionComponent concept, String code) static void
setDeprecated
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) static void
setDeprecated
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, DateTimeType date) static void
static void
setOID
(CodeSystem cs, String oid) static void
setProperty
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, String url, String code, DataType value) static void
setProperty
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, String code, DataType value) static void
setStatus
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, CodeSystemUtilities.ConceptStatus status) static void
static Boolean
subsumes
(CodeSystem cs, String pc, String cc) Methods inherited from class org.hl7.fhir.r5.terminologies.TerminologyUtilities
listOids
-
Field Details
-
USER_DATA_CROSS_LINK
- See Also:
-
-
Constructor Details
-
CodeSystemUtilities
public CodeSystemUtilities()
-
-
Method Details
-
isNotSelectable
-
isNotSelectable
-
setNotSelectable
public static void setNotSelectable(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
setProperty
public static void setProperty(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, String code, DataType value) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
setProperty
public static void setProperty(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, String url, String code, DataType value) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
defineNotSelectableProperty
-
setStatus
public static void setStatus(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, CodeSystemUtilities.ConceptStatus status) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
defineStatusProperty
-
defineParentProperty
-
defineChildProperty
-
isDeprecated
public static boolean isDeprecated(CodeSystem cs, CodeSystem.ConceptDefinitionComponent def, boolean ignoreStatus) -
isInactive
public static boolean isInactive(CodeSystem cs, CodeSystem.ConceptDefinitionComponent def, boolean ignoreStatus) -
setDeprecated
public static void setDeprecated(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, DateTimeType date) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
setDeprecated
public static void setDeprecated(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
isInactive
public static boolean isInactive(CodeSystem cs, CodeSystem.ConceptDefinitionComponent def) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
isInactive
public static boolean isInactive(CodeSystem cs, String code) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
defineCodeSystemProperty
public static void defineCodeSystemProperty(CodeSystem cs, String code, String description, CodeSystem.PropertyType type) -
getCodeDefinition
-
setOID
-
hasOID
-
getOID
-
findCode
public static CodeSystem.ConceptDefinitionComponent findCode(List<CodeSystem.ConceptDefinitionComponent> list, String code) -
findCodeWithParents
public static List<CodeSystem.ConceptDefinitionComponent> findCodeWithParents(List<CodeSystem.ConceptDefinitionComponent> parents, List<CodeSystem.ConceptDefinitionComponent> list, String code) -
findCodeOrAltCode
public static CodeSystem.ConceptDefinitionComponent findCodeOrAltCode(List<CodeSystem.ConceptDefinitionComponent> list, String code, String use) -
markStatus
public static void markStatus(CodeSystem cs, String wg, org.hl7.fhir.utilities.StandardsStatus status, String pckage, String fmm, String normativeVersion) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
readProperty
-
getProperty
public static CodeSystem.ConceptPropertyComponent getProperty(CodeSystem.ConceptDefinitionComponent concept, String code) -
getPropertyValues
public static List<CodeSystem.ConceptPropertyComponent> getPropertyValues(CodeSystem.ConceptDefinitionComponent concept, String code) -
getOtherChildren
-
addOtherChild
public static void addOtherChild(CodeSystem cs, CodeSystem.ConceptDefinitionComponent owner, String code) -
hasProperty
-
hasCode
-
getCode
-
crossLinkCodeSystem
-
hasHierarchy
-
sortAllCodes
-
readCoding
-
getSystemReference
public static CodeSystemUtilities.SystemReference getSystemReference(String system, IWorkerContext ctxt) -
isNotCurrent
-
getDisplays
-
checkDisplay
public static boolean checkDisplay(CodeSystem cs, CodeSystem.ConceptDefinitionComponent cd, String display) -
countCodes
-
mergeSupplements
-
hasProperties
-
hasDesignations
-
hasPropertyDef
-
getProperty
-
getProperty
public static DataType getProperty(CodeSystem cs, CodeSystem.ConceptDefinitionComponent def, String property) -
hasMarkdownInDefinitions
public static boolean hasMarkdownInDefinitions(CodeSystem cs, org.hl7.fhir.utilities.MarkDownProcessor md) -
getStatus
-
subsumes
-
codes
-
getPropertyDefinition
property in this case is the name of a property that appears in a ValueSet filter- Parameters:
cs
-property
-- Returns:
-
isDefinedProperty
-
isExemptFromMultipleVersionChecking
-