
Package ca.uhn.fhir.model.api
Class Tag
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.Tag
- All Implemented Interfaces:
IElement,ISupportsUndeclaredExtensions,Serializable,IBase,IBaseCoding
A single tag
Note on equality- When computing hashCode or equals values for this class, only the
scheme and
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringConvenience constant containing the "http://hl7.org/fhir/tag" scheme valuestatic final StringConvenience constant containing the "http://hl7.org/fhir/tag/profile" scheme valuestatic final StringConvenience constant containing the "http://hl7.org/fhir/tag/security" scheme value -
Constructor Summary
ConstructorsConstructorDescriptionTag()Deprecated.There is no reason to create a tag with a term and not a scheme, so this constructor will be removed -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()getLabel()getTerm()booleaninthashCode()booleanisEmpty()Returnstrueif either scheme or term is populated.setDisplay(String theLabel) Sets the label and returns a reference to this tagSets the scheme and returns a reference to this tagSets the term and returns a reference to this tagsetUserSelected(boolean theUserSelected) voidsetUserSelectedBoolean(Boolean theUserSelected) setVersion(String theVersion) toString()Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
ATTR_LABEL
- See Also:
-
ATTR_SCHEME
- See Also:
-
ATTR_TERM
- See Also:
-
HL7_ORG_FHIR_TAG
Convenience constant containing the "http://hl7.org/fhir/tag" scheme value- See Also:
-
HL7_ORG_PROFILE_TAG
Convenience constant containing the "http://hl7.org/fhir/tag/profile" scheme value- See Also:
-
HL7_ORG_SECURITY_TAG
Convenience constant containing the "http://hl7.org/fhir/tag/security" scheme value- See Also:
-
-
Constructor Details
-
Tag
public Tag() -
Tag
Deprecated.There is no reason to create a tag with a term and not a scheme, so this constructor will be removed -
Tag
-
Tag
-
Tag
-
-
Method Details
-
getLabel
-
getScheme
-
getTerm
-
equals
-
hashCode
-
isEmpty
Returnstrueif either scheme or term is populated. -
setLabel
Sets the label and returns a reference to this tag -
setScheme
Sets the scheme and returns a reference to this tag -
setTerm
Sets the term and returns a reference to this tag -
toString
-
getCode
- Specified by:
getCodein interfaceIBaseCoding
-
getDisplay
- Specified by:
getDisplayin interfaceIBaseCoding
-
getSystem
- Specified by:
getSystemin interfaceIBaseCoding
-
setCode
- Specified by:
setCodein interfaceIBaseCoding
-
setDisplay
- Specified by:
setDisplayin interfaceIBaseCoding
-
setSystem
- Specified by:
setSystemin interfaceIBaseCoding
-
getVersion
- Specified by:
getVersionin interfaceIBaseCoding
-
setVersion
- Specified by:
setVersionin interfaceIBaseCoding
-
getUserSelected
- Specified by:
getUserSelectedin interfaceIBaseCoding
-
getUserSelectedBoolean
-
setUserSelected
- Specified by:
setUserSelectedin interfaceIBaseCoding
-
setUserSelectedBoolean
-