Issue #770. The id of a Patient object should be accessible via an intuitive API function.
Added getExternalId() method to the Patient interface.