toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (id != null) {
json[r'id'] = id;
}
if (dateCode != null) {
json[r'dateCode'] = dateCode;
}
if (logicalId != null) {
json[r'logicalId'] = logicalId;
}
if (label != null) {
json[r'label'] = label;
}
if (userId != null) {
json[r'userId'] = userId;
}
if (contactId != null) {
json[r'contactId'] = contactId;
}
if (serviceId != null) {
json[r'serviceId'] = serviceId;
}
if (tarificationId != null) {
json[r'tarificationId'] = tarificationId;
}
if (code != null) {
json[r'code'] = code;
}
if (paymentType != null) {
json[r'paymentType'] = paymentType;
}
if (paid != null) {
json[r'paid'] = paid;
}
if (totalAmount != null) {
json[r'totalAmount'] = totalAmount;
}
if (reimbursement != null) {
json[r'reimbursement'] = reimbursement;
}
if (patientIntervention != null) {
json[r'patientIntervention'] = patientIntervention;
}
if (doctorSupplement != null) {
json[r'doctorSupplement'] = doctorSupplement;
}
if (conventionAmount != null) {
json[r'conventionAmount'] = conventionAmount;
}
if (vat != null) {
json[r'vat'] = vat;
}
if (error != null) {
json[r'error'] = error;
}
if (contract != null) {
json[r'contract'] = contract;
}
if (contractDate != null) {
json[r'contractDate'] = contractDate;
}
if (units != null) {
json[r'units'] = units;
}
if (side != null) {
json[r'side'] = side;
}
if (timeOfDay != null) {
json[r'timeOfDay'] = timeOfDay;
}
if (eidReadingHour != null) {
json[r'eidReadingHour'] = eidReadingHour;
}
if (eidReadingValue != null) {
json[r'eidReadingValue'] = eidReadingValue;
}
if (override3rdPayerCode != null) {
json[r'override3rdPayerCode'] = override3rdPayerCode;
}
if (override3rdPayerReason != null) {
json[r'override3rdPayerReason'] = override3rdPayerReason;
}
if (transplantationCode != null) {
json[r'transplantationCode'] = transplantationCode;
}
if (prescriberNorm != null) {
json[r'prescriberNorm'] = prescriberNorm;
}
if (percentNorm != null) {
json[r'percentNorm'] = percentNorm;
}
if (prescriberNihii != null) {
json[r'prescriberNihii'] = prescriberNihii;
}
if (relatedCode != null) {
json[r'relatedCode'] = relatedCode;
}
if (prescriptionDate != null) {
json[r'prescriptionDate'] = prescriptionDate;
}
if (derogationMaxNumber != null) {
json[r'derogationMaxNumber'] = derogationMaxNumber;
}
if (prescriberSsin != null) {
json[r'prescriberSsin'] = prescriberSsin;
}
if (prescriberLastName != null) {
json[r'prescriberLastName'] = prescriberLastName;
}
if (prescriberFirstName != null) {
json[r'prescriberFirstName'] = prescriberFirstName;
}
if (prescriberCdHcParty != null) {
json[r'prescriberCdHcParty'] = prescriberCdHcParty;
}
if (locationNihii != null) {
json[r'locationNihii'] = locationNihii;
}
if (locationCdHcParty != null) {
json[r'locationCdHcParty'] = locationCdHcParty;
}
if (locationService != null) {
json[r'locationService'] = locationService;
}
if (canceled != null) {
json[r'canceled'] = canceled;
}
if (accepted != null) {
json[r'accepted'] = accepted;
}
if (pending != null) {
json[r'pending'] = pending;
}
if (resent != null) {
json[r'resent'] = resent;
}
if (archived != null) {
json[r'archived'] = archived;
}
if (lost != null) {
json[r'lost'] = lost;
}
if (insuranceJustification != null) {
json[r'insuranceJustification'] = insuranceJustification;
}
if (cancelPatientInterventionReason != null) {
json[r'cancelPatientInterventionReason'] = cancelPatientInterventionReason;
}
if (status != null) {
json[r'status'] = status;
}
if (encryptedSelf != null) {
json[r'encryptedSelf'] = encryptedSelf;
}
return json;
}