
Package org.hl7.fhir.r4.elementmodel
Class Element
java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.elementmodel.Element
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
Deprecated.
This class represents the underlying reference model of FHIR
A resource is nothing but a set of elements, where every element has a name,
maybe a stated type, maybe an id, and either a value or child elements (one
or the other, but not both or neither)
- Author:
- Grahame Grieve
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Deprecated.class
Deprecated.static enum
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasType()
Deprecated.void
Deprecated.int
col()
Deprecated.copy()
Deprecated.void
copyValues
(Base dst) Deprecated.boolean
equalsDeep
(Base other) Deprecated.boolean
equalsShallow
(Base other) Deprecated.fhirType()
Deprecated.Deprecated.Deprecated.getChildren
(String name) Deprecated.getChildrenByName
(String name) Deprecated.getChildValue
(String name) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
getIndex()
Deprecated.getName()
Deprecated.getNamedChild
(String name) Deprecated.void
getNamedChildren
(String name, List<Element> list) Deprecated.void
getNamedChildrenWithWildcard
(String string, List<Element> values) Deprecated.getNamedChildValue
(String name) Deprecated.Deprecated.Base[]
getProperty
(int hash, String name, boolean checkValid) Deprecated.Deprecated.getType()
Deprecated.String[]
getTypesForProperty
(int hash, String name) Deprecated.getValue()
Deprecated.org.hl7.fhir.utilities.xhtml.XhtmlNode
getXhtml()
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
hasChildren
(String name) Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
hasIndex()
Deprecated.boolean
Deprecated.boolean
hasType()
Deprecated.boolean
hasValue()
Deprecated.boolean
Deprecated.boolean
isEmpty()
Deprecated.boolean
isList()
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.int
line()
Deprecated.protected void
listChildren
(List<Property> childProps) Deprecated.makeProperty
(int hash, String name) Deprecated.markLocation
(int line, int col) Deprecated.void
markValidation
(StructureDefinition profile, ElementDefinition definition) Deprecated.void
Deprecated.Deprecated.void
setChildValue
(String name, String value) Deprecated.void
setExplicitType
(String explicitType) Deprecated.void
Deprecated.void
setIndex
(int index) Deprecated.setProperty
(int hash, String name, Base value) Deprecated.void
Deprecated.void
Deprecated.setXhtml
(org.hl7.fhir.utilities.xhtml.XhtmlNode xhtml) Deprecated.void
sort()
Deprecated.toString()
Deprecated.void
updateProperty
(Property property, Element.SpecialElement special, Property elementProperty) Deprecated.Methods inherited from class org.hl7.fhir.r4.model.Base
addChild, 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, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isDateTime, listChildrenByName, listChildrenByName, removeChild, setProperty, setUserData, setUserDataINN
-
Constructor Details
-
Element
Deprecated. -
Element
Deprecated. -
Element
Deprecated. -
Element
Deprecated.
-
-
Method Details
-
updateProperty
public void updateProperty(Property property, Element.SpecialElement special, Property elementProperty) Deprecated. -
getSpecial
Deprecated. -
getName
Deprecated. -
getType
Deprecated. -
getValue
Deprecated. -
hasChildren
Deprecated. -
getChildren
Deprecated. -
hasComments
Deprecated. -
getComments
Deprecated. -
getProperty
Deprecated. -
setValue
Deprecated. -
setType
Deprecated. -
hasValue
Deprecated. -
getChildrenByName
Deprecated. -
numberChildren
Deprecated. -
getIndex
Deprecated. -
hasIndex
Deprecated. -
setIndex
Deprecated. -
getChildValue
Deprecated. -
setChildValue
Deprecated. -
getChildren
Deprecated. -
hasType
Deprecated. -
fhirType
Deprecated. -
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Overrides:
getProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
listChildren
Deprecated.- Specified by:
listChildren
in classBase
-
copy
Deprecated. -
copyValues
Deprecated.- Overrides:
copyValues
in classBase
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Overrides:
setProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
Deprecated.- Overrides:
makeProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
isPrimitive
Deprecated.- Overrides:
isPrimitive
in classBase
-
isBooleanPrimitive
Deprecated.- Overrides:
isBooleanPrimitive
in classBase
-
isResource
Deprecated.- Overrides:
isResource
in classBase
-
hasPrimitiveValue
Deprecated.- Overrides:
hasPrimitiveValue
in classBase
-
primitiveValue
Deprecated.- Overrides:
primitiveValue
in classBase
-
line
Deprecated. -
col
Deprecated. -
markLocation
Deprecated. -
clearDecorations
Deprecated. -
markValidation
Deprecated. -
getNamedChild
Deprecated. -
getNamedChildren
Deprecated. -
getNamedChildValue
Deprecated. -
getNamedChildrenWithWildcard
Deprecated. -
getXhtml
Deprecated. -
setXhtml
Deprecated. -
isEmpty
Deprecated. -
getElementProperty
Deprecated. -
hasElementProperty
Deprecated. -
hasChild
Deprecated. -
hasChildren
Deprecated. -
toString
Deprecated. -
getIdBase
Deprecated. -
setIdBase
Deprecated. -
equalsDeep
Deprecated.- Overrides:
equalsDeep
in classBase
-
equalsShallow
Deprecated.- Overrides:
equalsShallow
in classBase
-
asType
Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
isMetadataBased
Deprecated.- Overrides:
isMetadataBased
in classBase
-
isList
Deprecated. -
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Overrides:
getTypesForProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
sort
Deprecated. -
getAsICoding
Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getExplicitType
Deprecated. -
setExplicitType
Deprecated.
-