Package org.hl7.fhir.r5.model
Class MetadataResource
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.model.CanonicalResource
-
- org.hl7.fhir.r5.model.MetadataResource
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
- Direct Known Subclasses:
ActivityDefinition,ChargeItemDefinition,ConditionDefinition,EventDefinition,Evidence,EvidenceVariable,Library,Measure,PlanDefinition,Questionnaire
public abstract class MetadataResource extends CanonicalResource
Common Ancestor declaration for conformance and knowledge artifact resources.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description MetadataResource()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.CanonicalResource
addContact, addContact, addIdentifier, addIdentifier, addJurisdiction, addJurisdiction, addUseContext, addUseContext, copyValues, getContact, getContactFirstRep, getContactMax, getCopyright, getCopyrightElement, getCopyrightMax, getDate, getDateElement, getDateMax, getDescription, getDescriptionElement, getDescriptionMax, getExperimental, getExperimentalElement, getExperimentalMax, getIdentifier, getIdentifierFirstRep, getIdentifierMax, getJurisdiction, getJurisdictionFirstRep, getJurisdictionMax, getName, getNameElement, getNameMax, getPublisher, getPublisherElement, getPublisherMax, getPurpose, getPurposeElement, getPurposeMax, getStatus, getStatusElement, getStatusMax, getTitle, getTitleElement, getTitleMax, getUrl, getUrlElement, getUrlMax, getUseContext, getUseContextFirstRep, getUseContextMax, getVersion, getVersionElement, getVersionMax, hasContact, hasCopyright, hasCopyrightElement, hasDate, hasDateElement, hasDescription, hasDescriptionElement, hasExperimental, hasExperimentalElement, hasIdentifier, hasJurisdiction, hasName, hasNameElement, hasPublisher, hasPublisherElement, hasPurpose, hasPurposeElement, hasStatus, hasStatusElement, hasTitle, hasTitleElement, hasUrl, hasUrlElement, hasUseContext, hasVersion, hasVersionElement, present, setContact, setCopyright, setCopyrightElement, setDate, setDateElement, setDescription, setDescriptionElement, setExperimental, setExperimentalElement, setIdentifier, setJurisdiction, setName, setNameElement, setPublisher, setPublisherElement, setPurpose, setPurposeElement, setStatus, setStatusElement, setTitle, setTitleElement, setUrl, setUrlElement, setUseContext, setVersion, setVersionElement, toString
-
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, getResourceType, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Constructor Detail
-
MetadataResource
public MetadataResource()
Constructor
-
-
Method Detail
-
getApprovalDateMax
public int getApprovalDateMax()
How many allowed for this property by the implementation
-
getApprovalDateElement
public abstract DateType getApprovalDateElement()
- Returns:
#approvalDate(The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value
-
hasApprovalDateElement
public abstract boolean hasApprovalDateElement()
-
hasApprovalDate
public abstract boolean hasApprovalDate()
-
setApprovalDateElement
public abstract MetadataResource setApprovalDateElement(DateType value)
- Parameters:
value-#approvalDate(The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value
-
getApprovalDate
public abstract Date getApprovalDate()
- Returns:
- The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.
-
setApprovalDate
public abstract MetadataResource setApprovalDate(Date value)
- Parameters:
value- The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.
-
getLastReviewDateMax
public int getLastReviewDateMax()
How many allowed for this property by the implementation
-
getLastReviewDateElement
public abstract DateType getLastReviewDateElement()
- Returns:
#lastReviewDate(The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value
-
hasLastReviewDateElement
public abstract boolean hasLastReviewDateElement()
-
hasLastReviewDate
public abstract boolean hasLastReviewDate()
-
setLastReviewDateElement
public abstract MetadataResource setLastReviewDateElement(DateType value)
- Parameters:
value-#lastReviewDate(The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value
-
getLastReviewDate
public abstract Date getLastReviewDate()
- Returns:
- The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.
-
setLastReviewDate
public abstract MetadataResource setLastReviewDate(Date value)
- Parameters:
value- The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.
-
getEffectivePeriodMax
public int getEffectivePeriodMax()
How many allowed for this property by the implementation
-
getEffectivePeriod
public abstract Period getEffectivePeriod()
- Returns:
#effectivePeriod(The period during which the metadata resource content was or is planned to be in active use.)
-
hasEffectivePeriod
public abstract boolean hasEffectivePeriod()
-
setEffectivePeriod
public abstract MetadataResource setEffectivePeriod(Period value)
- Parameters:
value-#effectivePeriod(The period during which the metadata resource content was or is planned to be in active use.)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classCanonicalResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classCanonicalResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classCanonicalResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classCanonicalResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classCanonicalResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classCanonicalResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classCanonicalResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classCanonicalResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classCanonicalResource
-
copy
public abstract MetadataResource copy()
- Specified by:
copyin classCanonicalResource
-
copyValues
public void copyValues(MetadataResource dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classCanonicalResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classCanonicalResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classCanonicalResource
-
-