public static class Dosage.DosageDoseAndRateComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
| Modifier and Type | Field and Description |
|---|---|
protected Type |
dose
Amount of medication per dose.
|
protected Type |
rate
Amount of medication per unit of time.
|
protected CodeableConcept |
type
The kind of dose or rate specified, for example, ordered or calculated.
|
| Constructor and Description |
|---|
DosageDoseAndRateComponent()
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected CodeableConcept type
public DosageDoseAndRateComponent()
public CodeableConcept getType()
type (The kind of dose or rate specified, for example, ordered or calculated.)public boolean hasType()
public Dosage.DosageDoseAndRateComponent setType(CodeableConcept value)
value - type (The kind of dose or rate specified, for example, ordered or calculated.)public Range getDoseRange() throws org.hl7.fhir.exceptions.FHIRException
dose (Amount of medication per dose.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasDoseRange()
public Quantity getDoseQuantity() throws org.hl7.fhir.exceptions.FHIRException
dose (Amount of medication per dose.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasDoseQuantity()
public boolean hasDose()
public Dosage.DosageDoseAndRateComponent setDose(Type value)
value - dose (Amount of medication per dose.)public Ratio getRateRatio() throws org.hl7.fhir.exceptions.FHIRException
rate (Amount of medication per unit of time.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasRateRatio()
public Range getRateRange() throws org.hl7.fhir.exceptions.FHIRException
rate (Amount of medication per unit of time.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasRateRange()
public Quantity getRateQuantity() throws org.hl7.fhir.exceptions.FHIRException
rate (Amount of medication per unit of time.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasRateQuantity()
public boolean hasRate()
public Dosage.DosageDoseAndRateComponent setRate(Type value)
value - rate (Amount of medication per unit of time.)protected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Dosage.DosageDoseAndRateComponent copy()
public void copyValues(Dosage.DosageDoseAndRateComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class Elementpublic boolean isEmpty()
Copyright © 2014–2021 Health Level 7. All rights reserved.