Package org.hl7.fhir.r5.model
Class SubstanceReferenceInformation
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.model.SubstanceReferenceInformation
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
public class SubstanceReferenceInformation extends DomainResource
Todo.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubstanceReferenceInformation.SubstanceReferenceInformationClassificationComponent
static class
SubstanceReferenceInformation.SubstanceReferenceInformationGeneComponent
static class
SubstanceReferenceInformation.SubstanceReferenceInformationGeneElementComponent
static class
SubstanceReferenceInformation.SubstanceReferenceInformationTargetComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<SubstanceReferenceInformation.SubstanceReferenceInformationClassificationComponent>
classification
Todo.protected StringType
comment
Todo.protected List<SubstanceReferenceInformation.SubstanceReferenceInformationGeneComponent>
gene
Todo.protected List<SubstanceReferenceInformation.SubstanceReferenceInformationGeneElementComponent>
geneElement
Todo.protected List<SubstanceReferenceInformation.SubstanceReferenceInformationTargetComponent>
target
Todo.-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description SubstanceReferenceInformation()
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
comment
protected StringType comment
Todo.
-
gene
protected List<SubstanceReferenceInformation.SubstanceReferenceInformationGeneComponent> gene
Todo.
-
geneElement
protected List<SubstanceReferenceInformation.SubstanceReferenceInformationGeneElementComponent> geneElement
Todo.
-
classification
protected List<SubstanceReferenceInformation.SubstanceReferenceInformationClassificationComponent> classification
Todo.
-
target
protected List<SubstanceReferenceInformation.SubstanceReferenceInformationTargetComponent> target
Todo.
-
-
Constructor Detail
-
SubstanceReferenceInformation
public SubstanceReferenceInformation()
Constructor
-
-
Method Detail
-
getCommentElement
public StringType getCommentElement()
- Returns:
comment
(Todo.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
-
hasCommentElement
public boolean hasCommentElement()
-
hasComment
public boolean hasComment()
-
setCommentElement
public SubstanceReferenceInformation setCommentElement(StringType value)
- Parameters:
value
-comment
(Todo.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
-
getComment
public String getComment()
- Returns:
- Todo.
-
setComment
public SubstanceReferenceInformation setComment(String value)
- Parameters:
value
- Todo.
-
getGene
public List<SubstanceReferenceInformation.SubstanceReferenceInformationGeneComponent> getGene()
- Returns:
gene
(Todo.)
-
setGene
public SubstanceReferenceInformation setGene(List<SubstanceReferenceInformation.SubstanceReferenceInformationGeneComponent> theGene)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasGene
public boolean hasGene()
-
addGene
public SubstanceReferenceInformation addGene(SubstanceReferenceInformation.SubstanceReferenceInformationGeneComponent t)
-
getGeneFirstRep
public SubstanceReferenceInformation.SubstanceReferenceInformationGeneComponent getGeneFirstRep()
- Returns:
- The first repetition of repeating field
gene
, creating it if it does not already exist {3}
-
getGeneElement
public List<SubstanceReferenceInformation.SubstanceReferenceInformationGeneElementComponent> getGeneElement()
- Returns:
geneElement
(Todo.)
-
setGeneElement
public SubstanceReferenceInformation setGeneElement(List<SubstanceReferenceInformation.SubstanceReferenceInformationGeneElementComponent> theGeneElement)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasGeneElement
public boolean hasGeneElement()
-
addGeneElement
public SubstanceReferenceInformation.SubstanceReferenceInformationGeneElementComponent addGeneElement()
-
addGeneElement
public SubstanceReferenceInformation addGeneElement(SubstanceReferenceInformation.SubstanceReferenceInformationGeneElementComponent t)
-
getGeneElementFirstRep
public SubstanceReferenceInformation.SubstanceReferenceInformationGeneElementComponent getGeneElementFirstRep()
- Returns:
- The first repetition of repeating field
geneElement
, creating it if it does not already exist {3}
-
getClassification
public List<SubstanceReferenceInformation.SubstanceReferenceInformationClassificationComponent> getClassification()
- Returns:
classification
(Todo.)
-
setClassification
public SubstanceReferenceInformation setClassification(List<SubstanceReferenceInformation.SubstanceReferenceInformationClassificationComponent> theClassification)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasClassification
public boolean hasClassification()
-
addClassification
public SubstanceReferenceInformation.SubstanceReferenceInformationClassificationComponent addClassification()
-
addClassification
public SubstanceReferenceInformation addClassification(SubstanceReferenceInformation.SubstanceReferenceInformationClassificationComponent t)
-
getClassificationFirstRep
public SubstanceReferenceInformation.SubstanceReferenceInformationClassificationComponent getClassificationFirstRep()
- Returns:
- The first repetition of repeating field
classification
, creating it if it does not already exist {3}
-
getTarget
public List<SubstanceReferenceInformation.SubstanceReferenceInformationTargetComponent> getTarget()
- Returns:
target
(Todo.)
-
setTarget
public SubstanceReferenceInformation setTarget(List<SubstanceReferenceInformation.SubstanceReferenceInformationTargetComponent> theTarget)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTarget
public boolean hasTarget()
-
addTarget
public SubstanceReferenceInformation.SubstanceReferenceInformationTargetComponent addTarget()
-
addTarget
public SubstanceReferenceInformation addTarget(SubstanceReferenceInformation.SubstanceReferenceInformationTargetComponent t)
-
getTargetFirstRep
public SubstanceReferenceInformation.SubstanceReferenceInformationTargetComponent getTargetFirstRep()
- Returns:
- The first repetition of repeating field
target
, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public SubstanceReferenceInformation copy()
- Specified by:
copy
in classDomainResource
-
copyValues
public void copyValues(SubstanceReferenceInformation dst)
-
typedCopy
protected SubstanceReferenceInformation typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-