public static class ElementDefinition.TypeRefComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
| Modifier and Type | Field and Description |
|---|---|
protected List<Enumeration<ElementDefinition.AggregationMode>> |
aggregation
If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.
|
protected CodeType |
code
Name of Data type or Resource that is a(or the) type used for this element.
|
protected List<UriType> |
profile
Identifies a profile structure or implementation Guide that SHALL hold for resources or datatypes referenced as the type of this element.
|
protected Enumeration<ElementDefinition.ReferenceVersionRules> |
versioning
Whether this reference needs to be version specific or version independent, or whetehr either can be used.
|
| Constructor and Description |
|---|
TypeRefComponent()
Constructor
|
TypeRefComponent(CodeType code)
Constructor
|
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected CodeType code
protected List<UriType> profile
protected List<Enumeration<ElementDefinition.AggregationMode>> aggregation
protected Enumeration<ElementDefinition.ReferenceVersionRules> versioning
public TypeRefComponent()
public TypeRefComponent(CodeType code)
public CodeType getCodeElement()
code (Name of Data type or Resource that is a(or the) type used for this element.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the valuepublic boolean hasCodeElement()
public boolean hasCode()
public ElementDefinition.TypeRefComponent setCodeElement(CodeType value)
value - code (Name of Data type or Resource that is a(or the) type used for this element.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the valuepublic String getCode()
public ElementDefinition.TypeRefComponent setCode(String value)
value - Name of Data type or Resource that is a(or the) type used for this element.public List<UriType> getProfile()
profile (Identifies a profile structure or implementation Guide that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.)public boolean hasProfile()
public UriType addProfileElement()
profile (Identifies a profile structure or implementation Guide that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.)public ElementDefinition.TypeRefComponent addProfile(String value)
value - profile (Identifies a profile structure or implementation Guide that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.)public boolean hasProfile(String value)
value - profile (Identifies a profile structure or implementation Guide that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.)public List<Enumeration<ElementDefinition.AggregationMode>> getAggregation()
aggregation (If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.)public boolean hasAggregation()
public Enumeration<ElementDefinition.AggregationMode> addAggregationElement()
aggregation (If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.)public ElementDefinition.TypeRefComponent addAggregation(ElementDefinition.AggregationMode value)
value - aggregation (If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.)public boolean hasAggregation(ElementDefinition.AggregationMode value)
value - aggregation (If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.)public Enumeration<ElementDefinition.ReferenceVersionRules> getVersioningElement()
versioning (Whether this reference needs to be version specific or version independent, or whetehr either can be used.). This is the underlying object with id, value and extensions. The accessor "getVersioning" gives direct access to the valuepublic boolean hasVersioningElement()
public boolean hasVersioning()
public ElementDefinition.TypeRefComponent setVersioningElement(Enumeration<ElementDefinition.ReferenceVersionRules> value)
value - versioning (Whether this reference needs to be version specific or version independent, or whetehr either can be used.). This is the underlying object with id, value and extensions. The accessor "getVersioning" gives direct access to the valuepublic ElementDefinition.ReferenceVersionRules getVersioning()
public ElementDefinition.TypeRefComponent setVersioning(ElementDefinition.ReferenceVersionRules value)
value - Whether this reference needs to be version specific or version independent, or whetehr either can be used.protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 ElementDefinition.TypeRefComponent copy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class Elementpublic boolean isEmpty()
Copyright © 2014–2018 University Health Network. All rights reserved.