
Package org.hl7.fhir.r5.model
Class Meta
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.Element
org.hl7.fhir.r5.model.DataType
org.hl7.fhir.r5.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
Meta Type: The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InstantTypeWhen the resource last changed - e.g. when the version changed.protected List<CanonicalType> A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to.Security labels applied to this resource.protected UriTypeA uri that identifies the source system of the resource.Tags applied to this resource.protected IdTypeThe version specific identifier, as it appears in the version portion of the URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProfile(String value) addTag()Convenience method which adds a tagcopy()voidcopyValues(Meta dst) booleanequalsDeep(Base other_) booleanequalsShallow(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 returnsnullif nonegetTag()Returns the first tag (if any) that has the given system and code, or returnsnullif noneString[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanhasProfile(String value) booleanbooleanbooleanbooleanhasTag()booleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setLastUpdated(Date value) setLastUpdatedElement(InstantType value) setProfile(List<CanonicalType> theProfile) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setSecurity(List<Coding> theSecurity) setSourceElement(UriType value) setVersionId(String value) setVersionIdElement(IdType value) protected MetaMethods inherited from class org.hl7.fhir.r5.model.DataType
copyValues, getTranslation, isTranslatableMethods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getExtensionValue, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatusMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods 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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods 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 value changes when the resource is created, updated, or deleted. -
lastUpdated
When the resource last changed - e.g. when the version changed. -
source
A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc. -
profile
A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#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 value 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 value 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:
getVersionIdin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
- The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.
-
setVersionId
- Specified by:
setVersionIdin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Parameters:
value- The version specific identifier, as it appears in the version portion of the URL. This value 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:
getLastUpdatedin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
- When the resource last changed - e.g. when the version changed.
-
setLastUpdated
- Specified by:
setLastUpdatedin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Parameters:
value- When the resource last changed - e.g. when the version changed.
-
getSourceElement
- Returns:
source(A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value
-
hasSourceElement
-
hasSource
-
setSourceElement
- Parameters:
value-source(A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value
-
getSource
- Returns:
- A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.
-
setSource
- Parameters:
value- A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.
-
getProfile
- Specified by:
getProfilein interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
profile(A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).)
-
setProfile
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProfile
-
addProfileElement
- Returns:
profile(A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).)
-
addProfile
- Specified by:
addProfilein interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Parameters:
value-profile(A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).)
-
hasProfile
- Parameters:
value-profile(A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).)
-
getSecurity
- Specified by:
getSecurityin 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
thisfor easy method chaining
-
hasSecurity
-
addSecurity
- Specified by:
addSecurityin 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 {3}
-
getTag
- Specified by:
getTagin 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
thisfor easy method chaining
-
hasTag
-
addTag
- Specified by:
addTagin 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 {3}
-
listChildren
- Overrides:
listChildrenin classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classElement
-
equalsShallow
- Overrides:
equalsShallowin classElement
-
isEmpty
-
addTag
Convenience method which adds a tag- Parameters:
theSystem- The code systemtheCode- The codetheDisplay- The display name- Returns:
- Returns a reference to
thisfor easy chaining
-
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
-