public class Ratio extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected Quantity |
denominator
The value of the denominator.
|
protected Quantity |
numerator
The value of the numerator.
|
| Constructor and Description |
|---|
Ratio() |
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Ratio |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
Quantity |
getDenominator() |
Quantity |
getNumerator() |
boolean |
hasDenominator() |
boolean |
hasNumerator() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Ratio |
setDenominator(Quantity value) |
Ratio |
setNumerator(Quantity value) |
void |
setProperty(String name,
Base value) |
protected Ratio |
typedCopy() |
addExtension, 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, setUserDataINNprotected Quantity denominator
public Ratio()
public Quantity getNumerator()
numerator (The value of the numerator.)public boolean hasNumerator()
public Ratio setNumerator(Quantity value)
value - numerator (The value of the numerator.)public Quantity getDenominator()
denominator (The value of the denominator.)public boolean hasDenominator()
public Ratio setDenominator(Quantity value)
value - denominator (The value of the denominator.)protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.