protected function fhirToResource(\StdClass $fhirObject) { $class = $this->getResourceClass(); return $class::fromFhir($fhirObject); }