toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (patient != null) {
    json[r'patient'] = patient;
  }
  json[r'hes'] = hes;
  json[r'ctcs'] = ctcs;
  json[r'warnings'] = warnings;
  json[r'errors'] = errors;
  json[r'forms'] = forms;
  json[r'hcps'] = hcps;
  json[r'documents'] = documents;
  json[r'attachments'] = attachments;
  return json;
}