Class ChEmedRangeWithEmedUnits
java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.Element
org.hl7.fhir.r4.model.Type
org.hl7.fhir.r4.model.Range
org.projecthusky.fhir.emed.ch.epr.datatypes.ChEmedRangeWithEmedUnits
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.ICompositeType
public class ChEmedRangeWithEmedUnits
extends org.hl7.fhir.r4.model.Range
The HAPI custom structure for CH-EMED-RangeWithEmedUnits.
- Author:
- Ronaldo Loureiro
- See Also:
-
Field Summary
Fields inherited from class org.hl7.fhir.r4.model.Range
high, low
Fields inherited from class org.hl7.fhir.r4.model.Element
extension, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Resolves the high quantity.Resolves the low quantity.Sets the high quantity.Sets the low quantity.Methods inherited from class org.hl7.fhir.r4.model.Range
addChild, copyValues, equalsDeep, equalsShallow, fhirType, getHigh, getLow, getNamedProperty, getProperty, getTypesForProperty, hasHigh, hasLow, isEmpty, listChildren, makeProperty, removeChild, setHigh, setLow, setProperty, setProperty, typedCopy
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, 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, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Constructor Details
-
ChEmedRangeWithEmedUnits
public ChEmedRangeWithEmedUnits()Empty constructor for the parser.
-
-
Method Details
-
resolveLow
@ExpectsValidResource public ChEmedQuantityWithEmedUnits resolveLow() throws InvalidEmedContentExceptionResolves the low quantity.- Returns:
- the low quantity.
- Throws:
InvalidEmedContentException
- if the low quantity isn't of the right type.
-
resolveHigh
@ExpectsValidResource public ChEmedQuantityWithEmedUnits resolveHigh() throws InvalidEmedContentExceptionResolves the high quantity.- Returns:
- the high quantity.
- Throws:
InvalidEmedContentException
- if the high quantity isn't of the right type.
-
setLow
Sets the low quantity.- Parameters:
low
- the low quantity.- Returns:
- this.
-
setHigh
Sets the high quantity.- Parameters:
high
- the high quantity.- Returns:
- this.
-
copy
- Overrides:
copy
in classorg.hl7.fhir.r4.model.Range
-