openmrs-client/src/main/java/org/openmrs/mobile/activities/providermanagerdashboard/addprovider/AddProviderPresenter.java
/**
     * This fuction creates a new Person using the First Name and Last Name
     *
     * @param firstName
     * @param lastName
     * @return Person
     */
This fuction creates a new Person using the First Name and Last Name
@param firstName
@param lastName
@return Person
This fuction creates a new Person using the First Name and Last Name @param firstName @param lastName @return Person
@Override
    public Person createPerson(String firstName, String lastName) {
        Person person = new Person();
        PersonName personName = new PersonName();
        personName.setGivenName(firstName);
        personName.setFamilyName(lastName);
        person.setUuid(null);
        person.setDisplay(firstName + " " + lastName);
        List<PersonName> names = new ArrayList<>();
        names.add(personName);
        person.setNames(names);
        return person;
    }
@ Override public Person createPerson ( String firstName , String lastName ) { Person person = new Person ( ) ; PersonName personName = new PersonName ( ) ; personName . setGivenName ( firstName ) ; personName . setFamilyName ( lastName ) ; person . setUuid ( null ) ; person . setDisplay ( firstName + " " + lastName ) ; List < PersonName > names = new ArrayList < > ( ) ; names . add ( personName ) ; person . setNames ( names ) ; return person ; }
This fuction creates a new Person using the First Name and Last Name
 @param firstName
 @param lastName
 @return Person
This fuction creates a new Person using the First Name and Last Name @param firstName @param lastName @return Person
// this display gets used up by the recycler view for the name