AdmitSource constructor

AdmitSource({
  1. CodeableConcept? coding,
  2. Reference? admitter,
})

Creates an instance of AdmitSource.

Implementation

AdmitSource({
  CodeableConcept? coding,
  Reference? admitter,
}) : this.fromJson(
        JsonObject({
          if (coding != null) codingField.name: coding.json,
          if (admitter != null) admitterField.name: admitter.json,
        }),
      );