public class CodeType extends StringType implements Comparable<CodeType>, ICoding
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CodeType theCode) |
CodeType |
copy() |
protected String |
encode(String theValue)
Subclasses must override to convert a "coerced" value into an encoded one.
|
String |
fhirType() |
String |
getCode() |
String |
getDisplay() |
String |
getSystem() |
String |
getVersion() |
boolean |
hasCode() |
boolean |
hasDisplay() |
boolean |
hasSystem() |
boolean |
hasVersion() |
protected String |
parse(String theValue)
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
|
CodeType |
setSystem(String system) |
boolean |
supportsDisplay() |
boolean |
supportsVersion() |
getTranslation, getValueNotNull, toStringasStringValue, equalsDeep, equalsShallow, forceStringValue, fpValue, fromStringValue, getProperty, getTypesForProperty, getValue, getValueAsString, hashCode, hasPrimitiveValue, hasValue, isEmpty, isPrimitive, makeProperty, primitiveValue, readExternal, setProperty, setProperty, setValue, setValueAsString, typedCopy, updateStringValue, writeExternaladdChild, addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, getNamedProperty, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, listChildren, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isResource, listChildrenByName, listChildrenByName, setUserData, setUserDataINNclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDatapublic int compareTo(CodeType theCode)
compareTo in interface Comparable<CodeType>protected String parse(String theValue)
PrimitiveTypeparse in class StringTypetheValue - Will not be nullprotected String encode(String theValue)
PrimitiveTypeencode in class StringTypetheValue - Will not be nullpublic CodeType copy()
copy in class StringTypepublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class StringTypepublic String getVersion()
getVersion in interface ICodingpublic boolean hasVersion()
hasVersion in interface ICodingpublic String getDisplay()
getDisplay in interface ICodingpublic boolean hasDisplay()
hasDisplay in interface ICodingpublic boolean supportsVersion()
supportsVersion in interface ICodingpublic boolean supportsDisplay()
supportsDisplay in interface ICodingCopyright © 2014–2021 Health Level 7. All rights reserved.