Package org.hl7.fhir.r5.model
Class CodeType
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Externalizable,Serializable,Comparable<CodeType>,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IPrimitiveType<String>,ICoding
Primitive type "code" in FHIR, when not bound to an enumerated list of codes
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcopy()protected StringSubclasses must override to convert a "coerced" value into an encoded one.booleanfhirType()getCode()booleanhasCode()booleanbooleanbooleanprotected StringSubclasses must override to convert an encoded representation of this datatype into a "coerced" onebooleanbooleanMethods inherited from class org.hl7.fhir.r5.model.StringType
getValueNotNull, isTranslatable, toStringMethods inherited from class org.hl7.fhir.r5.model.PrimitiveType
asStringValue, canHavePrimitiveValue, equalsDeep, equalsShallow, forceStringValue, fpValue, fromStringValue, getProperty, getTypesForProperty, getValue, getValueAsString, hashCode, hasPrimitiveValue, hasValue, isEmpty, isPrimitive, makeProperty, matches, primitiveValue, readExternal, removeChild, setProperty, setProperty, setValue, setValueAsString, typedCopy, updateStringValue, writeExternalMethods inherited from class org.hl7.fhir.r5.model.DataType
copyValues, getTranslationMethods inherited from class org.hl7.fhir.r5.model.Element
addChild, addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getExtensionValue, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getNamedProperty, getStandardsStatus, hasExtension, hasExtension, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, listChildren, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatusMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isResource, listChildrenByName, listChildrenByName, setCopyUserData, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
-
Constructor Details
-
CodeType
public CodeType() -
CodeType
-
CodeType
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<CodeType>
-
equals
-
parse
Description copied from class:PrimitiveTypeSubclasses must override to convert an encoded representation of this datatype into a "coerced" one- Overrides:
parsein classStringType- Parameters:
theValue- Will not be null- Returns:
- May return null if the value does not correspond to anything
-
encode
Description copied from class:PrimitiveTypeSubclasses must override to convert a "coerced" value into an encoded one.- Overrides:
encodein classStringType- Parameters:
theValue- Will not be null- Returns:
- May return null if the value does not correspond to anything
-
copy
- Overrides:
copyin classStringType
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classStringType- Returns:
- the FHIR type name of the instance (not the java class name)
-
getSystem
-
hasSystem
-
setSystem
-
getVersion
- Specified by:
getVersionin interfaceICoding
-
hasVersion
- Specified by:
hasVersionin interfaceICoding
-
getDisplay
- Specified by:
getDisplayin interfaceICoding
-
hasDisplay
- Specified by:
hasDisplayin interfaceICoding
-
getCode
-
hasCode
-
supportsVersion
- Specified by:
supportsVersionin interfaceICoding
-
supportsDisplay
- Specified by:
supportsDisplayin interfaceICoding
-