Code Class

A three-part structure containing information about the Code of an Element

Implements

Methods

Name Description
constructor(val: CodeProps): Code    
equals(other: Code): boolean    
getValue(): string    
createEmpty(): Code Static Create an empty, non-unique code with no special meaning.  
fromJSON(json?: any): Code Static    
isEmpty(c: CodeProps): boolean Static Determine if this code is valid but not otherwise meaningful (and therefore not necessarily unique)  
isValid(c: CodeProps): boolean Static Determine whether this Code is valid.  

Properties

Name Type Description
scope string the CodeScope of the Element  
spec Id64String The id of the CodeSpec of the Element  
value undefined | string the CodeValue of the Element  

Defined in

Last Updated: 13 June, 2024