Package org.hl7.fhir.r5.terminologies
Class CodeSystemUtilities
- java.lang.Object
-
- org.hl7.fhir.r5.terminologies.CodeSystemUtilities
-
public class CodeSystemUtilities extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCodeSystemUtilities.CodeSystemNavigatorstatic classCodeSystemUtilities.ConceptDefinitionComponentSorterstatic classCodeSystemUtilities.ConceptStatus
-
Field Summary
Fields Modifier and Type Field Description static StringUSER_DATA_CROSS_LINK
-
Constructor Summary
Constructors Constructor Description CodeSystemUtilities()
-
Method Summary
-
-
-
Field Detail
-
USER_DATA_CROSS_LINK
public static final String USER_DATA_CROSS_LINK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CodeSystemUtilities
public CodeSystemUtilities()
-
-
Method Detail
-
isNotSelectable
public static boolean isNotSelectable(CodeSystem cs, CodeSystem.ConceptDefinitionComponent def)
-
setNotSelectable
public static void setNotSelectable(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) throws org.hl7.fhir.exceptions.FHIRFormatError
- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
defineNotSelectableProperty
public static void defineNotSelectableProperty(CodeSystem cs)
-
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
public static void defineStatusProperty(CodeSystem cs)
-
defineParentProperty
public static void defineParentProperty(CodeSystem cs)
-
defineChildProperty
public static void defineChildProperty(CodeSystem cs)
-
isDeprecated
public static boolean isDeprecated(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
-
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
public static String getCodeDefinition(CodeSystem cs, String code)
-
makeShareable
public static CodeSystem makeShareable(CodeSystem cs)
-
makeCSShareable
public static boolean makeCSShareable(CodeSystem cs)
-
setOID
public static void setOID(CodeSystem cs, String oid)
-
hasOID
public static boolean hasOID(CanonicalResource cs)
-
getOID
public static String getOID(CanonicalResource cs)
-
findCode
public static CodeSystem.ConceptDefinitionComponent findCode(List<CodeSystem.ConceptDefinitionComponent> list, String code)
-
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
public static DataType readProperty(CodeSystem.ConceptDefinitionComponent concept, String code)
-
getProperty
public static CodeSystem.ConceptPropertyComponent getProperty(CodeSystem.ConceptDefinitionComponent concept, String code)
-
getPropertyValues
public static List<CodeSystem.ConceptPropertyComponent> getPropertyValues(CodeSystem.ConceptDefinitionComponent concept, String code)
-
getOtherChildren
public static List<String> getOtherChildren(CodeSystem cs, CodeSystem.ConceptDefinitionComponent c)
-
addOtherChild
public static void addOtherChild(CodeSystem cs, CodeSystem.ConceptDefinitionComponent owner, String code)
-
hasProperty
public static boolean hasProperty(CodeSystem.ConceptDefinitionComponent c, String code)
-
hasCode
public static boolean hasCode(CodeSystem cs, String code)
-
getCode
public static CodeSystem.ConceptDefinitionComponent getCode(CodeSystem cs, String code)
-
crossLinkCodeSystem
public static void crossLinkCodeSystem(CodeSystem cs)
-
hasHierarchy
public static boolean hasHierarchy(CodeSystem cs)
-
sortAllCodes
public static void sortAllCodes(CodeSystem cs)
-
-