
Package org.hl7.fhir.r5.openehr
Class DV_DATE
- 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.ICompositeType
Represents an absolute point in time, as measured on the Gregorian calendar, and specified only to the day. Semantics defined by ISO 8601. Used for recording dates in real world time. The partial form is used for approximate birth dates, dates of death, etc.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsFields inherited from class org.hl7.fhir.r5.openehr.DV_QUANTIFIED
accuracy, magnitude_statusFields inherited from class org.hl7.fhir.r5.openehr.DV_ORDERED
normal_range, normal_status, other_reference_rangesList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyValues(DV_DATE dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) getValue()booleanhasValue()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setValueElement(DateTimeType value) protected DV_DATEMethods inherited from class org.hl7.fhir.r5.openehr.DV_TEMPORAL
copyValuesMethods inherited from class org.hl7.fhir.r5.openehr.DV_ABSOLUTE_QUANTITY
copyValuesMethods inherited from class org.hl7.fhir.r5.openehr.DV_QUANTIFIED
copyValues, getAccuracy, getMagnitude_status, getMagnitude_statusElement, hasAccuracy, hasMagnitude_status, hasMagnitude_statusElement, setAccuracy, setMagnitude_status, setMagnitude_statusElementMethods inherited from class org.hl7.fhir.r5.openehr.DV_ORDERED
addOther_reference_ranges, addOther_reference_ranges, copyValues, getNormal_range, getNormal_status, getOther_reference_rangesFirstRep, getOther_reference_rangesList, hasNormal_range, hasNormal_status, hasOther_reference_ranges, setNormal_range, setNormal_status, setOther_reference_rangesListMethods inherited from class org.hl7.fhir.r5.openehr.DATA_VALUE
copyValuesMethods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBaseMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
value
ISO8601 date string.
-
-
Constructor Details
-
DV_DATE
public DV_DATE()Constructor
-
-
Method Details
-
getValueElement
- Returns:
value(ISO8601 date string.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
hasValueElement
-
hasValue
-
setValueElement
- Parameters:
value-value(ISO8601 date string.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
getValue
- Returns:
- ISO8601 date string.
-
setValue
- Parameters:
value- ISO8601 date string.
-
listChildren
- Overrides:
listChildrenin classDV_QUANTIFIED
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDV_QUANTIFIED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDV_QUANTIFIED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDV_QUANTIFIED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDV_QUANTIFIED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDV_QUANTIFIED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDV_QUANTIFIED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDV_QUANTIFIED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDV_TEMPORAL- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classDV_TEMPORAL
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDV_QUANTIFIED
-
equalsShallow
- Overrides:
equalsShallowin classDV_QUANTIFIED
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDV_QUANTIFIED
-