public static function singleIssue($severity, $type = null, $details = null) { $issue = new FhirOutcomeIssue(array('severity' => $severity, 'type' => $type, 'details' => $details)); return new self(array('issues' => array($issue))); }
public function toFhirOutcome() { return \services\FhirOutcome::singleIssue(\FhirValueSet::ISSUESEVERITY_INFORMATION, null, "Everything's fine, honestly. Nothing to see here."); }