Package org.hl7.fhir.dstu3.model
Class Meta
java.lang.Object
org.hl7.fhir.dstu3.model.Base
org.hl7.fhir.dstu3.model.Element
org.hl7.fhir.dstu3.model.Type
org.hl7.fhir.dstu3.model.Meta
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseMetaType
,org.hl7.fhir.instance.model.api.ICompositeType
The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected InstantType
When the resource last changed - e.g.A list of profiles (references to [[[StructureDefinition]]] resources) that this resource claims to conform to.Security labels applied to this resource.Tags applied to this resource.protected IdType
The version specific identifier, as it appears in the version portion of the URL. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddProfile
(String value) addSecurity
(String theSystem, String theCode, String theDisplay) Convenience method which adds a security tagaddTag()
Convenience method which adds a tagcopy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) getSecurity
(String theSystem, String theCode) Returns the first security label (if any) that has the given system and code, or returnsnull
if nonegetTag()
Returns the first tag (if any) that has the given system and code, or returnsnull
if noneString[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
hasProfile
(String value) boolean
boolean
hasTag()
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setLastUpdated
(Date value) setLastUpdatedElement
(InstantType value) setProfile
(List<UriType> theProfile) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSecurity
(List<Coding> theSecurity) setVersionId
(String value) setVersionIdElement
(IdType value) protected Meta
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, 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, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Field Details
-
versionId
The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted. -
lastUpdated
When the resource last changed - e.g. when the version changed. -
profile
A list of profiles (references to [[[StructureDefinition]]] resources) that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]. -
security
Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. -
tag
Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
-
-
Constructor Details
-
Meta
public Meta()Constructor
-
-
Method Details
-
getVersionIdElement
- Returns:
versionId
(The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.). This is the underlying object with id, value and extensions. The accessor "getVersionId" gives direct access to the value
-
hasVersionIdElement
-
hasVersionId
-
setVersionIdElement
- Parameters:
value
-versionId
(The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.). This is the underlying object with id, value and extensions. The accessor "getVersionId" gives direct access to the value
-
getVersionId
- Specified by:
getVersionId
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Returns:
- The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.
-
setVersionId
- Specified by:
setVersionId
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Parameters:
value
- The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.
-
getLastUpdatedElement
- Returns:
lastUpdated
(When the resource last changed - e.g. when the version changed.). This is the underlying object with id, value and extensions. The accessor "getLastUpdated" gives direct access to the value
-
hasLastUpdatedElement
-
hasLastUpdated
-
setLastUpdatedElement
- Parameters:
value
-lastUpdated
(When the resource last changed - e.g. when the version changed.). This is the underlying object with id, value and extensions. The accessor "getLastUpdated" gives direct access to the value
-
getLastUpdated
- Specified by:
getLastUpdated
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Returns:
- When the resource last changed - e.g. when the version changed.
-
setLastUpdated
- Specified by:
setLastUpdated
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Parameters:
value
- When the resource last changed - e.g. when the version changed.
-
getProfile
- Specified by:
getProfile
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Returns:
profile
(A list of profiles (references to [[[StructureDefinition]]] resources) that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
-
setProfile
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasProfile
-
addProfileElement
- Returns:
profile
(A list of profiles (references to [[[StructureDefinition]]] resources) that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
-
addProfile
- Specified by:
addProfile
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Parameters:
value
-profile
(A list of profiles (references to [[[StructureDefinition]]] resources) that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
-
hasProfile
- Parameters:
value
-profile
(A list of profiles (references to [[[StructureDefinition]]] resources) that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
-
getSecurity
- Specified by:
getSecurity
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Returns:
security
(Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.)
-
setSecurity
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSecurity
-
addSecurity
- Specified by:
addSecurity
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
addSecurity
-
getSecurityFirstRep
- Returns:
- The first repetition of repeating field
security
, creating it if it does not already exist
-
getTag
- Specified by:
getTag
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Returns:
tag
(Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.)
-
setTag
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTag
-
addTag
- Specified by:
addTag
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
addTag
-
getTagFirstRep
- Returns:
- The first repetition of repeating field
tag
, creating it if it does not already exist
-
addTag
Convenience method which adds a tag- Parameters:
theSystem
- The code systemtheCode
- The codetheDisplay
- The display name- Returns:
- Returns a reference to
this
for easy chaining
-
addSecurity
Convenience method which adds a security tag- Parameters:
theSystem
- The code systemtheCode
- The codetheDisplay
- The display name- Returns:
- Returns a reference to
this
for easy chaining
-
getTag
Returns the first tag (if any) that has the given system and code, or returnsnull
if none- Specified by:
getTag
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
getSecurity
Returns the first security label (if any) that has the given system and code, or returnsnull
if none- Specified by:
getSecurity
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
listChildren
- Overrides:
listChildren
in classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classElement
-
equalsShallow
- Overrides:
equalsShallow
in classElement
-
isEmpty
-