
Package org.hl7.fhir.dstu3.utils
Class CodeSystemUtilities
java.lang.Object
org.hl7.fhir.dstu3.utils.CodeSystemUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddefineCodeSystemProperty(CodeSystem cs, String code, String description, CodeSystem.PropertyType type) static voidstatic voidstatic voidstatic StringgetCodeDefinition(CodeSystem cs, String code) static StringgetOID(CodeSystem cs) static booleanhasOID(CodeSystem cs) static booleanstatic booleanisInactive(CodeSystem cs, String code) static booleanstatic booleanstatic CodeSystemstatic voidmarkStatus(CodeSystem cs, String wg, String status, String fmm) static voidsetDeprecated(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, DateTimeType date) static voidsetInactive(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) static voidstatic voidsetOID(CodeSystem cs, String oid)
-
Constructor Details
-
CodeSystemUtilities
public CodeSystemUtilities()
-
-
Method Details
-
isDeprecated
-
isNotSelectable
-
setNotSelectable
public static void setNotSelectable(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
setInactive
public static void setInactive(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
setDeprecated
public static void setDeprecated(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, DateTimeType date) throws org.hl7.fhir.exceptions.FHIRFormatError - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
defineNotSelectableProperty
-
defineInactiveProperty
-
defineDeprecatedProperty
-
defineCodeSystemProperty
public static void defineCodeSystemProperty(CodeSystem cs, String code, String description, CodeSystem.PropertyType type) -
getCodeDefinition
-
setOID
-
hasOID
-
getOID
-
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
-
markStatus
-