CodeableReference constructor
Creates a new CodeableReference instance.
Implementation
CodeableReference({
FixedList<Coding>? coding,
String? text,
}) : this.fromJson(
JsonObject({
if (coding != null)
codingField.name: JsonArray.unmodifiable(
coding.map((e) => e.json),
),
if (text != null) textField.name: JsonString(text),
}),
);