Class MetaDt
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype
,ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IDatatype
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseMetaType
,org.hl7.fhir.instance.model.api.ICompositeType
Definition: 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
Requirements:
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.UriDt
Adds and returns a new value for profile ()addProfile
(ca.uhn.fhir.model.primitive.UriDt theValue) Adds a given new value for profile ()addProfile
(String theUri) Adds a new value for profile ()Adds and returns a new value for security ()addSecurity
(CodingDt theValue) Adds a given new value for security ()addTag()
Adds and returns a new value for tag ()Adds a given new value for tag ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for lastUpdated ().ca.uhn.fhir.model.primitive.InstantDt
Gets the value(s) for lastUpdated ().List
<ca.uhn.fhir.model.primitive.UriDt> Gets the value(s) for profile ().ca.uhn.fhir.model.primitive.UriDt
Gets the first repetition for profile (), creating it if it does not already exist.Gets the value(s) for security ().getSecurity
(String theSystem, String theCode) Returns the first security label (if any) that has the given system and code, or returnsnull
if noneGets the first repetition for security (), creating it if it does not already exist.getTag()
Gets the value(s) for tag ().Returns the first tag (if any) that has the given system and code, or returnsnull
if noneGets the first repetition for tag (), creating it if it does not already exist.Gets the value(s) for versionId ().ca.uhn.fhir.model.primitive.IdDt
Gets the value(s) for versionId ().boolean
isEmpty()
setLastUpdated
(ca.uhn.fhir.model.primitive.InstantDt theValue) Sets the value(s) for lastUpdated ()setLastUpdated
(Date theHeaderDateValue) setLastUpdated
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for lastUpdated ()setLastUpdatedWithMillisPrecision
(Date theDate) Sets the value for lastUpdated ()setProfile
(List<ca.uhn.fhir.model.primitive.UriDt> theValue) Sets the value(s) for profile ()setSecurity
(List<CodingDt> theValue) Sets the value(s) for security ()Sets the value(s) for tag ()setVersionId
(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for versionId ()setVersionId
(String theId) Sets the value for versionId ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
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
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Constructor Details
-
MetaDt
public MetaDt()Constructor
-
-
Method Details
-
setLastUpdated
- Specified by:
setLastUpdated
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
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
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getVersionIdElement
Gets the value(s) for versionId (). creating it if it does not exist. Will not returnnull
.Definition: 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
-
getVersionId
Gets the value(s) for versionId (). creating it if it does not exist. This method may returnnull
.Definition: 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
- Specified by:
getVersionId
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
setVersionId
Sets the value(s) for versionId ()Definition: 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
Sets the value for versionId ()Definition: 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
- Specified by:
setVersionId
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
getLastUpdatedElement
Gets the value(s) for lastUpdated (). creating it if it does not exist. Will not returnnull
.Definition: When the resource last changed - e.g. when the version changed
-
getLastUpdated
Gets the value(s) for lastUpdated (). creating it if it does not exist. This method may returnnull
.Definition: When the resource last changed - e.g. when the version changed
- Specified by:
getLastUpdated
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
setLastUpdated
Sets the value(s) for lastUpdated ()Definition: When the resource last changed - e.g. when the version changed
-
setLastUpdatedWithMillisPrecision
Sets the value for lastUpdated ()Definition: When the resource last changed - e.g. when the version changed
-
setLastUpdated
public MetaDt setLastUpdated(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for lastUpdated ()Definition: When the resource last changed - e.g. when the version changed
-
getProfile
Gets the value(s) for profile (). creating it if it does not exist. Will not returnnull
.Definition: A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]
- Specified by:
getProfile
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
setProfile
Sets the value(s) for profile ()Definition: A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]
-
addProfile
Adds and returns a new value for profile ()Definition: A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]
-
addProfile
Adds a given new value for profile ()Definition: A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]
- Parameters:
theValue
- The profile to add (must not benull
)
-
getProfileFirstRep
Gets the first repetition for profile (), creating it if it does not already exist.Definition: A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]
-
addProfile
Adds a new value for profile ()Definition: A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]
- Specified by:
addProfile
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getSecurity
Gets the value(s) for security (). creating it if it does not exist. Will not returnnull
.Definition: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure
- Specified by:
getSecurity
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
setSecurity
Sets the value(s) for security ()Definition: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure
-
addSecurity
Adds and returns a new value for security ()Definition: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure
- Specified by:
addSecurity
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
addSecurity
Adds a given new value for security ()Definition: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure
- Parameters:
theValue
- The security to add (must not benull
)
-
getSecurityFirstRep
Gets the first repetition for security (), creating it if it does not already exist.Definition: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure
-
getTag
Gets the value(s) for tag (). creating it if it does not exist. Will not returnnull
.Definition: 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
- Specified by:
getTag
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
setTag
Sets the value(s) for tag ()Definition: 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
-
addTag
Adds and returns a new value for tag ()Definition: 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
- Specified by:
addTag
in interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
addTag
Adds a given new value for tag ()Definition: 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
- Parameters:
theValue
- The tag to add (must not benull
)
-
getTagFirstRep
Gets the first repetition for tag (), creating it if it does not already exist.Definition: 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
-