public static class SubstanceSpecification.SubstanceSpecificationNameComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected List<CodeableConcept> |
domain
The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive.
|
protected List<CodeableConcept> |
jurisdiction
The jurisdiction where this name applies.
|
protected List<CodeableConcept> |
language
Language of the name.
|
protected StringType |
name
The actual name.
|
protected List<SubstanceSpecification.SubstanceSpecificationNameOfficialComponent> |
official
Details of the official nature of this name.
|
protected BooleanType |
preferred
If this is the preferred name for this substance.
|
protected List<Reference> |
source
Supporting literature.
|
protected List<DocumentReference> |
sourceTarget
The actual objects that are the target of the reference (Supporting literature.)
|
protected CodeableConcept |
status
The status of the name.
|
protected List<SubstanceSpecification.SubstanceSpecificationNameComponent> |
synonym
A synonym of this name.
|
protected List<SubstanceSpecification.SubstanceSpecificationNameComponent> |
translation
A translation for this name.
|
protected CodeableConcept |
type
Name type.
|
modifierExtension| Constructor and Description |
|---|
SubstanceSpecificationNameComponent()
Constructor
|
SubstanceSpecificationNameComponent(StringType name)
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, 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, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected StringType name
protected CodeableConcept type
protected CodeableConcept status
protected BooleanType preferred
protected List<CodeableConcept> language
protected List<CodeableConcept> domain
protected List<CodeableConcept> jurisdiction
protected List<SubstanceSpecification.SubstanceSpecificationNameComponent> synonym
protected List<SubstanceSpecification.SubstanceSpecificationNameComponent> translation
protected List<SubstanceSpecification.SubstanceSpecificationNameOfficialComponent> official
protected List<DocumentReference> sourceTarget
public SubstanceSpecificationNameComponent()
public SubstanceSpecificationNameComponent(StringType name)
public StringType getNameElement()
name (The actual name.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public SubstanceSpecification.SubstanceSpecificationNameComponent setNameElement(StringType value)
value - name (The actual name.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic SubstanceSpecification.SubstanceSpecificationNameComponent setName(String value)
value - The actual name.public CodeableConcept getType()
type (Name type.)public boolean hasType()
public SubstanceSpecification.SubstanceSpecificationNameComponent setType(CodeableConcept value)
value - type (Name type.)public CodeableConcept getStatus()
status (The status of the name.)public boolean hasStatus()
public SubstanceSpecification.SubstanceSpecificationNameComponent setStatus(CodeableConcept value)
value - status (The status of the name.)public BooleanType getPreferredElement()
preferred (If this is the preferred name for this substance.). This is the underlying object with id, value and extensions. The accessor "getPreferred" gives direct access to the valuepublic boolean hasPreferredElement()
public boolean hasPreferred()
public SubstanceSpecification.SubstanceSpecificationNameComponent setPreferredElement(BooleanType value)
value - preferred (If this is the preferred name for this substance.). This is the underlying object with id, value and extensions. The accessor "getPreferred" gives direct access to the valuepublic boolean getPreferred()
public SubstanceSpecification.SubstanceSpecificationNameComponent setPreferred(boolean value)
value - If this is the preferred name for this substance.public List<CodeableConcept> getLanguage()
language (Language of the name.)public SubstanceSpecification.SubstanceSpecificationNameComponent setLanguage(List<CodeableConcept> theLanguage)
this for easy method chainingpublic boolean hasLanguage()
public CodeableConcept addLanguage()
public SubstanceSpecification.SubstanceSpecificationNameComponent addLanguage(CodeableConcept t)
public CodeableConcept getLanguageFirstRep()
language, creating it if it does not already existpublic List<CodeableConcept> getDomain()
domain (The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive.)public SubstanceSpecification.SubstanceSpecificationNameComponent setDomain(List<CodeableConcept> theDomain)
this for easy method chainingpublic boolean hasDomain()
public CodeableConcept addDomain()
public SubstanceSpecification.SubstanceSpecificationNameComponent addDomain(CodeableConcept t)
public CodeableConcept getDomainFirstRep()
domain, creating it if it does not already existpublic List<CodeableConcept> getJurisdiction()
jurisdiction (The jurisdiction where this name applies.)public SubstanceSpecification.SubstanceSpecificationNameComponent setJurisdiction(List<CodeableConcept> theJurisdiction)
this for easy method chainingpublic boolean hasJurisdiction()
public CodeableConcept addJurisdiction()
public SubstanceSpecification.SubstanceSpecificationNameComponent addJurisdiction(CodeableConcept t)
public CodeableConcept getJurisdictionFirstRep()
jurisdiction, creating it if it does not already existpublic List<SubstanceSpecification.SubstanceSpecificationNameComponent> getSynonym()
synonym (A synonym of this name.)public SubstanceSpecification.SubstanceSpecificationNameComponent setSynonym(List<SubstanceSpecification.SubstanceSpecificationNameComponent> theSynonym)
this for easy method chainingpublic boolean hasSynonym()
public SubstanceSpecification.SubstanceSpecificationNameComponent addSynonym()
public SubstanceSpecification.SubstanceSpecificationNameComponent addSynonym(SubstanceSpecification.SubstanceSpecificationNameComponent t)
public SubstanceSpecification.SubstanceSpecificationNameComponent getSynonymFirstRep()
synonym, creating it if it does not already existpublic List<SubstanceSpecification.SubstanceSpecificationNameComponent> getTranslation()
translation (A translation for this name.)public SubstanceSpecification.SubstanceSpecificationNameComponent setTranslation(List<SubstanceSpecification.SubstanceSpecificationNameComponent> theTranslation)
this for easy method chainingpublic boolean hasTranslation()
public SubstanceSpecification.SubstanceSpecificationNameComponent addTranslation()
public SubstanceSpecification.SubstanceSpecificationNameComponent addTranslation(SubstanceSpecification.SubstanceSpecificationNameComponent t)
public SubstanceSpecification.SubstanceSpecificationNameComponent getTranslationFirstRep()
translation, creating it if it does not already existpublic List<SubstanceSpecification.SubstanceSpecificationNameOfficialComponent> getOfficial()
official (Details of the official nature of this name.)public SubstanceSpecification.SubstanceSpecificationNameComponent setOfficial(List<SubstanceSpecification.SubstanceSpecificationNameOfficialComponent> theOfficial)
this for easy method chainingpublic boolean hasOfficial()
public SubstanceSpecification.SubstanceSpecificationNameOfficialComponent addOfficial()
public SubstanceSpecification.SubstanceSpecificationNameComponent addOfficial(SubstanceSpecification.SubstanceSpecificationNameOfficialComponent t)
public SubstanceSpecification.SubstanceSpecificationNameOfficialComponent getOfficialFirstRep()
official, creating it if it does not already existpublic SubstanceSpecification.SubstanceSpecificationNameComponent setSource(List<Reference> theSource)
this for easy method chainingpublic boolean hasSource()
public SubstanceSpecification.SubstanceSpecificationNameComponent addSource(Reference t)
public Reference getSourceFirstRep()
source, creating it if it does not already exist@Deprecated public List<DocumentReference> getSourceTarget()
@Deprecated public DocumentReference addSourceTarget()
protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic SubstanceSpecification.SubstanceSpecificationNameComponent copy()
copy in class BackboneElementpublic void copyValues(SubstanceSpecification.SubstanceSpecificationNameComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.