Skip to content

Commit

Permalink
removed strtoupper coversion for result status (openemr#3933)
Browse files Browse the repository at this point in the history
strtoupper is not required as 'final' is the valid observation Code whereas 'FINAL' is not a valid Code in FHIR
  • Loading branch information
vishnuyar committed Sep 23, 2020
1 parent ca471ab commit 6592aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/FHIR/FhirObservationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function parseOpenEMRRecord($dataRecord = array(), $encode = false)
}

if (!empty($dataRecord['result_status'])) {
$observationResource->setStatus(strtoupper($dataRecord['result_status']));
$observationResource->setStatus(($dataRecord['result_status']));
} else {
$observationResource->setStatus("unknown");
}
Expand Down

0 comments on commit 6592aa2

Please sign in to comment.