public class RelatedArtifact extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
RelatedArtifact.RelatedArtifactType |
static class |
RelatedArtifact.RelatedArtifactTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected MarkdownType |
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 StringType |
label
A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.
|
protected CanonicalType |
resource
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 UrlType |
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, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, 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, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected Enumeration<RelatedArtifact.RelatedArtifactType> type
protected StringType label
protected StringType display
protected MarkdownType citation
protected Attachment document
protected CanonicalType resource
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 getLabelElement()
label (A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the valuepublic boolean hasLabelElement()
public boolean hasLabel()
public RelatedArtifact setLabelElement(StringType value)
value - label (A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the valuepublic String getLabel()
public RelatedArtifact setLabel(String value)
value - A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.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 MarkdownType 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(MarkdownType 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 UrlType 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(UrlType 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 CanonicalType getResourceElement()
resource (The related resource, such as a library, value set, profile, or other knowledge resource.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the valuepublic boolean hasResourceElement()
public boolean hasResource()
public RelatedArtifact setResourceElement(CanonicalType value)
value - resource (The related resource, such as a library, value set, profile, or other knowledge resource.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the valuepublic String getResource()
public RelatedArtifact setResource(String value)
value - The related resource, such as a library, value set, profile, or other knowledge resource.protected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base 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 String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic RelatedArtifact copy()
public void copyValues(RelatedArtifact dst)
protected RelatedArtifact typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class ElementCopyright © 2014–2021 Health Level 7. All rights reserved.