
Package org.hl7.fhir.r4.terminologies
Class CodeSystemUtilities
java.lang.Object
org.hl7.fhir.r4.terminologies.CodeSystemUtilities
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddOtherChild(CodeSystem cs, CodeSystem.ConceptDefinitionComponent owner, String code) static voidstatic CodeSystem.PropertyComponentdefineCodeSystemProperty(CodeSystem cs, String code, String description, CodeSystem.PropertyType type) static voidstatic voidstatic voidfindCode(List<CodeSystem.ConceptDefinitionComponent> list, String code) static StringgetCodeDefinition(CodeSystem cs, String code) static StringgetOID(CodeSystem cs) getProperty(CodeSystem.ConceptDefinitionComponent concept, String code) static booleanhasOID(CodeSystem cs) static booleanstatic booleanisInactive(CodeSystem cs, String code) static booleanstatic booleanstatic CodeSystemstatic voidmarkStatus(CodeSystem cs, String wg, org.hl7.fhir.utilities.StandardsStatus status, String pckage, String fmm, String normativeVersion) static CodingreadCoding(String jurisdiction) static TypereadProperty(CodeSystem.ConceptDefinitionComponent concept, String code) static voidsetDeprecated(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, DateTimeType date) static voidstatic voidsetOID(CodeSystem cs, String oid) static voidsetStatus(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, CodeSystemUtilities.ConceptStatus status) static voidstatic void
-
Constructor Details
-
CodeSystemUtilities
public CodeSystemUtilities()
-
-
Method Details
-
isNotSelectable
-
setNotSelectable
public static void setNotSelectable(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
defineNotSelectableProperty
-
readCoding
-
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
-
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
-
setOID
-
hasOID
-
getOID
-
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
-
getProperty
public static CodeSystem.ConceptPropertyComponent getProperty(CodeSystem.ConceptDefinitionComponent concept, String code) -
getOtherChildren
-
addOtherChild
public static void addOtherChild(CodeSystem cs, CodeSystem.ConceptDefinitionComponent owner, String code) -
sortAllCodes
-
sortAllCodes
-