def METHOD_NAME(self, resource_router, resource_type, *args, **kwargs):
    if resource_router.fhir_url.endswith('v1/fhir/'):
        # only if called by tests
        return "{}{}/".format(resource_router.fhir_url, resource_type)
    else:
        return "{}/{}/fhir/{}/".format(resource_router.fhir_url, 'v2' if self.version == 2 else 'v1',
                                       resource_type)