Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display immunization time if available #2399

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe("Immunizations Table", () => {
},
resourceType: "Immunization",
primarySource: true,
occurrenceDateTime: "11/10/2020",
occurrenceDateTime: "2020-11-10T07:20:00-04:00",
lotNumber: "369258741",
manufacturer: {
reference: "Organization/b5c77b86-2764-79f9-10bf-5da5e63eb7c1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ exports[`Immunizations Table should match snapshot 1`] = `
<td
class="text-top"
>
11/10/2020
11/10/2020 7:20 AM -04:00
</td>
<td
class="text-top"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const returnImmunizations = (
];

immunizationsArray.forEach((entry) => {
entry.occurrenceDateTime = formatDate(entry.occurrenceDateTime);
entry.occurrenceDateTime = formatDateTime(entry.occurrenceDateTime ?? "");

const manufacturer = evaluateReference(
fhirBundle,
Expand Down
Loading