c.serviceID = selectedService == null ? 0 : selectedService.getID();
c.collFuncID = selectedCollFunc == null ? 0 : selectedCollFunc.getItem().getID();
c.placeID = selectedPlace.getID();
//Диагноз
DiagnosChunk dc = new DiagnosChunk();
dc.diagTypeID = selectedDiagType == null ? 0 : selectedDiagType.getID();
dc.mkbID = panelMkbInput.getSelectedItem() == null ? 0 : panelMkbInput.getSelectedItem().getID();
dc.encounterID = selectedEncounter == null ? 0 : selectedEncounter.getID();
dc.complicationID = panelMkbInput1.getSelectedItem() == null ? 0 : panelMkbInput1.getSelectedItem().getID();
dc.dateDs = selectedDate;