Coding class
Coding A reference to a code defined by a terminology system.
- Annotations
-
- @freezed
Constructors
-
Coding({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, FhirUri? system, @JsonKey(name: '_system') Element? systemElement, String? version, @JsonKey(name: '_version') Element? versionElement, FhirCode? code, @JsonKey(name: '_code') Element? codeElement, String? display, @JsonKey(name: '_display') Element? displayElement, FhirBoolean? userSelected, @JsonKey(name: '_userSelected') Element? userSelectedElement}) -
Coding A reference to a code defined by a terminology system.
constfactory
-
Coding.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- Coding.fromJsonString(String source)
-
Acts like a constructor, returns a Coding, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- Coding.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
- code → FhirCode?
-
code A symbol in syntax defined by the system. The symbol may be a
predefined code or an expression in a syntax defined by the coding
system (e.g. post-coordination).
no setterinherited
- codeElement → Element?
-
codeElement ("_code") Extensions for code
no setterinherited
-
copyWith
→ $CodingCopyWith<
Coding> -
no setterinherited
- display → String?
-
display A representation of the meaning of the code in the system,
following the rules of the system.
no setterinherited
- displayElement → Element?
-
displayElement ("_display") Extensions for display
no setterinherited
-
extension_
→ List<
FhirExtension> ? -
extension_ ("extension") May be used to represent additional
information that is not part of the basic definition of the element.
To make the use of extensions safe and managable, there is a strict
set of governance applied to the definition and use of extensions.
Though any implementer can define an extension, there is a set of
requirements that SHALL be met as part of the definition of the
extension.
no setterinherited
- fhirId → String?
-
id Unique id for the element within a resource (for internal
references). This may be any string value that does not contain spaces.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- system → FhirUri?
-
system The identification of the code system that defines the meaning
of the symbol in the code.
no setterinherited
- systemElement → Element?
-
systemElement ("_system") Extensions for system
no setterinherited
- userSelected → FhirBoolean?
-
userSelected Indicates that this coding was chosen by a user directly
no setterinherited
- userSelectedElement → Element?
-
userSelectedElement ("_userSelected") Extensions for userSelected
no setterinherited
- version → String?
-
version The version of the code system which was used when choosing
this code. Note that a well-maintained code system does not need the
version reported, because the meaning of codes is consistent across
versions. However this cannot consistently be assured, and when the
meaning is not guaranteed to be consistent, the version SHOULD be
exchanged.
no setterinherited
- versionElement → Element?
-
versionElement ("_version") Extensions for version
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String - Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String - Produces a Yaml formatted String version of the object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited