public class RelatedArtifact extends Type implements ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
RelatedArtifact.RelatedArtifactType |
static class |
RelatedArtifact.RelatedArtifactTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
citation
A bibliographic citation for the related artifact.
|
protected StringType |
display
A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.
|
protected Attachment |
document
The document being referenced, represented as an attachment.
|
protected Reference |
resource
The related resource, such as a library, value set, profile, or other knowledge resource.
|
protected Resource |
resourceTarget
The actual object that is the target of the reference (The related resource, such as a library, value set, profile, or other knowledge resource.)
|
protected Enumeration<RelatedArtifact.RelatedArtifactType> |
type
The type of relationship to the related artifact.
|
protected UriType |
url
A url for the artifact that can be followed to access the actual content.
|
| Constructor and Description |
|---|
RelatedArtifact()
Constructor
|
RelatedArtifact(Enumeration<RelatedArtifact.RelatedArtifactType> type)
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 Enumeration<RelatedArtifact.RelatedArtifactType> type
protected StringType display
protected StringType citation
protected Attachment document
protected Reference resource
protected Resource resourceTarget
public RelatedArtifact()
public RelatedArtifact(Enumeration<RelatedArtifact.RelatedArtifactType> type)
public Enumeration<RelatedArtifact.RelatedArtifactType> getTypeElement()
type (The type of relationship to the related artifact.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public RelatedArtifact setTypeElement(Enumeration<RelatedArtifact.RelatedArtifactType> value)
value - type (The type of relationship to the related artifact.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic RelatedArtifact.RelatedArtifactType getType()
public RelatedArtifact setType(RelatedArtifact.RelatedArtifactType value)
value - The type of relationship to the related artifact.public StringType getDisplayElement()
display (A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the valuepublic boolean hasDisplayElement()
public boolean hasDisplay()
public RelatedArtifact setDisplayElement(StringType value)
value - display (A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the valuepublic String getDisplay()
public RelatedArtifact setDisplay(String value)
value - A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.public StringType getCitationElement()
citation (A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.). This is the underlying object with id, value and extensions. The accessor "getCitation" gives direct access to the valuepublic boolean hasCitationElement()
public boolean hasCitation()
public RelatedArtifact setCitationElement(StringType value)
value - citation (A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.). This is the underlying object with id, value and extensions. The accessor "getCitation" gives direct access to the valuepublic String getCitation()
public RelatedArtifact setCitation(String value)
value - A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.public UriType getUrlElement()
url (A url for the artifact that can be followed to access the actual content.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasUrlElement()
public boolean hasUrl()
public RelatedArtifact setUrlElement(UriType value)
value - url (A url for the artifact that can be followed to access the actual content.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic String getUrl()
public RelatedArtifact setUrl(String value)
value - A url for the artifact that can be followed to access the actual content.public Attachment getDocument()
document (The document being referenced, represented as an attachment. This is exclusive with the resource element.)public boolean hasDocument()
public RelatedArtifact setDocument(Attachment value)
value - document (The document being referenced, represented as an attachment. This is exclusive with the resource element.)public Reference getResource()
resource (The related resource, such as a library, value set, profile, or other knowledge resource.)public boolean hasResource()
public RelatedArtifact setResource(Reference value)
value - resource (The related resource, such as a library, value set, profile, or other knowledge resource.)public Resource getResourceTarget()
resource The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The related resource, such as a library, value set, profile, or other knowledge resource.)public RelatedArtifact setResourceTarget(Resource value)
value - resource The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The related resource, such as a library, value set, profile, or other knowledge resource.)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 RelatedArtifact copy()
protected RelatedArtifact typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.