Package org.hl7.fhir.r4.terminologies
Class CodeSystemUtilities
- java.lang.Object
-
- org.hl7.fhir.r4.terminologies.CodeSystemUtilities
-
public class CodeSystemUtilities extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCodeSystemUtilities.ConceptStatus
-
Constructor Summary
Constructors Constructor Description CodeSystemUtilities()
-
Method Summary
-
-
-
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)
-
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 CodeSystem.PropertyComponent 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)
-
setOID
public static void setOID(CodeSystem cs, String oid)
-
hasOID
public static boolean hasOID(CodeSystem cs)
-
getOID
public static String getOID(CodeSystem cs)
-
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 Type readProperty(CodeSystem.ConceptDefinitionComponent concept, String code)
-
getProperty
public static CodeSystem.ConceptPropertyComponent getProperty(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)
-
-