test code to get patient age in doctor application