Skip to content

Commit

Permalink
converted to FHIR Datetime format (openemr#3935)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuyar committed Sep 24, 2020
1 parent 6592aa2 commit 724f48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/FHIR/FhirProcedureService.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function parseOpenEMRRecord($dataRecord = array(), $encode = false)
}

if (!empty($dataRecord['date_collected'])) {
$procedureResource->setPerformedDateTime($dataRecord['date_collected']);
$procedureResource->setPerformedDateTime(gmdate('c', strtotime($dataRecord['date_collected'])));
}

if (!empty($dataRecord['notes'])) {
Expand Down

0 comments on commit 724f48b

Please sign in to comment.