Package com.ibm.fhir.model.resource
Class BiologicallyDerivedProduct
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.BiologicallyDerivedProduct
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class BiologicallyDerivedProduct extends DomainResource
A material substance originating from a biological entity intended to be transplanted or infused into another (possibly the same) biological entity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BiologicallyDerivedProduct.Builder
static class
BiologicallyDerivedProduct.Collection
How this product was collected.static class
BiologicallyDerivedProduct.Manipulation
Any manipulation of product post-collection that is intended to alter the product.static class
BiologicallyDerivedProduct.Processing
Any processing of the product during collection that does not change the fundamental nature of the product.static class
BiologicallyDerivedProduct.Storage
Product storage.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static BiologicallyDerivedProduct.Builder
builder()
boolean
equals(Object obj)
BiologicallyDerivedProduct.Collection
getCollection()
How this product was collected.List<Identifier>
getIdentifier()
This records identifiers associated with this biologically derived product instance that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g.BiologicallyDerivedProduct.Manipulation
getManipulation()
Any manipulation of product post-collection that is intended to alter the product.List<Reference>
getParent()
Parent product (if any).List<BiologicallyDerivedProduct.Processing>
getProcessing()
Any processing of the product during collection that does not change the fundamental nature of the product.BiologicallyDerivedProductCategory
getProductCategory()
Broad category of this product.CodeableConcept
getProductCode()
A code that identifies the kind of this biologically derived product (SNOMED Ctcode).Integer
getQuantity()
Number of discrete units within this product.List<Reference>
getRequest()
Procedure request to obtain this biologically derived product.BiologicallyDerivedProductStatus
getStatus()
Whether the product is currently available.List<BiologicallyDerivedProduct.Storage>
getStorage()
Product storage.boolean
hasChildren()
int
hashCode()
BiologicallyDerivedProduct.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
This records identifiers associated with this biologically derived product instance that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).- Returns:
- An unmodifiable list containing immutable objects of type
Identifier
that may be empty.
-
getProductCategory
public BiologicallyDerivedProductCategory getProductCategory()
Broad category of this product.- Returns:
- An immutable object of type
BiologicallyDerivedProductCategory
that may be null.
-
getProductCode
public CodeableConcept getProductCode()
A code that identifies the kind of this biologically derived product (SNOMED Ctcode).- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getStatus
public BiologicallyDerivedProductStatus getStatus()
Whether the product is currently available.- Returns:
- An immutable object of type
BiologicallyDerivedProductStatus
that may be null.
-
getRequest
public List<Reference> getRequest()
Procedure request to obtain this biologically derived product.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getQuantity
public Integer getQuantity()
Number of discrete units within this product.- Returns:
- An immutable object of type
Integer
that may be null.
-
getParent
public List<Reference> getParent()
Parent product (if any).- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getCollection
public BiologicallyDerivedProduct.Collection getCollection()
How this product was collected.- Returns:
- An immutable object of type
BiologicallyDerivedProduct.Collection
that may be null.
-
getProcessing
public List<BiologicallyDerivedProduct.Processing> getProcessing()
Any processing of the product during collection that does not change the fundamental nature of the product. For example adding anti-coagulants during the collection of Peripheral Blood Stem Cells.- Returns:
- An unmodifiable list containing immutable objects of type
BiologicallyDerivedProduct.Processing
that may be empty.
-
getManipulation
public BiologicallyDerivedProduct.Manipulation getManipulation()
Any manipulation of product post-collection that is intended to alter the product. For example a buffy-coat enrichment or CD8 reduction of Peripheral Blood Stem Cells to make it more suitable for infusion.- Returns:
- An immutable object of type
BiologicallyDerivedProduct.Manipulation
that may be null.
-
getStorage
public List<BiologicallyDerivedProduct.Storage> getStorage()
Product storage.- Returns:
- An unmodifiable list containing immutable objects of type
BiologicallyDerivedProduct.Storage
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
toBuilder
public BiologicallyDerivedProduct.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static BiologicallyDerivedProduct.Builder builder()
-
-