public class Substance extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Substance.SubstanceIngredientComponent |
static class |
Substance.SubstanceInstanceComponent |
| Modifier and Type | Field and Description |
|---|---|
protected List<CodeableConcept> |
category
A code that classifies the general type of substance.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
protected CodeableConcept |
code
A code (or set of codes) that identify this substance.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CONTAINER_IDENTIFIER
Fluent Client search parameter constant for container-identifier
|
protected StringType |
description
A description of the substance - its appearance, handling requirements, and other usage notes.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
EXPIRY
Fluent Client search parameter constant for expiry
|
protected List<Identifier> |
identifier
Unique identifier for the substance.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBSTANCE
Constant for fluent queries to be used to add include statements.
|
protected List<Substance.SubstanceIngredientComponent> |
ingredient
A substance can be composed of other substances.
|
protected List<Substance.SubstanceInstanceComponent> |
instance
Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.
|
static ca.uhn.fhir.rest.gclient.QuantityClientParam |
QUANTITY
Fluent Client search parameter constant for quantity
|
static String |
SP_CATEGORY
Search parameter: category
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_CONTAINER_IDENTIFIER
Search parameter: container-identifier
|
static String |
SP_EXPIRY
Search parameter: expiry
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_QUANTITY
Search parameter: quantity
|
static String |
SP_SUBSTANCE
Search parameter: substance
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBSTANCE
Fluent Client search parameter constant for substance
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Substance()
Constructor
|
Substance(CodeableConcept code)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected List<CodeableConcept> category
protected CodeableConcept code
protected StringType description
protected List<Substance.SubstanceInstanceComponent> instance
protected List<Substance.SubstanceIngredientComponent> ingredient
public static final String SP_SUBSTANCE
Description: A component of the substance
Type: reference
Path: Substance.ingredient.substance
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBSTANCE
Description: A component of the substance
Type: reference
Path: Substance.ingredient.substance
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBSTANCE
public static final String SP_CONTAINER_IDENTIFIER
Description: Identifier of the package/container
Type: token
Path: Substance.instance.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTAINER_IDENTIFIER
Description: Identifier of the package/container
Type: token
Path: Substance.instance.identifier
public static final String SP_CATEGORY
Description: The category of the substance
Type: token
Path: Substance.category
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Description: The category of the substance
Type: token
Path: Substance.category
public static final String SP_QUANTITY
Description: Amount of substance in the package
Type: quantity
Path: Substance.instance.quantity
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam QUANTITY
Description: Amount of substance in the package
Type: quantity
Path: Substance.instance.quantity
public static final String SP_CODE
Description: The code of the substance
Type: token
Path: Substance.code
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description: The code of the substance
Type: token
Path: Substance.code
public static final String SP_IDENTIFIER
Description: Unique identifier for the substance
Type: token
Path: Substance.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Unique identifier for the substance
Type: token
Path: Substance.identifier
public static final String SP_EXPIRY
Description: Expiry date of package or container of substance
Type: date
Path: Substance.instance.expiry
public static final ca.uhn.fhir.rest.gclient.DateClientParam EXPIRY
Description: Expiry date of package or container of substance
Type: date
Path: Substance.instance.expiry
public Substance()
public Substance(CodeableConcept code)
public List<Identifier> getIdentifier()
identifier (Unique identifier for the substance.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Unique identifier for the substance.)public Substance addIdentifier(Identifier t)
public List<CodeableConcept> getCategory()
category (A code that classifies the general type of substance. This is used for searching, sorting and display purposes.)public boolean hasCategory()
public CodeableConcept addCategory()
category (A code that classifies the general type of substance. This is used for searching, sorting and display purposes.)public Substance addCategory(CodeableConcept t)
public CodeableConcept getCode()
code (A code (or set of codes) that identify this substance.)public boolean hasCode()
public Substance setCode(CodeableConcept value)
value - code (A code (or set of codes) that identify this substance.)public StringType getDescriptionElement()
description (A description of the substance - its appearance, handling requirements, and other usage notes.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public Substance setDescriptionElement(StringType value)
value - description (A description of the substance - its appearance, handling requirements, and other usage notes.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public Substance setDescription(String value)
value - A description of the substance - its appearance, handling requirements, and other usage notes.public List<Substance.SubstanceInstanceComponent> getInstance()
instance (Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.)public boolean hasInstance()
public Substance.SubstanceInstanceComponent addInstance()
instance (Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.)public Substance addInstance(Substance.SubstanceInstanceComponent t)
public List<Substance.SubstanceIngredientComponent> getIngredient()
ingredient (A substance can be composed of other substances.)public boolean hasIngredient()
public Substance.SubstanceIngredientComponent addIngredient()
ingredient (A substance can be composed of other substances.)public Substance addIngredient(Substance.SubstanceIngredientComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Substance copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.