Just to let those few who are interested in DICOM (Digital Imaging and Communications in Medicine) that as time permits I have been making progress with my Harbour based DICOM software. To date I have code that will do the following:
Parse a DICOM file (currently in explicit VR little endian syntax only but adding other syntaxes would be easy)
Send an A-ASSOCIATE-RQ PDU, receive and analyse the returned A-ASSOCIATE-AC PDU or A-ASSOCIATE-RJ PDU, send an A-RELEASE_RQ PDU wait for the returned A_RELEASE-AC PDU and terminate the DICOM Association. Thus you can confirm connectivity with any DICOM compliant device that supports the A-ASSOCIATE service (which pretty much any DICOM device should).
Whilst there is still quite a way to go, progress has been pleasing given that this has had to be very much a part time project.
Happy to share code with anyone who is interested.