CodeableReference constructor

const CodeableReference({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. CodeableConcept? concept,
  4. Reference? reference,
})

CodeableReference A reference to a resource (by instance), or instead, a reference to a concept defined in a terminology or ontology (by class).

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

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.

concept A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.

reference A reference to a resource the provides exact details about the information being referenced.

Implementation

const factory CodeableReference({
  /// [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_] ("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.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [concept] A reference to a concept - e.g. the information is identified
  ///  by its general class to the degree of precision found in the
  ///  terminology.
  CodeableConcept? concept,

  /// [reference] A reference to a resource the provides exact details about
  ///  the information being referenced.
  Reference? reference,
}) = _CodeableReference;