OphInBiometry\Service\MeasurementIOLMaster::fromFhir PHP Метод

fromFhir() публичный статический Метод

public static fromFhir ( type $fhirObject ) : type
$fhirObject type
Результат type
    public static function fromFhir($fhirObject)
    {
        $report = parent::fromFhir($fhirObject);
        foreach ($fhirObject as $key => $value) {
            if ($key == 'resourceType') {
                continue;
            }
            $report->{$key} = $value;
        }
        return $report;
    }
MeasurementIOLMaster