toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (dateCode != null) {
json[r'dateCode'] = dateCode;
}
json[r'codeNomenclature'] = codeNomenclature;
if (relatedCode != null) {
json[r'relatedCode'] = relatedCode;
}
if (eidItem != null) {
json[r'eidItem'] = eidItem;
}
if (insuranceRef != null) {
json[r'insuranceRef'] = insuranceRef;
}
if (insuranceRefDate != null) {
json[r'insuranceRefDate'] = insuranceRefDate;
}
json[r'units'] = units;
json[r'reimbursedAmount'] = reimbursedAmount;
json[r'patientFee'] = patientFee;
json[r'doctorSupplement'] = doctorSupplement;
if (sideCode != null) {
json[r'sideCode'] = sideCode;
}
if (timeOfDay != null) {
json[r'timeOfDay'] = timeOfDay;
}
if (override3rdPayerCode != null) {
json[r'override3rdPayerCode'] = override3rdPayerCode;
}
if (gnotionNihii != null) {
json[r'gnotionNihii'] = gnotionNihii;
}
if (derogationMaxNumber != null) {
json[r'derogationMaxNumber'] = derogationMaxNumber;
}
if (prescriberNorm != null) {
json[r'prescriberNorm'] = prescriberNorm;
}
if (prescriberNihii != null) {
json[r'prescriberNihii'] = prescriberNihii;
}
if (prescriptionDate != null) {
json[r'prescriptionDate'] = prescriptionDate;
}
if (personalInterventionCoveredByThirdPartyCode != null) {
json[r'personalInterventionCoveredByThirdPartyCode'] = personalInterventionCoveredByThirdPartyCode;
}
if (doctorIdentificationNumber != null) {
json[r'doctorIdentificationNumber'] = doctorIdentificationNumber;
}
if (invoiceRef != null) {
json[r'invoiceRef'] = invoiceRef;
}
if (percentNorm != null) {
json[r'percentNorm'] = percentNorm;
}
return json;
}