public function toFhir() { $fhirObject = parent::toFhir(); $fhirObject->resourceType = static::getFhirType(); return $fhirObject; }