public static class Medication.MedicationProductIngredientComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Ratio |
amount
Specifies how many (or how much) of the items there are in this Medication.
|
protected Reference |
item
The actual ingredient - either a substance (simple ingredient) or another medication.
|
protected Resource |
itemTarget
The actual object that is the target of the reference (The actual ingredient - either a substance (simple ingredient) or another medication.)
|
modifierExtension| Constructor and Description |
|---|
MedicationProductIngredientComponent() |
MedicationProductIngredientComponent(Reference item) |
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Medication.MedicationProductIngredientComponent |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
Ratio |
getAmount() |
Reference |
getItem() |
Resource |
getItemTarget() |
boolean |
hasAmount() |
boolean |
hasItem() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Medication.MedicationProductIngredientComponent |
setAmount(Ratio value) |
Medication.MedicationProductIngredientComponent |
setItem(Reference value) |
Medication.MedicationProductIngredientComponent |
setItemTarget(Resource value) |
void |
setProperty(String name,
Base value) |
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Reference item
protected Resource itemTarget
public MedicationProductIngredientComponent()
public MedicationProductIngredientComponent(Reference item)
public Reference getItem()
item (The actual ingredient - either a substance (simple ingredient) or another medication.)public boolean hasItem()
public Medication.MedicationProductIngredientComponent setItem(Reference value)
value - item (The actual ingredient - either a substance (simple ingredient) or another medication.)public Resource getItemTarget()
item The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The actual ingredient - either a substance (simple ingredient) or another medication.)public Medication.MedicationProductIngredientComponent setItemTarget(Resource value)
value - item The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The actual ingredient - either a substance (simple ingredient) or another medication.)public Ratio getAmount()
amount (Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet.)public boolean hasAmount()
public Medication.MedicationProductIngredientComponent setAmount(Ratio value)
value - amount (Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet.)protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Medication.MedicationProductIngredientComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.