Package org.hl7.fhir.r4.terminologies
Class CodeSystemUtilities
java.lang.Object
org.hl7.fhir.r4.terminologies.CodeSystemUtilities
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addOtherChild
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent owner, String code) static void
static CodeSystem.PropertyComponent
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) getProperty
(CodeSystem.ConceptDefinitionComponent concept, String code) 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, org.hl7.fhir.utilities.StandardsStatus status, String pckage, String fmm, String normativeVersion) static Coding
readCoding
(String jurisdiction) static Type
readProperty
(CodeSystem.ConceptDefinitionComponent concept, String code) static void
setDeprecated
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, DateTimeType date) static void
static void
setOID
(CodeSystem cs, String oid) static void
setStatus
(CodeSystem cs, CodeSystem.ConceptDefinitionComponent concept, CodeSystemUtilities.ConceptStatus status) static void
static 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
-
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
-