Package org.hl7.fhir.r4.model
Class Contract.ContentDefinitionComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.Contract.ContentDefinitionComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseBackboneElement
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Contract
public static class Contract.ContentDefinitionComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MarkdownType
copyright
A copyright statement relating to Contract precursor content.protected DateTimeType
publicationDate
The date (and optionally time) when the contract was published.protected Enumeration<Contract.ContractPublicationStatus>
publicationStatus
amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated.protected Reference
publisher
The individual or organization that published the Contract precursor content.protected Resource
publisherTarget
The actual object that is the target of the reference (The individual or organization that published the Contract precursor content.)protected CodeableConcept
subType
Detailed Precusory content type.protected CodeableConcept
type
Precusory content structure and use, i.e., a boilerplate, template, application for a contract such as an insurance policy or benefits under a program, e.g., workers compensation.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ContentDefinitionComponent()
ConstructorContentDefinitionComponent(CodeableConcept type, Enumeration<Contract.ContractPublicationStatus> publicationStatus)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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 Detail
-
type
protected CodeableConcept type
Precusory content structure and use, i.e., a boilerplate, template, application for a contract such as an insurance policy or benefits under a program, e.g., workers compensation.
-
subType
protected CodeableConcept subType
Detailed Precusory content type.
-
publisher
protected Reference publisher
The individual or organization that published the Contract precursor content.
-
publisherTarget
protected Resource publisherTarget
The actual object that is the target of the reference (The individual or organization that published the Contract precursor content.)
-
publicationDate
protected DateTimeType publicationDate
The date (and optionally time) when the contract was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the contract changes.
-
publicationStatus
protected Enumeration<Contract.ContractPublicationStatus> publicationStatus
amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated.
-
copyright
protected MarkdownType copyright
A copyright statement relating to Contract precursor content. Copyright statements are generally legal restrictions on the use and publishing of the Contract precursor content.
-
-
Constructor Detail
-
ContentDefinitionComponent
public ContentDefinitionComponent()
Constructor
-
ContentDefinitionComponent
public ContentDefinitionComponent(CodeableConcept type, Enumeration<Contract.ContractPublicationStatus> publicationStatus)
Constructor
-
-
Method Detail
-
getType
public CodeableConcept getType()
- Returns:
type
(Precusory content structure and use, i.e., a boilerplate, template, application for a contract such as an insurance policy or benefits under a program, e.g., workers compensation.)
-
hasType
public boolean hasType()
-
setType
public Contract.ContentDefinitionComponent setType(CodeableConcept value)
- Parameters:
value
-type
(Precusory content structure and use, i.e., a boilerplate, template, application for a contract such as an insurance policy or benefits under a program, e.g., workers compensation.)
-
getSubType
public CodeableConcept getSubType()
- Returns:
subType
(Detailed Precusory content type.)
-
hasSubType
public boolean hasSubType()
-
setSubType
public Contract.ContentDefinitionComponent setSubType(CodeableConcept value)
- Parameters:
value
-subType
(Detailed Precusory content type.)
-
getPublisher
public Reference getPublisher()
- Returns:
publisher
(The individual or organization that published the Contract precursor content.)
-
hasPublisher
public boolean hasPublisher()
-
setPublisher
public Contract.ContentDefinitionComponent setPublisher(Reference value)
- Parameters:
value
-publisher
(The individual or organization that published the Contract precursor content.)
-
getPublisherTarget
public Resource getPublisherTarget()
- Returns:
publisher
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The individual or organization that published the Contract precursor content.)
-
setPublisherTarget
public Contract.ContentDefinitionComponent setPublisherTarget(Resource value)
- Parameters:
value
-publisher
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The individual or organization that published the Contract precursor content.)
-
getPublicationDateElement
public DateTimeType getPublicationDateElement()
- Returns:
publicationDate
(The date (and optionally time) when the contract was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the contract changes.). This is the underlying object with id, value and extensions. The accessor "getPublicationDate" gives direct access to the value
-
hasPublicationDateElement
public boolean hasPublicationDateElement()
-
hasPublicationDate
public boolean hasPublicationDate()
-
setPublicationDateElement
public Contract.ContentDefinitionComponent setPublicationDateElement(DateTimeType value)
- Parameters:
value
-publicationDate
(The date (and optionally time) when the contract was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the contract changes.). This is the underlying object with id, value and extensions. The accessor "getPublicationDate" gives direct access to the value
-
getPublicationDate
public Date getPublicationDate()
- Returns:
- The date (and optionally time) when the contract was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the contract changes.
-
setPublicationDate
public Contract.ContentDefinitionComponent setPublicationDate(Date value)
- Parameters:
value
- The date (and optionally time) when the contract was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the contract changes.
-
getPublicationStatusElement
public Enumeration<Contract.ContractPublicationStatus> getPublicationStatusElement()
- Returns:
publicationStatus
(amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated.). This is the underlying object with id, value and extensions. The accessor "getPublicationStatus" gives direct access to the value
-
hasPublicationStatusElement
public boolean hasPublicationStatusElement()
-
hasPublicationStatus
public boolean hasPublicationStatus()
-
setPublicationStatusElement
public Contract.ContentDefinitionComponent setPublicationStatusElement(Enumeration<Contract.ContractPublicationStatus> value)
- Parameters:
value
-publicationStatus
(amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated.). This is the underlying object with id, value and extensions. The accessor "getPublicationStatus" gives direct access to the value
-
getPublicationStatus
public Contract.ContractPublicationStatus getPublicationStatus()
- Returns:
- amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated.
-
setPublicationStatus
public Contract.ContentDefinitionComponent setPublicationStatus(Contract.ContractPublicationStatus value)
- Parameters:
value
- amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated.
-
getCopyrightElement
public MarkdownType getCopyrightElement()
- Returns:
copyright
(A copyright statement relating to Contract precursor content. Copyright statements are generally legal restrictions on the use and publishing of the Contract precursor content.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
-
hasCopyrightElement
public boolean hasCopyrightElement()
-
hasCopyright
public boolean hasCopyright()
-
setCopyrightElement
public Contract.ContentDefinitionComponent setCopyrightElement(MarkdownType value)
- Parameters:
value
-copyright
(A copyright statement relating to Contract precursor content. Copyright statements are generally legal restrictions on the use and publishing of the Contract precursor content.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
-
getCopyright
public String getCopyright()
- Returns:
- A copyright statement relating to Contract precursor content. Copyright statements are generally legal restrictions on the use and publishing of the Contract precursor content.
-
setCopyright
public Contract.ContentDefinitionComponent setCopyright(String value)
- Parameters:
value
- A copyright statement relating to Contract precursor content. Copyright statements are generally legal restrictions on the use and publishing of the Contract precursor content.
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classBackboneElement
- 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 classBackboneElement
- 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 classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Contract.ContentDefinitionComponent copy()
- Specified by:
copy
in classBackboneElement
-
copyValues
public void copyValues(Contract.ContentDefinitionComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-
-