You have the right to seek compensation for damages incurred if the driver opened the door on you and caused your injuries. Since the driver may have failed to check their mirrors before opening the door, there may be a breach of duty, and you can likely sue for recovery.