ContractTerm class
ContractTerm One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
- Inheritance
-
- Object
- FhirBase
- Element
- DataType
- BackboneElement
- ContractTerm
- Available extensions
Constructors
-
ContractTerm({FhirString? id, List<
FhirExtension> ? extension_, List<FhirExtension> ? modifierExtension, Identifier? identifier, FhirDateTime? issued, Period? applies, TopicXContractTerm? topicX, CodeableConcept? topicCodeableConcept, Reference? topicReference, CodeableConcept? type, CodeableConcept? subType, FhirString? text, List<ContractSecurityLabel> ? securityLabel, required ContractOffer offer, List<ContractAsset> ? asset, List<ContractAction> ? action, List<ContractTerm> ? group, bool? disallowExtensions = false}) -
Primary constructor for
ContractTerm
const
-
ContractTerm.fromJson(Map<
String, dynamic> json) -
Factory constructor that accepts Map<String, dynamic> as an argument
factory
- ContractTerm.fromJsonString(String source)
-
Factory constructor for
ContractTerm
that takes in a String
Convenience method to avoid the json Encoding/Decoding normally required
to get data from a String
factory
- ContractTerm.fromYaml(dynamic yaml)
-
Deserialize ContractTerm
from a String or
YamlMap
objectfactory
Properties
-
action
→ List<
ContractAction> ? -
action
An actor taking a role in an activity for which it can be assigned some
degree of responsibility for the activity taking place.
final
- applies → Period?
-
applies
Relevant time or time-period when this Contract Provision is
applicable.
final
-
asset
→ List<
ContractAsset> ? -
asset
Contract Term Asset List.
final
-
copyWith
→ $ContractTermCopyWith<
ContractTerm> -
Copy function for ContractTerm
Returns a copy of the current instance with the provided fields modified.
If a field is not provided, it will retain its original value.
If a null is provided, this will clearn the field, unless the
field is required, in which case it will keep its current value.
no setteroverride
-
copyWith
→ $ContractTermCopyWith<
ContractTerm> -
Available on ContractTerm, provided by the ContractTermCopyWithExtension extension
no setter - disallowExtensions → bool?
-
This is used in the FHIRPath engine to record that no extensions are
allowed for this item in the context in which it is used.
to do: enforce this....
finalinherited
-
extension_
→ List<
FhirExtension> ? -
List of extensions for additional information.
finalinherited
- fhirType → String
-
Returns the FHIR type of the object.
no setteroverride
-
group
→ List<
ContractTerm> ? -
group
Nested group of Contract Provisions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasId → bool
-
Getter for checking if the element has an id.
no setterinherited
- hasPrimitiveValue → bool
-
Checks if the object has a primitive value.
no setterinherited
- id → FhirString?
-
Unique id for the element within a resource.
finalinherited
- identifier → Identifier?
-
identifier
Unique identifier for this particular Contract Provision.
final
- isMetadataBased → bool
-
All Elements are metadata based.
no setterinherited
- isPrimitive → bool
-
Checks if the object is primitive.
no setterinherited
- issued → FhirDateTime?
-
issued
When this Contract Provision was issued.
final
-
modifierExtension
→ List<
FhirExtension> ? -
List of modifier extensions for additional, non-core information
finalinherited
- offer → ContractOffer
-
offer
The matter of concern in the context of this provision of the agrement.
final
- primitiveValue → String?
-
Retrieves the primitive value of the object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityLabel
→ List<
ContractSecurityLabel> ? -
securityLabel
Security labels that protect the handling of information about the term
and its elements, which may be specifically identified.
final
- subType → CodeableConcept?
-
subType
A specialized legal clause or condition based on overarching contract
type.
final
- text → FhirString?
-
text
Statement of a provision in a policy or a contract.
final
- topicCodeableConcept → CodeableConcept?
-
Getter for topicCodeableConcept as a CodeableConcept
no setter
- topicReference → Reference?
-
Getter for topicReference as a Reference
no setter
- topicX → TopicXContractTerm?
-
topicX
The entity that the term applies to.
final
- type → CodeableConcept?
-
type
A legal clause or condition contained within a contract that requires
one or both parties to perform a particular requirement by some
specified time or prevents one or both parties from performing a
particular requirement by some specified time.
final
Methods
-
addExtension(
FhirExtension ext) → void -
Method to add an extension.
inherited
-
addModifierExtension(
FhirExtension ext) → void -
Adds a modifier extension
inherited
-
clone(
) → ContractTerm -
Subclasses must implement the clone method.
override
-
compareDeepStrings(
String? s1, String? s2, bool allowNull) → bool -
Checks if the object is equal to another object.
inherited
-
equalsDeep(
FhirBase? o) → bool -
Performs a deep comparison between two instances.
override
-
equalsShallow(
Element other) → bool -
Method to compare shallow equality of two elements.
inherited
-
getChildByName(
String name) → FhirBase? -
Retrieves a single field value by its name.
override
-
getChildrenByName(
String fieldName, [bool checkValid = false]) → List< FhirBase> -
Retrieves all matching child fields by name.
Optionally validates the name.
override
-
getExtensionFirstRep(
) → FhirExtension -
Getter for the first extension.
inherited
-
getExtensionsByUrl(
String url) → List< FhirExtension> -
Getter for the first extension by url.
inherited
-
getModifierExtensionFirstRep(
) → FhirExtension -
Gets the first repetition of modifier extensions
inherited
-
getModifierExtensionsByUrl(
String url) → List< FhirExtension> -
Retrieves all modifier extensions by URL
inherited
-
hasExtension(
) → bool -
Extension handling methods.
inherited
-
hasExtensionByUrl(
String url) → bool -
Method to check if an extension exists by url.
inherited
-
hasModifierExtension(
) → bool -
Method to check if there are any modifier extensions
inherited
-
hasType(
List< String> names) → bool -
Checks if the object has a given type.
inherited
-
hasValues(
) → bool -
Checks if the object has values.
inherited
-
isAs<
T extends FhirBase> () → T? -
Returns an Object cast as a Type if it is that type.
inherited
-
isEmpty(
) → bool -
Checks if the object is empty.
inherited
-
listChildrenNames(
) → List< String> -
Lists the JSON keys for the object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prettyPrint(
) → String -
Converts the object to a pretty JSON string.
inherited
-
removeExtension(
String url) → void -
Method to remove an extension by url.
inherited
-
removeModifierExtension(
String url) → void -
Removes modifier extensions by URL
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the object to a JSON representation.
override
-
toJsonString(
) → String -
Converts the object to a JSON string.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String -
Converts the object to a YAML string.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited