
Package org.hl7.fhir.r4.model
Class CodeableConcept
java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.Element
org.hl7.fhir.r4.model.Type
org.hl7.fhir.r4.model.CodeableConcept
- All Implemented Interfaces:
- ca.uhn.fhir.model.api.IElement,- Serializable,- 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.ICompositeType
A concept that may be defined by a formal reference to a terminology or
 ontology or may be provided by text.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionA reference to a code defined by a terminology system.protected StringTypeA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getText()String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanhasText()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setTextElement(StringType value) protected CodeableConceptMethods inherited from class org.hl7.fhir.r4.model.ElementaddExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementMethods inherited from class org.hl7.fhir.r4.model.BasecastToAddress, 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, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBasegetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElementgetUserData, setUserData
- 
Field Details- 
codingA reference to a code defined by a terminology system.
- 
textA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
 
- 
- 
Constructor Details- 
CodeableConceptpublic CodeableConcept()Constructor
- 
CodeableConcept
 
- 
- 
Method Details- 
getCoding- Returns:
- coding(A reference to a code defined by a terminology system.)
 
- 
setCoding- Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasCoding
- 
addCoding
- 
addCoding
- 
getCodingFirstRep- Returns:
- The first repetition of repeating field coding, creating it if it does not already exist
 
- 
getTextElement- Returns:
- text(A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
 
- 
hasTextElement
- 
hasText
- 
setTextElement- Parameters:
- value-- text(A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
 
- 
getText- Returns:
- A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
 
- 
setText- Parameters:
- value- A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
 
- 
listChildren- Overrides:
- listChildrenin class- Element
 
- 
getNamedPropertypublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getNamedPropertyin class- Element
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
getPropertypublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getPropertyin class- Element
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
setPropertypublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- setPropertyin class- Element
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
setProperty- Overrides:
- setPropertyin class- Element
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
removeChild- Overrides:
- removeChildin class- Element
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
makeProperty- Overrides:
- makePropertyin class- Element
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
getTypesForPropertypublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getTypesForPropertyin class- Element
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
addChild
- 
fhirType
- 
copy
- 
copyValues
- 
typedCopy
- 
equalsDeep- Overrides:
- equalsDeepin class- Element
 
- 
equalsShallow- Overrides:
- equalsShallowin class- Element
 
- 
isEmpty
- 
hasCoding
 
-