Code update for DICOM association example

Code update for DICOM association example