openmrs-client/src/main/java/org/openmrs/mobile/activities/providermanagerdashboard/addprovider/AddProviderPresenter.java
/**
     * This function creates a new Provider from a Person (with first and last names)
     *
     * @param person
     * @param identifier
     * @return Provider
     */
This function creates a new Provider from a Person (with first and last names)
@param person
@param identifier
@return Provider
This function creates a new Provider from a Person ( with first and last names ) @param person @param identifier @return Provider
@Override
    public Provider createNewProvider(Person person, String identifier) {
        Provider provider = new Provider();
        provider.setPerson(person);
        provider.setUuid(null);
        provider.setIdentifier(identifier);
        provider.setRetired(false);
        return provider;
    }
@ Override public Provider createNewProvider ( Person person , String identifier ) { Provider provider = new Provider ( ) ; provider . setPerson ( person ) ; provider . setUuid ( null ) ; provider . setIdentifier ( identifier ) ; provider . setRetired ( false ) ; return provider ; }
This function creates a new Provider from a Person (with first and last names)
 @param person
 @param identifier
 @return Provider
This function creates a new Provider from a Person ( with first and last names ) @param person @param identifier @return Provider