encode static method
Implementation
static Map<String, dynamic> encode(EncryptedInvoicingCode value) {
Map<String, dynamic> entityAsMap = {
"id" : value.id,
"dateCode" : value.dateCode,
"logicalId" : value.logicalId,
"label" : value.label,
"userId" : value.userId,
"contactId" : value.contactId,
"serviceId" : value.serviceId,
"tarificationId" : value.tarificationId,
"code" : value.code,
"paymentType" : value.paymentType == null ? null : PaymentType.encode(value.paymentType!),
"paid" : value.paid,
"totalAmount" : value.totalAmount,
"reimbursement" : value.reimbursement,
"patientIntervention" : value.patientIntervention,
"doctorSupplement" : value.doctorSupplement,
"conventionAmount" : value.conventionAmount,
"vat" : value.vat,
"error" : value.error,
"contract" : value.contract,
"contractDate" : value.contractDate,
"units" : value.units,
"side" : value.side,
"timeOfDay" : value.timeOfDay,
"eidReadingHour" : value.eidReadingHour,
"eidReadingValue" : value.eidReadingValue,
"override3rdPayerCode" : value.override3rdPayerCode,
"override3rdPayerReason" : value.override3rdPayerReason,
"transplantationCode" : value.transplantationCode,
"prescriberNorm" : value.prescriberNorm,
"percentNorm" : value.percentNorm,
"prescriberNihii" : value.prescriberNihii,
"relatedCode" : value.relatedCode,
"prescriptionDate" : value.prescriptionDate,
"derogationMaxNumber" : value.derogationMaxNumber,
"prescriberSsin" : value.prescriberSsin,
"prescriberLastName" : value.prescriberLastName,
"prescriberFirstName" : value.prescriberFirstName,
"prescriberCdHcParty" : value.prescriberCdHcParty,
"locationNihii" : value.locationNihii,
"locationCdHcParty" : value.locationCdHcParty,
"locationService" : value.locationService,
"admissionDate" : value.admissionDate,
"canceled" : value.canceled,
"accepted" : value.accepted,
"pending" : value.pending,
"resent" : value.resent,
"archived" : value.archived,
"lost" : value.lost,
"insuranceJustification" : value.insuranceJustification,
"cancelPatientInterventionReason" : value.cancelPatientInterventionReason,
"status" : value.status,
"encryptedSelf" : value.encryptedSelf
};
return entityAsMap;
}