public abstract class Resource extends BaseResource implements org.hl7.fhir.instance.model.api.IAnyResource
| Modifier and Type | Field and Description |
|---|---|
protected IdType |
id
The logical id of the resource, as used in the URL for the resource.
|
protected UriType |
implicitRules
A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
|
protected CodeType |
language
The base language in which the resource is written.
|
protected Meta |
meta
The metadata about the resource.
|
| Constructor and Description |
|---|
Resource()
Constructor
|
getStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUserData, setUserDataprotected IdType id
protected Meta meta
protected UriType implicitRules
public Resource()
public IdType getIdElement()
getIdElement in interface org.hl7.fhir.instance.model.api.IAnyResourcegetIdElement in interface org.hl7.fhir.instance.model.api.IBaseResourceid (The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the valuepublic boolean hasIdElement()
public boolean hasId()
public Resource setIdElement(IdType value)
setIdElement in class BaseResourcevalue - id (The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the valuepublic String getId()
getId in interface org.hl7.fhir.instance.model.api.IAnyResourcepublic Resource setId(String value)
setId in interface org.hl7.fhir.instance.model.api.IAnyResourcesetId in interface org.hl7.fhir.instance.model.api.IBaseResourcevalue - The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.public Meta getMeta()
getMeta in interface org.hl7.fhir.instance.model.api.IBaseResourcemeta (The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.)public boolean hasMeta()
public Resource setMeta(Meta value)
value - meta (The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.)public UriType getImplicitRulesElement()
implicitRules (A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.). This is the underlying object with id, value and extensions. The accessor "getImplicitRules" gives direct access to the valuepublic boolean hasImplicitRulesElement()
public boolean hasImplicitRules()
public Resource setImplicitRulesElement(UriType value)
value - implicitRules (A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.). This is the underlying object with id, value and extensions. The accessor "getImplicitRules" gives direct access to the valuepublic String getImplicitRules()
public Resource setImplicitRules(String value)
value - A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.public CodeType getLanguageElement()
getLanguageElement in interface org.hl7.fhir.instance.model.api.IAnyResourcelanguage (The base language in which the resource is written.). This is the underlying object with id, value and extensions. The accessor "getLanguage" gives direct access to the valuepublic boolean hasLanguageElement()
public boolean hasLanguage()
public Resource setLanguageElement(CodeType value)
value - language (The base language in which the resource is written.). This is the underlying object with id, value and extensions. The accessor "getLanguage" gives direct access to the valuepublic String getLanguage()
public Resource setLanguage(String value)
value - The base language in which the resource is written.protected void listChildren(List<Property> children)
listChildren in class Basepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic void copyValues(Resource dst)
public boolean equalsDeep(Base other_)
equalsDeep in class Basepublic boolean equalsShallow(Base other_)
equalsShallow in class Basepublic boolean isEmpty()
public abstract ResourceType getResourceType()
public String getLanguage(String defValue)
Copyright © 2014–2021 Health Level 7. All rights reserved.