public function toFhir() { $values = $this->toFhirValues(); $this->subObjectsToFhir($values); return static::getFhirTemplate()->generate($values); }