Package org.hl7.fhir.dstu3.terminologies
Class CodeSystemUtilities
java.lang.Object
org.hl7.fhir.dstu3.terminologies.CodeSystemUtilities
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
defineCodeSystemProperty
(CodeSystem cs, String code, String description, CodeSystem.PropertyType type) static void
static void
static void
static String
getCodeDefinition
(CodeSystem cs, String code) static String
getOID
(CodeSystem cs) static boolean
hasOID
(CodeSystem cs) static boolean
static boolean
isInactive
(CodeSystem cs, String code) static boolean
static boolean
static CodeSystem
static void
markStatus
(CodeSystem cs, String wg, String status, String fmm) static void
setDeprecated
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, DateTimeType date) static void
setInactive
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept) static void
static void
setOID
(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
-