public static class ElementDefinition.TypeRefComponent extends Element implements 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 UriType |
code
URL of Data type or Resource that is a(or the) type used for this element.
|
protected UriType |
profile
Identifies a profile structure or implementation Guide that SHALL hold for the datatype this element refers to.
|
protected UriType |
targetProfile
Identifies a profile structure or implementation Guide that SHALL hold for the target of the reference this element refers to.
|
protected Enumeration<ElementDefinition.ReferenceVersionRules> |
versioning
Whether this reference needs to be version specific or version independent, or whether either can be used.
|
| Constructor and Description |
|---|
TypeRefComponent()
Constructor
|
TypeRefComponent(UriType code)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected UriType code
protected UriType profile
protected UriType targetProfile
protected List<Enumeration<ElementDefinition.AggregationMode>> aggregation
protected Enumeration<ElementDefinition.ReferenceVersionRules> versioning
public TypeRefComponent()
public TypeRefComponent(UriType code)
public UriType getCodeElement()
code (URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. "string" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models.). 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(UriType value)
value - code (URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. "string" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models.). 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 - URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. "string" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models.public UriType getProfileElement()
profile (Identifies a profile structure or implementation Guide that SHALL hold for the datatype this element refers to. Can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the valuepublic boolean hasProfileElement()
public boolean hasProfile()
public ElementDefinition.TypeRefComponent setProfileElement(UriType value)
value - profile (Identifies a profile structure or implementation Guide that SHALL hold for the datatype this element refers to. Can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the valuepublic String getProfile()
public ElementDefinition.TypeRefComponent setProfile(String value)
value - Identifies a profile structure or implementation Guide that SHALL hold for the datatype this element refers to. Can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.public UriType getTargetProfileElement()
targetProfile (Identifies a profile structure or implementation Guide that SHALL hold for the target of the reference this element refers to. Can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getTargetProfile" gives direct access to the valuepublic boolean hasTargetProfileElement()
public boolean hasTargetProfile()
public ElementDefinition.TypeRefComponent setTargetProfileElement(UriType value)
value - targetProfile (Identifies a profile structure or implementation Guide that SHALL hold for the target of the reference this element refers to. Can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getTargetProfile" gives direct access to the valuepublic String getTargetProfile()
public ElementDefinition.TypeRefComponent setTargetProfile(String value)
value - Identifies a profile structure or implementation Guide that SHALL hold for the target of the reference this element refers to. Can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. 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 ElementDefinition.TypeRefComponent setAggregation(List<Enumeration<ElementDefinition.AggregationMode>> theAggregation)
this for easy method chainingpublic 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 whether 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 whether 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 whether either can be used.protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic ElementDefinition.TypeRefComponent copy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class Elementpublic boolean isEmpty()
Copyright © 2014–2017 University Health Network. All rights reserved.