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