Update healthcaremedicaldeviceinterface

Added some more logical statement