Services\Resource::getOeFhirProfile PHP Method

getOeFhirProfile() public static method

Get the OpenEyes FHIR profile this resource conforms to.
public static getOeFhirProfile ( ) : string
return string
    public static function getOeFhirProfile()
    {
        $url = 'http://openeyes.org.uk/fhir/' . \Yii::app()->version->coreVersion . '/profile/' . static::getFhirType();
        if (static::$fhir_prefix) {
            $class = new \ReflectionClass(get_called_class());
            $url .= "/{$class->getShortName()}";
        }
        return $url;
    }