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 |
|---|---|
static String |
SP_CATEGORY |
static String |
SP_CODE |
static String |
SP_CONTAINERIDENTIFIER |
static String |
SP_EXPIRY |
static String |
SP_IDENTIFIER |
static String |
SP_QUANTITY |
static String |
SP_SUBSTANCE |
| Constructor and Description |
|---|
Substance() |
Substance(CodeableConcept code) |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, 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, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic static final String SP_IDENTIFIER
public static final String SP_CONTAINERIDENTIFIER
public static final String SP_CODE
public static final String SP_QUANTITY
public static final String SP_SUBSTANCE
public static final String SP_EXPIRY
public static final String SP_CATEGORY
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)
public 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 IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2015 University Health Network. All rights reserved.