Transform unstructured clinical encounters into comprehensive SOAP notes with ICD codes and care plans