CodeableConcept constructor

const CodeableConcept({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<Coding>? coding,
  4. String? text,
  5. @JsonKey(name: '_text') Element? textElement,
})

CodeableConcept A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

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 manageable, 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.

coding A reference to a code defined by a terminology system.

text A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

textElement Extensions for text

Implementation

const factory CodeableConcept({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') String? fhirId,

  /// [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 manageable, 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.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [coding] A reference to a code defined by a terminology system.
  List<Coding>? coding,

  /// [text] A human language representation of the concept as
  /// seen/selected/uttered by the user who entered the data and/or which
  ///  represents the intended meaning of the user.
  String? text,

  /// [textElement] Extensions for text
  @JsonKey(name: '_text') Element? textElement,
}) = _CodeableConcept;