
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.UriDtAdds 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.InstantDtGets the value(s) for lastUpdated ().List<ca.uhn.fhir.model.primitive.UriDt> Gets the value(s) for profile ().ca.uhn.fhir.model.primitive.UriDtGets 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 returnsnullif 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 returnsnullif 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.IdDtGets the value(s) for versionId ().booleanisEmpty()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, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
setLastUpdatedin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
getTag
Returns the first tag (if any) that has the given system and code, or returnsnullif none- Specified by:
getTagin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
getSecurity
Returns the first security label (if any) that has the given system and code, or returnsnullif none- Specified by:
getSecurityin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
isEmpty
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein 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:
getVersionIdin 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:
setVersionIdin 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:
getLastUpdatedin 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:
getProfilein 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:
addProfilein 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:
getSecurityin 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:
addSecurityin 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:
getTagin 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:
addTagin 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
-