openmrs-android-sdk/src/main/java/com/openmrs/android_sdk/library/api/RestServiceBuilder.java
/**
     * Create service for patient identifier s.
     *
     * @param <S>   the type parameter
     * @param clazz the clazz
     * @return the s
     */
Create service for patient identifier s.
@param    the type parameter
@param clazz the clazz
@return the s
Create service for patient identifier s . @param the type parameter @param clazz the clazz @return the s
public static <S> S createServiceForPatientIdentifier(Class<S> clazz) {
        return new Retrofit.Builder()
                .baseUrl(OpenmrsAndroid.getServerUrl() + '/')
                .addConverterFactory(GsonConverterFactory.create())
                .build()
                .create(clazz);
    }
public static < S > S createServiceForPatientIdentifier ( Class < S > clazz ) { return new Retrofit . Builder ( ) . baseUrl ( OpenmrsAndroid . getServerUrl ( ) + '/' ) . addConverterFactory ( GsonConverterFactory . create ( ) ) . build ( ) . create ( clazz ) ; }
Create service for patient identifier s.
 @param <S>   the type parameter
 @param clazz the clazz
 @return the s
Create service for patient identifier s . @param <S > the type parameter @param clazz the clazz @return the s