
Class SubstanceDefinition
- 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
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionGeneral specifications for this substance.protected List<CodeableConcept> A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant).static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for classificationCodes associated with the substance.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for codeprotected MarkdownTypeTextual description of the substance.protected CodeableConceptIf the substance applies to human or veterinary use.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for domainprotected List<CodeableConcept> The quality standard, established benchmark, to which substance complies (e.g.protected List<Identifier> Identifier by which this substance is known.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierSupporting literature.The entity that creates, makes, produces or fabricates the substance.Moiety, for structural modifications.The average mass of a molecule of a compound compared to 1/12 the mass of carbon 12 and calculated as the sum of the atomic weights of the constituent atoms.Names applicable to this substance.static final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for nameprotected List<Annotation> Textual comment about the substance's catalogue or registry record.protected ReferenceData items specific to nucleic acids.protected ReferenceData items specific to polymers.General specifications for this substance.protected ReferenceData items specific to proteins.protected ReferenceGeneral information detailing this substance.A link between this substance and another, with details of the relationship.Material or taxonomic/anatomical source for the substance.static final StringSearch parameter: classificationstatic final StringSearch parameter: codestatic final StringSearch parameter: domainstatic final StringSearch parameter: identifierstatic final StringSearch parameter: nameprotected CodeableConceptStatus of substance within the catalogue e.g. active, retired.Structural information.An entity that is the source for the substance.protected StringTypeA business level version identifier of the substance.Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXTFields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCode()addGrade()addName()addNote()copy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getCode()getGrade()getName()getNamedProperty(int _hash, String _name, boolean _checkValid) getNote()Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanhasCode()booleanbooleanbooleanbooleanhasGrade()booleanbooleanbooleanbooleanbooleanbooleanhasName()booleanhasNote()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setCharacterization(List<SubstanceDefinition.SubstanceDefinitionCharacterizationComponent> theCharacterization) setClassification(List<CodeableConcept> theClassification) setDescription(String value) setDomain(CodeableConcept value) setGrade(List<CodeableConcept> theGrade) setIdentifier(List<Identifier> theIdentifier) setInformationSource(List<Reference> theInformationSource) setManufacturer(List<Reference> theManufacturer) setMolecularWeight(List<SubstanceDefinition.SubstanceDefinitionMolecularWeightComponent> theMolecularWeight) setNote(List<Annotation> theNote) setNucleicAcid(Reference value) setPolymer(Reference value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setProtein(Reference value) setReferenceInformation(Reference value) setRelationship(List<SubstanceDefinition.SubstanceDefinitionRelationshipComponent> theRelationship) setStatus(CodeableConcept value) setSupplier(List<Reference> theSupplier) setVersion(String value) setVersionElement(StringType value) protected SubstanceDefinitionMethods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getStandardsStatus, getText, hasContained, hasExtension, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setStandardsStatus, setTextMethods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, getSourcePackage, getWebPath, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, hasSourcePackage, hasWebPath, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta, setSourcePackage, setWebPathMethods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Identifier by which this substance is known. -
version
A business level version identifier of the substance. -
status
Status of substance within the catalogue e.g. active, retired. -
classification
A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant). -
domain
If the substance applies to human or veterinary use. -
grade
The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard). -
description
Textual description of the substance. -
informationSource
Supporting literature. -
note
Textual comment about the substance's catalogue or registry record. -
manufacturer
The entity that creates, makes, produces or fabricates the substance. This is a set of potential manufacturers but is not necessarily comprehensive. -
supplier
An entity that is the source for the substance. It may be different from the manufacturer. Supplier is synonymous to a distributor. -
moiety
Moiety, for structural modifications. -
characterization
General specifications for this substance. -
property
General specifications for this substance. -
referenceInformation
General information detailing this substance. -
molecularWeight
The average mass of a molecule of a compound compared to 1/12 the mass of carbon 12 and calculated as the sum of the atomic weights of the constituent atoms. -
structure
Structural information. -
code
Codes associated with the substance. -
name
Names applicable to this substance. -
relationship
A link between this substance and another, with details of the relationship. -
nucleicAcid
Data items specific to nucleic acids. -
polymer
Data items specific to polymers. -
protein
Data items specific to proteins. -
sourceMaterial
Material or taxonomic/anatomical source for the substance. -
SP_CLASSIFICATION
Search parameter: classificationDescription: High or low level categorization, e.g. polymer vs. nucleic acid or linear vs. branch chain
Type: token
Path: SubstanceDefinition.classification
- See Also:
-
CLASSIFICATION
Fluent Client search parameter constant for classificationDescription: High or low level categorization, e.g. polymer vs. nucleic acid or linear vs. branch chain
Type: token
Path: SubstanceDefinition.classification
-
SP_CODE
Search parameter: codeDescription: The specific code
Type: token
Path: SubstanceDefinition.code.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: The specific code
Type: token
Path: SubstanceDefinition.code.code
-
SP_DOMAIN
Search parameter: domainDescription: If the substance applies to only human or veterinary use
Type: token
Path: SubstanceDefinition.domain
- See Also:
-
DOMAIN
Fluent Client search parameter constant for domainDescription: If the substance applies to only human or veterinary use
Type: token
Path: SubstanceDefinition.domain
-
SP_IDENTIFIER
Search parameter: identifierDescription: Identifier by which this substance is known
Type: token
Path: SubstanceDefinition.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Identifier by which this substance is known
Type: token
Path: SubstanceDefinition.identifier
-
SP_NAME
Search parameter: nameDescription: The actual name
Type: string
Path: SubstanceDefinition.name.name
- See Also:
-
NAME
Fluent Client search parameter constant for nameDescription: The actual name
Type: string
Path: SubstanceDefinition.name.name
-
-
Constructor Details
-
SubstanceDefinition
public SubstanceDefinition()Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier(Identifier by which this substance is known.)
-
setIdentifier
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
getVersionElement
- Returns:
version(A business level version identifier of the substance.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
-
hasVersion
-
setVersionElement
- Parameters:
value-version(A business level version identifier of the substance.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
- Returns:
- A business level version identifier of the substance.
-
setVersion
- Parameters:
value- A business level version identifier of the substance.
-
getStatus
- Returns:
status(Status of substance within the catalogue e.g. active, retired.)
-
hasStatus
-
setStatus
- Parameters:
value-status(Status of substance within the catalogue e.g. active, retired.)
-
getClassification
- Returns:
classification(A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant).)
-
setClassification
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasClassification
-
addClassification
-
addClassification
-
getClassificationFirstRep
- Returns:
- The first repetition of repeating field
classification, creating it if it does not already exist {3}
-
getDomain
- Returns:
domain(If the substance applies to human or veterinary use.)
-
hasDomain
-
setDomain
- Parameters:
value-domain(If the substance applies to human or veterinary use.)
-
getGrade
- Returns:
grade(The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard).)
-
setGrade
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasGrade
-
addGrade
-
addGrade
-
getGradeFirstRep
- Returns:
- The first repetition of repeating field
grade, creating it if it does not already exist {3}
-
getDescriptionElement
- Returns:
description(Textual description of the substance.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
-
hasDescription
-
setDescriptionElement
- Parameters:
value-description(Textual description of the substance.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Returns:
- Textual description of the substance.
-
setDescription
- Parameters:
value- Textual description of the substance.
-
getInformationSource
- Returns:
informationSource(Supporting literature.)
-
setInformationSource
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInformationSource
-
addInformationSource
-
addInformationSource
-
getInformationSourceFirstRep
- Returns:
- The first repetition of repeating field
informationSource, creating it if it does not already exist {3}
-
getNote
- Returns:
note(Textual comment about the substance's catalogue or registry record.)
-
setNote
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
-
addNote
-
addNote
-
getNoteFirstRep
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist {3}
-
getManufacturer
- Returns:
manufacturer(The entity that creates, makes, produces or fabricates the substance. This is a set of potential manufacturers but is not necessarily comprehensive.)
-
setManufacturer
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasManufacturer
-
addManufacturer
-
addManufacturer
-
getManufacturerFirstRep
- Returns:
- The first repetition of repeating field
manufacturer, creating it if it does not already exist {3}
-
getSupplier
- Returns:
supplier(An entity that is the source for the substance. It may be different from the manufacturer. Supplier is synonymous to a distributor.)
-
setSupplier
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSupplier
-
addSupplier
-
addSupplier
-
getSupplierFirstRep
- Returns:
- The first repetition of repeating field
supplier, creating it if it does not already exist {3}
-
getMoiety
- Returns:
moiety(Moiety, for structural modifications.)
-
setMoiety
public SubstanceDefinition setMoiety(List<SubstanceDefinition.SubstanceDefinitionMoietyComponent> theMoiety) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasMoiety
-
addMoiety
-
addMoiety
-
getMoietyFirstRep
- Returns:
- The first repetition of repeating field
moiety, creating it if it does not already exist {3}
-
getCharacterization
- Returns:
characterization(General specifications for this substance.)
-
setCharacterization
public SubstanceDefinition setCharacterization(List<SubstanceDefinition.SubstanceDefinitionCharacterizationComponent> theCharacterization) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCharacterization
-
addCharacterization
-
addCharacterization
-
getCharacterizationFirstRep
public SubstanceDefinition.SubstanceDefinitionCharacterizationComponent getCharacterizationFirstRep()- Returns:
- The first repetition of repeating field
characterization, creating it if it does not already exist {3}
-
getProperty
- Returns:
property(General specifications for this substance.)
-
setProperty
public SubstanceDefinition setProperty(List<SubstanceDefinition.SubstanceDefinitionPropertyComponent> theProperty) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProperty
-
addProperty
-
addProperty
-
getPropertyFirstRep
- Returns:
- The first repetition of repeating field
property, creating it if it does not already exist {3}
-
getReferenceInformation
- Returns:
referenceInformation(General information detailing this substance.)
-
hasReferenceInformation
-
setReferenceInformation
- Parameters:
value-referenceInformation(General information detailing this substance.)
-
getMolecularWeight
- Returns:
molecularWeight(The average mass of a molecule of a compound compared to 1/12 the mass of carbon 12 and calculated as the sum of the atomic weights of the constituent atoms.)
-
setMolecularWeight
public SubstanceDefinition setMolecularWeight(List<SubstanceDefinition.SubstanceDefinitionMolecularWeightComponent> theMolecularWeight) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasMolecularWeight
-
addMolecularWeight
-
addMolecularWeight
-
getMolecularWeightFirstRep
- Returns:
- The first repetition of repeating field
molecularWeight, creating it if it does not already exist {3}
-
getStructure
- Returns:
structure(Structural information.)
-
hasStructure
-
setStructure
public SubstanceDefinition setStructure(SubstanceDefinition.SubstanceDefinitionStructureComponent value) - Parameters:
value-structure(Structural information.)
-
getCode
- Returns:
code(Codes associated with the substance.)
-
setCode
public SubstanceDefinition setCode(List<SubstanceDefinition.SubstanceDefinitionCodeComponent> theCode) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCode
-
addCode
-
addCode
-
getCodeFirstRep
- Returns:
- The first repetition of repeating field
code, creating it if it does not already exist {3}
-
getName
- Returns:
name(Names applicable to this substance.)
-
setName
public SubstanceDefinition setName(List<SubstanceDefinition.SubstanceDefinitionNameComponent> theName) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasName
-
addName
-
addName
-
getNameFirstRep
- Returns:
- The first repetition of repeating field
name, creating it if it does not already exist {3}
-
getRelationship
- Returns:
relationship(A link between this substance and another, with details of the relationship.)
-
setRelationship
public SubstanceDefinition setRelationship(List<SubstanceDefinition.SubstanceDefinitionRelationshipComponent> theRelationship) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRelationship
-
addRelationship
-
addRelationship
-
getRelationshipFirstRep
- Returns:
- The first repetition of repeating field
relationship, creating it if it does not already exist {3}
-
getNucleicAcid
- Returns:
nucleicAcid(Data items specific to nucleic acids.)
-
hasNucleicAcid
-
setNucleicAcid
- Parameters:
value-nucleicAcid(Data items specific to nucleic acids.)
-
getPolymer
- Returns:
polymer(Data items specific to polymers.)
-
hasPolymer
-
setPolymer
- Parameters:
value-polymer(Data items specific to polymers.)
-
getProtein
- Returns:
protein(Data items specific to proteins.)
-
hasProtein
-
setProtein
- Parameters:
value-protein(Data items specific to proteins.)
-
getSourceMaterial
- Returns:
sourceMaterial(Material or taxonomic/anatomical source for the substance.)
-
hasSourceMaterial
-
setSourceMaterial
public SubstanceDefinition setSourceMaterial(SubstanceDefinition.SubstanceDefinitionSourceMaterialComponent value) - Parameters:
value-sourceMaterial(Material or taxonomic/anatomical source for the substance.)
-
listChildren
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-