public class Ingredient extends Object
Java class for Ingredient complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Ingredient">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="realmCode" type="{urn:hl7-org:v3}CS" maxOccurs="unbounded" minOccurs="0"/>
<element name="typeId" type="{urn:hl7-org:v3}POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0"/>
<element name="templateId" type="{urn:hl7-org:v3}II" maxOccurs="unbounded" minOccurs="0"/>
<element name="id" type="{urn:hl7-org:v3}II" maxOccurs="unbounded" minOccurs="0"/>
<element name="ingredientManufacturedMaterial" type="{http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0}ManufacturedMaterial" minOccurs="0"/>
<element name="quantity" type="{urn:hl7-org:v3}RTO_PQ_PQ" minOccurs="0"/>
</sequence>
<attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
<attribute name="classCode" use="required" type="{urn:hl7-org:v3}RoleClassRoot" fixed="INGR" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected RoleClassRoot |
classCode |
protected List<II> |
id |
protected ManufacturedMaterial |
ingredientManufacturedMaterial |
protected NullFlavor |
nullFlavor |
protected RTOPQPQ |
quantity |
protected List<CS> |
realmCode |
protected List<II> |
templateId |
protected POCDMT000040InfrastructureRootTypeId |
typeId |
| Constructor and Description |
|---|
Ingredient() |
| Modifier and Type | Method and Description |
|---|---|
RoleClassRoot |
getClassCode()
Gets the value of the classCode property.
|
List<II> |
getId()
Gets the value of the id property.
|
ManufacturedMaterial |
getIngredientManufacturedMaterial()
Gets the value of the ingredientManufacturedMaterial property.
|
NullFlavor |
getNullFlavor()
Gets the value of the nullFlavor property.
|
RTOPQPQ |
getQuantity()
Gets the value of the quantity property.
|
List<CS> |
getRealmCode()
Gets the value of the realmCode property.
|
List<II> |
getTemplateId()
Gets the value of the templateId property.
|
POCDMT000040InfrastructureRootTypeId |
getTypeId()
Gets the value of the typeId property.
|
void |
setClassCode(RoleClassRoot value)
Sets the value of the classCode property.
|
void |
setIngredientManufacturedMaterial(ManufacturedMaterial value)
Sets the value of the ingredientManufacturedMaterial property.
|
void |
setNullFlavor(NullFlavor value)
Sets the value of the nullFlavor property.
|
void |
setQuantity(RTOPQPQ value)
Sets the value of the quantity property.
|
void |
setTypeId(POCDMT000040InfrastructureRootTypeId value)
Sets the value of the typeId property.
|
protected POCDMT000040InfrastructureRootTypeId typeId
protected ManufacturedMaterial ingredientManufacturedMaterial
protected RTOPQPQ quantity
protected NullFlavor nullFlavor
protected RoleClassRoot classCode
public List<CS> getRealmCode()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the realmCode property.
For example, to add a new item, do as follows:
getRealmCode().add(newItem);
Objects of the following type(s) are allowed in the list
CS
public POCDMT000040InfrastructureRootTypeId getTypeId()
POCDMT000040InfrastructureRootTypeIdpublic void setTypeId(POCDMT000040InfrastructureRootTypeId value)
value - allowed object is
POCDMT000040InfrastructureRootTypeIdpublic List<II> getTemplateId()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the templateId property.
For example, to add a new item, do as follows:
getTemplateId().add(newItem);
Objects of the following type(s) are allowed in the list
II
public List<II> getId()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the id property.
For example, to add a new item, do as follows:
getId().add(newItem);
Objects of the following type(s) are allowed in the list
II
public ManufacturedMaterial getIngredientManufacturedMaterial()
ManufacturedMaterialpublic void setIngredientManufacturedMaterial(ManufacturedMaterial value)
value - allowed object is
ManufacturedMaterialpublic RTOPQPQ getQuantity()
RTOPQPQpublic void setQuantity(RTOPQPQ value)
value - allowed object is
RTOPQPQpublic NullFlavor getNullFlavor()
NullFlavorpublic void setNullFlavor(NullFlavor value)
value - allowed object is
NullFlavorpublic RoleClassRoot getClassCode()
RoleClassRootpublic void setClassCode(RoleClassRoot value)
value - allowed object is
RoleClassRootCopyright © 2021. All rights reserved.